Logopaede
Hello,

I struggled a few day to get ScadaBR running in an unprivileged virtual test-environment (LXC, Debian Buster, x86_64).

The main problem after LXC worked and ScadaBR had been installed was starting ScadaBR with

sudo /opt/tomcat6/apache-tomcat-6.0.53/bin/startup.sh


Although tomcat started and was listening on :9090, the path /ScadaBR didn't work. There were errors in the tomcat logs for /ScadaBR and as a result the Browser threw 404.

I found a reason and this is why I write this post, maybe it can help somebody in a similar situation:

ScadaBR didn't start correctly, when I started the upper startscript in my ssh user-session. Then a DISPLAY environment variable is automatically set (DISPLAY=localhost:10.0) and some X11 forwarding troubles start.

The workaround was to invoke the script startup.sh from the lxc-console!

With the lxc-console the user gets no DISPLAY-variable and then the startup runs successfully and the path :9090/ScadaBR with the login html appears.

ScadaBR-1.0CE is running now in an unprivileged LXC from Debian Linux Buster and connects with OpenPLC on my Raspberry Pi4 via Modbus IP.

Bye
Reply 0 0
Reply