[hobbit] I'm getting the error "could not lock RRD"
Brown, Seymour
Seymour.Brown at WJMC.ORG
Mon Jun 25 16:18:49 CEST 2007
Indeed, we get this when something in our MRTG process gets an error,
and the rrd data files then become owned by root instead of hobbit. We
also get it if we start hobbit as root instead of hobbit. I think the
lock is a red herring - it simply could not open the file.
My fix has been to do cd /var/lib/hobbit/rrd (or wherever you keep your
rrd data) and then chown hobbit * -R
As far as the MRTG causing it, the MRTG logs generally point the way.
The key seems to be to configure and operate hobbit as the hobbit user.
=Seymour=
Seymour J. Brown
Network Analyst
CCNA, CFS, CWNA, Network+
West Jefferson Medical Center
1101 Medical Center Blvd.
Marrero, LA 70072
504-349-2396
-----Original Message-----
From: Dean Casey [mailto:dcasey at pathfire.com]
Sent: Saturday, June 23, 2007 12:08 AM
To: hobbit at hswn.dk
Subject: RE: [hobbit] I'm getting the error "could not lock RRD"
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
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. West Jefferson Medical Center, 1101 Medical Center Blvd., Marrero, USA, www.wjmc.org.
More information about the Xymon
mailing list