READING

bdb_db_open: warning – no DB_CONFIG file fou...

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.


  1. Rohit Kumar

    2 November

    This is very wondering site

  2. Miraj

    26 August

    It is really helpfull

  3. konrad

    12 January

    Hey,
    I currently have which acts OpenLDAP. He wants to do the backup command:
    / usr / sbin / slapcat -l / tmp / backup-`date –date = “1 day ago” “+% Y% m% d” `-f /etc/ldap/slapd.conf
    When it’s done receives this message:

    bdb_db_open: warning – no DB_CONFIG file found in directory / var / lib / ldap: (14).
    Expect poor performance for suffix “dc = domain, dc = org, dc = com”.

    In the directory

    / var / lib / ldap / DB.Example

    I do not, I have other files.

    Is a copy of your instructions by DB.Example to / var / lib / ldap / and the makings restart may damage something? Is gydby was a problem, I can delete and re-do DB.EXAMPLE restart to pick up the service to life?

Your email address will not be published. Required fields are marked *