Xymon Mailing List Archive search

no rrd files are generated

list Marco Avvisano
Fri, 18 Feb 2005 16:13:58 +0100
Message-Id: <009701c515cc$7b4aab90$2b01d59f@pcma13319new>


----- 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