[rancid] Problems with rancid CVS

Ronni Jensen ronnij at gmail.com
Thu Dec 3 09:21:49 UTC 2009


Hello,

I have rancid running (nearly). but have some issues with CVS.. I hope you
can help! I have the following in rancid.conf:

*BASEDIR=/var/rancid; export BASEDIR*
*LIST_OF_GROUPS="firewalls ipt accesspoints switches"*

And after "rancis-cvs" I have the following dirs in /var/rancid/ as the
above suggests:

*drwxr-x--- 4 rancid rancid 4096 2009-12-03 10:08 accesspoints
drwxrwxr-x 4 rancid rancid 4096 2009-12-02 14:49 CVS
drwxr-x--- 3 rancid rancid 4096 2009-12-03 10:01 firewalls
drwxr-x--- 3 rancid rancid 4096 2009-12-03 10:01 ipt
drwxr-x--- 2 rancid rancid 4096 2009-12-02 14:29 logs
drwxr-xr-x 3 rancid rancid 4096 2009-12-03 10:10 switches*

It retrieves configs from all groups, but only for "accesspoints" it does
the CVS stuff corretly:

*starting: Thu Dec 3 10:12:32 CET 2009*
*Trying to get all of the configs.*
*cvs diff: Diffing .
cvs diff: Diffing configs
cvs commit: Examining .
cvs commit: Examining configs*
*ending: Thu Dec 3 10:20:11 CET 2009*


For the other groups e.g. "switches" it looks like:

*cvs [add aborted]: there is no version here; do 'cvs checkout' first
cvs added missing router umus-sw05
cvs status: cannot open CVS/Entries for reading: No such file or directory
cvs status: use `cvs add' to create an entry for umus-sw06
cvs add: in directory .:
cvs [add aborted]: there is no version here; do 'cvs checkout' first
cvs added missing router umus-sw06*

*Trying to get all of the configs.
All routers sucessfully completed.*
*cvs diff: in directory .:
cvs [diff aborted]: there is no version here; run 'cvs checkout' first
cvs commit: in directory .:
cvs [commit aborted]: there is no version here; run 'cvs checkout' first*
*ending: Thu Dec 3 10:02:23 CET 2009*



I don't know if this is the error.. but as you can see only accesspoints dir
has the subdir "CVS" to it:


[rancid at LinuxSrv ~]$ ls -la /var/rancid/*
/var/rancid/accesspoints:
total 36
drwxr-x---  4 rancid rancid 4096 2009-12-03 10:17 .
drwxr-xr-x 10 rancid rancid 4096 2009-12-02 15:01 ..
drwxr-x---  3 rancid rancid 4096 2009-12-03 10:17 configs
drwxr-x---  2 rancid rancid 4096 2009-12-02 15:54 CVS
-rw-r-----  1 rancid rancid   47 2009-12-02 15:37 .cvsignore
-rw-r-----  1 rancid rancid  774 2009-12-02 15:36 router.db
-rw-r-----  1 rancid rancid  650 2009-12-03 10:12 routers.all
-rw-r-----  1 rancid rancid    0 2009-12-03 10:12 routers.down
-rw-r-----  1 rancid rancid  650 2009-12-03 10:12 routers.up
-rw-r-----  1 rancid rancid   19 2009-12-03 10:17 routers.up.missed
/var/rancid/CVS:
total 20
drwxrwxr-x  4 rancid rancid 4096 2009-12-02 14:49 .
drwxr-xr-x 10 rancid rancid 4096 2009-12-02 15:01 ..
drwxrwxr-x  3 rancid rancid 4096 2009-12-03 10:12 accesspoints
drwxrwxr-x  3 rancid rancid 4096 2009-12-02 15:54 CVSROOT
-rw-r-----  1 rancid rancid   21 2009-12-02 14:49 Entries.Log
/var/rancid/firewalls:
total 16
drwxr-x---  3 rancid rancid 4096 2009-12-03 10:01 .
drwxr-xr-x 10 rancid rancid 4096 2009-12-02 15:01 ..
drwxr-x---  2 rancid rancid 4096 2009-12-02 14:29 configs
-rw-r-----  1 rancid rancid   47 2009-12-02 15:01 .cvsignore
-rw-r-----  1 rancid rancid    0 2009-12-02 14:29 router.db
-rw-r-----  1 rancid rancid    0 2009-12-03 10:01 routers.all
-rw-r-----  1 rancid rancid    0 2009-12-03 10:01 routers.down
-rw-r-----  1 rancid rancid    0 2009-12-03 10:01 routers.up
/var/rancid/ipt:
total 16
drwxr-x---  3 rancid rancid 4096 2009-12-03 10:01 .
drwxr-xr-x 10 rancid rancid 4096 2009-12-02 15:01 ..
drwxr-x---  2 rancid rancid 4096 2009-12-02 14:29 configs
-rw-r-----  1 rancid rancid   47 2009-12-02 15:01 .cvsignore
-rw-r-----  1 rancid rancid    0 2009-12-02 14:29 router.db
-rw-r-----  1 rancid rancid    0 2009-12-03 10:01 routers.all
-rw-r-----  1 rancid rancid    0 2009-12-03 10:01 routers.down
-rw-r-----  1 rancid rancid    0 2009-12-03 10:01 routers.up
/var/rancid/logs:
total 8
drwxr-x---  2 rancid rancid 4096 2009-12-02 14:29 .
drwxr-xr-x 10 rancid rancid 4096 2009-12-02 15:01 ..
/var/rancid/mpls:
total 12
drwxr-x---  3 rancid rancid 4096 2009-12-02 14:29 .
drwxr-xr-x 10 rancid rancid 4096 2009-12-02 15:01 ..
drwxr-x---  2 rancid rancid 4096 2009-12-02 14:29 configs
-rw-r-----  1 rancid rancid    0 2009-12-02 14:29 router.db
-rw-r-----  1 rancid rancid    0 2009-12-02 14:29 routers.all
-rw-r-----  1 rancid rancid    0 2009-12-02 14:29 routers.down
-rw-r-----  1 rancid rancid    0 2009-12-02 14:29 routers.up
/var/rancid/switches:
total 28
drwxr-xr-x  3 rancid rancid 4096 2009-12-03 10:10 .
drwxr-xr-x 10 rancid rancid 4096 2009-12-02 15:01 ..
drwxr-x---  2 rancid rancid 4096 2009-12-03 10:10 configs
-rw-r-----  1 rancid rancid   47 2009-12-02 14:53 .cvsignore
-rw-r--r--  1 rancid rancid  618 2009-11-28 13:29 router.db
-rw-r-----  1 rancid rancid    0 2009-12-02 14:29 router.db.dist
-rw-r-----  1 rancid rancid  525 2009-12-03 10:08 routers.all
-rw-r-----  1 rancid rancid    0 2009-12-03 10:08 routers.down
-rw-r-----  1 rancid rancid  525 2009-12-03 10:08 routers.up

I tried re-run rancid-cvs to see if it would do the trick, but no.. I hope
someone here can help to a solution?

Best regards,
ronnij
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20091203/1a2ad91f/attachment.html 


More information about the Rancid-discuss mailing list