Xymon Mailing List Archive search

BB with bbgen to Hobbit

7 messages in this thread

list Mario Andre · Wed, 4 May 2005 17:12:56 -0300 ·
Hi,

I'm trying to migrate my production bb server to the hobbitd, I've
follow all the steps in the Upgrading from Big Brother to Hobbit.htm.

My bbvar have 3GB so I renamed bbvar to data , to avoid a loss of time
and migrated rrds with moverrd.sh .

Then I stop the bb server, start the hobbit and start the client of
the server ,and restarted my apache. I've Waited some minutes and
nothing happens.

Have I missed something?
Someone Have a tutorial how to use hobbit with the BBrelay until the
final migration?

regards,

Mario.
list Henrik Størner · Wed, 4 May 2005 22:32:29 +0200 ·
quoted from Mario Andre
On Wed, May 04, 2005 at 05:12:56PM -0300, mario andre wrote:
Then I stop the bb server, start the hobbit and start the client of
the server ,and restarted my apache. I've Waited some minutes and
nothing happens.

Have I missed something?
First, make sure you configured everything right - the default settings
that Hobbit uses are *not* identical to a default BB setup (Hobbit uses 
a different userid -> there may be permission issues with accessing the
files you moved over; the default URL for Hobbit is different -> so you
will have to tweak your Apache configuration).

Second, is Hobbit running at all ? You should see a number of
"hobbitd<something>" processes running.

Next, check the log-files in /var/log/hobbit/ for any errors.


Henrik
list Mario Andre · Fri, 6 May 2005 11:41:01 -0300 ·
thanks, Henrik.

I tried once again and 
I'm getting these errors from the /var/log

hobbitlaunch.log

2005-05-06 11:07:37 hobbitlaunch starting
2005-05-06 11:07:37 Loading tasklist configuration from
/home/bbmon/server/etc/hobbitlaunch.cfg
2005-05-06 11:07:37 Loading hostnames
2005-05-06 11:07:37 Task hobbitd started with PID 29031
2005-05-06 11:07:37 Loading saved state
2005-05-06 11:07:37 Setting up network listener on 0.0.0.0:1984
2005-05-06 11:07:37 Setting up signal handlers
2005-05-06 11:07:37 Setting up hobbitd channels
2005-05-06 11:07:37 Setting up logfiles
2005-05-06 11:07:42 Task bbhistory started with PID 29032
2005-05-06 11:07:42 Task bbpage started with PID 29034
2005-05-06 11:07:42 Task larrdstatus started with PID 29035
2005-05-06 11:07:42 Task larrddata started with PID 29036
2005-05-06 11:07:42 Task bbdisplay started with PID 29038
2005-05-06 11:07:42 Task bbcombotest started with PID 29039
2005-05-06 11:07:42 Task bbnet started with PID 29040
2005-05-06 11:07:42 Task bbretest started with PID 29041
2005-05-06 11:07:42 Task bbdisplay terminated by signal 6
2005-05-06 11:08:43 Task bbdisplay started with PID 29093
2005-05-06 11:08:43 Task bbretest started with PID 29094
2005-05-06 11:08:43 Task bbdisplay terminated by signal 6

bb-display.log
2005-05-06 11:07:42 xstrdup: Cannot dup NULL string
2005-05-06 11:08:43 xstrdup: Cannot dup NULL string


 cat page.log
2005-05-04 16:44:18 Tried to down BOARDBUSY: Invalid argument
2005-05-04 16:46:33 Tried to down BOARDBUSY: Invalid argument
2005-05-06 10:40:01 Tried to down BOARDBUSY: Invalid argument
2005-05-06 11:09:24 Tried to down BOARDBUSY: Invalid argument
 cat history.log
2005-05-06 11:09:24 Tried to down BOARDBUSY: Invalid argument
cat larrd-data.log
005-05-06 11:09:24 Tried to down BOARDBUSY: Invalid argument
quoted from Henrik Størner


On 5/4/05, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
On Wed, May 04, 2005 at 05:12:56PM -0300, mario andre wrote:
Then I stop the bb server, start the hobbit and start the client of
the server ,and restarted my apache. I've Waited some minutes and
nothing happens.

Have I missed something?
First, make sure you configured everything right - the default settings
that Hobbit uses are *not* identical to a default BB setup (Hobbit uses
a different userid -> there may be permission issues with accessing the
files you moved over; the default URL for Hobbit is different -> so you
will have to tweak your Apache configuration).

Second, is Hobbit running at all ? You should see a number of
"hobbitd<something>" processes running.

Next, check the log-files in /var/log/hobbit/ for any errors.

Henrik

list Henrik Størner · Fri, 6 May 2005 16:50:26 +0200 ·
Hi Mario,
quoted from Mario Andre

On Fri, May 06, 2005 at 11:41:01AM -0300, mario andre wrote:
thanks, Henrik.

I tried once again and 
I'm getting these errors from the /var/log

hobbitlaunch.log
2005-05-06 11:07:42 Task bbdisplay terminated by signal 6
2005-05-06 11:08:43 Task bbdisplay terminated by signal 6
bb-display.log
2005-05-06 11:07:42 xstrdup: Cannot dup NULL string
2005-05-06 11:08:43 xstrdup: Cannot dup NULL string
Hey, it's been a while since I've seen bbdisplay crash.

