Xymon Mailing List Archive search

Termination error in Hobbit 4.2.0 (with all in one patch as of 10/03/06)

5 messages in this thread

list Rama · Tue, 20 Feb 2007 15:47:45 -0800 (PST) ·
Please help as I am not getting data from two of my hobbit clients. External scripts are reporting but not the hobbitclient-linux.sh.
   
  Error message in server log : Worker process died with exit code 134, terminating
   
  # gdb bin/hobbitd_client tmp/core.10222
GNU gdb Red Hat Linux (6.3.0.0-1.132.EL4rh)
Copyright 2004 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 "x86_64-redhat-linux-gnu"...Using host libthread_db l                                                                                                                                                             ibrary "/lib64/tls/libthread_db.so.1".
  Core was generated by `hobbitd_client'.
Program terminated with signal 6, Aborted.
Reading symbols from /lib64/libpcre.so.0...done.
Loaded symbols for /lib64/libpcre.so.0
Reading symbols from /lib64/tls/libc.so.6...done.
Loaded symbols for /lib64/tls/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
#0  0x00000035e8e2e21d in raise () from /lib64/tls/libc.so.6
(gdb) bt
#0  0x00000035e8e2e21d in raise () from /lib64/tls/libc.so.6
#1  0x00000035e8e2fa1e in abort () from /lib64/tls/libc.so.6
#2  0x0000000000417033 in sigsegv_handler (signum=Variable "signum" is not avail                                                                                                                                                             able.
) at sig.c:57
#3  <signal handler called>
#4  0x000000000040e959 in scan_log (hinfo=Variable "hinfo" is not available.
) at client_config.c:1350
#5  0x00000000004043fe in msgs_report (
    hostname=0x2a955a2dfc "rt003.domainname.com",
    clientclass=0x2a955a2e1a "linux", os=Variable "os" is not available.
) at hobbitd_client.c:872
#6  0x0000000000405c57 in handle_linux_client (
    hostname=0x2a955a2dfc "rt003.domainname.com",
    clienttype=0x2a955a2e1a "linux", os=OS_LINUX, hinfo=0x5380e0, sender=Variabl                                                                                                                                                             e "sender" is not available.
)
    at client/linux.c:60
#7  0x000000000040a79f in main (argc=Variable "argc" is not available.
) at hobbitd_client.c:1788
(gdb) 

   
  ---
   
  Please help.
   
  Thanks
  Ram

 
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
list Rama · Tue, 20 Feb 2007 16:58:46 -0800 (PST) ·
[Duplicate message as this message didnt appear in hobit Mail  thread - Rama]
   
  Applied the latest all in one patch (all in one patch  Last updated: 2007-02-09 10:30 UTC ). 
   
  But getting the same error

   gdb bin/hobbitd_client tmp/core.15007
quoted from Rama
GNU gdb Red Hat Linux (6.3.0.0-1.132.EL4rh)
Copyright 2004 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 "x86_64-redhat-linux-gnu"...Using host libthread_db l                                                                                                                                                             ibrary "/lib64/tls/libthread_db.so.1".
  Core was generated by `hobbitd_client'.
Program terminated with signal 6, Aborted.
Reading symbols from /lib64/libpcre.so.0...done.
Loaded symbols for /lib64/libpcre.so.0
Reading symbols from /lib64/tls/libc.so.6...done.
Loaded symbols for /lib64/tls/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
#0  0x00000035e8e2e21d in raise () from /lib64/tls/libc.so.6
(gdb) bt
#0  0x00000035e8e2e21d in raise () from /lib64/tls/libc.so.6
#1  0x00000035e8e2fa1e in abort () from /lib64/tls/libc.so.6

#2  0x0000000000417043 in sigsegv_handler (signum=Variable "signum" is not avail                                                                                                                                                             able.
) at sig.c:57
#3  <signal handler called>
#4  0x000000000040e969 in scan_log (hinfo=Variable "hinfo" is not available.
) at client_config.c:1350
#5  0x00000000004043fe in msgs_report (
    hostname=0x2a9558320f "rt002.domainname.com",
    clientclass=0x2a9558322d "linux", os=Variable "os" is not available.
) at hobbitd_client.c:872
#6  0x0000000000405c57 in handle_linux_client (
    hostname=0x2a9558320f "rt002.domainname.com",
    clienttype=0x2a9558322d "linux", os=OS_LINUX, hinfo=0x537f30, sender=Variabl                                                                                                                                                             e "sender" is not available.
quoted from Rama
)
    at client/linux.c:60
#7  0x000000000040a79f in main (argc=Variable "argc" is not available.
) at hobbitd_client.c:1788

   
  --

  Rama


RAMA <user-723e1c37966c@xymon.invalid> wrote:    Please help as I am not getting data from two of my hobbit clients. External scripts are reporting but not the hobbitclient-linux.sh.
quoted from Rama
   
  Error message in server log : Worker process died with exit code 134, terminating
   
  # gdb bin/hobbitd_client tmp/core.10222
