Problems with latest snapshot

Morris, Chris (Shared Services) CHRIS.MORRIS at RWEnpower.com
Thu Feb 16 13:16:08 CET 2006


Hi Henrik,

I am trying to use the latest snapshot to have a play with the Logfile
monitoring. I tried yesterday's as well but have similar problems. All
configures and compiles ok but the following are issues.

1) bb-hostsvc.sh works for info and trends columns but get "Premature end of
script headers" for all other tests.
    url is
"http://server/hobbit-cgi/bb-hostsvc.sh?HOST=hostname&SERVICE=test" whereas
on working system from 30th Jan snapshot the url is
"http://server/hobbit-cgi/bb-hostsvc.sh?HOSTSVC=hostname.test&IP=192.168.0.1
0&DISPLAYNAME=hostname"

2) hobbitd keeps crashing with signal 6. The hobbitlaunch.log shows :-

2006-02-16 10:34:37 Status: Host=trl0002, test=bbtest
2006-02-16 10:34:37 Status: Host=trl0002, test=http
2006-02-16 10:34:37 Status: Host=trl0002, test=bbd
2006-02-16 10:34:37 Status: Host=trl0002, test=conn
2006-02-16 10:34:37 Status: Host=trl0002, test=bbgen
2006-02-16 10:34:37 Status: Host=trl0002, test=hobbitd
2006-02-16 10:34:37 Loaded 6 status logs
2006-02-16 10:34:37 Setting up network listener on 0.0.0.0:1985
2006-02-16 10:34:37 Setting up signal handlers
2006-02-16 10:34:37 Setting up hobbitd channels
2006-02-16 10:34:37 Setting up status channel (id=1)
2006-02-16 10:34:37 calling ftok('/usr/local/hobb/server',1)
2006-02-16 10:34:37 ftok() returns: 0x1056815
2006-02-16 10:34:37 shmget() returns: 0x5A000C
2006-02-16 10:34:37 Setting up stachg channel (id=2)
2006-02-16 10:34:37 calling ftok('/usr/local/hobb/server',2)
2006-02-16 10:34:37 ftok() returns: 0x2056815
2006-02-16 10:34:37 shmget() returns: 0x5A800D
2006-02-16 10:34:37 Setting up page channel (id=3)
2006-02-16 10:34:37 calling ftok('/usr/local/hobb/server',3)
2006-02-16 10:34:37 ftok() returns: 0x3056815
2006-02-16 10:34:37 shmget() returns: 0x5B000E
2006-02-16 10:34:37 Setting up data channel (id=4)
2006-02-16 10:34:37 calling ftok('/usr/local/hobb/server',4)
2006-02-16 10:34:37 ftok() returns: 0x4056815
2006-02-16 10:34:37 shmget() returns: 0x5B800F
2006-02-16 10:34:37 Setting up notes channel (id=5)
2006-02-16 10:34:37 calling ftok('/usr/local/hobb/server',5)
2006-02-16 10:34:37 ftok() returns: 0x5056815
2006-02-16 10:34:37 shmget() returns: 0x5C0010
2006-02-16 10:34:37 Setting up enadis channel (id=6)
2006-02-16 10:34:37 calling ftok('/usr/local/hobb/server',6)
2006-02-16 10:34:37 ftok() returns: 0x6056815
2006-02-16 10:34:37 shmget() returns: 0x5C8011
2006-02-16 10:34:37 Setting up client channel (id=7)
2006-02-16 10:34:37 calling ftok('/usr/local/hobb/server',7)
2006-02-16 10:34:37 ftok() returns: 0x7056815
2006-02-16 10:34:37 shmget() returns: 0x5D0012
2006-02-16 10:34:37 Setting up logfiles
2006-02-16 10:39:39 Task hobbitd terminated by signal 6

and gdb shows

This GDB was configured as "i386-redhat-linux"...
Core was generated by `hobbitd --pidfile=/var/log/hobbit2/hobbitd.pid
--restart=/usr/local/hobb/server'.
Program terminated with signal 6, Aborted.
Reading symbols from /lib/i686/libc.so.6...done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
#0  0x40050801 in __kill () from /lib/i686/libc.so.6
(gdb) bt
#0  0x40050801 in __kill () from /lib/i686/libc.so.6
#1  0x400505da in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x40051d82 in abort () at ../sysdeps/generic/abort.c:88
#3  <signal handler called>
#4  0x400a9671 in strstr (phaystack=0x0, pneedle=0x8066358 "\n[linux]\n")
    at ../sysdeps/generic/strstr.c:58
#5  0x08050569 in do_message (msg=0x8066300, origin=0x805a716 "") at
hobbitd.c:3033
#6  0x08053083 in main (argc=8, argv=0xbfffe964) at hobbitd.c:4051
#7  0x4003f177 in __libc_start_main (main=0x8051ad0 <main>, argc=8,
    ubp_av=0xbfffe964, init=0x8049338 <_init>, fini=0x805a070 <_fini>,
    rtld_fini=0x4000e184 <_dl_fini>, stack_end=0xbfffe95c)
    at ../sysdeps/generic/libc-start.c:129

3) The client is running happily and the server appears to be receiving the
data :-

snip from hobbitd.log
2006-02-16 12:06:27 -> do_message/1 (19068 bytes): client trl0002.linux
linux
2006-02-16 12:06:27 -> update_statistics
2006-02-16 12:06:27 <- update_statistics
2006-02-16 12:06:27 -> oksender
2006-02-16 12:06:27 <- oksender(1-a)
2006-02-16 12:06:27 ->handle_client
2006-02-16 12:06:27 -> posttochannel
2006-02-16 12:06:27 Posting message 1 to 1 readers
2006-02-16 12:06:27 <- posttochannel
2006-02-16 12:06:27 <-handle_client
2006-02-16 12:06:27 Setup complete
2006-02-16 12:06:27 Sending heartbeat to pid 10123

Any ideas ?

Regards,

Chris


****************************************************************************
The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited.

If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither RWE npower nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any).
*****************************************************************************




More information about the Xymon mailing list