Search This Blog

Friday, January 15, 2016

HP-UX 11iV3 - ldapclientd: Error: Cache daemon is not running (or running but not ready)



When trying to restart my ldapclient daemon in HPUX 11.31, the following message was raised by the system:
# ./ldapclientd.rc restart
Error: Cache daemon is not running (or running but not ready)

Already running

ldapclientd started with <0>
ldapconfd started with <0>

Let see how I have managed the problem:
I killed manually the running ldapclientd process:
# ps -ef | grep ldap
    root 22783     1 254 10:25:56 ?         0:43 /opt/ldapux/bin/ldapclientd
# kill 22783
# ps -ef | grep ldap

When I tried to start the client again, the following error has been raised:
# ./ldapclientd.rc restart
 
error: cannot mmap()==MAP_FAILED
ldapclientd started with <0>
ldapconfd started with <0>

I then tried to remove the status file used & created by the ldapclientd:
# rm /var/spool/ldapcltd/status

After killing again the ldapclientd and removing the status file, the ldapclientd started successfully!
# ./ldapclientd.rc start
ldapclientd started with <0>
ldapconfd started with <0>

Thank you for reading.
For Reading other article, visit to “https://sites.google.com/site/unixwikis/

No comments:

Post a Comment