[rancid] missed cmds, but only when run from cron

Michael W. Lucas mwlucas at michaelwlucas.com
Wed Aug 14 12:14:03 UTC 2013

On Wed, Aug 14, 2013 at 12:20:11PM +0800, James Andrewartha wrote:
> On 14/08/13 12:05, Paul Gear wrote:
> > I'm seeing something very similar with one Mikrotik device out of 17 on 
> > our network.  If run from the command line, it works fine.  If run from 
> > cron, one router in the group fails, giving the following error log:
> I had the same problem with a script I'd adapted, the solution was to
> increase the timeout, as the device was quite slow to generate its config.

Oooh, I have a blog post on exactly this, with Mikrotiks.


I've also found that switching mtlogin to always do "export compact"
can help.


Michael W. Lucas  -  mwlucas at michaelwlucas.com, Twitter @mwlauthor 
http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/
Absolute OpenBSD 2/e - http://www.nostarch.com/openbsd2e
coupon code "ILUVMICHAEL" gets you 30% off & helps me.

More information about the Rancid-discuss mailing list