Monday, May 10, 2010

bdb_db_open: Warning - No DB_CONFIG file found in directory /var/lib/openldap-data: (2) Expect poor performance

"bdb_db_open: Warning - No DB_CONFIG file found in directory /var/lib/openldap-data: (2) Expect poor performance for suffix XXXXXXXX"


When I work on openLDAP on Fedora 10 platform I got above error.

Solution :

cp /usr/share/doc/openldap-servers-2.4.XX/DB_CONFIG.example /var/lib/ldap/DB_CONFIG
chown ldap:ldap /var/lib/ldap/DB_CONFIG
service ldap restart

This was working for me. Hope it will for you too. Gd lk.

To view the solutions for other platforms visit : http://readthefuckingmanual.net/error/1256/