Xymon Mailing List Archive search

Bbnet core dumping

2 messages in this thread

list Sean Clark · Thu, 24 Mar 2005 14:17:07 -0500 ·
I just (tried) to migrate a bbserver to a hobbit

Here is what a get:

2005-03-24 14:02:04 hobbitlaunch starting
2005-03-24 14:02:04 Loading tasklist configuration from
/usr/local/hobbit/server/etc/hobbitlaunch.cfg
2005-03-24 14:02:04 Task hobbitd started with PID 12434
2005-03-24 14:02:04 Loading hostnames
2005-03-24 14:02:04 Loading saved state
2005-03-24 14:02:04 Setting up network listener on 0.0.0.0:1984
2005-03-24 14:02:04 Setting up signal handlers
2005-03-24 14:02:04 Setting up hobbitd channels
2005-03-24 14:02:04 Setting up logfiles
2005-03-24 14:02:09 Task bbhistory started with PID 12435
2005-03-24 14:02:09 Task bbenadis started with PID 12436
2005-03-24 14:02:09 Task bbpage started with PID 12437
2005-03-24 14:02:09 Task larrdstatus started with PID 12438
2005-03-24 14:02:09 Task larrddata started with PID 12440
2005-03-24 14:02:09 Task bbdisplay started with PID 12441
2005-03-24 14:02:09 Task bbcombotest started with PID 12443
2005-03-24 14:02:09 Task bbnet started with PID 12445
2005-03-24 14:02:09 Task bbretest started with PID 12447
2005-03-24 14:02:09 Task larrdcolumn started with PID 12449
2005-03-24 14:02:09 Task infocolumn started with PID 12452
2005-03-24 14:02:09 Task bbnet terminated by signal 6
2005-03-24 14:03:09 Task bbdisplay started with PID 12458
2005-03-24 14:03:09 Task bbretest started with PID 12459


Then when I look in tmp:

hobbit at homenet tmp $ gdb ../bin/bbtest-net core
GNU gdb 6.0
Copyright 2003 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 "i686-pc-linux-gnu"...Using host libthread_db
library "/lib/libthread_db.so.1".

Core was generated by `bbtest-net --dns=ip --report --ping --checkresponse
--debug'.
Program terminated with signal 6, Aborted.

warning: current_sos: Can't read pathname for load map: Input/output error

Reading symbols from /usr/lib/libldap.so.2...done.
Loaded symbols for /usr/lib/libldap.so.2
Reading symbols from /usr/lib/liblber.so.2...done.
Loaded symbols for /usr/lib/liblber.so.2
Reading symbols from /usr/lib/libssl.so.0.9.7...done.
Loaded symbols for /usr/lib/libssl.so.0.9.7
Reading symbols from /usr/lib/libcrypto.so.0.9.7...done.
Loaded symbols for /usr/lib/libcrypto.so.0.9.7
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libsasl2.so.2...done.
Loaded symbols for /usr/lib/libsasl2.so.2
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
#0  0xb7d643d1 in kill () from /lib/libc.so.6


Bbtest-net is not producing any logfile at all

Any ideas?


-Sean
list Henrik Størner · Thu, 24 Mar 2005 22:39:54 +0100 ·
quoted from Sean Clark
On Thu, Mar 24, 2005 at 02:17:07PM -0500, Sean Clark wrote:
hobbit at homenet tmp $ gdb ../bin/bbtest-net core

Core was generated by `bbtest-net --dns=ip --report --ping --checkresponse
--debug'.
Program terminated with signal 6, Aborted.
Bbtest-net is not producing any logfile at all
That's rather unusual. Is this RC6, or ... ? What platform are you on?


Most of the cases I've seen where it crashes immediately turn out to
be a problem with loading of the libraries that bbtest-net uses. Are
you sure it can find the OpenSSL and OpenLDAP libraries ?  Try doing

   su - hobbit
   ./server/bin/bbtest-net --version

and see if it prints out the version numbers of the libraries.


Henrik