Hello.
I think, i make a mistake. For a slapcat output  theses 2 lines :

/unclean shutdown detected; attempting recovery.
recovery skipped in read-only mode. Run manual recovery if errors are encountered. /


are not an error !

Simply it's because the slapd is running. If i do an ldapadd with good arguments and ldif file, I have a good adding in my ldap.
So my bdb is not in read only !

Thanks.

L. J.



Le 11/04/2011 10:37, Lambert JEANNOU a écrit :
Hope you 'll excuse me for my bad english.
I have the same problem with my slapd 2.4.23-7 on a new squeeze.

 unclean shutdown detected; attempting recovery.
recovery skipped in read-only mode. Run manual recovery if errors are encountered.

I have tried the following :

# rm -rf /var/lib/ldap
# echo -en "set_cachesize 0 15000000 1\nset_lg_bsize 2097152\n" >/var/lib/ldap/DB_CONFIG
# slapadd < ldap.ldif (before created by slacat > ldap.ldif)
# /etc/init.d/ldap start

That seems ok but at the reboot the same error repeats itself.

Thanks for your help.
Lambert JEANNOU


<<attachment: lambert_jeannou.vcf>>

Reply via email to