Kernel upgrade problem

Jeffrey Borg jeffreyb at futureschool.com.au
Sun Feb 1 17:39:07 EST 2004


I am sending this again, Apologies to anyone who gets this twice.


Quoting Simon Matter <simon.matter at ch.sauter-bc.com>:

> > Hi there
> >
> > I have a redhat 7.2 machine here which is running cyrus for imap
> > storage.
> >
> > The curus and the db4 are all compiled on this machine.
> >
> > Now due to system instability I had to upgrade the kernel from the
> > standard redhat one. So as usual just compiled and installed a
generic
> > 2.4.24 kernel.
>
> Are you sure your stability problem had something to do with the
RedHat
> kernel? I'm using 7.2 and 7.3 with RedHat kernels on about 30 servers
with
> very different hardware and I never had a problem with it.
Yep 100% sure. We have 2 IBM x series servers and both have the same
problem.
The other server has been fine since the kernel upgrade (which didn't
affect
cyrus one bit)


Some of the kernel error messages follow. They are all similar in that
cyrus can
not open it's database!


Jan 20 22:30:01 samba2 tls_prune[924]: DBERROR db4: unable to join the
environment
Jan 20 22:30:01 samba2 tls_prune[924]: DBERROR: dbenv->open '/home/
imapdb/db'
failed: Resource temporarily unavailable
Jan 20 22:30:01 samba2 tls_prune[924]: DBERROR: init (TLS: /home/imapdb/
db):
cyrusdb error
Jan 20 22:30:01 samba2 ctl_cyrusdb[926]: DBERROR db4: unable to join the
environment
Jan 20 22:30:01 samba2 ctl_cyrusdb[926]: DBERROR: dbenv->open '/home/
imapdb/db'
failed: Resource temporarily unavailable
Jan 20 22:30:01 samba2 ctl_cyrusdb[926]: DBERROR: init /home/imapdb/db:
cyrusdb
error
Jan 20 22:30:01 samba2 ctl_cyrusdb[926]: done checkpointing cyrus
databases
Jan 20 22:30:01 samba2 ctl_deliver[925]: DBERROR db4: unable to join the
environment
Jan 20 22:30:01 samba2 ctl_deliver[925]: DBERROR: dbenv->open '/home/
imapdb/db'
failed: Resource temporarily unavailable
Jan 20 22:30:01 samba2 ctl_deliver[925]: DBERROR: init /home/imapdb/db:
cyrusdb
error


and so on and so on.

Of course everything works once you reboot with the redhat kernel.

I also upgraded cyrus to the latest 2.1 release. I also recompiled the
db 4.1
library as well. Everything to do with cyrus was compiled on the
machine.


I also tried trying to repair the database but that was failing and in
the end I
put back the original files and restarted with the default redhat 7.2
kernel and
everything was fine. (until the machine locks up next time!)



>

> >
> > Only that totally broke cyrus so bad it wouldn't even startup. Now I
> > think it's something to do with threading libraries in glibc and the
> > redhat kernel with the berkeley db? am I right here.
> >
> > Is there something I missed in the 2.4.24 kernel?
> >
> > The funny thing is that a identical mail server (though using redhat
> > 7.3) was upgraded to 2.4.22 with no problems.
> > follow.
>
> 7.2 and 7.3 are almost the same. What does it mean 'it wouldn't even
> startup'? Did you check the error messages?
>
> Simon
>
> >
> > --
> > Jeffrey Borg
> >
> >
>
>
>


-- 
Jeffrey Borg





More information about the Info-cyrus mailing list