Xymon Mailing List Archive search

problem with graphs(4.1.2p1)

list Longina Przybyszewska
Fri, 18 Nov 2005 11:32:51 +0100 (CET)
Message-Id: <user-2607b7fbf4e6@xymon.invalid>

Bingo.
hobbitgraph.cgi couldn't find librrd.so.0 library.
But it could in 4.1.2 version with the same configuration.

If I check with ldd it doesn't claims about libraries:
/opt/hobbit/server/bin# ldd hobbitgraph.cgi
         libpcre.so.0 =>  /usr/local/lib/libpcre.so.0
         librrd.so.0 =>   /usr/local/lib/librrd.so.0
         libresolv.so.2 =>        /usr/lib/libresolv.so.2
         libsocket.so.1 =>        /usr/lib/libsocket.so.1
         libnsl.so.1 =>   /usr/lib/libnsl.so.1
         libc.so.1 =>     /usr/lib/libc.so.1
         libm.so.1 =>     /usr/lib/libm.so.1
         libgcc_s.so.1 =>         /usr/local/lib/libgcc_s.so.1
         libdl.so.1 =>    /usr/lib/libdl.so.1
         libmp.so.2 =>    /usr/lib/libmp.so.2

when librrd.so.0 is a link:
/usr/local/lib/librrd.so.0 ->/usr/local/rrdtool-1.0.49/lib/librrd.so.0.0.0

Additionally I supplied hobbitserver.cfg with defs for runtime libraries:
LD_LIBRARY_PATH="/usr/local/rrdtool-1.0.49/lib"
RUNTIMEDEFS="LD_LIBRARY_PATH=/usr/local/rrdtool-1.0.49/lib"

which worked fine in the 4.1.2 version!

THANKS.
Longina

--
Longina Przybyszewska, system programmer
Dept. of Math. & Comp. Sci. - IMADA
University of Southern Denmark, Odense
Campusvej 55,DK-5230 Odense M, Denmark

tel: +XX XXXX XXXX - http://www.imada.sdu.dk         email: user-db0a93c0e294@xymon.invalid
--

On Thu, 17 Nov 2005, Thomas wrote:
What is the server error log giving you on the error when you click on a 
graph ? If you check the HTML source maybe this could give you a hint also.

/Thomas

Longina Przybyszewska wrote:
Hi again,
I upgraded Hobbit to the newest version and all graphs dissapeared.
Click on graph links ends with Internal Server Error page.

Hobbitd_rrd starts up and runs.
New data are gathered in data/rrd/*
The only information about failure is in rrd-status.log - a lot of
the same messages for each host/service - (I have seen them before, and 
they seemd to harmless in the prevoius version of Hobbit) --
RRD error updating....  illegal attempt to update using time
1132231125 when last update time is 1132231125 (minimum one second step)
---

Hobbit runs on SunOS(sparc) - there were no problems with graphs in the 
previous version (4.1.2).

How can I get more information from the Hobbit- what is wrong?

Longina
-- 
Longina Przybyszewska, system programmer
Dept. of Math. & Comp. Sci. - IMADA
University of Southern Denmark, Odense
Campusvej 55,DK-5230 Odense M, Denmark

tel: +XX XXXX XXXX - http://www.imada.sdu.dk         email: 
user-db0a93c0e294@xymon.invalid
--