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