What does a status of 254 indicate? Are these documented somewhere?
– Support: Enterprise open source support | Ubuntu
– A start job for unit nexus.service has begun execution.
– The job identifier is 286554.
Sep 15 07:25:25 sunroom nexus[2734817]: Starting nexus
Sep 15 07:25:25 sunroom systemd[1]: Started SonarQube Service.
– Subject: A start job for unit nexus.service has finished successfully
– Defined-By: systemd
– Support: Enterprise open source support | Ubuntu
– A start job for unit nexus.service has finished successfully.
– The job identifier is 286554.
Sep 15 07:25:26 sunroom systemd[1]: nexus.service: Main process exited, code=exited, status=254/n/a
– Subject: Unit process exited
– Defined-By: systemd
– Support: Enterprise open source support | Ubuntu
– An ExecStart= process belonging to unit nexus.service has exited.
– The process’ exit code is ‘exited’ and its exit status is 254.
Sep 15 07:25:26 sunroom systemd[1]: nexus.service: Failed with result ‘exit-code’.
– Subject: Unit failed
– Defined-By: systemd
– Support: Enterprise open source support | Ubuntu
– The unit nexus.service has entered the ‘failed’ state with result ‘exit-code’.
Sep 15 07:25:44 sunroom tracker-store[2734626]: OK
Sep 15 07:25:44 sunroom systemd[2729793]: tracker-store.service: Succeeded.
– Subject: Unit succeeded
– Defined-By: systemd
– Support: Enterprise open source support | Ubuntu
– The unit UNIT has successfully entered the ‘dead’ state.
root@sunroom:/etc/systemd/system# mv nexus.service sonarqube.service
root@sunroom:/etc/systemd/system# systemctl daemon-reload
root@sunroom:/etc/systemd/system# systemctl status sonarqube.service
● sonarqube.service - SonarQube Service
Loaded: loaded (/etc/systemd/system/sonarqube.service; disabled; vendor preset: enabled)
Active: inactive (dead)
root@sunroom:/etc/systemd/system# systemctl enable sonarqube.service
Created symlink /etc/systemd/system/multi-user.target.wants/sonarqube.service → /etc/systemd/system/sonarqube.service.
root@sunroom:/etc/systemd/system# systemctl status sonarqube.service
● sonarqube.service - SonarQube Service
Loaded: loaded (/etc/systemd/system/sonarqube.service; enabled; vendor preset: enabled)
Active: inactive (dead)
root@sunroom:/etc/systemd/system# systemctl start sonarqube.service
root@sunroom:/etc/systemd/system# systemctl status sonarqube.service
● sonarqube.service - SonarQube Service
Loaded: loaded (/etc/systemd/system/sonarqube.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2021-09-15 07:26:57 EDT; 3s ago
Process: 2735584 ExecStart=/opt/app/sonartype/sonarqube/v3.34.0-01/bin/nexus start (code=exited, status=0/SUCCESS)
Main PID: 2735769 (code=exited, status=254)
Sep 15 07:26:57 sunroom systemd[1]: Starting SonarQube Service…
Sep 15 07:26:57 sunroom nexus[2735584]: Starting nexus
Sep 15 07:26:57 sunroom systemd[1]: Started SonarQube Service.
Sep 15 07:26:57 sunroom systemd[1]: sonarqube.service: Main process exited, code=exited, status=254/n/a
Sep 15 07:26:57 sunroom systemd[1]: sonarqube.service: Failed with result ‘exit-code’.