Bdb_db_open: Warning-No db_config file found in directory/var/lib/ldap:

Source: Internet
Author: User
Tags ldap openldap

BelowArticleReprinted fromHttp://ipucu.murat.ws/bdb_db_open-warning-no-db_config-file-found-in-directory-varlibldap-2-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 ). except CT poor performance for suffix "DC = My-domain, Dc = com ". config File testing succeeded starting slapd: [OK] [...]

..
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 ).
Except CT 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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.