正在检查 slapd 的配置文件: bdb_db_open: Warning - No DB_CONFIG file found in directory /var/lib/ldap:
解决办法:
1) cp /etc/openldap/DB_CONFIG.example /var/lib/ldap/DB_CONFIG
2) chown ldap:ldap /var/lib/ldap/DB_CONFIG
3) service ldap restart
Note, you will get this warning:
bdb_db_open: Recovery skipped in read-only mode. Run manual recovery if errors are encountered.
config file testing succeeded
4) service ldap restart
And now there will be no errors.
阅读(2145) | 评论(0) | 转发(0) |