ldap bdb_db_open 錯誤解決
重新啟動 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