[jadmin] jabberd2 problem with db-4

Andy Green andy at warmcat.com
Tue Jan 16 04:19:20 CST 2007


Andy Green wrote:

> 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:

Well, I did succeed to get jabberd 2 up on this embedded ARM device. 
The problem was coming out of db 4.5.20, and my debugging printfs inside 
db 4 make the problem go away all by themselves: removing them makes the 
problem reappear.  I guess it is either a compiler (4.0.2) or libc 
(uClibc 0.9.28) or kernel issue, but I tried it on 2.6.17.3 and 
2.6.20rc1 with the same results.

The error occurs when a matrix of mutexes are being set up by db4, 
partway through the init action of the mutexes.  Specifying ARM assembly 
mutexes on the db configure made the box reboot during that part of db 4 
init: with the printfs and pthreads mutexes it works fine and jabberd 
goes on to start and work too.  So my solution is to leave the printfs 
in and run sm and c2s with >/dev/null.

If anyone is interested I have ARM and AVR32 packages here, the ARM one 
is tested:

http://rpm.octotux.org

-Andy



More information about the JAdmin mailing list