LDAP Error: Warning - No DB_CONFIG file found in directory

#service ldap restart
之後顯示如下訊息:

正在停止 slapd: [ 確定 ]
正在為 slapd 檢查設定檔案: bdb_db_open: Warning - No DB_CONFIG file found in directory /var/lib/ldap: (2)
Expect poor performance for suffix dc=taes,dc=tp,dc=edu,dc=tw. config file testing [ 確定 ]
正在啟動 slapd: [ 確定 ]

上面的所顯示的錯誤訊息裡的DB_CONFIG file 在/etc/openldap/DB_CONFIG.example,複製到/var/lib/ldap裡,改成DB_CONFIG,然後重新啟動LDAP即可。
0 Responses