[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: slapcat - unclean shutdown detected; attempting recovery.



 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


begin:vcard
fn:Lambert JEANNOU
n:JEANNOU;Lambert
org:;Service Informatique IA du Gard
adr;quoted-printable:;;58 Rue Rouget-de-Lisle;N=C3=AEmes;Gard;30000;France
email;internet:lambert.jeannou@ac-montpellier.fr
title;quoted-printable:T=C3=A8l : 04 66 62 86 01
tel;work:04 66 62 86 01
tel;fax:04 66 01 74 24
url:www.ac-montpellier.fr/ia30
version:2.1
end:vcard


Reply to: