[rancid] config files are not fetched

heasley heas at shrubbery.net
Tue Sep 26 14:49:50 UTC 2017


Mon, Sep 25, 2017 at 09:12:03PM -0700, Azher:
> Hello,
> 
> I just installed rancid on CentOS7 however 'rancid-run' does not fetch the
> configuration from the devices, it does create a new log file as below.
> Manually clogin can login to a device. I am not sure if routers.up needs to
> be populated or not. Any suggestions ?
> 
> 
> Installation directory: /var/opt/rancid
> 
> -bash-4.2$ more var/logs/cisco.20170925.210157
> starting: Mon Sep 25 21:01:57 PDT 2017
> 
> 
> cvs commit: Examining .
> cvs commit: Examining configs
> 
> ending: Mon Sep 25 21:01:57 PDT 2017
> #
> 
> -bash-4.2$ ls -la var
> total 24
> drwxr-xr-x. 8 rancid netadm  147 Sep 24 21:58 .
> drwxrwxr-x. 8 rancid netadm  132 Sep 25 05:39 ..
> drwxr-x---. 4 rancid netadm  124 Sep 25 21:01 arista
> -rw-r--r--. 1 rancid netadm 1199 Sep 24 20:57 arista.db
> drwxr-x---. 4 rancid netadm  124 Sep 25 21:01 cisco
> -rw-r--r--. 1 rancid netadm  143 Sep 24 21:51 cisco.db
> drwxrwxr-x. 7 rancid netadm   93 Sep 24 21:58 CVS
> drwxr-x---. 4 rancid netadm  124 Sep 25 21:01 extreme
> -rw-r--r--. 1 rancid netadm 8228 Sep 24 07:14 extreme.db
> drwxr-x---. 4 rancid netadm  124 Sep 25 21:01 hpe
> -rw-r--r--. 1 rancid netadm 1876 Sep 24 07:06 hpe.db
> drwxr-x---. 2 rancid netadm  123 Sep 25 21:01 logs
> 
> 
> -bash-4.2$ more var/arista.db
> adm-7050-bd1:arista:up
> 
> -bash-4.2$ more var/arista/
> configs/      CVS/          .cvsignore    router.db     routers.all
> routers.down  routers.up
> -bash-4.2$ more var/arista/routers.up
> -bash-4.2$ more var/arista/router.db

this file must be be populated; see routers.db(5).

> -bash-4.2$ more var/arista/routers.down
> -bash-4.2$ ls var/arista/configs/
> CVS/        .cvsignore
> 
> -bash-4.2$ more var/arista/configs/CVS/
> Entries     Repository  Root
> 
>  Thanks
> -aam

> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss



More information about the Rancid-discuss mailing list