[hobbit] Core dump

Don Munyak don.munyak at gmail.com
Mon Apr 9 22:09:04 CEST 2007


On 1/27/07, lars ebeling <lars.ebeling at leopg9.no-ip.org> wrote:
>
>
> I restarted hobbit 12:57, then I don't get any coredump.The statuspages are
> not updated since the coredump 9:55.
>
> Extract from hobbitlaunch.log:
>
> $ pg *
>
> 2007-01-27 12:57:51 hobbitlaunch starting
>
> 2007-01-27 12:57:51 Loading tasklist configuration from
> /home/hobbit/server/etc/
> hobbitlaunch.cfg
>
> 2007-01-27 12:57:52 Loading hostnames
>
> 2007-01-27 12:57:52 Loading saved state
>
> 2007-01-27 12:57:52 Setting up network listener on 0.0.0.0:1984
>
> 2007-01-27 12:57:52 Setting up local listener
>
> 2007-01-27 12:57:52 Cannot bind to local listen socket (Address already in
> use)
> 2007-01-27 12:57:52 Could not connect to bbd at leopg9:1984 - Connection
> refused
> 2007-01-27 12:57:52 Whoops ! bb failed to send message - Connection failed
>
> 2007-01-27 12:57:53 Task hobbitd terminated, status 1
>
> 2007-01-27 12:57:59 Loading hostnames
>
> 2007-01-27 12:58:00 Loading saved state
>
> 2007-01-27 12:58:00 Setting up network listener on 0.0.0.0:1984
>
> 2007-01-27 12:58:00 Setting up local listener
>
> 2007-01-27 12:58:00 Cannot bind to local listen socket (Address already in
> use)
> 2007-01-27 12:58:05 Task hobbitd terminated, status 1
>
> 2007-01-27 12:58:05 Loading hostnames
>
> 2007-01-27 12:58:05 Loading saved state
>
> 2007-01-27 12:58:05 Setting up network listener on 0.0.0.0:1984
>
> 2007-01-27 12:58:05 Setting up local listener
>
> 2007-01-27 12:58:05 Cannot bind to local listen socket (Address already in
> use)
> 2007-01-27 12:58:10 Task hobbitd terminated, status 1
>
> This is the only hobbit-process running
>   hobbit 26744     1  0 12:57:51 ?         0:00
> /home/hobbit/server/bin/hobbitlaunch
> --config=/home/hobbit/serv
>
> Lars
>
>
>
> ----- Original Message -----
> From: lars ebeling
> To: hobbit
> Sent: Saturday, January 27, 2007 1:10 PM
> Subject: [hobbit] Core dump
>
>
> I feel that I am nagging, so I changed the subject today.
>
> From todays (27/1) snapshot
>
> $ gdb ../bin/hobbitd core
>
> GNU gdb 5.3
>
> Copyright 2002 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 "hppa2.0n-hp-hpux11.00"...
>
> Core was generated by `hobbitd'.
>
> Program terminated with signal 6, Aborted.
>
>
>
> warning: The shared libraries were not privately mapped; setting a
>
> breakpoint in a shared library will not work until you rerun the program.
>
>
>
>
>
> warning: Can't find file hobbitd referenced in dld_list.
>
> Reading symbols from /usr/local/lib/libpcre.sl...done.
>
> Reading symbols from /usr/lib/libnsl.1...done.
>
> Reading symbols from /usr/lib/libxti.2...done.
>
> Reading symbols from /usr/lib/libc.2...done.
>
> Reading symbols from /usr/lib/libdld.2...done.
>
> #0  0xc020bad0 in kill () from /usr/lib/libc.2
>
> (gdb) bt
>
> #0  0xc020bad0 in kill () from /usr/lib/libc.2
>
> #1  0xc01a655c in raise () from /usr/lib/libc.2
>
> #2  0xc01e69a8 in abort_C () from /usr/lib/libc.2
>
> #3  0xc01e6a04 in abort () from /usr/lib/libc.2
>
> #4  0x00018258 in sigsegv_handler (signum=8216) at sig.c:57
>
> #5  <signal handler called>
>
> #6  int_compare (a=0x6f3d6, b=0xb19fd) at rbtr.c:406
>
> #7  0x00017ee0 in rbtFind (h=0x6f3d6, key=0x6f3d6) at rbtr.c:381
>
> #8  0x00005a20 in find_cookie (cookie=455638) at hobbitd.c:925
>
> #9  0x000060b8 in handle_status (
>
>     msg=0x4001c9d0 "status leopg9.hobbitd yellow\nStatistics for Hobbit
> daemon\n
> Up since 27-Jan-2007 09:50:23 (0 days, 00:05:01)\n\nIncoming messages      :
>
>     156\n- status", ' ' <repeats 15 times>, ":        121\n- combo", ' '
> <repeat
> s 13 times>..., sender=0x1dddc "hobbitd", hostname=0x40018bf0 "leopg9",
>
>     testname=0x4001c3b8 "hobbitd", grouplist=0x0, log=0x4001c3e8,
> newcolor=4,
>     downcause=0x0) at hobbitd.c:1135
>
> #10 0x0000e8bc in main (argc=3, argv=0x0) at hobbitd.c:4318
>
> (gdb) quit
>
> $

I noticed an unanswered post similiar to my current issue. Here's what
I found in the list, by search for "task hobbitd terminated"

------------
You need to tune the kernel shared-memory settings. See the
sysctl.conf man page. There's also this page that explains a
bit about tuning shared-memory:
http://www.unidata.ucar.edu/support/help/MailArchives/mcidas/msg02324.html
----------

However, I am still having issues as well.



More information about the Xymon mailing list