[rancid] Re: File lock help
Manuel Noriega
mnoriega at amnetcorp.com
Mon Aug 6 21:59:33 UTC 2007
I also kept finding these lock files which would not permit RANCID to
run, and I would only find out a couple of days later when I noticed
some notifications not being sent.
Si I know it's a bit drastic, but I placed a script in cron.daily to
remove these files periodcally.
================= clean-locks-rancid =================
#!/bin/sh
rm -rf /tmp/.*.lock
==================================================
Sincerely,
Manuel Noriega
ISP Engineer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AmnetDatos-Little.jpg
Type: image/jpeg
Size: 12703 bytes
Desc: not available
Url : http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20070806/181065e6/attachment.jpg
-------------- next part --------------
13 CALLE 3-40, ZONA 10
15 NIVEL, OFICINA 15-01
GUATEMALA CITY, C.A.
PBX (502) 2279 0099
FAX (502) 2279 0003
www.amnetdatos.com
On Aug 6, 2007, at 12:37 PM, Lance wrote:
> Todd,
>
> rm /tmp/.Customer_Routers.run.lock
>
>
> -Lance
>
>> -------- Original Message --------
>> Subject: [rancid] File lock help
>> From: "Todd Heide" <Todd at equivoice.com>
>> Date: Mon, August 06, 2007 9:32 am
>> To: <rancid-discuss at shrubbery.net>
>>
>> I know I asked this before, but cant find the reply from a year ago.
>>
>>
>>
>> hourly config diffs failed: /tmp/.Customer_Routers.run.lock exists
>>
>> -rw-r----- 1 rancid netadm 0 Aug 2 14:10
>> /tmp/.Customer_Routers.run.lock
>>
>>
>>
>>
>>
>>
>>
>> How do I unlock the files? Also what would have locked them in the
>> first
>> place?<hr>_______________________________________________
>> Rancid-discuss mailing list
>> Rancid-discuss at shrubbery.net
>> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
More information about the Rancid-discuss
mailing list