Fish
Hello!
 
I am having an issue where I am running OpenPLC Runtime inside of a virtual machine using Oracle VirtualBox running the Ubuntu Server OS. The program works fine, until the virtual machine is restarted. When this happens, python2.7 will be listening on the port that OpenPLC Runtime was using. You can change OpenPLC Runtime's port in webserver.py and it will work (you can even send stop the process and start it up again fine) but the python2.7 process will still be there. When the virtual machine is restarted again the python2.7 process will switch to listening on OpenPLC's new port. The python2.7 process can be killed, but will immediately reappear with a different pid. The only programs I have set up on this machine are OpenPLC Runtime, git, and some tools to help me diagnose this problem like lsof. Has anyone run into this problem before or know how to fix this?
 
Reply 0 0
thiagoralves
That’s not Python 2.7, that’s OpenPLC runtime. It starts automatically when the machine boots. You’re trying to start it twice, which obviously doesn’t work
Reply 1 0
Reply