manics wrote:Hi, I think there might be another error in our docs, our automated tests didn't detect that web isn't running. I haven't had a chance to test this, but could you try defining the environment variables separately in the systemd service file and let me know if it works?
- Code: Select all
Environment="PATH=/home/omero/omerowebvenv/venv/bin:/bin:/usr/bin"
Environment="WEBBINDIR=/home/omero/OMERO.py/bin"
Make sure you runbefore
- Code: Select all
systemctl daemon-reload
- Code: Select all
systemctl start omero-web
Thanks, Simon
Hi,
I did the change in the omero-web.service file except for the line :
Environment="PATH=/home/omero/omerowebvenv/venv/bin:/bin:/usr/bin"
Modified as
Environment="PATH=/home/omero/omerowebvenv/bin:/bin:/usr/bin"
/home/omero/omerowebvenv/venv/bin don't exist !
I restarted the deamon, however the problem is the same :
- Code: Select all
root@omero:/home/omero#>systemctl daemon-reload
root@omero:/home/omero#>systemctl enable omero-web.service
root@omero:/home/omero#>systemctl start omero-web.service
Job for omero-web.service failed because the control process exited with error code. See "systemctl status omero-web.service" and "journalctl -xe" for details.
- Code: Select all
root@omero:/home/omero#>systemctl status omero-web.service
● omero-web.service - OMERO.web
Loaded: loaded (/etc/systemd/system/omero-web.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since mer. 2017-08-23 10:22:38 CEST; 3min 58s ago
Process: 2286 ExecStart=/home/omero/omerowebvenv/python $WEBBINDIR/omero web start (code=exited, status=203/EXEC)
août 23 10:22:38 omero systemd[1]: Starting OMERO.web...
août 23 10:22:38 omero systemd[1]: omero-web.service: control process exited, code=exited status=203
août 23 10:22:38 omero systemd[1]: Failed to start OMERO.web.
août 23 10:22:38 omero systemd[1]: Unit omero-web.service entered failed state.
août 23 10:22:38 omero systemd[1]: omero-web.service failed.
- Code: Select all
oot@omero:/home/omero#>journalctl -xe
août 23 10:25:48 omero snmpd[1746]: Connection from UDP: [192.168.111.245]:33186->[192.168.202.21]:161
août 23 10:25:48 omero snmpd[1746]: Connection from UDP: [192.168.111.245]:47764->[192.168.202.21]:161
août 23 10:25:48 omero snmpd[1746]: Connection from UDP: [192.168.111.245]:36677->[192.168.202.21]:161
août 23 10:25:48 omero snmpd[1746]: Connection from UDP: [192.168.111.245]:36677->[192.168.202.21]:161
août 23 10:25:48 omero snmpd[1746]: Connection from UDP: [192.168.111.245]:36677->[192.168.202.21]:161
août 23 10:25:48 omero snmpd[1746]: Connection from UDP: [192.168.111.245]:36677->[192.168.202.21]:161
août 23 10:25:48 omero snmpd[1746]: Connection from UDP: [192.168.111.245]:36677->[192.168.202.21]:161
août 23 10:25:48 omero snmpd[1746]: Connection from UDP: [192.168.111.245]:36677->[192.168.202.21]:161
août 23 10:25:48 omero snmpd[1746]: Connection from UDP: [192.168.111.245]:36677->[192.168.202.21]:161
août 23 10:25:48 omero snmpd[1746]: Connection from UDP: [192.168.111.245]:36677->[192.168.202.21]:161
août 23 10:25:48 omero snmpd[1746]: Connection from UDP: [192.168.111.245]:36677->[192.168.202.21]:161
août 23 10:25:48 omero snmpd[1746]: Connection from UDP: [192.168.111.245]:36677->[192.168.202.21]:161
août 23 10:25:48 omero snmpd[1746]: Connection from UDP: [192.168.111.245]:36677->[192.168.202.21]:161
août 23 10:25:48 omero snmpd[1746]: Connection from UDP: [192.168.111.245]:36677->[192.168.202.21]:161
août 23 10:25:48 omero snmpd[1746]: Connection from UDP: [192.168.111.245]:34550->[192.168.202.21]:161
août 23 10:25:48 omero snmpd[1746]: Connection from UDP: [192.168.111.245]:34550->[192.168.202.21]:161
août 23 10:25:48 omero snmpd[1746]: Connection from UDP: [192.168.111.245]:33432->[192.168.202.21]:161
août 23 10:25:48 omero snmpd[1746]: Connection from UDP: [192.168.111.245]:33432->[192.168.202.21]:161
août 23 10:25:57 omero snmpd[1746]: Connection from UDP: [192.168.111.247]:53620->[192.168.202.21]:161
août 23 10:26:01 omero sshd[2336]: Connection closed by 192.168.111.247 [preauth]
août 23 10:26:10 omero snmpd[1746]: Connection from UDP: [192.168.111.247]:56588->[192.168.202.21]:161
août 23 10:26:10 omero snmpd[1746]: Connection from UDP: [192.168.111.247]:56588->[192.168.202.21]:161
août 23 10:26:10 omero snmpd[1746]: Connection from UDP: [192.168.111.247]:56588->[192.168.202.21]:161
août 23 10:26:14 omero snmpd[1746]: Connection from UDP: [192.168.111.247]:39675->[192.168.202.21]:161
août 23 10:26:22 omero snmpd[1746]: Connection from UDP: [192.168.111.247]:58667->[192.168.202.21]:161
août 23 10:26:22 omero snmpd[1746]: Connection from UDP: [192.168.111.247]:58667->[192.168.202.21]:161
août 23 10:26:55 omero snmpd[1746]: Connection from UDP: [192.168.111.247]:55044->[192.168.202.21]:161
août 23 10:27:01 omero sshd[2343]: Connection closed by 192.168.111.247 [preauth]
août 23 10:27:08 omero snmpd[1746]: Connection from UDP: [192.168.111.247]:33784->[192.168.202.21]:161
août 23 10:27:08 omero snmpd[1746]: Connection from UDP: [192.168.111.247]:33784->[192.168.202.21]:161
août 23 10:27:08 omero snmpd[1746]: Connection from UDP: [192.168.111.247]:33784->[192.168.202.21]:161
août 23 10:27:14 omero snmpd[1746]: Connection from UDP: [192.168.111.247]:47783->[192.168.202.21]:161
Philippe