[rancid] Can't update router.db

Dan Letkeman danletkeman at gmail.com
Mon Sep 25 13:19:53 UTC 2017


I'm not to familiar with using groups.  Cron job looks like this:

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/var/rancid
# Run config differ every day at 00:30am
30 00 * * * rancid /usr/libexec/rancid/rancid-run


But, I think I may have found an issue with my OS updates that might be
part of the problem.  Running CentOS 7.  When I did a yum update I recieved
this:

--> Finished Dependency Resolution
Error: Package: rancid-3.2-2.el7.x86_64 (@epel)
           Requires: perl(newgetopt.pl)
           Removing: perl-Perl4-CoreLibs-0.001-291.el7.noarch (@base)
               perl(newgetopt.pl)
           Updated By: perl-Perl4-CoreLibs-0.003-7.el7.noarch (base)
               Not found
 You could try using --skip-broken to work around the problem


Thanks,
Dan.



On Sun, Sep 24, 2017 at 7:37 PM, Piegorsch, Weylin William <weylin at bu.edu>
wrote:

> What rancid group is your cron job passing to do-diffs?  Is it the same
> group that you’ve modified, or a different one?  Did you update the
> router.db file of the group that do-diffs is executing?
>
> weylin
>
>
>
> *From: *Dan Letkeman <danletkeman at gmail.com>
> *Date: *Friday, September 22, 2017 at 12:13
> *To: *rancid-discuss <rancid-discuss at shrubbery.net>
> *Subject: *[rancid] Can't update router.db
>
>
>
> Hello,
>
>
>
> I have a rancid install on centos.  It appears to all be working however,
> if I replace the contents of the router.db file with the new devices it
> still connects to the old ones.  I have deleted the file and created a new
> one with only the new device ip addresses and it still continues to try and
> get configs from the old devices???  Where is it getting this from?
>
>
>
> I am able to clogin to any of the new devices without trouble, so its not
> a connection issue, but somehow the old router.db file is cached?
>
>
>
> drwxr-x---. 2 rancid rancid   24 Sep 22 11:11 configs
>
> -rw-r--r--. 1 rancid rancid 2069 Sep 22 10:48 router.db
>
>
>
>
>
> 10.10.10.1;cisco;up
>
> 10.10.10.14;cisco;up
>
> 10.10.10.194;cisco;up
>
> 10.10.10.5;cisco;up
>
> 10.100.104.11;mikrotik;up
>
> 10.100.104.12;mikrotik;up
>
> 10.100.207.3;mikrotik;up
>
> 10.100.207.4;mikrotik;up
>
> 10.100.4.10;cisco;up
>
> 10.100.4.6;cisco;up
>
> 10.104.0.1;cisco;up
>
> 10.104.1.11;cisco;up
>
> 10.104.12.11;cisco;up
>
> 10.105.50.1;cisco;up
>
> 10.16.0.1;cisco;up
>
> 10.16.1.21;cisco;up
>
> 10.16.1.31;cisco;up
>
> 10.16.12.11;cisco;up
>
> 10.168.0.1;cisco;up
>
> 10.168.1.11;cisco;up
>
> 10.168.1.21;cisco;up
>
> 10.168.1.31;cisco;up
>
> 10.168.1.41;cisco;up
>
> 10.168.1.51;cisco;up
>
> 10.168.12.11;cisco;up
>
> 10.175.0.3;mikrotik;up
>
> 10.175.0.4;mikrotik;up
>
>
>
> etc......
>
>
>
>
>
> Any help would be appreciated.
>
>
>
> Thanks,
>
> Dan.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20170925/b5b2877a/attachment.html>


More information about the Rancid-discuss mailing list