Systemd service failed to start the service with status=217/USER

Solution Verified - Updated -

Issue

  • Systemd service failed on boot with below messages :-
May 02 14:19:09 rhel_vm systemd[1692]: Failed at step USER spawning /path/to/script: No such process
May 02 14:19:09 rhel_vm systemd[1]: sample.service: main process exited, code=exited, status=217/USER
May 02 14:19:09 rhel_vm systemd[1]: Unit sample.service entered failed state.
May 02 14:19:09 rhel_vm systemd[1]: sample.service failed.
  • Issue is with LDAP user managed by sssd .

Environment

  • Red Hat Enterprise Linux 7
  • 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