LDAP重启故障


如果服务器意外重启,LDAP文件会损坏,需要删除,重新生成   

  1. 备份文件夹

/usr/local/var/openldap-data

  1. 删除openldap-data 里下划线开头的文件,例如

rm __db*

3. 重新启动ldap