Discussion:
[rancid] config files are not fetched
Azher
2017-09-26 04:12:03 UTC
Permalink
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
-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
heasley
2017-09-26 14:49:50 UTC
Permalink
Post by 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).
Post by Azher
-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
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Azher
2017-09-27 02:15:39 UTC
Permalink
Thanks ... That fixed the problem.
Post by heasley
Post by Azher
Hello,
I just installed rancid on CentOS7 however 'rancid-run' does not fetch
the
Post by Azher
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
Post by Azher
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).
Post by Azher
-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
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Continue reading on narkive:
Loading...