30,997
edits
| Line 65: | Line 65: | ||
ldapadd -f init.ldif -D "cn=admin,dc=mydomain,dc=com" -w secret | ldapadd -f init.ldif -D "cn=admin,dc=mydomain,dc=com" -w secret | ||
</source> | </source> | ||
= Troubleshooting = | |||
With Windows, it server is stop suddenly, restart of OpenLDAP may fails with error | |||
''Program version x.y doesn't match environment version'' | |||
To confirm problem, go onto DOS under directory data of OpenLDAP and launch command | |||
<source lang="bash"> | |||
..\db_stat -e | |||
</source> | |||
If message is the one described, launch repare of base with | |||
<source lang="bash"> | |||
..\db_recover | |||
</source> | |||
Server should be able to start again. | |||