<div>Hello,</div>
<div> </div>
<div>I have rancid running (nearly). but have some issues with CVS.. I hope you can help! I have the following in rancid.conf:</div>
<div> </div>
<div><em>BASEDIR=/var/rancid; export BASEDIR</em></div>
<div><em>LIST_OF_GROUPS="firewalls ipt accesspoints switches"</em></div>
<div> </div>
<div>And after "rancis-cvs" I have the following dirs in /var/rancid/ as the above suggests:</div>
<div> </div>
<div><em>drwxr-x--- 4 rancid rancid 4096 2009-12-03 10:08 accesspoints<br>drwxrwxr-x 4 rancid rancid 4096 2009-12-02 14:49 CVS<br>drwxr-x--- 3 rancid rancid 4096 2009-12-03 10:01 firewalls<br>drwxr-x--- 3 rancid rancid 4096 2009-12-03 10:01 ipt<br>
drwxr-x--- 2 rancid rancid 4096 2009-12-02 14:29 logs<br>drwxr-xr-x 3 rancid rancid 4096 2009-12-03 10:10 switches</em></div>
<div> </div>
<div>It retrieves configs from all groups, but only for "accesspoints" it does the CVS stuff corretly:</div>
<div> </div>
<div><em>starting: Thu Dec 3 10:12:32 CET 2009</em></div>
<div><em>Trying to get all of the configs.</em></div>
<div><em>cvs diff: Diffing .<br>cvs diff: Diffing configs<br>cvs commit: Examining .<br>cvs commit: Examining configs</em></div>
<div><em>ending: Thu Dec 3 10:20:11 CET 2009</em><br></div>
<div> </div>
<div> </div>
<div>For the other groups e.g. "switches" it looks like:</div>
<div> </div>
<div><em>cvs [add aborted]: there is no version here; do 'cvs checkout' first<br>cvs added missing router umus-sw05<br>cvs status: cannot open CVS/Entries for reading: No such file or directory<br>cvs status: use `cvs add' to create an entry for umus-sw06<br>
cvs add: in directory .:<br>cvs [add aborted]: there is no version here; do 'cvs checkout' first<br>cvs added missing router umus-sw06</em></div>
<div><br><em>Trying to get all of the configs.<br>All routers sucessfully completed.</em></div>
<div><em>cvs diff: in directory .:<br>cvs [diff aborted]: there is no version here; run 'cvs checkout' first<br>cvs commit: in directory .:<br>cvs [commit aborted]: there is no version here; run 'cvs checkout' first</em></div>
<div><em>ending: Thu Dec 3 10:02:23 CET 2009</em></div>
<div> </div>
<div> </div>
<div> </div>
<div>I don't know if this is the error.. but as you can see only accesspoints dir has the subdir "CVS" to it:</div>
<div> </div>
<div> </div>
<div>[rancid@LinuxSrv ~]$ ls -la /var/rancid/*<br>/var/rancid/accesspoints:<br>total 36<br>drwxr-x--- 4 rancid rancid 4096 2009-12-03 10:17 .<br>drwxr-xr-x 10 rancid rancid 4096 2009-12-02 15:01 ..<br>drwxr-x--- 3 rancid rancid 4096 2009-12-03 10:17 configs<br>
drwxr-x--- 2 rancid rancid 4096 2009-12-02 15:54 CVS<br>-rw-r----- 1 rancid rancid 47 2009-12-02 15:37 .cvsignore<br>-rw-r----- 1 rancid rancid 774 2009-12-02 15:36 router.db<br>-rw-r----- 1 rancid rancid 650 2009-12-03 10:12 routers.all<br>
-rw-r----- 1 rancid rancid 0 2009-12-03 10:12 routers.down<br>-rw-r----- 1 rancid rancid 650 2009-12-03 10:12 routers.up<br>-rw-r----- 1 rancid rancid 19 2009-12-03 10:17 routers.up.missed</div>
<div>/var/rancid/CVS:<br>total 20<br>drwxrwxr-x 4 rancid rancid 4096 2009-12-02 14:49 .<br>drwxr-xr-x 10 rancid rancid 4096 2009-12-02 15:01 ..<br>drwxrwxr-x 3 rancid rancid 4096 2009-12-03 10:12 accesspoints<br>drwxrwxr-x 3 rancid rancid 4096 2009-12-02 15:54 CVSROOT<br>
-rw-r----- 1 rancid rancid 21 2009-12-02 14:49 Entries.Log</div>
<div>/var/rancid/firewalls:<br>total 16<br>drwxr-x--- 3 rancid rancid 4096 2009-12-03 10:01 .<br>drwxr-xr-x 10 rancid rancid 4096 2009-12-02 15:01 ..<br>drwxr-x--- 2 rancid rancid 4096 2009-12-02 14:29 configs<br>-rw-r----- 1 rancid rancid 47 2009-12-02 15:01 .cvsignore<br>
-rw-r----- 1 rancid rancid 0 2009-12-02 14:29 router.db<br>-rw-r----- 1 rancid rancid 0 2009-12-03 10:01 routers.all<br>-rw-r----- 1 rancid rancid 0 2009-12-03 10:01 routers.down<br>-rw-r----- 1 rancid rancid 0 2009-12-03 10:01 routers.up</div>
<div>/var/rancid/ipt:<br>total 16<br>drwxr-x--- 3 rancid rancid 4096 2009-12-03 10:01 .<br>drwxr-xr-x 10 rancid rancid 4096 2009-12-02 15:01 ..<br>drwxr-x--- 2 rancid rancid 4096 2009-12-02 14:29 configs<br>-rw-r----- 1 rancid rancid 47 2009-12-02 15:01 .cvsignore<br>
-rw-r----- 1 rancid rancid 0 2009-12-02 14:29 router.db<br>-rw-r----- 1 rancid rancid 0 2009-12-03 10:01 routers.all<br>-rw-r----- 1 rancid rancid 0 2009-12-03 10:01 routers.down<br>-rw-r----- 1 rancid rancid 0 2009-12-03 10:01 routers.up</div>
<div>/var/rancid/logs:<br>total 8<br>drwxr-x--- 2 rancid rancid 4096 2009-12-02 14:29 .<br>drwxr-xr-x 10 rancid rancid 4096 2009-12-02 15:01 ..</div>
<div>/var/rancid/mpls:<br>total 12<br>drwxr-x--- 3 rancid rancid 4096 2009-12-02 14:29 .<br>drwxr-xr-x 10 rancid rancid 4096 2009-12-02 15:01 ..<br>drwxr-x--- 2 rancid rancid 4096 2009-12-02 14:29 configs<br>-rw-r----- 1 rancid rancid 0 2009-12-02 14:29 router.db<br>
-rw-r----- 1 rancid rancid 0 2009-12-02 14:29 routers.all<br>-rw-r----- 1 rancid rancid 0 2009-12-02 14:29 routers.down<br>-rw-r----- 1 rancid rancid 0 2009-12-02 14:29 routers.up</div>
<div>/var/rancid/switches:<br>total 28<br>drwxr-xr-x 3 rancid rancid 4096 2009-12-03 10:10 .<br>drwxr-xr-x 10 rancid rancid 4096 2009-12-02 15:01 ..<br>drwxr-x--- 2 rancid rancid 4096 2009-12-03 10:10 configs<br>-rw-r----- 1 rancid rancid 47 2009-12-02 14:53 .cvsignore<br>
-rw-r--r-- 1 rancid rancid 618 2009-11-28 13:29 router.db<br>-rw-r----- 1 rancid rancid 0 2009-12-02 14:29 router.db.dist<br>-rw-r----- 1 rancid rancid 525 2009-12-03 10:08 routers.all<br>-rw-r----- 1 rancid rancid 0 2009-12-03 10:08 routers.down<br>
-rw-r----- 1 rancid rancid 525 2009-12-03 10:08 routers.up</div>
<div> </div>
<div>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?</div>
<div> </div>
<div>Best regards,</div>
<div>ronnij</div>