[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4011) slapcat -s gives wrong error message



I just did a fresh build of RE23 on Solaris 8, started slapd, did kill 
-9 on it to force an unclean shutdown, and then slapcat -s 
"ou=people,dc=example,dc=com" -l people.ldif and got no error, just the 
expected data.

Closing this ITS.

quanah@stanford.edu wrote:
> Full_Name: Quanah Gibson-Mount
> Version: 2.3.7
> OS: Solaris 8
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (171.64.19.82)
>
>
> When slapd has had an unclean shutdown, slapcat -s shows:
> sundial1:/tmp# slapcat -s cn=people,dc=stanford=dc=edu -l people.ldif
> slapcat: slap_init no backend for "cn=people,dc=stanford=dc=edu"
>
> and then quits.  This is really not accurate.  The real issue here is that the
> DB has to be recovered (via alock).  Running slapcat a second time results the
> LDIF file being correctly created.
>
> --Quanah
>
>
>
> .
>
>   


-- 
  -- Howard Chu
  Chief Architect, Symas Corp.  http://www.symas.com
  Director, Highland Sun        http://highlandsun.com/hyc
  OpenLDAP Core Team            http://www.openldap.org/project/