no rrd files are generated
list Marco Avvisano
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
list Henrik Størner
▸
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
list Marco Avvisano
▸
----- Original Message ----- From: "Henrik Stoerner" <user-ce4a2c883f75@xymon.invalid> To: <user-ae9b8668bcde@xymon.invalid> 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 directoryhobbitd_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
list Marco Avvisano
▸
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 directoryhobbitd_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
list Henrik Størner
▸
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
list Marco Avvisano
▸
----- Original Message ----- From: "Henrik Stoerner" <user-ce4a2c883f75@xymon.invalid> To: <user-ae9b8668bcde@xymon.invalid> 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