Installed todays snapshot. bb-hostsvc.sh doesn't work
cgierror.log contains:
$ cat /var/log/hobbit/cgierror.log
2006-02-20 07:09:58 hobbitsvc xstrdup: Cannot dup NULL string
Regards Lars Ebeling
http://leopg9.no-ip.org Hobbithobbyist
"It is better to keep your mouth shut and appear stupid than to open it and remove all doubt." -- Mark Twain
On Mon, Feb 20, 2006 at 07:21:39AM +0100, lars ebeling wrote:
Installed todays snapshot. bb-hostsvc.sh doesn't work cgierror.log contains: $ cat /var/log/hobbit/cgierror.log
2006-02-20 07:09:58 hobbitsvc xstrdup: Cannot dup NULL string
Odd - I haven't touched that for several days now. Could you send me the URL you use to trigger this, together with the bb-hosts entry for that host, and the output from bb 127.0.0.1 "hobbitdlog host=HOSTNAME test=COLUMNNAME"
Which version of the code were you running that worked OK?
Thanks, Henrik
----- Original Message ----- From: "Henrik Stoerner" <henrik at hswn.dk> To: <hobbit at hswn.dk> Sent: Monday, February 20, 2006 7:36 AM Subject: Re: [hobbit] todays snapshot (060220)
Odd - I haven't touched that for several days now. Could you send me the URL you use to trigger this, together with the
All URL's trigger it, but this is one http://192.168.0.2/hobbit-cgi/bb-hostsvc.sh?HOST=leopg9&SERVICE=bbtest
bb-hosts entry for that host,
192.168.0.2 leopg9 # BBDISPLAY BBPAGER BBNET bbd clamd dig=A:leopg9.no-ip .org,PTR:2.0.168.192.in-addr.arpa http://leopg9/ http://leopg9:10000 ftp pop3 sm tp telnet apache=http://192.168.0.2/server-status?auto LARRD:*,apache:apacheöapa che1öapache2öapache3,disk:disködisk1,vmstat:vmstatövmstat3övmstat2,netstat:netst at0,netstat1,netstat2,netstat3
and the output from bb 127.0.0.1 "hobbitdlog host=HOSTNAME test=COLUMNNAME"
$ ./bb 127.0.0.1 "hobbitdlog host=leopg9 test=bbtest" leopg9öbbtestögreenöö1140418443ö1140418682ö1140420482ö0ö0ö192.168.0.2ö-1öööY green Mon Feb 20 07:57:50 2006
bbtest-net version 4.2pre
Statistics: Hosts total : 11 Hosts with no tests : 0 Total test count : 33 Status messages : 31 Alert status msgs : 0 Transmissions : 4
DNS statistics:
hostnames resolved : 12
succesful : 11
failed : 1
calls to dnsresolve : 30
TCP test statistics:
TCP tests total : 20
HTTP tests : 8
Simple TCP tests : 12
Connection attempts : 20
bytes written : 830
bytes read : 26929
TIME SPENT Event Starttime Duration bbtest-net startup 1140418670.996909 - Service definitions loaded 1140418671.009190 0.012281 Tests loaded 1140418671.023437 0.014247 DNS lookups completed 1140418671.024941 0.001504 Test engine setup completed 1140418671.073608 0.048667 TCP tests completed 1140418681.996429 10.922821 PING test completed (8 hosts) 1140418682.023901 0.027472 PING test results sent 1140418682.053895 0.029994 Test result collection completed 1140418682.053950 0.000055 LDAP test engine setup completed 1140418682.053963 0.000013 LDAP tests executed 1140418682.053978 0.000015 LDAP tests result collection completed 1140418682.053993 0.000015 DIG tests executed 1140418682.188312 0.134319 Test results transmitted 1140418682.236552 0.048240 bbtest-net completed 1140418682.572176 0.335624 TIME TOTAL 11.575267 $
Which version of the code were you running that worked OK?
I don't know which was the latest working version. The verssion I am running is from 060208 (I think) I have had a lot of problems with my server. I destroyed the filesystem, and have reinstalled everything. (hobbit, snort, clam, postfix, qpopper..........). That's why I have an old version. I have an old tarfile that I install when the new version of hobbit crashes.
Thanks, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Isn't this related to my problems yesterday. The errormessage comes from memory.c (I think) I never tested the patch. I thought I should wait until today.
Lars ----- Original Message ----- From: lars ebeling To: hobbit Sent: Monday, February 20, 2006 7:21 AM Subject: [hobbit] todays snapshot (060220)
Installed todays snapshot. bb-hostsvc.sh doesn't work
cgierror.log contains:
$ cat /var/log/hobbit/cgierror.log
2006-02-20 07:09:58 hobbitsvc xstrdup: Cannot dup NULL string
Regards Lars Ebeling
http://leopg9.no-ip.org Hobbithobbyist
"It is better to keep your mouth shut and appear stupid than to open it and remove all doubt." -- Mark Twain
I found a coredump in cgi-bin
(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 0x000159d8 in xstrdup (s=0x0) at memory.c:169
#5 0x00009f9c in sethostenv (host=0x0, ip=0x4000e0c4 "",
svc=0x2000 "Öv+ÖaÖ035Öv!Ö004AÖv+ÖaÖ035Öv!Ö004AÖv+ÖaÖ035Öv!Ö004AÖv+ÖaÖ035Öv!Ö
004AÖv+ÖaÖ035Öv!Ö004AÖv+ÖaÖ035Öv!Ö004AÖv+ÖaÖ035Öv!Ö004AÖv+ÖaÖ035Öv!Ö004AÖv+ÖaÖ03
5Öv!Ö004AÖv+ÖaÖ035Öv!Ö004AÖv+ÖaÖ035Öv:RÖ200ÖváÖ004Ö035ÙÓ+Ö002Öb",
color=0x80000000 <Address 0x80000000 out of bounds>,
hikey=0x40006b48 "leopg9") at headfoot.c:72
#6 0x00003da8 in do_request () at hobbitsvc.c:195
#7 0x00004a98 in main (argc=4, argv=0x7f7e05f0) at hobbitsvc.c:467
----- Original Message -----
From: lars ebeling
To: hobbit
Sent: Monday, February 20, 2006 7:21 AM
Subject: [hobbit] todays snapshot (060220)
Installed todays snapshot. bb-hostsvc.sh doesn't work
cgierror.log contains:
$ cat /var/log/hobbit/cgierror.log
2006-02-20 07:09:58 hobbitsvc xstrdup: Cannot dup NULL string
Regards Lars Ebeling
http://leopg9.no-ip.org Hobbithobbyist
"It is better to keep your mouth shut and appear stupid than to open it and remove all doubt." -- Mark Twain
That made it.
Lars ----- Original Message ----- From: "Henrik Stoerner" <henrik at hswn.dk> To: <hobbit at hswn.dk> Sent: Monday, February 20, 2006 9:11 AM Subject: Re: [hobbit] todays snapshot (060220)
On Mon, Feb 20, 2006 at 08:41:37AM +0100, lars ebeling wrote:
I found a coredump in cgi-bin
OK, think I've got it. Save attached to /tmp/hobbitsvc.patch, then run "patch web/hobbitsvc.c </tmp/hobbitsvc.patch"
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (2)
-
henrik@hswn.dk
-
lars.ebeling@leopg9.no-ip.org