[rrd-users] Re: Error when update

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Wed Oct 17 00:35:52 MEST 2001

Roman Klaehne wrote:

> I have a problem with rrdtool update.
> When I want update my files, rrdtool throws the error: 'could not lock
> RRD'.
> This error occurs never before. The other functions of rrdtool work
> correct. 
> I am perplex to this problem.

So basically you have a problem when you need to write to the file.

> Tobi, Alex or anybody help me, please !!!

[cylon voice, stolen from battlestar galactica] by your command

You really should give some more info.  At least give us a hint about
the operating system.  You may have mentioned this before but if you
did I certainly don't remember now.

What should be the cause of this problem is another rrdtool process
(or another program) still having the file open.  While having the
file opened it will put the file in read-only mode (sort of) for other
processes.  Normally such a process should terminate, thereby releasing
the lock (as it is called).  After that, other processes can write to
the file (one by one).

Maybe you can find a "hanging" process.  When you stop that process,
the file lock should go away and so should the lock.  Hanging processes
should not occur however stranger things happen in our universe.

 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
| Technical questions sent directly to me will be nuked. Use the list. | 
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |

Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the rrd-users mailing list