[rancid] Re: File lock help

Lance rancid at gheek.net
Mon Aug 6 22:31:10 UTC 2007


These lock files should never be left behind unless the scripts aren't
finishing correctly.

-Lance

> -------- Original Message --------
> Subject: Re: [rancid] Re: File lock help
> From: Manuel Noriega <mnoriega at amnetcorp.com>
> Date: Mon, August 06, 2007 2:59 pm
> To: Lance <rancid at gheek.net>
> Cc: Todd Heide <Todd at equivoice.com>,  rancid-discuss at shrubbery.net
> 
> 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<hr>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