Troubleshooting the Open Lightweight Directory Access Protocol and the Berkeley Data Base

From DocWiki

Revision as of 03:02, 29 April 2011 by Ssrimuru (Talk | contribs)
Jump to: navigation, search

To troubleshoot Open Lightweight Directory Access Protocol (OpenLDAP) and Berkeley Data Base (BDB), see the following sections:

OpenLDAP Server Not Responding

Problem: The OpenLDAP server is not responding.

Possible Cause: This problem could occur if, after a system crash, power outage, or manual shutdown, the OpenLDAP sever did not shut down gracefully, which caused data corruption.

Solution: To resolve this problem, stop the OpenLDAP server, and then recover the data. Follow these steps:

1. To stop the OpenLDAP server, enter the following command:

  /etc/init.d/NetAppOpenLDAP stop

2. To recover the data, enter the following command:

  $CISCO_CE_INSTALL_ROOT/bdb/bin/db_recover -h 

BDB Using Excessive Disk Space

Problem: The BDB is using excessive disk space.

Possible Cause: BDB creates transaction logs in the $CISCO_CE_INSTALL_ROOT/openldap/var/openldap-data file. If transaction logs are not purged, the BDB uses excessive disk space. For information about disk space, see the “System Requirements” and “Understanding Disk Space Calculation” sections in the Cisco Configuration Engine Installation and Configuration Guide, 3.5.

Solution: To resolve this problem, follow these steps:

1. To verify whether is running as a cron job, enter the following command:

  crontab –l

2. If crontab –l is not in the list, run the Setup program to add it.

3. To manually purge BDB transaction logs, enter the following command:

     Main Page: Cisco Configuration Engine -- Troubleshooting

Rating: 5.0/5 (1 vote cast)

Personal tools