13.07.2015 Views

Naming and Directory Services (DNS, NIS, and LDAP)

Naming and Directory Services (DNS, NIS, and LDAP)

Naming and Directory Services (DNS, NIS, and LDAP)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Verifying ldap_cachemgr Is RunningThe ldap_cachemgr daemon must be running <strong>and</strong> functioning correctly at all times.Otherwise, the system doesn’t work. When you start the <strong>LDAP</strong> client, the client startsldap_cachemgr daemon automatically. So, if the ldap_cachemgr is not running,the <strong>LDAP</strong> client will be disabled. Following are two methods for determining if the<strong>LDAP</strong> client is online.■Use the svcs comm<strong>and</strong>.# svcs \*ldap\*STATE STIME FMRIdisabled Aug_24 svc:/network/ldap/client:defaultor■# svcs -l network/ldap/client:defaultfmrisvc:/network/ldap/client:defaultenabled truestate onlinenext_state nonerestarter svc:/system/svc/restarter:defaultcontract_id 1598dependency require_all/none file://localhost/var/ldap/ldap_client_file (-)dependency require_all/none svc:/network/initial (online)dependency require_all/none svc:/system/filesystem/minimal (online)Pass the -g option to ldap_cachemgr.This option provides more extensive status information, which is useful when youdiagnose a problem.# /usr/lib/ldap/ldap_cachemgr -gcachemgr configuration:server debug level 0server log file "/var/ldap/cachemgr.log"number of calls to ldapcachemgr 19cachemgr cache data statistics:Configuration refresh information:Previous refresh time: 2001/11/16 18:33:28Next refresh time: 2001/11/16 18:43:28Server information:Previous refresh time: 2001/11/16 18:33:28Next refresh time: 2001/11/16 18:36:08server: 192.168.0.0, status: UPserver: 192.168.0.1, status: ERRORerror message: Can’t connect to the <strong>LDAP</strong> serverCache data information:Maximum cache entries: 256Number of cache entries: 2For more information about the ldap_cachemgr daemon, see theldap_cachemgr(1M) man page.190 System Administration Guide: <strong>Naming</strong> <strong>and</strong> <strong>Directory</strong> <strong>Services</strong> (<strong>DNS</strong>, <strong>NIS</strong>, <strong>and</strong> <strong>LDAP</strong>) • January 2005

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!