Henrik, At some point just before I patched the file, I had also added the "apache" key word to a host in bb-hosts. After removing it and restarting Hobbit, everything returned to normal.
Sorry for blaming that on the patch. I will try to re-patch it and let you know if the patch works, as it probably does.
Thank you for your help! Michael Lowery
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Thursday, February 17, 2005 2:07 AM To: hobbit at hswn.dk Subject: Re: [hobbit] Program crashed - Fatal Signal Caught
On Thu, Feb 17, 2005 at 07:47:30AM +0100, Henrik Stoerner wrote:
On Wed, Feb 16, 2005 at 09:37:47PM -0600, Lowery, Michael wrote:
Ok, I re-downloaded RC2, un-tarred, re-configured, did make and make install, I still get the "program crashed fatal signal caught" on the bbtest page and all network tests are still purple.
Any idea what I need to do to get back to the working hobbit I had before I tried to apply the patch?
bbtest-net shouldn't crash like that, and it cannot possibly have anything to do with the patch you installed. (Especially not after you re-downloaded and re-built it all).
Send me the ~/server/bin/bbtest-net binary, and the newest core-file from either ~/server/ or ~/server/tmp/
I got a report from another user that this can happen if you define a test only as "http", e.g.
10.0.0.1 www.foo.com # http
So I'd like to have a look at your bb-hosts file also, if that is possible.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Hi Michael,
On Thu, Feb 17, 2005 at 10:24:25AM -0600, Lowery, Michael wrote:
Henrik, At some point just before I patched the file, I had also added the "apache" key word to a host in bb-hosts. After removing it and restarting Hobbit, everything returned to normal.
I thought the "apache" crashes were fixed in RC2. If your bbtest-net is RC2 - "bbtest-net --version" - then I'm still curious to see what caused this to crash. So a copy of the bbtest-net binary, the core dump and your bb-hosts file is still interesting.
Regards, Henrik
I have just installed hobbit. So i don't know if i have not configurated something..
In the data/rrd directory no rrd files are generated. In the logs files i see these error:
hobbitd_larrd: error while loading shared libraries: librrd.so.0: cannot open shared object file: No such file or directory 2005-02-17 17:18:48 Worker process died with exit code 32512, terminating
help!
thanks.
Marco
On Thu, Feb 17, 2005 at 05:35:09PM +0100, Marco Avvisano wrote:
In the data/rrd directory no rrd files are generated. In the logs files i see these error:
hobbitd_larrd: error while loading shared libraries: librrd.so.0: cannot open shared object file: No such file or directory
hobbitd_larrd cannot find the RRDtool runtime library, so it won't start.
The easiest solution is probably to make sure that LD_LIBRARY_PATH is set, and points to the directory where you have librrd.so.0 installed. Perhaps /usr/local/rrdtool-1.0.49/lib ?
You'll probably need it for the hobbitgraph.cgi script as well, so the best way to do this is to add these two lines to etc/hobbitserver.cfg:
LD_LIBRARY_PATH="/usr/local/rrdtool-1.0.49/lib" RUNTIMEDEFS="LD_LIBRARY_PATH=/usr/local/rrdtool-1.0.49/lib"
Change the path to wherever librrd.so.0 is installed.
Henrik
----- Original Message ----- From: "Henrik Stoerner" <henrik at hswn.dk> To: <hobbit at hswn.dk> Sent: Thursday, February 17, 2005 6:19 PM Subject: Re: [hobbit] no rrd files are generated
On Thu, Feb 17, 2005 at 05:35:09PM +0100, Marco Avvisano wrote:
In the data/rrd directory no rrd files are generated. In the logs files i see these error:
hobbitd_larrd: error while loading shared libraries: librrd.so.0: cannot open shared object file: No such file or directory
hobbitd_larrd cannot find the RRDtool runtime library, so it won't start.
The easiest solution is probably to make sure that LD_LIBRARY_PATH is set, and points to the directory where you have librrd.so.0 installed. Perhaps /usr/local/rrdtool-1.0.49/lib ?
You'll probably need it for the hobbitgraph.cgi script as well, so the best way to do this is to add these two lines to etc/hobbitserver.cfg:
LD_LIBRARY_PATH="/usr/local/rrdtool-1.0.49/lib" RUNTIMEDEFS="LD_LIBRARY_PATH=/usr/local/rrdtool-1.0.49/lib"
Change the path to wherever librrd.so.0 is installed.
I have added the two lines, and no more errors are generated in the larrd logs, the rrd files are created, but i always see a broken image.
What I have missed ?
Marco
Marco
On Thu, Feb 17, 2005 at 05:35:09PM +0100, Marco Avvisano wrote:
In the data/rrd directory no rrd files are generated. In the logs files i see these error:
hobbitd_larrd: error while loading shared libraries: librrd.so.0: cannot open shared object file: No such file or directory
hobbitd_larrd cannot find the RRDtool runtime library, so it won't start.
The easiest solution is probably to make sure that LD_LIBRARY_PATH is set, and points to the directory where you have librrd.so.0 installed. Perhaps /usr/local/rrdtool-1.0.49/lib ?
You'll probably need it for the hobbitgraph.cgi script as well, so the best way to do this is to add these two lines to etc/hobbitserver.cfg:
LD_LIBRARY_PATH="/usr/local/rrdtool-1.0.49/lib" RUNTIMEDEFS="LD_LIBRARY_PATH=/usr/local/rrdtool-1.0.49/lib"
Change the path to wherever librrd.so.0 is installed.
I have added the two lines, and no more errors are generated in the larrd logs, the rrd files are created, but i always see a broken image.
I also see in my apache log file this error:
/hobbit/server/bin/hobbitgraph.cgi: error while loading shared libraries: librrd.so.0: cannot open shared object file: No such file or directory,
thanks for helps
Marco
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
On Thu, Feb 17, 2005 at 07:34:35PM +0100, Marco Avvisano wrote:
You'll probably need it for the hobbitgraph.cgi script as well, so the best way to do this is to add these two lines to etc/hobbitserver.cfg:
LD_LIBRARY_PATH="/usr/local/rrdtool-1.0.49/lib" RUNTIMEDEFS="LD_LIBRARY_PATH=/usr/local/rrdtool-1.0.49/lib"
I also see in my apache log file this error:
/hobbit/server/bin/hobbitgraph.cgi: error while loading shared libraries: librrd.so.0: cannot open shared object file: No such file or directory,
OK, installation bug. Change the ~hobbit/cgi-bin/hobbitgraph.sh script so it sets up the LD_LIBRARY_PATH variable before running hobbitgraph.cgi. This should happen automatically, but I don't think it does.
Just add
LD_LIBRARY_PATH=/usr/local/rrdtool-1.0.49/lib export LD_LIBRARY_PATH
before the line that begins
exec /usr/local/hobbit/server/bin/hobbitgraph.cgi ....
Henrik
----- Original Message ----- From: "Henrik Stoerner" <henrik at hswn.dk> To: <hobbit at hswn.dk> Sent: Thursday, February 17, 2005 11:08 PM Subject: Re: [hobbit] no rrd files are generated
On Thu, Feb 17, 2005 at 07:34:35PM +0100, Marco Avvisano wrote:
You'll probably need it for the hobbitgraph.cgi script as well, so the best way to do this is to add these two lines to etc/hobbitserver.cfg:
LD_LIBRARY_PATH="/usr/local/rrdtool-1.0.49/lib" RUNTIMEDEFS="LD_LIBRARY_PATH=/usr/local/rrdtool-1.0.49/lib"
I also see in my apache log file this error:
/hobbit/server/bin/hobbitgraph.cgi: error while loading shared libraries: librrd.so.0: cannot open shared object file: No such file or directory,
OK, installation bug. Change the ~hobbit/cgi-bin/hobbitgraph.sh script so it sets up the LD_LIBRARY_PATH variable before running hobbitgraph.cgi. This should happen automatically, but I don't think it does.
Just add
LD_LIBRARY_PATH=/usr/local/rrdtool-1.0.49/lib export LD_LIBRARY_PATH
before the line that begins
exec /usr/local/hobbit/server/bin/hobbitgraph.cgi ....
thanks now it work !!
Marco
Hi Michael,
On Thu, Feb 17, 2005 at 10:24:25AM -0600, Lowery, Michael wrote:
Henrik, At some point just before I patched the file, I had also added the "apache" key word to a host in bb-hosts. After removing it and restarting Hobbit, everything returned to normal.
OK, you had an error in the syntax for the check. It was "cont=apache;http://199.227.199.22/server-status?auto)" but when you use a "cont" setting - instead of just the "apache" keyword - you must have some data for the content-matching. And the parenthesis at the end looks like a typo :-)
So it should have been "cont=apache;http://199.227.199.22/server-status?auto;."
Or just "apache=http://199.227.199.22/server-status?auto" which internally in bbtest-net becomes the same thing.
I'll go back and see why it crashed - it shouldn't...
Henrik
participants (3)
-
henrik@hswn.dk
-
m.avvisano@mail.regione.toscana.it
-
mlowery@alliedtechgroup.com