重新启动 ldap sever时, 出现下列错误信息 :
Checking configuration files for slapd: bdb_db_open: unclean shutdown detected; attempting recovery.
bdb_db_open: Recovery skipped in read-only mode. Run manual recovery if errors are encountered. config file testing succeeded
用以下方式可以解决 :
# service ldap stop
# /usr/sbin/slapd_db_recover -v -h /var/lib/ldap
# service ldap start
转载于:https://blog.51cto.com/wanghaipeng1124/876234