[hobbit] no rrd files are generated

Marco Avvisano m.avvisano at mail.regione.toscana.it
Fri Feb 18 16:13:58 CET 2005



----- Original Message ----- 
From: "Henrik Stoerner" <henrik at hswn.dk>
To: <hobbit at hswn.dk>
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




More information about the Xymon mailing list