[rrd-users] Lock issue

Caio Brentano caiobrentano at gmail.com
Sun Oct 9 20:07:14 CEST 2011


Hi Andreas

Yes, the files are all located on a NFS.
What can I ask to the administratior look for?
Is there any specific configurantion that must be done to solve this?

Regards

Caio Brentano

On Thu, Oct 6, 2011 at 2:34 AM, Andreas Maus <a.maus at science-computing.de>wrote:

> Hello.
>
> Is this file located on a NFS share ?
> Usually this error occurs when accessing RRD files
> located on a NFS mounted filesystem.
>
> If it is coming from a NFS mounted filesystem you have
> to talk to your administrator to fix the NFS locking.
>
> HTH,
>
> Andreas.
>
>
> On 10/05/11 19:59, Caio Brentano wrote:
>
>> Hello all
>>
>> I'm facing a lock problem in my software...
>> Sometimes, when the script tries to update a file, it return this message:
>> "could not lock RRD".
>>
>> If I make a copy of the file, I can update it normally!
>> So, while I don't discover what is the problem, I'm doing this:
>>
>> $ cp file.rrd file.rrd.new
>> $ rrdtool update file.rrd.new <DATA>
>> $ mv  file.rrd.new  file.rrd
>>
>> I'm using python 2.4, python-rrdtool-1.4.5 and rrdtool-1.4.5.
>>
>> Does anyone have faced any similiar issue?
>>
>> Regards
>> --
>> Caio Brentano
>>
>>
>> ______________________________**_________________
>> rrd-users mailing list
>> rrd-users at lists.oetiker.ch
>> https://lists.oetiker.ch/cgi-**bin/listinfo/rrd-users<https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users>
>>
>
>
> --
> Dipl.-Ing. Andreas Maus             science+computing ag
> System Administration               Hagellocher Weg 73
> tel.: +49 7071 9457 671             72070 Tuebingen, Germany
> fax: +49 7071 9457 411              www.science-computing.de
> --
> Vorstand/Board of Management:
> Dr. Bernd Finkbeiner, Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech
> Vorsitzender des Aufsichtsrats/
> Chairman of the Supervisory Board:
> Philippe Miltin
> Sitz/Registered Office: Tuebingen
> Registergericht/Registration Court: Stuttgart
> Registernummer/Commercial Register No.: HRB 382196
>
>


-- 
Caio Brentano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20111009/74d41524/attachment.htm 


More information about the rrd-users mailing list