Unit nslcd.service enters into a failed state when it is stopped with systemctl

Solution Verified - Updated -

Issue

  • The unit nslcd.service should not be entered into a failed state when it was stopped with systemctl.
# systemctl stop nslcd
# systemctl status nslcd
nslcd.service - Naming services LDAP client daemon.
   Loaded: loaded (/usr/lib/systemd/system/nslcd.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2017-02-06 12:22:00 CET; 1s ago
  Process: 31316 ExecStart=/usr/sbin/nslcd (code=exited, status=0/SUCCESS)
 Main PID: 31317 (code=exited, status=1/FAILURE)

Environment

  • Red Hat Enterprise Linux 7
  • nss-pam-ldapd

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