Unable to start custom user-service

Solution Verified - Updated -

Issue

  • Unable to start a custom user-service.
systemctl status test.service --user
 test.service - test master service
   Loaded: loaded (/XXX/XXX/XXX/.config/systemd/user/test.service; enabled; vendor preset: enabled)
   Active: failed (Result: core-dump) since Mon 2024-05-06 20:32:46 UTC; 22h ago
  Process: 2938 ExecStart=/XXX/XXX/XXX/test/master/bin/test-master --flagfile /XXX/XXX/XXX/master/conf/server.conf (code=dumped, signal=ABRT)
 Main PID: 2938 (code=dumped, signal=ABRT)

May 06 20:32:41 test.system systemd[2575]: test-master.service: Main process exited, code=dumped, status=6/ABRT
May 06 20:32:41 test.system systemd[2575]: test-master.service: Failed with result 'core-dump'.
May 06 20:32:46 test.system systemd[2575]: test-master.service: Service RestartSec=5s expired, scheduling restart.
May 06 20:32:46 test.system systemd[2575]: test-master.service: Failed to schedule restart job: Unit network-online.target not found.

Environment

  • Red Hat Enterprise Linux (RHEL) 7
  • Red Hat Enterprise Linux (RHEL) 8
  • Red Hat Enterprise Linux (RHEL) 9
  • systemd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content