[jadmin] jabberd2 problem with db-4

Andy Green andy at warmcat.com
Sat Jan 13 08:26:52 CST 2007


Hi folks -

Trying to get jabberd up with db used as the database for everything.

On starting sm or c2s processes, they immediately bail during the call 
to env->open() using the db panic function.  So the debug messages look 
like this:

# c2s -D
Sat Jan 13 14:27:29 2007 [notice] starting up
Sat Jan 13 14:27:29 2007 [info] process id is 12992, written to 
/usr/local/var/jabberd/pid/c2s.pid
pre-open
Sat Jan 13 14:27:29 2007 [critical] db: corruption detected! close all 
jabberd processes and run db_recover

I added the "pre-open" printf before the env->open() call and the 
post-open printf I also added after it is never seen.

If I delete the contents of /usr/local/var/jabberd/db and try again, it 
still dies on the open().

I don't think db is completely brain-damaged on this box, because 
another app uses the same libraries successfully.

Jabber is running under a "jabber" user and group, and I can see with 
strace there are no permissions issues.

Does anyone have an idea what can be broken?

-Andy



More information about the JAdmin mailing list