listusers failed
Craig White
craigwhite at azapple.com
Thu Nov 30 20:33:26 EST 2006
On Thu, 2006-11-30 at 16:58 +0100, Arnau Bria wrote:
> Hi,
>
> today, after a "power cut" (I'm not sure if this is correct), I had to
> startup my home mail server.
>
> After that, I found that I was not able to get my mail, so I logged
> into box and found and error in sasldblistusers2 :
>
> # sasldblistusers2
> listusers failed
>
> So, I thought I was some kind of error in my sasldb2 file...
>
> I don't know how to dump that db, and check integrity of the file, so
> I deleted it and created a new one with saslpasswd (i have couple of
> users)
>
> Now it works fine, but I was winder if is there a way for recovering
> original file...
----
I don't use sasldb but I would presume that it uses berkeley db4 and if
that was the case, with their utilities, something like
cd /whatever/directory/sasldb is stored and then something like
db_recover should suffice.
More importantly, why not back it up once in a while?
Craig
More information about the Info-cyrus
mailing list