rancid not creating config files

So I have a fully working Rancid/CVS/ViewVC install after following this guys blog: http://ciscoskills.net/2015/02/27/configuring-rancid/


My issue right now.. I'm getting no errors, in face teh rancid log files are empty.  So is the config folder of any devices.  I have the following config setup:

login as: root
root@10.2.3.8's password:
Last login: Wed May  6 16:49:30 2015
[root@localhost ~]# cd /home/rancid
[root@localhost rancid]# nanao .cloginrc
bash: nanao: command not found...
[root@localhost rancid]# nano .cloginrc
  GNU nano 2.3.1                             File: .cloginrc                                                       Modified


add password 10.2.1.1   {[password]}   {[password]}
add user 10.2.1.1       {admin}
add method 10.2.1.1     {ssh}
#add autoenable 10.2.1.1                {1}


add password 10.2.1.2   {[password]}   {}
add user 10.2.1.2       {admin}
add method 10.2.1.2     {ssh}
#add autoenable 10.2.1.2                {1}

add password 10.2.1.52   {[password]}   {[password]}
add user 10.2.1.52      {admin}
add method 10.2.1.52     {ssh}
#add autoenable 10.2.1.52         {1}

add password 10.2.2.80   {[password]}   {[password]}
add user 10.2.2.80      {admin}
add method 10.2.2.80     {ssh}
#add autoenable 10.2.2.80         {1}

add password 10.2.4.2   {[password]}   {[password]}
add user 10.2.4.2       {admin}
add method 10.2.4.2     {ssh}
#add autoenable 10.2.4.2         {1}


^G Get Help         ^O WriteOut         ^R Read File        ^Y Prev Page        ^K Cut Text         ^C Cur Pos
^X Exit             ^J Justify          ^W Where Is         ^V Next Page        ^U UnCut Text       ^T To Spell

Open in new window


login as: root
root@10.2.3.8's password:
Last login: Wed May  6 16:49:30 2015
[root@localhost ~]# cd /home/rancid
[root@localhost rancid]# nanao .cloginrc
bash: nanao: command not found...
[root@localhost rancid]# nano .cloginrc
[root@localhost rancid]# cd /usr/local/rancid/var
[root@localhost var]# ls
CVS  logs  MI  MS  OK
[root@localhost var]# cd MI
[root@localhost MI]# ls
configs  CVS  router.db  routers.all  routers.down  routers.up
[root@localhost MI]# nano router.db
  GNU nano 2.3.1                             File: router.db

10.2.1.1:cisco:up
10.2.1.2:cisco:up
10.2.1.17:cisco:up
10.2.1.52:cisco:up
10.2.4.2:cisco:up
10.2.2.80:cisco:up


                                                      [ Read 7 lines ]
^G Get Help         ^O WriteOut         ^R Read File        ^Y Prev Page        ^K Cut Text         ^C Cur Pos
^X Exit             ^J Justify          ^W Where Is         ^V Next Page        ^U UnCut Text       ^T To Spell

Open in new window


And here's the latest log from a rancid-run (as user rancid)

login as: root
root@10.2.3.8's password:
Last login: Wed May  6 16:49:30 2015
[root@localhost ~]# cd /home/rancid
[root@localhost rancid]# nanao .cloginrc
bash: nanao: command not found...
[root@localhost rancid]# nano .cloginrc
[root@localhost rancid]# cd /usr/local/rancid/var
[root@localhost var]# ls
CVS  logs  MI  MS  OK
[root@localhost var]# cd MI
[root@localhost MI]# ls
configs  CVS  router.db  routers.all  routers.down  routers.up
[root@localhost MI]# nano router.db
[root@localhost MI]# ls
configs  CVS  router.db  routers.all  routers.down  routers.up
[root@localhost MI]# cd configs
[root@localhost configs]# ls
CVS
[root@localhost configs]# cd CVS
[root@localhost CVS]# ls
Entries  Repository  Root
[root@localhost CVS]# cd Entries
-bash: cd: Entries: Not a directory
[root@localhost CVS]# cd ..
[root@localhost configs]# cd ..
[root@localhost MI]# cd ..
[root@localhost var]# ls
CVS  logs  MI  MS  OK
[root@localhost var]# cd logs
[root@localhost logs]# ls -l
total 60
-rw-r-----. 1 rancid netadm 77 May  6 17:07 MI.20150506.170736
-rw-r-----. 1 rancid netadm 77 May  6 17:09 MI.20150506.170926
-rw-r-----. 1 rancid netadm 77 May  6 17:10 MI.20150506.171035
-rw-r-----. 1 rancid netadm 77 May  6 17:17 MI.20150506.171752
-rw-r-----. 1 rancid netadm 77 May  6 17:24 MI.20150506.172436
-rw-r-----. 1 rancid netadm 77 May  6 17:07 MS.20150506.170736
-rw-r-----. 1 rancid netadm 77 May  6 17:09 MS.20150506.170927
-rw-r-----. 1 rancid netadm 77 May  6 17:10 MS.20150506.171035
-rw-r-----. 1 rancid netadm 77 May  6 17:17 MS.20150506.171752
-rw-r-----. 1 rancid netadm 77 May  6 17:24 MS.20150506.172436
-rw-r-----. 1 rancid netadm 77 May  6 17:07 OK.20150506.170736
-rw-r-----. 1 rancid netadm 77 May  6 17:09 OK.20150506.170927
-rw-r-----. 1 rancid netadm 77 May  6 17:10 OK.20150506.171035
-rw-r-----. 1 rancid netadm 77 May  6 17:17 OK.20150506.171752
-rw-r-----. 1 rancid netadm 77 May  6 17:24 OK.20150506.172436
[root@localhost logs]# nano MI.20150506.171752
  GNU nano 2.3.1                          File: MI.20150506.171752

starting: Wed May 6 17:17:52 EDT 2015



ending: Wed May 6 17:17:52 EDT 2015


                                                      [ Read 5 lines ]
^G Get Help         ^O WriteOut         ^R Read File        ^Y Prev Page        ^K Cut Text         ^C Cur Pos
^X Exit             ^J Justify          ^W Where Is         ^V Next Page        ^U UnCut Text       ^T To Spell

Open in new window


It runs but does nothing.  Now I can run a clogin x.x.x.x and Im presented with a full switch login and enable prompt and it responds to commands.

Any clue what Im doing wrong?
LVL 14
Ben HartAsked:
Who is Participating?
 
Ben HartAuthor Commented:
Got help from the rancid-discuss@shrubbery.net mailing list.

router.db formatting must be like so:

routername;cisco;up

and not

routername:cisci:up
1
 
gheistCommented:
But you said it is fully working? Sounds very rancid you know...
0
 
Ben HartAuthor Commented:
ba dum dum.

Ok 'working' meaning not generating any errors, viewvc correctly displays http and so on.
0
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

 
gheistCommented:
Can rancid user read the cloginrc file?
0
 
Ben HartAuthor Commented:
yessir.  clogin x.x.x.x gives me a working and enabled ssh prompt to the device as well.
0
 
Ben HartAuthor Commented:
dubious, no?
0
 
Ben HartAuthor Commented:
I resolved it myself from a different source.
0
 
C GCommented:
Thank you!  I migrated from an old version that seemed okay with the ":".  The new(er) version (3.2-2) does not!

Thanks again.
0
 
C GCommented:
Thank you!  I migrated from an old version that seemed okay with the ":".  The new(er) version (3.2-2) does not!

Thanks again.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.