I've made very few changes apart from those mentioned in the initial install guide. Was asked for the following from someone else but it could be handy to someone else as well. <div><br></div><div>I've not changed the CVS directory but its set to the following as well.</div>
<div><br></div><div><div id="" style>++ CVSROOT=/usr/local/rancid/var/CVS</div><div style>++ export CVSROOT</div></div><div><br></div><div><div style>[rancid@router ~]$ sh -x `which rancid-cvs`</div><div style>+ ENVFILE=/usr/local/rancid/etc/rancid.conf</div>
<div style>+ '[' 0 -ge 1 ']'</div><div style>+ . /usr/local/rancid/etc/rancid.conf</div><div style>++ TERM=network</div><div style>++ export TERM</div><div style>++ LC_COLLATE=POSIX</div><div style>++ export LC_COLLATE</div>
<div style>++ umask 027</div><div style>++ TMPDIR=/tmp</div><div style>++ export TMPDIR</div><div style>++ BASEDIR=/usr/local/rancid/var</div><div style>++ export BASEDIR</div><div style>++ PATH=/usr/local/rancid/bin:/usr/bin:.:/bin:/usr/local/bin:/usr/bin</div>
<div style>++ export PATH</div><div id="" style>++ CVSROOT=/usr/local/rancid/var/CVS</div><div style>++ export CVSROOT</div><div style>++ LOGDIR=/usr/local/rancid/var/logs</div><div style>++ export LOGDIR</div><div style>
++ RCSSYS=cvs</div><div style>++ export RCSSYS</div><div style>++ FILTER_PWDS=NO</div><div style>++ export FILTER_PWDS</div><div style>++ NOCOMMSTR=NO</div><div style>++ export NOCOMMSTR</div><div style>++ LIST_OF_GROUPS=networking</div>
<div style>++ MAILDOMAIN=@<a href="http://testdomain.com/" target="_blank" style="color:rgb(17,85,204)">testdomain.com</a></div><div style>++ export MAILDOMAIN</div><div style>+ '[' '!' -d /usr/local/rancid/var ']'</div>
<div style>+ cd /usr/local/rancid/var</div><div style>+ RCSSYS=cvs</div><div style>+ '[' cvs '!=' cvs -a cvs '!=' svn ']'</div><div style>+ '[' cvs = cvs ']'</div><div style>
+ '[' '!' -d /usr/local/rancid/var/CVS ']'</div><div style>+ '[' '!' -d logs ']'</div><div style>+ '[' 0 -ge 1 ']'</div><div style>+ '[' networking = '' ']'</div>
<div style>++ echo networking</div><div style>+ for GROUP in '`echo $LIST_OF_GROUPS`'</div><div id="aeaoofnhgocdbnbeljkmbjdmhbcokfdb-mousedown" style>+ DIR=/usr/local/rancid/var/networking</div><div style>+ '[' '!' -d /usr/local/rancid/var/networking ']'</div>
<div style>+ cd /usr/local/rancid/var/networking</div><div style>+ '[' '!' -d configs ']'</div><div style>+ '[' '!' -f routers.all ']'</div><div style>+ '[' '!' -f routers.down ']'</div>
<div style>+ '[' '!' -f routers.up ']'</div><div style>+ '[' '!' -f router.db ']'</div><br><div class="gmail_quote">On 7 March 2012 18:48, Eric Girard <span dir="ltr"><<a href="mailto:egirard@focustsi.com">egirard@focustsi.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Andy, not sure how many changes you’ve made to rancid.conf, but the CVS directory in my pretty stock install is in /usr/local/rancid/var/ along with all of my group directories, not in /usr/local/rancid/<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:rancid-discuss-bounces@shrubbery.net" target="_blank">rancid-discuss-bounces@shrubbery.net</a> [mailto:<a href="mailto:rancid-discuss-bounces@shrubbery.net" target="_blank">rancid-discuss-bounces@shrubbery.net</a>] <b>On Behalf Of </b>Andy Townsend<br>
<b>Sent:</b> Wednesday, March 07, 2012 4:07 AM<br><b>To:</b> Nicolai Langfeldt<br><b>Cc:</b> <a href="mailto:rancid-discuss@shrubbery.net" target="_blank">rancid-discuss@shrubbery.net</a><br><b>Subject:</b> Re: [rancid] Rancid CVS Issue<u></u><u></u></span></p>
<div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I've already got this in rancid.conf<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><div><p class="MsoNormal">
# list of rancid groups<u></u><u></u></p></div><div><p class="MsoNormal">LIST_OF_GROUPS="networking"<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">And when I run /usr/local/rancid/bin/rancid-cvs I get no output. <u></u><u></u></p>
</div><div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">[rancid@router ~]$ /usr/local/rancid/bin/rancid-cvs<u></u><u></u></p></div><div><p class="MsoNormal">[rancid@router ~]$<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">[rancid@router ~]$ echo $BASEDIR<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">[rancid@router ~]$ pwd<u></u><u></u></p>
</div><div><p class="MsoNormal">/usr/local/rancid<u></u><u></u></p></div><div><p class="MsoNormal">[rancid@router ~]$ ls -l<u></u><u></u></p></div><div><p class="MsoNormal">total 60<u></u><u></u></p></div><div><p class="MsoNormal">
drwxr-xr-x 2 rancid netadm 4096 Mar 6 17:26 bin<u></u><u></u></p></div><div><p class="MsoNormal">drwxr-xr-x 2 rancid netadm 4096 Mar 7 09:04 etc<u></u><u></u></p></div><div><p class="MsoNormal">-rw-r--r-- 1 rancid netadm 12738 Mar 6 17:22 README<u></u><u></u></p>
</div><div><p class="MsoNormal">drwxr-xr-x 4 rancid netadm 4096 Mar 6 17:13 share<u></u><u></u></p></div><div><p class="MsoNormal">drwxr-xr-x 3 rancid netadm 4096 Oct 26 21:51 tar<u></u><u></u></p></div><div><p class="MsoNormal">
drwxr-xr-x 5 rancid netadm 4096 Mar 6 17:21 var<u></u><u></u></p></div></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">I believe there should be a CVS directory in there. I did install CVS after rancid so I guess that may have caused the issue. Any ideas?<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Thanks,<u></u><u></u></p></div><div><p class="MsoNormal">Andy<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal">
<u></u> <u></u></p><div><p class="MsoNormal">On 6 March 2012 19:44, Nicolai Langfeldt <<a href="mailto:Nicolai.Langfeldt@ventelo.no" target="_blank">Nicolai.Langfeldt@ventelo.no</a>> wrote:<u></u><u></u></p><p class="MsoNormal">
I expect you either forgot to update rancid.conf so that it reads:<br><br> LIST_OF_GROUPS="networking"<br><br>Or you already did rancid-cvs?<br><br>Nicolai<br>________________________________________<br>Fra: <a href="mailto:rancid-discuss-bounces@shrubbery.net" target="_blank">rancid-discuss-bounces@shrubbery.net</a> [<a href="mailto:rancid-discuss-bounces@shrubbery.net" target="_blank">rancid-discuss-bounces@shrubbery.net</a>] p&#229; vegne av Andy Townsend [<a href="mailto:me@andytownsend.co.uk" target="_blank">me@andytownsend.co.uk</a>]<br>
Sendt: 6. mars 2012 18:45<br>Til: <a href="mailto:rancid-discuss@shrubbery.net" target="_blank">rancid-discuss@shrubbery.net</a><br>Emne: [rancid] Rancid CVS Issue<u></u><u></u></p><div><div><p class="MsoNormal"><br>Hi,<br>
<br>I've just installed rancid on one of my boxes following the guide here.<br><br><a href="http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch1_:_Network_Backups_With_Rancid" target="_blank">http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch1_:_Network_Backups_With_Rancid</a><br>
<br>However, when I run the rancid-cvs command, I get no output.<br><br>[rancid@router ~]$ /usr/local/rancid/bin/rancid-cvs<br>[rancid@router ~]$<br><br>When as per the docs I should be getting this.<br><br><br><br><br>[rancid@bigboy ~]$ /usr/local/rancid/bin/rancid-cvs<br>
No conflicts created by this import<br>cvs checkout: Updating networking<br>cvs checkout: Updating networking/configs<br>cvs add: scheduling file `router.db' for addition<br>cvs add: use 'cvs commit' to add this file permanently<br>
RCS file: /usr/local/rancid//var/CVS/networking/router.db,v<br>done<br>Checking in router.db;<br>/usr/local/rancid//var/CVS/networking/router.db,v <-- router.db<br>initial revision: 1.1<br>done<br><br><br>CVS is already installed so no issues there,<br>
<br>[rancid@router ~]$ rpm -qa | grep cvs<br>cvs-1.11.22-7.el5<br><br><br>Just wondering if anyone had come across this or know what the next steps were?<br><br>Cheers,<br>Andy<u></u><u></u></p></div></div></div><p class="MsoNormal">
<u></u> <u></u></p></div></div></div></div></div></blockquote></div><br></div>