<div dir="ltr"><div><br></div>Hello, all,<div><br></div><div>I have new installation of Rancid (v 3.1) on Centos 6 from rpm packet.</div><div><br></div><div>After rancid.conf (see below) has configured I run rancid-cvs, the output is:</div><div><br></div><div><div>[rancid@blade11 ciscodev]$ /usr/libexec/rancid/rancid-cvs </div><div><br></div><div>Committed revision 1.</div><div>Checked out revision 1.</div><div>At revision 1.</div><div>A configs</div><div>Adding configs</div><div><br></div><div>Committed revision 2.</div><div>A router.db</div><div>Adding router.db</div><div>Transmitting file data .</div><div>Committed revision 3.</div><div><br></div><div>Committed revision 4.</div><div>Checked out revision 4.</div><div>At revision 4.</div><div>A configs</div><div>Adding configs</div><div><br></div><div>Committed revision 5.</div><div>A router.db</div><div>Adding router.db</div><div>Transmitting file data .</div><div>Committed revision 6.</div><div><br></div><div>Committed revision 7.</div><div>Checked out revision 7.</div><div>At revision 7.</div><div>A configs</div><div>Adding configs</div><div><br></div><div>Committed revision 8.</div><div>A router.db</div><div>Adding router.db</div><div>Transmitting file data .</div><div>Committed revision 9.</div></div><div><br></div><div>Then I have created /var/rancid/ciscodev/router.db</div><div><br></div><div><div>[rancid@blade11 ciscodev]$ cat /var/rancid/ciscodev/router.db</div><div>10.37.6.46:cisco:up</div></div><div><br></div><div>and run rancid-run (without any output messages), in log file I see:</div><div><br></div><div><div>[rancid@blade11 ciscodev]$ cat /var/log/rancid/ciscodev.20151102.170455</div><div>starting: Mon Nov 2 17:04:55 MSK 2015</div><div><br></div><div>property 'svn:ignore' set on '.'</div><div>At revision 9.</div><div>Sending .</div><div><br></div><div>Committed revision 10.</div><div><br></div><div>ending: Mon Nov 2 17:04:56 MSK 2015<br></div><div><br></div><div>and again:</div><div><br></div><div>starting: Mon Nov 2 17:18:08 MSK 2015<br></div><div><br></div><div>Sending router.db</div><div>Transmitting file data .</div><div>Committed revision 13.</div><div><br></div><div>ending: Mon Nov 2 17:18:09 MSK 2015</div></div><div><br></div><div>* I recived email with content:<br></div><div><br></div><div><div>Routers changed to down:<br></div><div> 10.37.6.46:cisco:up<br></div><div><br></div><div>Added routers:</div><div> 10.37.6.46:cisco:up<br></div></div><div><br></div><div>Everything is fine, but I don't see downloaded configuration files after re-run rancid-run in each conf-directory</div><div><br></div><div><br></div><div><div>[rancid@blade11 ciscodev]$ ls -la /var/rancid/ciscodev/configs/</div><div>total 12</div><div>drwxr-x---. 3 rancid rancid 4096 Nov 2 17:02 .</div><div>drwxr-x---. 4 rancid rancid 4096 Nov 2 17:18 ..</div><div>drwxr-x---. 6 rancid rancid 4096 Nov 2 17:04 .svn</div></div><div><br></div><div>Test commands:</div><div><br></div><div>clogin -t 90 -c "show version" -f /var/rancid/.cloginrc 10.37.6.46<br></div><div>and</div><div>rancid -t cisco -d 10.37.6.46<br></div><div><br></div><div>working fine (login is ok and configuration downloading from device to 10.37.6.46.raw is ok).</div><div><br></div><div>Can you give me any suggestions what is wrong in my configuration and why i do not see<br></div><div>original configuration from my cisco device?</div><div><br></div><div>Also some strange content of file /var/rancid/ciscodevs/routers.down:</div><div>10:37.6.46:cisco:up</div><div><br></div><div>Thank you in advance!</div><div><br></div><div><br></div><div><br></div><div>My configuration of rancid (i'm using the SVN):</div><div><br></div><div>/etc/rancid/rancid.conf:</div><div><br clear="all"><div><div>TERM=network;export TERM</div><div>TMPDIR=/tmp; export TMPDIR<br></div><div>BASEDIR=/var/rancid; export BASEDIR</div><div>PATH=/usr/libexec/rancid:/usr/sbin:/usr/bin:/usr/sbin:/bin:/usr/local/bin:/usr/bin; export PATH</div><div>SENDMAIL="/usr/sbin/sendmail"</div><div><br></div><div>CVSROOT=$BASEDIR/SVN; export CVSROOT<br></div><div>LOGDIR=/var/log/rancid; export LOGDIR<br></div><div><br></div><div>RCSSYS=svn; export RCSSYS<br></div><div>NOPIPE=YES; export NOPIPE<br></div><div><br></div><div>FILTER_PWDS=NO; export FILTER_PWDS</div><div>NOCOMMSTR=NO; export NOCOMMSTR<br></div><div><br></div><div>MAX_ROUNDS=4; export MAX_ROUNDS<br></div><div>LIST_OF_GROUPS="ciscodev dlinkdev edgecoredev"<br></div></div><div><br></div><div><br></div><div>Working directory of rancid:</div><div><br></div><div><div>[rancid@blade11 rancid]$ ls -la</div><div>total 168</div><div>drwxr-x---. 9 rancid rancid 4096 Nov 2 17:02 .</div><div>drwxr-xr-x. 19 root root 4096 Oct 30 14:40 ..</div><div>-rw-rw-r--. 1 rancid rancid 20581 Nov 2 16:14 10.37.6.46.new</div><div>-rw-rw-r--. 1 rancid rancid 88221 Nov 2 16:14 10.37.6.46.raw</div><div>-rw-------. 1 rancid rancid 381 Oct 30 16:45 .bash_history</div><div>-rw-r--r--. 1 rancid rancid 18 Oct 16 2014 .bash_logout</div><div>-rw-r--r--. 1 rancid rancid 196 Oct 30 16:48 .bash_profile</div><div>-rw-r--r--. 1 rancid rancid 124 Oct 16 2014 .bashrc</div><div>drwxr-x---. 4 rancid rancid 4096 Nov 2 17:18 ciscodev</div><div>-rw-r-----. 1 rancid rancid 95 Nov 2 17:00 .cloginrc</div><div>drwxr-x---. 4 rancid rancid 4096 Nov 2 17:18 dlinkdev</div><div>drwxr-x---. 4 rancid rancid 4096 Nov 2 17:18 edgecoredev</div><div>drwxr-x---. 2 rancid rancid 4096 Oct 30 15:08 logs</div><div>drwx------. 2 rancid rancid 4096 Oct 30 14:56 .ssh</div><div>drwxr-x---. 3 rancid rancid 4096 Nov 2 17:02 .subversion</div><div>drwxr-x---. 6 rancid rancid 4096 Nov 2 17:02 SVN</div></div><div><br></div>-- <br><div class="gmail_signature">Serge P. Torop</div>
</div></div>