Actions
Bug #21240
closedRudder-jetty service can not be started
Pull Request:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
It bothers me each time
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Priority:
71
Name check:
To do
Fix check:
To do
Regression:
No
Description
In 7.0.3 I ended up with a rudder-jetty that did not want to start properly.
The status of the service was always "failed" and the logs were the following:
root@server:/var/log/rudder# systemctl status rudder-jetty ● rudder-jetty.service - Jetty Web Application Server Loaded: loaded (/lib/systemd/system/rudder-jetty.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Thu 2022-06-09 08:22:25 UTC; 1min 33s ago Process: 556 ExecStart=/opt/rudder/bin/rudder-jetty.sh start (code=exited, status=1/FAILURE) CPU: 173ms root@server:/var/log/rudder# journalctl -u rudder-jetty Jun 09 08:13:40 server rudder-jetty.sh[4416]: . . . . . . . . . . . . . . . FAILED Thu Jun 9 08:13:40 UTC 2022 Jun 09 08:13:40 server systemd[1]: rudder-jetty.service: Control process exited, code=exited, status=1/FAILURE Jun 09 08:13:40 server systemd[1]: rudder-jetty.service: Failed with result 'exit-code'. Jun 09 08:13:40 server systemd[1]: Failed to start Jetty Web Application Server. Jun 09 08:15:02 server systemd[1]: Starting Jetty Web Application Server... Jun 09 08:15:03 server rudder-jetty.sh[5130]: Setting umask to 0007 Jun 09 08:15:03 server rudder-jetty.sh[5130]: Starting Jetty: Jun 09 08:15:03 server rudder-jetty.sh[5192]: process already running. Jun 09 08:16:03 server rudder-jetty.sh[5130]: . . . . . . . . . . . . . . . FAILED Thu Jun 9 08:16:03 UTC 2022 Jun 09 08:16:03 server systemd[1]: rudder-jetty.service: Control process exited, code=exited, status=1/FAILURE Jun 09 08:16:03 server systemd[1]: rudder-jetty.service: Failed with result 'exit-code'. Jun 09 08:16:03 server systemd[1]: Failed to start Jetty Web Application Server.
The "process already running" made me run and kill the process found using ps:
root@server:/var/log/rudder# ps -afux | grep jetty root 5126 0.0 0.0 2420 576 ? S 08:15 0:00 | \_ sh -c /bin/systemctl --no-ask-password start rudder-jetty.service root 5128 0.0 0.0 7104 1160 ? S 08:15 0:00 | \_ /bin/systemctl --no-ask-password start rudder-jetty.service root 5226 0.0 0.0 5204 708 pts/0 S+ 08:15 0:00 \_ grep jetty root 5130 0.0 0.1 5860 3572 ? Ss 08:15 0:00 bash /opt/rudder/bin/rudder-jetty.sh start root@server:/var/log/rudder# pkill -9 5126
But even then the server could not start. I had to reboot the server and redo this procedure like 4 times before the webapp was accessible.
Also, after the reboot the service was well started, but the webapp was not accessible and only showed the loading page.
Updated by Félix DALLIDET over 2 years ago
- Related to Bug #21053: Rudder-jetty doesn't start in 7.0 added
Updated by Vincent MEMBRÉ over 2 years ago
- Target version changed from 7.0.4 to 7.0.5
Updated by Vincent MEMBRÉ over 2 years ago
- Target version changed from 7.0.5 to 7.0.6
- Priority changed from 70 to 69
Updated by Nicolas CHARLES over 2 years ago
- UX impact changed from I bothers me each time to It bothers me each time
- Priority changed from 69 to 81
- Regression set to No
Updated by Vincent MEMBRÉ about 2 years ago
- Target version changed from 7.0.6 to 7.0.7
- Priority changed from 81 to 80
Updated by Vincent MEMBRÉ about 2 years ago
- Target version changed from 7.0.7 to 7.0.8
- Priority changed from 80 to 79
Updated by Vincent MEMBRÉ about 2 years ago
- Target version changed from 7.0.8 to 1002
Updated by Vincent MEMBRÉ about 2 years ago
- Target version changed from 1002 to 7.1.7
- Priority changed from 79 to 78
Updated by Vincent MEMBRÉ about 2 years ago
- Target version changed from 7.1.7 to 7.1.8
Updated by Vincent MEMBRÉ almost 2 years ago
- Target version changed from 7.1.8 to 7.1.9
- Priority changed from 78 to 76
Updated by Vincent MEMBRÉ almost 2 years ago
- Target version changed from 7.1.9 to 7.1.10
- Priority changed from 76 to 75
Updated by Vincent MEMBRÉ almost 2 years ago
- Target version changed from 7.1.10 to 1016
- Priority changed from 75 to 73
Updated by Alexis Mousset almost 2 years ago
- Status changed from New to Rejected
- Priority changed from 73 to 72
closing as we didn't have enough info to reproduce.
Updated by Alexis Mousset over 1 year ago
- Target version changed from 1016 to 7.2.5
- Priority changed from 72 to 71
Actions