Issue with LDAP on RHEL or CentOS

| 0 Comments | 0 TrackBacks

If you bump into the following message on your box.


Checking configuration files for slapd:
bdb_db_open: unclean shutdown detected; attempting recovery.
bdb_db_open: Recovery skipped in read-only mode.
Run manual recovery if errors are encountered.
Change the ownership of /var/lib/ldap/DB_CONFIG to be owned by the user ldap and group ldap, then restart ldap.

chown ldap:ldap /var/lib/ldap/DB_CONFIG
service ldap restart
If you do have a issue with your database, you can try to repair it.

/usr/sbin/slapd_db_recover -v -h /var/lib/ldap

No TrackBacks

TrackBack URL: http://baldwinsung.com/cgi-bin/mt-tb.cgi/139

Leave a comment

Recent Entries

Minimal Post Configuration for CentOS
service yum-updatesd stop chkconfig yum-updatesd off service avahi-daemon stop chkconfig avahi-daemon off service bluetooth stop chkconfig bluetooth off service…
15 Central Park West
The Real Deal details the buyers of the wonderful apartments at 15 CPW. http://therealdeal.com/newyork/articles/a-unit-by-unit-look-at-15-cpw http://s3.amazonaws.com/trd_three/images/17726/CPWBinder.pdf…
AJAX Toolkits
Prototype http://prototypejs.org Scriptaculous http://script.aculo.us Dojo http://dojotoolkit.org YUI http://developer.yahoo.com Ext http://extjs.com Sarissa http://sarissa.sf.net Mochikit http://mochikit.com jQuery http://jquery.com MooTools http://mootools.net GWT…