Mail server reboot while upgrading ports
Dragoncrest
dragoncrest at voyager.net
Tue Sep 9 18:22:26 PDT 2003
At 01:17 AM 9/10/03 +0200, Raphaël Marmier wrote:
>heat? Both could be overheating the same way if it is the same hardware in
>the same room under identical conditions. Try to move one to the fridge
>and see if it stop freezing ;)
Actually, it's rebooting randomly during installs or upgrades
only. It did it once due to spam assassign, but that was a long time
back. I did however encounter something of interest that might give us
some insight into this. Even though I'd periodically have failed builds or
installs, or even reboots at random during this, I always seemed to get a
lot of this one ruby error. Here's two examples.
/usr/local/lib/ruby/site_ruby/1.6/pkginfo.rb:45: [BUG] rb_gc_mark():
unknown data type 0x7(0x8053e04) corrupted object
ruby 1.6.8 (2003-03-26) [i386-freebsd4]
/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:336: [BUG] rb_gc_mark(): unknown
data type 0x7(0x82024dc) corrupted object
ruby 1.6.8 (2003-03-26) [i386-freebsd4]
I've since done a pkgdb -F to see if that would help and it did
find one small error in the database. So not sure if that fixed it or
not. I am however fully completed with all the upgrades after 5 painful
hours, so that's at least good. That means I shouldn't have to touch this
for a while longer at which this problem may crop up its ugly head. I'll
keep an eye on it and report anything new I find. I don't expect this to
be easy to solve. But we'll keep looking for clues.
Speaking of clues, is there a way to log everything that goes on
in a TTY session? I've noticed that when this thing crashes it prints
something to the screen (I can't see it cause I'm away at another desk when
it does it) about the crash and a reboot in 15 seconds but I'm never fast
enough over there to catch it. I want to try and catch that in a file if
possible so I better know what's wrong with this thing. I'm sure it has
something to do with adding a switch to the logging system, but I can't
find where to add the switch and which one would do it. Any input would be
welcome. Thanks.
More information about the freebsd-questions
mailing list