Task bbnet terminated by signal 6
Greet,
OpenBSD 3.2 running hobbit-4.1.1 as server.
Started getting all purple network tests on the display.
I tried restarting hobbit and I see this in the log:
2006-06-08 19:14:05 hobbitlaunch starting 2006-06-08 19:14:05 Loading tasklist configuration from /home/lee/ Hobbit/server/etc/hobbitlaunch.cfg 2006-06-08 19:14:05 Loading hostnames 2006-06-08 19:14:05 Loading saved state 2006-06-08 19:14:05 Setting up network listener on 0.0.0.0:1984 2006-06-08 19:14:05 Setting up signal handlers 2006-06-08 19:14:05 Setting up hobbitd channels 2006-06-08 19:14:05 Setting up logfiles 2006-06-08 19:14:10 Task bbnet terminated by signal 6
I then upgraded to the latest hobbit-4.2-beta-20060605 and still have
the same problem.
Nothing has changed on this box for months..
I read a thread for running with --no-ares, I tried appending that
line to a few CMD lines in hobbitlaunch.cfg with no luck.
I'm really not sure where that goes ;)
Any thoughts?
Thanks,
Lee
On Thu, Jun 08, 2006 at 03:20:03PM -0400, Lee J. Imber wrote:
2006-06-08 19:14:05 Setting up logfiles 2006-06-08 19:14:10 Task bbnet terminated by signal 6
I then upgraded to the latest hobbit-4.2-beta-20060605 and still have
the same problem.
Ok, that is interesting. Could you try this:
- login as the hobbit user
- run the command "~hobbit/server/bin/bbcmd bbtest-net --debug"
The interesting part of the output is what happens shortly before the crash.
Also, there ought to be a "core" file from these crashes. If you could run it through gdb to locate where it crashes, this would be really helpful. See http://www.hswn.dk/hobbit/help/known-issues.html#bugreport if you're unsure of how to do that.
Nothing has changed on this box for months..
Disk full ?
Regards, Henrik
OK, hope I did all this right. I have attached a ascii file of the
output from bbtest-net --debug.
Here is the gdb output.
[lee at cs1] ~/Hobbit/server> gdb bin/bbtest-net tmp/bbtest-net.core
warning: failed to install memory consistency checks; configuration
should define NO_MMCHECK or MMCHECK_FORCE
GNU gdb 4.16.1
Copyright 1996 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i386-unknown-openbsd3.2"...
Core was generated by `bbtest-net'.
Program terminated with signal 6, Abort trap.
Reading symbols from /usr/libexec/ld.so...done.
Reading symbols from /usr/lib/libc.so.28.5...done.
#0 0x400b327b in kill ()
(gdb) bt
#0 0x400b327b in kill ()
#1 0x400b2bd7 in abort ()
#2 0x1ecda in sigsegv_handler (signum=11) at sig.c:57
#3 0x4002b004 in ?? ()
Cannot access memory at address 0xa3031.
(gdb)
On Thu, Jun 08, 2006 at 03:20:03PM -0400, Lee J. Imber wrote:
OpenBSD 3.2 running hobbit-4.1.1 as server. 2006-06-08 19:14:10 Task bbnet terminated by signal 6
I then upgraded to the latest hobbit-4.2-beta-20060605 and still have
the same problem.Nothing has changed on this box for months..
I read a thread for running with --no-ares, I tried appending that
line to a few CMD lines in hobbitlaunch.cfg with no luck. I'm really not sure where that goes ;)
I haven't really gotten anywhere with this. There are no obvious code errors in the region where it crashes, so the C-ARES problems are still a primary suspect.
The --no-ares option goes on the CMD line for the [bbnet] task.
[bbnet] ENVFILE /usr/lib/hobbit/server/etc/hobbitserver.cfg NEEDS hobbitd CMD bbtest-net --report --ping --checkresponse --no-ares LOGFILE $BBSERVERLOGS/bb-network.log INTERVAL 5m
Could you try running with this for a while and let me know if it helps?
Also, check that the Hobbit logfiles do get rotated. Logs larger than 2 GB can cause weird problems in Hobbit 4.1.x.
Thanks, Henrik
On Jun 12, 2006, at 5:44 PM, Henrik Stoerner wrote:
On Thu, Jun 08, 2006 at 03:20:03PM -0400, Lee J. Imber wrote:
OpenBSD 3.2 running hobbit-4.1.1 as server. 2006-06-08 19:14:10 Task bbnet terminated by signal 6
I then upgraded to the latest hobbit-4.2-beta-20060605 and still have the same problem.
Nothing has changed on this box for months..
I read a thread for running with --no-ares, I tried appending that line to a few CMD lines in hobbitlaunch.cfg with no luck. I'm really not sure where that goes ;)
I haven't really gotten anywhere with this. There are no obvious code errors in the region where it crashes, so the C-ARES problems are still a primary suspect.
The --no-ares option goes on the CMD line for the [bbnet] task.
[bbnet] ENVFILE /usr/lib/hobbit/server/etc/hobbitserver.cfg NEEDS hobbitd CMD bbtest-net --report --ping --checkresponse --no-ares LOGFILE $BBSERVERLOGS/bb-network.log INTERVAL 5m
Could you try running with this for a while and let me know if it
helps?
OK, added the --no-ares and still no luck. Signal 6 within a few
seconds after I start hobbit.
Also, check that the Hobbit logfiles do get rotated. Logs larger
than 2 GB can cause weird problems in Hobbit 4.1.x.
/var/log/hobbit is only 53M.
So, I tried to rebuild from scratch. New user and latest version
hobbit-4.2-beta-20060605.
On OpenBSD 3.2 during the gmake install I get the following error at
the end.
chgrp id -g hobbit /var/log/hobbit /home/hobbit/server /home/hobbit/
server/* /home/hobbit/server/bin/* /home/hobbit/server/etc/* /home/
hobbit/server/ext/* /home/hobbit/server/web/* /home/hobbit/server/www/
gifs /home/hobbit/server/www/gifs/* /home/hobbit/server/www/menu /
home/hobbit/server/www/menu/* /home/hobbit/server/www/help /home/
hobbit/server/www/notes /home/hobbit/server/www/html /home/hobbit/
server/www/wml /home/hobbit/data /home/hobbit/data/*
chgrp /home/hobbit/server/etc/hobbit-nkview.cfg /home/hobbit/server/
etc/hobbit-nkview.cfg.bak
chgrp: /home/hobbit/server/etc/hobbit-nkview.cfg: invalid group name
gmake[1]: *** [install-cfg] Error 1
gmake[1]: Leaving directory `/home/hobbit/hobbit-4.2-beta-20060605/
hobbitd'
gmake: *** [install-hobbitd] Error 2
What do I need to do to fix?
Thanks,
Lee
Thanks, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
On Wed, Jun 14, 2006 at 02:25:43PM -0400, Lee J. Imber wrote:
OK, added the --no-ares and still no luck. Signal 6 within a few
seconds after I start hobbit.
Do you have any "dns" or "dig" tests in your bb-hosts file ? Hobbit will use ARES for those, even though you did add the --no-ares option.
Running "bbcmd bbtest-net --debug" will give some more clue about what it does when it crashes. Just the last screenful of output.
So, I tried to rebuild from scratch. New user and latest version
hobbit-4.2-beta-20060605.On OpenBSD 3.2 during the gmake install I get the following error at
the end. chgrp /home/hobbit/server/etc/hobbit-nkview.cfg /home/hobbit/server/ etc/hobbit-nkview.cfg.bak chgrp: /home/hobbit/server/etc/hobbit-nkview.cfg: invalid group name gmake[1]: *** [install-cfg] Error 1
I think you hit <enter> in response to the What group-ID does your webserver use ? question during ./configure. Check the Makefile and see what the "HTTPDGID" setting is.
I have another report that an upgrade of the C-ARES library fixed crashes in bbtest-net. So that is what I'd like you to try next:
- Grab the file http://www.hswn.dk/~henrik/c-ares-cvs.20060621.tar.gz and save it in the bbnet/ directory in your Hobbit source tree.
- Do an "rm -rf bbnet/c-ares/; make clean"
- Change build/Makefile.rules - the line with ARESVER = 1.2.1 should be ARESVER = cvs.20060621
- Rebuild with "make; make install"
Regards, Henrik
participants (2)
-
henrik@hswn.dk
-
toaster@imber.com