Genel, Linux

bdb_db_open: warning – no DB_CONFIG file found in directory /var/lib/ldap: (2).

Ldap kuruldu baslatmaya calisiyorsunuz fakat asagidaki gibi bir uyari aliyorsunuz ne yapmamiz lazim ? [root@fedora ~]# /etc/init.d/ldap restart Stopping slapd:                                            [  OK  ] Checking configuration files for slapd:                    [WARNING] bdb_db_open: warning - no DB_CONFIG file found in directory /var/lib/ldap: (2). Expect poor performance for suffix "dc=my-domain,dc=com". config file testing succeeded Starting slapd:                                            [  OK  ] Sirasiyla komutlari uygulayalim, [root@fedora ~]# rm -rf /var/lib/ldap/* [root@fedora ~]# updatedb [root@fedora ~]# locate DB_CONFIG.example /usr/share/doc/openldap-servers-2.4.12/DB_CONFIG.example [root@fedora ~]# cp /usr/share/doc/openldap-servers-2.4.12/DB_CONFIG.example /var/lib/ldap/DB_CONFIG [root@fedora ~]# chown -R ldap:ldap /var/lib/ldap [root@fedora ~]# /etc/init.d/ldap restart Stopping slapd:                                            [  OK  ] Starting slapd:                                            [  OK  ] Ldap sorunsuz olarak basladi. sevgiler.