I suspect is something in your configuration, but just to be on the safe
side - could you check if there's a "core" file somewhere ? It should go
in ~hobbit/server/tmp/, but it might also end up in ~hobbit/data/logs/

When you find the core file, please use the "gdb" program to figure out
what was happening at the time of the crash - like this:

    $ cd ~hobbit/server
    $ gdb bin/bbgen /path/to/corefile
    [gdb starts up and loads libraries]
    gdb> bt

The output from that "bt" command will be very helpful.

Did you say what version of Hobbit you are trying ?
quoted from Mario Andre

 cat page.log
2005-05-04 16:44:18 Tried to down BOARDBUSY: Invalid argument
2005-05-04 16:46:33 Tried to down BOARDBUSY: Invalid argument
2005-05-06 10:40:01 Tried to down BOARDBUSY: Invalid argument
2005-05-06 11:09:24 Tried to down BOARDBUSY: Invalid argument
 cat history.log
2005-05-06 11:09:24 Tried to down BOARDBUSY: Invalid argument
cat larrd-data.log
005-05-06 11:09:24 Tried to down BOARDBUSY: Invalid argument
These can happen when Hobbit shuts down, I won't worry about those yet.


Regards,
Henrik
list Mario Andre · Fri, 6 May 2005 12:14:08 -0300 ·
Henrik,

This files are appearing in my server directory:


core.10802  core.13159  core.20567  core.25611  core.29093  core.9675    core.11669  core.15036  core.20733  core.2589   core.30141  core.10248  core.12890  core.15423  core.20774  core.2891   core.4502  ext        web2
core.10255  core.12938  core.20220  core.25359  core.29038  core.9408  
Helps?

I'm using the last release 4.03rc1

thanks my friend.
list Mario Andre · Fri, 6 May 2005 13:38:48 -0300 ·
result from gdb 

Core was generated by `bbgen --recentgifs --subpagecolumns=2 --report'.
Program terminated with signal 6, Aborted.

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

Error while mapping shared library sections:
: Success.
Error while reading shared library symbols:
: No such file or directory.
Reading symbols from /lib/libpcre.so.0...done.
Loaded symbols for /lib/libpcre.so.0
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
#0  0x00e2e402 in ?? ()
(gdb) bt
#0  0x00e2e402 in ?? ()
#1  0x002afe49 in raise () from /lib/tls/libc.so.6
#2  0x002b1872 in abort () from /lib/tls/libc.so.6
#3  0x0805b8c9 in xstrdup (s=0x0) at memory.c:175
#4  0x0804bd24 in init_host (hostname=0xfef3a140 "lopez",
displayname=0x0, clientalias=0x39fffc "\\ý9", comment=0x0,
    description=0x0, ip1=200, ip2=220, ip3=5, ip4=28, dialup=0,
warnpct=1.2731974745791634e-313, reporttime=0x0,
    alerts=0x0, nktime=1, waps=0x0, nopropyellowtests=0x0,
nopropredtests=0x89b0a3a "-msgs", noproppurpletests=0x0,
    nopropacktests=0x0, modembanksize=0) at loadbbhosts.c:239
#5  0x0804cceb in load_bbhosts (pgset=0x806429b "") at loadbbhosts.c:684
#6  0x08049cc5 in main (argc=4, argv=0xfef4e554) at bbgen.c:533
(gdb)

thanks in advance,

Mario.
list Mario Andre · Fri, 6 May 2005 13:59:51 -0300 ·
The problem was in my old bb-hosts , there was a line with NOPROPRED:msgs

This was causing the problem.

Thanks for your help my Friend.

Mario.
quoted from Mario Andre

On 5/6/05, mario andre <user-82c7780661a4@xymon.invalid> wrote:
result from gdb

Core was generated by `bbgen --recentgifs --subpagecolumns=2 --report'.
Program terminated with signal 6, Aborted.

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

Error while mapping shared library sections:
: Success.
Error while reading shared library symbols:
: No such file or directory.
Reading symbols from /lib/libpcre.so.0...done.
Loaded symbols for /lib/libpcre.so.0
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
#0  0x00e2e402 in ?? ()
(gdb) bt
#0  0x00e2e402 in ?? ()
#1  0x002afe49 in raise () from /lib/tls/libc.so.6
#2  0x002b1872 in abort () from /lib/tls/libc.so.6
#3  0x0805b8c9 in xstrdup (s=0x0) at memory.c:175
#4  0x0804bd24 in init_host (hostname=0xfef3a140 "lopez",
displayname=0x0, clientalias=0x39fffc "\\ý9", comment=0x0,
   description=0x0, ip1=200, ip2=220, ip3=5, ip4=28, dialup=0,
warnpct=1.2731974745791634e-313, reporttime=0x0,
   alerts=0x0, nktime=1, waps=0x0, nopropyellowtests=0x0,
nopropredtests=0x89b0a3a "-msgs", noproppurpletests=0x0,
   nopropacktests=0x0, modembanksize=0) at loadbbhosts.c:239
#5  0x0804cceb in load_bbhosts (pgset=0x806429b "") at loadbbhosts.c:684
#6  0x08049cc5 in main (argc=4, argv=0xfef4e554) at bbgen.c:533
(gdb)

thanks in advance,

Mario.