[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


Henrik