Discussion:
[rancid] Initial setup -- repository not created
Corey Chandler
2010-06-21 23:07:23 UTC
Permalink
Running 2.3.3 here.

Followed the guide located at http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch1_:_Network_Backups_With_Rancid

Every time the daemon runs, it generates this:

***@rancid:~/var$ cat logs/edgeswitches.20100621.185155
starting: Mon Jun 21 18:51:55 EDT 2010

svn: warning: 'edgeswitch32' is not a working copy


Trying to get all of the configs.
All routers sucessfully completed.

svn: '.' is not a working copy
svn: '/usr/local/rancid/var/edgeswitches' is not a working copy

ending: Mon Jun 21 18:53:26 EDT 2010

I've run the /usr/local/rancid/bin/rancid-cvs; it returns without any message at all.

***@rancid:~/etc$ grep -v \# rancid.conf
TERM=network;export TERM
umask 027
TMPDIR=/tmp; export TMPDIR
BASEDIR=/usr/local/rancid/var; export BASEDIR
PATH=/usr/local/rancid/bin:/usr/bin:/usr/sbin:.:/bin:/usr/local/bin:/usr/bin; export PATH
CVSROOT=$BASEDIR/CVS; export CVSROOT
LOGDIR=$BASEDIR/logs; export LOGDIR
RCSSYS=svn; export RCSSYS


LIST_OF_GROUPS="edgeswitches"
FILTER_PWDS=NO; export FILTER_PWDS
NOCOMMSTR=NO; export NOCOMMSTR

MAX_ROUNDS=4; export MAX_ROUNDS
OLDTIME=4; export OLDTIME
LOCKTIME=4; export LOCKTIME
PAR_COUNT=5; export PAR_COUNT
MAILHEADERS="Precedence: bulk"; export MAILHEADERS


What am I doing wrong?

-- Corey Chandler
Corey Chandler
2010-06-22 01:15:50 UTC
Permalink
Post by Corey Chandler
svn: '.' is not a working copy
svn: '/usr/local/rancid/var/edgeswitches' is not a working copy
ending: Mon Jun 21 18:53:26 EDT 2010
I've solved this.

Blowing away /usr/local/rancid/var/edgeswitches after backing up router.db, running rancid-cvs, restoring router.db, then checking router.db into subversion by hand sorted this out. Ideally this'll help anyone who comes here looking for the same solution down the road.

-- Corey

Continue reading on narkive:
Loading...