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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.