Your repo directory seems to be in a busted state ("svn: Directory '/cis' is out of date")...<div><br></div><div>Try this:<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">cd /var/rancid/cis/ && svn update</span></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">I believe it should work after that.</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">oo</span></font></div>
<div><br><div class="gmail_quote">On Sun, Oct 18, 2009 at 12:51 PM, Thomison, Lee <span dir="ltr"><<a href="mailto:ThomisonL@muni.org">ThomisonL@muni.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi all.<br>
<br>
Trying to get rancid set up on a small network. I'm using Centos 5.3 as a host and svn as the CVS. It is almost there, I think. It's going to the ciscos every hour. It's grabbing configs; the timestamps in /var/rancid/ciscos/configs are current. It's emailing results. But the results...<br>
<br>
The output looks like a diff <config> with a null file. And the 'router config diffs' email contents are all the same, from one hour to the next, one day to the next. I've diff'ed several of the diffs, and they are all identical.<br>
<br>
Any idea what's going on, and what do I need to do to fix it?<br>
<br>
Here's the what I think may be the relevant extract from /var/rancid/logs:<br>
<br>
-----------------<br>
.<br>
.<br>
.<br>
Sending .<br>
svn: Commit failed (details follow):<br>
svn: Directory '/cis' is out of date<br>
<br>
ending: Sat Oct 17 17:09:17 AKDT 2009<br>
<br>
-------------------<br>
<br>
For what it's worth, here's some other maybe relevant info:<br>
<br>
here's /etc/rancid/rancid.conf (comments removed):<br>
<br>
Code:<br>
<br>
TERM=network;export TERM<br>
umask 027<br>
TMPDIR=/tmp; export TMPDIR<br>
BASEDIR=/var/rancid; export BASEDIR<br>
PATH=/usr/libexec/rancid:/usr/bin:/usr/sbin:/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin; export PATH<br>
CVSROOT=$BASEDIR/CVS; export CVSROOT<br>
LOGDIR=$BASEDIR/logs; export LOGDIR<br>
RCSSYS=svn; export RCSSYS<br>
FILTER_PWDS=NO; export FILTER_PWDS<br>
NOCOMMSTR=NO; export NOCOMMSTR<br>
LIST_OF_GROUPS="cis"<br>
<br>
<br>
<br>
<br>
permissions is always a gotcha, so here's the /var/rancid permissions tree:<br>
<br>
Code:<br>
<br>
[ ~]$ ls -la /var/rancid<br>
/var/rancid:<br>
total 40<br>
drwxrwsr-x 5 rancid netadm 4096 Oct 16 12:40 .<br>
drwxr-xr-x 29 root root 4096 Oct 16 12:39 ..<br>
drwxr-s--- 6 rancid netadm 4096 Oct 16 12:40 CVS<br>
drwxr-s--- 2 rancid netadm 4096 Oct 17 17:01 logs<br>
drwxr-s--- 4 rancid netadm 4096 Oct 17 17:09 cis<br>
[ ~]$ ls -la /var/rancid/CVS<br>
total 64<br>
drwxr-s--- 6 rancid netadm 4096 Oct 16 12:40 .<br>
drwxrwsr-x 5 rancid netadm 4096 Oct 16 12:40 ..<br>
drwxr-s--- 2 rancid netadm 4096 Oct 16 12:40 conf<br>
drwxr-s--- 6 rancid netadm 4096 Oct 17 17:09 db<br>
-r--r----- 1 rancid netadm 2 Oct 16 12:40 format<br>
drwxr-s--- 2 rancid netadm 4096 Oct 16 12:40 hooks<br>
drwxr-s--- 2 rancid netadm 4096 Oct 16 12:40 locks<br>
-rw-r----- 1 rancid netadm 229 Oct 16 12:40 README.txt<br>
<br>
[ ~]$ ls -la /var/rancid/CVS/conf<br>
total 40<br>
drwxr-s--- 2 rancid netadm 4096 Oct 16 12:40 .<br>
drwxr-s--- 6 rancid netadm 4096 Oct 16 12:40 ..<br>
-rw-r----- 1 rancid netadm 1080 Oct 16 12:40 authz<br>
-rw-r----- 1 rancid netadm 309 Oct 16 12:40 passwd<br>
-rw-r----- 1 rancid netadm 2279 Oct 16 12:40 svnserve.conf<br>
<br>
[ ~]$ ls -la /var/rancid/CVS/db<br>
total 120<br>
drwxr-s--- 6 rancid netadm 4096 Oct 17 17:09 .<br>
drwxr-s--- 6 rancid netadm 4096 Oct 16 12:40 ..<br>
-rw-r----- 1 rancid netadm 3 Oct 16 12:45 current<br>
-r--r----- 1 rancid netadm 22 Oct 16 12:40 format<br>
-rw-r----- 1 rancid netadm 1920 Oct 16 12:40 fsfs.conf<br>
-rw-r----- 1 rancid netadm 5 Oct 16 12:40 fs-type<br>
-rw-r----- 1 rancid netadm 2 Oct 16 12:40 min-unpacked-rev<br>
-rw-r----- 1 rancid netadm 4096 Oct 16 12:40 rep-cache.db<br>
drwxr-s--- 3 rancid netadm 4096 Oct 16 12:40 revprops<br>
drwxr-s--- 3 rancid netadm 4096 Oct 16 12:40 revs<br>
drwxr-s--- 2 rancid netadm 4096 Oct 17 17:09 transactions<br>
-rw-r----- 1 rancid netadm 3 Oct 17 17:09 txn-current<br>
-rw-r----- 1 rancid netadm 0 Oct 16 12:40 txn-current-lock<br>
drwxr-s--- 2 rancid netadm 4096 Oct 17 17:09 txn-protorevs<br>
-rw-r----- 1 rancid netadm 37 Oct 16 12:40 uuid<br>
-rw-r----- 1 rancid netadm 0 Oct 16 12:40 write-lock<br>
<br>
[ ~]$ ls -la /var/rancid/CVS/hooks<br>
total 88<br>
drwxr-s--- 2 rancid netadm 4096 Oct 16 12:40 .<br>
drwxr-s--- 6 rancid netadm 4096 Oct 16 12:40 ..<br>
-rw-r----- 1 rancid netadm 1955 Oct 16 12:40 post-commit.tmpl<br>
-rw-r----- 1 rancid netadm 1638 Oct 16 12:40 post-lock.tmpl<br>
-rw-r----- 1 rancid netadm 2267 Oct 16 12:40 post-revprop-change.tmpl<br>
-rw-r----- 1 rancid netadm 1567 Oct 16 12:40 post-unlock.tmpl<br>
-rw-r----- 1 rancid netadm 3404 Oct 16 12:40 pre-commit.tmpl<br>
-rw-r----- 1 rancid netadm 2410 Oct 16 12:40 pre-lock.tmpl<br>
-rw-r----- 1 rancid netadm 2764 Oct 16 12:40 pre-revprop-change.tmpl<br>
-rw-r----- 1 rancid netadm 2100 Oct 16 12:40 pre-unlock.tmpl<br>
-rw-r----- 1 rancid netadm 2758 Oct 16 12:40 start-commit.tmpl<br>
<br>
[ ~]$ ls -la /var/rancid/CVS/locks<br>
total 32<br>
drwxr-s--- 2 rancid netadm 4096 Oct 16 12:40 .<br>
drwxr-s--- 6 rancid netadm 4096 Oct 16 12:40 ..<br>
-rw-r----- 1 rancid netadm 139 Oct 16 12:40 db.lock<br>
-rw-r----- 1 rancid netadm 139 Oct 16 12:40 db-logs.lock<br>
<br>
[ ~]$ ls -la /var/rancid/cis/configs/<br>
total 284<br>
drwxr-s--- 3 rancid netadm 4096 Oct 17 17:09 .<br>
drwxr-s--- 4 rancid netadm 4096 Oct 17 17:09 ..<br>
-rw-r----- 1 rancid netadm 0 Oct 16 12:44 fepts01<br>
-rw-r----- 1 rancid netadm 0 Oct 16 12:44 fepts02<br>
-rw-r----- 1 rancid netadm 0 Oct 16 12:44 fepts11<br>
-rw-r----- 1 rancid netadm 0 Oct 16 12:44 fepts12<br>
-rw-r----- 1 rancid netadm 17381 Oct 17 17:01 ciscomm1c<br>
-rw-r----- 1 rancid netadm 0 Oct 16 12:45 ciscomm1d<br>
-rw-r----- 1 rancid netadm 17526 Oct 17 17:01 ciscomm2c<br>
-rw-r----- 1 rancid netadm 17559 Oct 17 17:01 ciscomm2d<br>
-rw-r----- 1 rancid netadm 20598 Oct 17 17:01 cisfw1<br>
-rw-r----- 1 rancid netadm 20600 Oct 17 17:02 cisfw2<br>
-rw-r----- 1 rancid netadm 17962 Oct 17 17:01 cismmsi1a<br>
-rw-r----- 1 rancid netadm 17933 Oct 17 17:01 cismmsi1b<br>
-rw-r----- 1 rancid netadm 18495 Oct 17 17:02 cismmsi2a<br>
-rw-r----- 1 rancid netadm 18369 Oct 17 17:02 cismmsi2b<br>
-rw-r----- 1 rancid netadm 0 Oct 16 12:45 sec-ts01<br>
-rw-r----- 1 rancid netadm 0 Oct 16 12:45 sec-ts02<br>
-rw-r----- 1 rancid netadm 0 Oct 16 12:45 sec-ts11<br>
-rw-r----- 1 rancid netadm 0 Oct 16 12:45 sec-ts12<br>
drwxr-s--- 6 rancid netadm 4096 Oct 17 17:09 .svn<br>
<br>
<br>
<br>
Code:<br>
<br>
[ ~]$ ls -la /usr/bin/rancid*<br>
lrwxrwxrwx 1 root root 26 Sep 30 16:18 /usr/bin/rancid -> /usr/libexec/rancid/rancid<br>
lrwxrwxrwx 1 root root 30 Sep 30 16:18 /usr/bin/rancid-cvs -> /usr/libexec/rancid/rancid-cvs<br>
lrwxrwxrwx 1 root root 29 Sep 30 16:18 /usr/bin/rancid-fe -> /usr/libexec/rancid/rancid-fe<br>
lrwxrwxrwx 1 root root 30 Sep 30 16:18 /usr/bin/rancid-run -> /usr/libexec/rancid/rancid-run<br>
<br>
[ ~]$ ls -la /usr/libexec/rancid/<br>
total 1220<br>
drwxr-xr-x 2 rancid netadm 4096 Oct 1 04:06 .<br>
drwxr-xr-x 15 root root 4096 Sep 30 16:18 ..<br>
-rwxr-xr-x 1 rancid netadm 16213 Sep 30 15:07 agmrancid<br>
-rwxr-xr-x 1 rancid netadm 15581 Sep 30 15:07 alogin<br>
-rwxr-xr-x 1 rancid netadm 10386 Sep 30 15:07 arancid<br>
-rwxr-xr-x 1 rancid netadm 21374 Sep 30 15:07 avologin<br>
-rwxr-xr-x 1 rancid netadm 9703 Sep 30 15:07 avorancid<br>
-rwxr-xr-x 1 rancid netadm 18726 Sep 30 15:07 blogin<br>
-rwxr-xr-x 1 rancid netadm 10010 Sep 30 15:07 brancid<br>
-rwxr-xr-x 1 rancid netadm 37347 Sep 30 15:07 cat5rancid<br>
-rwxr-xr-x 1 rancid netadm 25906 Sep 30 15:07 clogin<br>
-rwxr-xr-x 1 rancid netadm 14132 Sep 30 15:07 control_rancid<br>
-rwxr-xr-x 1 rancid netadm 23123 Sep 30 15:07 cssrancid<br>
-rwxr-xr-x 1 rancid netadm 14539 Sep 30 15:07 elogin<br>
-rwxr-xr-x 1 rancid netadm 10502 Sep 30 15:07 erancid<br>
-rwxr-xr-x 1 rancid netadm 20031 Sep 30 15:07 f10rancid<br>
-rwxr-xr-x 1 rancid netadm 18667 Sep 30 15:07 f5rancid<br>
-rwxr-xr-x 1 rancid netadm 19857 Sep 30 15:07 flogin<br>
-rwxr-xr-x 1 rancid netadm 9546 Sep 30 15:07 fnrancid<br>
-rwxr-xr-x 1 rancid netadm 15103 Sep 30 15:07 francid<br>
-rwxr-xr-x 1 rancid netadm 21788 Sep 30 15:07 hlogin<br>
-rwxr-xr-x 1 rancid netadm 18404 Sep 30 15:07 hpuifilter<br>
-rwxr-xr-x 1 rancid netadm 18067 Sep 30 15:07 hrancid<br>
-rwxr-xr-x 1 rancid netadm 14471 Sep 30 15:07 htlogin<br>
-rwxr-xr-x 1 rancid netadm 9281 Sep 30 15:07 htrancid<br>
-rwxr-xr-x 1 rancid netadm 20998 Sep 30 15:07 jerancid<br>
-rwxr-xr-x 1 rancid netadm 16205 Sep 30 15:07 jlogin<br>
-rwxr-xr-x 1 rancid netadm 22412 Sep 30 15:07 jrancid<br>
-rwxr-xr-x 1 rancid netadm 24477 Sep 30 15:07 lg.cgi<br>
-rwxr-xr-x 1 rancid netadm 7786 Sep 30 15:07 lgform.cgi<br>
-rwxr-xr-x 1 rancid netadm 13695 Sep 30 15:07 mrancid<br>
-rwxr-xr-x 1 rancid netadm 22128 Sep 30 15:07 mrvlogin<br>
-rwxr-xr-x 1 rancid netadm 16005 Sep 30 15:07 mrvrancid<br>
-rwxr-xr-x 1 rancid netadm 16631 Sep 30 15:07 nlogin<br>
-rwxr-xr-x 1 rancid netadm 11502 Sep 30 15:07 nrancid<br>
-rwxr-xr-x 1 rancid netadm 18934 Sep 30 15:07 nslogin<br>
-rwxr-xr-x 1 rancid netadm 9637 Sep 30 15:07 nsrancid<br>
-rwxr-xr-x 1 rancid netadm 58114 Sep 30 15:07 nxrancid<br>
-rwxr-xr-x 1 rancid netadm 6043 Sep 30 15:07 par<br>
-rwxr-xr-x 1 rancid netadm 18781 Sep 30 15:07 prancid<br>
-rwxr-xr-x 1 rancid netadm 65813 Sep 30 15:07 rancid<br>
-rwxr-xr-x 1 rancid netadm 4423 Oct 14 11:48 rancid-cvs<br>
-rwxr-xr-x 1 rancid netadm 3607 Sep 30 15:07 rancid-fe<br>
-rwxr-xr-x 1 rancid netadm 4865 Sep 30 15:07 rancid-run<br>
-rwxr-xr-x 1 rancid netadm 23790 Sep 30 15:07 rivlogin<br>
-rwxr-xr-x 1 rancid netadm 10922 Sep 30 15:07 rivrancid<br>
-rwxr-xr-x 1 rancid netadm 13242 Sep 30 15:07 rrancid<br>
-rwxr-xr-x 1 rancid netadm 12982 Sep 30 15:07 srancid<br>
-rwxr-xr-x 1 rancid netadm 24375 Sep 30 15:07 tlogin<br>
-rwxr-xr-x 1 rancid netadm 15483 Sep 30 15:07 tntlogin<br>
-rwxr-xr-x 1 rancid netadm 9919 Sep 30 15:07 tntrancid<br>
-rwxr-xr-x 1 rancid netadm 9692 Sep 30 15:07 trancid<br>
-rwxr-xr-x 1 rancid netadm 16827 Sep 30 15:07 xrancid<br>
-rwxr-xr-x 1 rancid netadm 13755 Sep 30 15:07 zrancid<br>
_______________________________________________<br>
Rancid-discuss mailing list<br>
<a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
<a href="http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</a><br>
</blockquote></div><br></div></div>