[hobbit] I'm getting the error "could not lock RRD"

Robin Wood dninja at gmail.com
Sun Jun 24 21:58:38 CEST 2007


Got it working! I moved the data directory to the local disk and
deleted the contents. After a while it all started working.

rrd obviously doesn't like nfs shares.

Robin

On 6/24/07, Robin Wood <dninja at gmail.com> wrote:
> Well, moving the log directory to the local disk stopped the error
> messages but I'm still getting empty graphs.
>
> Dean, the requirements show PCRE, RRDtool, libpng, OpenSSL and
> OpenLDAP libraries. I've got all of those:
>
> (from ./configure)
>
> Checking for RRDtool ...
> test-rrd.c: In function 'main':
> test-rrd.c:30: error: too few arguments to function 'rrd_graph'
> make: *** [test-compile] Error 1
> Not RRDtool 1.0.x, checking for 1.2.x
> Found RRDtool include files in /usr/include
> Found RRDtool libraries in /usr/lib
> Linking RRD with PNG library: -L/usr/lib -lpng
>
>
> Checking for PCRE ...
> Found PCRE include files in /usr/include
> Found PCRE libraries in /usr/lib
>
>
> Checking for OpenSSL ...
> Found OpenSSL include files in /usr/include
> Found OpenSSL libraries in /usr/lib
>
> Any more ideas?
>
> Robin
>
> On 6/24/07, Robin Wood <dninja at gmail.com> wrote:
> > Hi
> > What I should have added is that I am seeing graphs but with no graph
> > lines and no numeric data in them. The filesystem graph for example,
> > shows all my mount points but then where the numbers are supposed to
> > be it is showing nan.
> >
> > I'm trying moving the data/rrd directory to a local disk now, I'll let
> > you know how it gets on.
> >
> > Robin
> >
> > On 6/24/07, Dean Casey <dcasey at pathfire.com> wrote:
> > > Rrdtool by itself is not sufficient for all the libraries hobbit needs.
> > > Please check the list of installed libraries against the hobbit
> > > pre-requisites & install any missing libraries. Then, when you
> > > re-compile hobbit afterward, run "make clean" before running "make" and
> > > "make install". The "make clean" command is important.
> > >
> > > Dean Casey
> > >
> > >
> > > -----Original Message-----
> > > From: Robin Wood [mailto:dninja at gmail.com]
> > > Sent: Saturday, June 23, 2007 12:53 PM
> > > To: hobbit at hswn.dk
> > > Subject: Re: [hobbit] I'm getting the error "could not lock RRD"
> > >
> > > I built hobbit from source and initially it complained that the
> > > libraries weren't there so I installed the rrdtool package and tried
> > > again. This time it built so I assume that it had all it needed.
> > >
> > > If you can let me know which files need what permissions I'll check
> > > when I check the nfs share suggestion later.
> > >
> > > Robin
> > >
> > > On 6/23/07, Dean Casey <dcasey at pathfire.com> wrote:
> > > > I've seen this rrd error in the past when rrd libraries, binaries, or
> > > > data files had incorrect permissions or were missing (unavailable).
> > > >
> > > > Dean Casey
> > > >
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Robin Wood [mailto:dninja at gmail.com]
> > > > Sent: Friday, June 22, 2007 4:59 PM
> > > > To: hobbit at hswn.dk
> > > > Subject: Re: [hobbit] I'm getting the error "could not lock RRD"
> > > >
> > > > Hi
> > > > The directory is a nfs share. I'll try moving the data directory to a
> > > > local disk and see if that fixes it.
> > > >
> > > > Robin
> > > >
> > > > On 6/22/07, Henrik Stoerner <henrik at hswn.dk> wrote:
> > > > > On Fri, Jun 22, 2007 at 07:27:27PM +0100, Robin Wood wrote:
> > > > > > 2007-06-22 19:24:55 RRD error updating
> > > > > > /var/sites/hobbit/non-secure//data/rrd/xxx/procs.rrd from
> > > > 192.168.0.2:
> > > > > > could not lock RRD
> > > > >
> > > > > It's an error from the rrdtool library. I honestly have no idea what
> > > > > could be causing this.
> > > > >
> > > > > Is the /var/sites/hobbit/non-secure//data/rrd an NFS filesystem?
> > > > > Perhaps there's some issue with locking on networked filsystems.
> > > > >
> > > > >
> > > > > Regards,
> > > > > Henrik
> > > > >
> > > > >
> > > > > To unsubscribe from the hobbit list, send an e-mail to
> > > > > hobbit-unsubscribe at hswn.dk
> > > > >
> > > > >
> > > > >
> > > >
> > > > To unsubscribe from the hobbit list, send an e-mail to
> > > > hobbit-unsubscribe at hswn.dk
> > > >
> > > >
> > > >
> > > > To unsubscribe from the hobbit list, send an e-mail to
> > > > hobbit-unsubscribe at hswn.dk
> > > >
> > > >
> > > >
> > >
> > > To unsubscribe from the hobbit list, send an e-mail to
> > > hobbit-unsubscribe at hswn.dk
> > >
> > >
> > >
> > > To unsubscribe from the hobbit list, send an e-mail to
> > > hobbit-unsubscribe at hswn.dk
> > >
> > >
> > >
> >
>



More information about the Xymon mailing list