Project

General

Profile

Actions

Bug #21240

closed

Rudder-jetty service can not be started

Added by Félix DALLIDET almost 2 years ago. Updated about 1 year ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Server components
Target version:
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.


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #21053: Rudder-jetty doesn't start in 7.0ResolvedActions
Actions #1

Updated by Félix DALLIDET almost 2 years ago

  • Related to Bug #21053: Rudder-jetty doesn't start in 7.0 added
Actions #2

Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 7.0.4 to 7.0.5
Actions #3

Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 7.0.5 to 7.0.6
  • Priority changed from 70 to 69
Actions #4

Updated by Nicolas CHARLES over 1 year 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
Actions #5

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.0.6 to 7.0.7
  • Priority changed from 81 to 80
Actions #6

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.0.7 to 7.0.8
  • Priority changed from 80 to 79
Actions #7

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.0.8 to 1002
Actions #8

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 1002 to 7.1.7
  • Priority changed from 79 to 78
Actions #9

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.1.7 to 7.1.8
Actions #10

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.1.8 to 7.1.9
  • Priority changed from 78 to 76
Actions #11

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.1.9 to 7.1.10
  • Priority changed from 76 to 75
Actions #12

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 7.1.10 to 1016
  • Priority changed from 75 to 73
Actions #13

Updated by Alexis Mousset about 1 year ago

  • Status changed from New to Rejected
  • Priority changed from 73 to 72

closing as we didn't have enough info to reproduce.

Actions #14

Updated by Alexis Mousset about 1 year ago

  • Target version changed from 1016 to 7.2.5
  • Priority changed from 72 to 71
Actions

Also available in: Atom PDF