GNU gdb Red Hat Linux (6.3.0.0-1.132.EL4rh)
Copyright 2004 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 "x86_64-redhat-linux-gnu"...Using host libthread_db l                                                                                                                                                             ibrary "/lib64/tls/libthread_db.so.1".
  Core was generated by `hobbitd_client'.
Program terminated with signal 6, Aborted.
Reading symbols from /lib64/libpcre.so.0...done.
Loaded symbols for /lib64/libpcre.so.0
Reading symbols from /lib64/tls/libc.so.6...done.
Loaded symbols for /lib64/tls/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
#0  0x00000035e8e2e21d in raise () from /lib64/tls/libc.so.6
(gdb) bt
#0  0x00000035e8e2e21d in raise () from /lib64/tls/libc.so.6
#1  0x00000035e8e2fa1e in abort () from /lib64/tls/libc.so.6
#2  0x0000000000417033 in sigsegv_handler (signum=Variable "signum" is not avail                                                                                                                                                             able.
) at sig.c:57
#3  <signal handler called>
#4  0x000000000040e959 in scan_log (hinfo=Variable "hinfo" is not available.
) at client_config.c:1350
#5  0x00000000004043fe in msgs_report (
    hostname=0x2a955a2dfc "rt003.domainname.com",
    clientclass=0x2a955a2e1a "linux", os=Variable "os" is not available.
) at hobbitd_client.c:872
#6  0x0000000000405c57 in handle_linux_client (
    hostname=0x2a955a2dfc "rt003.domainname.com",
    clienttype=0x2a955a2e1a "linux", os=OS_LINUX, hinfo=0x5380e0, sender=Variabl                                                                                                                                                             e "sender" is not available.
)
    at client/linux.c:60
#7  0x000000000040a79f in main (argc=Variable "argc" is not available.
) at hobbitd_client.c:1788
(gdb) 

   
  ---
   
  Please help.
   
  Thanks
  Ram
    
  Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.

 

It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.
list Henrik Størner · Wed, 21 Feb 2007 08:02:19 +0100 ·
quoted from Rama
On Tue, Feb 20, 2007 at 03:47:45PM -0800, RAMA wrote:
Please help as I am not getting data from two of my hobbit clients. 
External scripts are reporting but not the hobbitclient-linux.sh.
#3  <signal handler called>
#4  0x000000000040e959 in scan_log (hinfo=Variable "hinfo" is not available.
) at client_config.c:1350
#5  0x00000000004043fe in msgs_report (
    hostname=0x2a955a2dfc "rt003.domainname.com",
    clientclass=0x2a955a2e1a "linux", os=Variable "os" is not available.
) at hobbitd_client.c:872
Please post your LOG configuration entries from hobbit-clients.cfg for
this host, and let us see what "[msgs:....]" sections you have in 
the ~hobbit/client/tmp/msg.rt003.domainname.com.txt file on that host
(rt003.domainname.com).


Regards,
Henrik
list Jason Altrincham Jones · Wed, 21 Feb 2007 10:32:24 -0000 ·
Hi all,

Currently we have a proxy setup where data from one site a main hobbit
server however both the local and remote hobbit server host the hobbit
webpages for their respective servers.  Anyway since ack's etc. are all
done on the server-side you can ack an alert on one server but the other
doesn't react to it at all.

Is there anyway to get hobbit to send the acknowledgment etc. message
from one server to the other, I have already set-up hobbitd on the proxy
as follows:

[hobbitd]
        ENVFILE /usr/local/hobbit/server/etc/hobbitserver.cfg
        CMD hobbitd --no-daemon --listen=127.0.0.1
--pidfile=$BBSERVERLOGS/hobbitd.pid --restart=$BBTMP/hobbitd.chk
--checkpoint-file=$BBTMP/hobbitd.chk --checkpoint-interval=600
--log=$BBSERVERLOGS/hobbitd.log --store-clientlogs=!msgs
--admin-senders=127.0.0.1,<EXTERNAL PROXY IP>,<REMOTE SERVER IP>

Looking at ~/cgi-secure/hobbit-ackinfo.sh I can't see any $BBSERVERIP
entries but I was wondering if I could just copy and paste the exec
statement but alter the $BBSERVERIP variable to point to the other
server?

Thanks,
Jason.
list Rama · Fri, 2 Mar 2007 11:53:58 -0800 (PST) ·
LOG configuration entries from hobbit-clients.cfg 
   
  HOST=rt002.domainname.com
        PROC httpd
        PROC /usr/libexec/postfix/master
        PROC qmgr
        LOG %/var/(adm|log)/messages %(I/O|read).error COLOR=red
        LOG %/var/(adm|log)/messages %NOTICE COLOR=red
        LOG /var/log/maillog error,fail,panic,NOTICE COLOR=red
        LOG /var/log/maillog warn,WARN COLOR=yellow %format.error
        LOG /var/log/httpd/error_log

thanks
  Ram
quoted from Henrik Størner
Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
  On Tue, Feb 20, 2007 at 03:47:45PM -0800, RAMA wrote:
Please help as I am not getting data from two of my hobbit clients. 
External scripts are reporting but not the hobbitclient-linux.sh.
#3 
#4 0x000000000040e959 in scan_log (hinfo=Variable "hinfo" is not available.
) at client_config.c:1350
#5 0x00000000004043fe in msgs_report (
hostname=0x2a955a2dfc "rt003.domainname.com",
clientclass=0x2a955a2e1a "linux", os=Variable "os" is not available.
) at hobbitd_client.c:872
Please post your LOG configuration entries from hobbit-clients.cfg for
this host, and let us see what "[msgs:....]" sections you have in 
the ~hobbit/client/tmp/msg.rt003.domainname.com.txt file on that host
(rt003.domainname.com).


Regards,
Henrik


Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.