¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Gateway crashing


 

I haven't been able to keep the Gateway running longer than a couple of hours.

It is installed on AWS ubuntu 2GB server

Vers 10.21

I need to run?

/usr/bin/Xvfb :0 -ac -screen 0 1024x768x24 & //?X11 virtual framebuffer

/usr/bin/x11vnc -ncache 10 -ncache_cr -viewpasswd view_only_pwd -passwd full_access_pwd -display :0 -forever -shared -bg -noipv6 //?start the VNC server

then run the GW to the X Display

DISPLAY=:0 ~/opt/ibc/gatewaystart.sh // run the GW script using Display :0

My logfile contains the following ....

2023-04-20 09:45:00:540 IBC: Saving Tws settings

2023-04-20 09:45:00:540 IBC: Getting main window

2023-04-20 09:45:00:540 IBC: Main window already found

2023-04-20 10:00:00:539 IBC: Saving Tws settings

2023-04-20 10:00:00:539 IBC: Getting main window

2023-04-20 10:00:00:539 IBC: Main window already found

2023-04-20 10:15:00:539 IBC: Saving Tws settings

2023-04-20 10:15:00:539 IBC: Getting main window

2023-04-20 10:15:00:539 IBC: Main window already found

?

java: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

I would like to run the Gateway in a headless form but not possible, need to have a framebuffer unfortuneatly but doesn't work for me


 

¿ªÔÆÌåÓý

Please reply with the complete logfile ¨C attach it, don¡¯t quote it.

?

Richard

?

?

?

From: [email protected] <[email protected]> On Behalf Of PaulMac
Sent: Saturday, April 22, 2023 9:16 AM
To: [email protected]
Subject: [ibc] Gateway crashing

?

I haven't been able to keep the Gateway running longer than a couple of hours.

It is installed on AWS ubuntu 2GB server

Vers 10.21

I need to run?

/usr/bin/Xvfb :0 -ac -screen 0 1024x768x24 & //?X11 virtual framebuffer

/usr/bin/x11vnc -ncache 10 -ncache_cr -viewpasswd view_only_pwd -passwd full_access_pwd -display :0 -forever -shared -bg -noipv6 //?start the VNC server

then run the GW to the X Display

DISPLAY=:0 ~/opt/ibc/gatewaystart.sh // run the GW script using Display :0

My logfile contains the following ....

2023-04-20 09:45:00:540 IBC: Saving Tws settings

2023-04-20 09:45:00:540 IBC: Getting main window

2023-04-20 09:45:00:540 IBC: Main window already found

2023-04-20 10:00:00:539 IBC: Saving Tws settings

2023-04-20 10:00:00:539 IBC: Getting main window

2023-04-20 10:00:00:539 IBC: Main window already found

2023-04-20 10:15:00:539 IBC: Saving Tws settings

2023-04-20 10:15:00:539 IBC: Getting main window

2023-04-20 10:15:00:539 IBC: Main window already found

?

java: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

I would like to run the Gateway in a headless form but not possible, need to have a framebuffer unfortuneatly but doesn't work for me


 

Please find attached my logfile ....

Qn: Should I be suing X11 forwarding with Putty instead of using a vnc server?

Thanks in advance
Paul


 

Here is a screen shot of my Vnc client being closed ...


 

¿ªÔÆÌåÓý

Well, headless running isn¡¯t an area of expertise for me, but IBC and Gateway certainly seem to be running ok.

?

The only thing I can think of is that maybe you should add:

?

export DISPLAY=:0

?

after the xvfb command.

?

By the way, I¡¯m curious that your logfile contains a lot of lines from the Gateway logfile. Did you edit them in? If not, how did they get there? In general it¡¯s very rare that there¡¯s any value in the Gateway/TWS logfiles for diagnosing IBC issues.

?

Richard

?

?

?

?