# Job for nexus.service failed because the control process exited with error code. See "systemctl status nexus.service" and "journalctl -xe" for details

**URL:** <https://community.sonatype.com/t/job-for-nexus-service-failed-because-the-control-process-exited-with-error-code-see-systemctl-status-nexus-service-and-journalctl-xe-for-details/13071>\
**Category:** Sonatype Nexus Repository\
**Tags:** nexus-iq, nexus\
**Created:** [August 16, 2024, 4:49am UTC](https://community.sonatype.com/t/job-for-nexus-service-failed-because-the-control-process-exited-with-error-code-see-systemctl-status-nexus-service-and-journalctl-xe-for-details/13071 "2024-08-16T04:49:36Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![ruteeshraju](https://avatars.discourse-cdn.com/v4/letter/r/fbc32d/32.png) [@ruteeshraju](https://community.sonatype.com/u/ruteeshraju)\
**Post date:** [August 21, 2024, 10:58am UTC](https://community.sonatype.com/t/job-for-nexus-service-failed-because-the-control-process-exited-with-error-code-see-systemctl-status-nexus-service-and-journalctl-xe-for-details/13071/3 "2024-08-21T10:58:56Z")

</div>

## Aug 21 10:51:14 ip-172-31-92-236.ec2.internal useradd[13722]: new group: name=nexus, GID=1001 Aug 21 10:51:14 ip-172-31-92-236.ec2.internal useradd[13722]: new user: name=nexus, UID=1001, GID=1001, home=/home/nexus, shell=/bin/bash Aug 21 10:51:46 ip-172-31-92-236.ec2.internal dhclient[3005]: XMT: Solicit on eth0, interval 128010ms. Aug 21 10:53:54 ip-172-31-92-236.ec2.internal dhclient[3005]: XMT: Solicit on eth0, interval 112320ms. Aug 21 10:54:03 ip-172-31-92-236.ec2.internal systemd[1]: Reloading. Aug 21 10:54:18 ip-172-31-92-236.ec2.internal systemd[1]: Starting nexus service… – Subject: Unit nexus.service has begun start-up – Defined-By: systemd – Support: [systemd-devel Info Page](http://lists.freedesktop.org/mailman/listinfo/systemd-devel)

## – Unit nexus.service has begun starting up. Aug 21 10:54:19 ip-172-31-92-236.ec2.internal systemd[1]: nexus.service: control process exited, code=exited status=83 Aug 21 10:54:19 ip-172-31-92-236.ec2.internal nexus[14859]: No suitable Java Virtual Machine could be found on your system. Aug 21 10:54:19 ip-172-31-92-236.ec2.internal nexus[14859]: The version of the JVM must be 17. Aug 21 10:54:19 ip-172-31-92-236.ec2.internal nexus[14859]: Please define INSTALL4J\_JAVA\_HOME to point to a suitable JVM. Aug 21 10:54:19 ip-172-31-92-236.ec2.internal systemd[1]: Failed to start nexus service. – Subject: Unit nexus.service has failed – Defined-By: systemd – Support: [systemd-devel Info Page](http://lists.freedesktop.org/mailman/listinfo/systemd-devel)

## – Unit nexus.service has failed.

– The result is failed.  
Aug 21 10:54:19 ip-172-31-92-236.ec2.internal systemd[1]: Unit nexus.service entered failed state.  
Aug 21 10:54:19 ip-172-31-92-236.ec2.internal systemd[1]: nexus.service failed.  
Aug 21 10:54:19 ip-172-31-92-236.ec2.internal rsyslogd[3257]: imjournal: journal reloaded… [v8.24.0-57.amzn2.2.0.2 try [http://www.rsyslog.com/e/0](http://www.rsyslog.com/e/0) ]  
lines 1058-1083/1083 (END)

---

_[View the full topic](https://community.sonatype.com/t/job-for-nexus-service-failed-because-the-control-process-exited-with-error-code-see-systemctl-status-nexus-service-and-journalctl-xe-for-details/13071)._
