Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Sooooo, working on changing nslcd.conf file to reflect change to a new ldap server.
Go to restart nslcd and it loooks ok, but a service nslcd status delivers the error: nslcd dead but subsys locked
Tried to rename the /var/run/nslcd directory and create a new one with same perms/owner/grp, and same with /var/lock/subsys/nslcd
Any thoughts on why this issue is occuring?
Rhel 6.10 running on vmware 11 (I think, though I don't think vmware is the issue as other servers are ok)
Well, stopping/starting the service would appear to work, but changes would not actually load. A pkill nslcd goes through, then a a service nslcd status, shows the nslcd dead but subsys locked error.
nslcd dead but subsys locked isn't generated by nslcd, but by the init script's status function. It just means there is a pid file but the process isn't running. Try killing nslcd and running it in debug mode.
Code:
# service nslcd stop
Stopping nslcd: [ OK ]
# ps -ef | grep nslcd
root 1487 1381 0 06:23 pts/0 00:00:00 grep nslcd
# nslcd -d
nslcd: DEBUG: add_uri(ldap://127.0.0.1/)
nslcd: version 0.7.5 starting
nslcd: DEBUG: unlink() of /var/run/nslcd/socket failed (ignored): No such file or directory
nslcd: DEBUG: setgroups(0,NULL) done
nslcd: DEBUG: setgid(55) done
nslcd: DEBUG: setuid(65) done
nslcd: accepting connections
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.