<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri",sans-serif;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.EmailStyle22
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle23
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">You have a bunch of issues, but I agree, the "up to date" is an issue. I know almost nothing about CVS, it just plugged in and worked for me, so hopefully someone can work.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Many of the other errors are configuration and router change issues, e.g.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">The "refused" implies that device does not (or no longer) allow telnet. Whether it ever worked is another issue, but you need to get the login protocol (defined in .cloginrc) to match what the devices allow.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">A distantly related issue is the "host key … has changed". This is usually from a router change/upgrade, where ssh (used by rancid to pull configs) has stashed a key, and it is warning you that you may be seeing
a different device (e.g. a spoofing of some sort). You can clear these individually (log in as rancid, and ssh to the device, and follow what it prompts -- you may need to remove it from the indicated file entirely, it tells you the line), or just delete
the entire key file and let it rebuild, or (not a great idea if it's a general use machine for security reasons but OK if it's pure NMS) edit /etc/ssh/ssh_config and put in something like this:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormalCxSpMiddle" style="margin-left:1.0in;mso-add-space:auto;page-break-after:avoid">
<b>StrictHostKeyChecking no</b><b><o:p></o:p></b></p>
<p class="MsoNormalCxSpMiddle" style="margin-left:1.0in;mso-add-space:auto;page-break-after:avoid">
<b>userKnownHostsFile=/dev/null<o:p></o:p></b></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Doing that from memory, google for ssh key changes and you'll find lots of different approaches.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">The timeouts may be simply missing devices. The end of runs not found are usually devices not supported, or that have been entered with incorrect device types.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">It MAY be that the "up to date" checks are because these commands are all failing, or you might have a CVS problem. If it was me I'd fix some of these first (e.g. the SSH keys are easy to fix), and then run
it again and see if anything changes. In particular fix it for one listed in the up-to-date error (e.g. 192.168.215.10) and see if the up-to-date goes away when it can process the device.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Hopefully someone more CVS knowledgeable can advise on what that actually means.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Linwood<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Larry Larsen [mailto:llarsen@longlines.biz] <br>
<b>Sent:</b> Wednesday, October 17, 2018 9:49 AM<br>
<b>To:</b> on@LEFerguson.com; rancid-discuss@shrubbery.net<br>
<b>Subject:</b> RE: Rancid not updating<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Linwood;<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you for your assistance. Attached is the log. I think the biggest error is Up-to-Date check failed and I have to correct the errors first. I have tried a cvs update, but I get the error:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in">cvs update: No CVSROOT specified! Please use the `-d' option<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">cvs [update aborted]: or set the CVSROOT environment variable.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Any other assistance would be appreciated.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Thank you!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Larry L.<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> <a href="mailto:on@LEFerguson.com">on@LEFerguson.com</a> <<a href="mailto:on@LEFerguson.com">on@LEFerguson.com</a>>
<br>
<b>Sent:</b> Tuesday, October 16, 2018 5:24 PM<br>
<b>To:</b> Larry Larsen <<a href="mailto:llarsen@longlines.biz">llarsen@longlines.biz</a>>;
<a href="mailto:rancid-discuss@shrubbery.net">rancid-discuss@shrubbery.net</a><br>
<b>Subject:</b> RE: Rancid not updating<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Start by looking in the log file (usually in the rancid directory structure, try ~/var/rancid/logs (though I think depending on how installed it may be elsewhere). Find the latest log, look at it, see what is
happening.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><br>
If it's not there (i.e. no logs) rancid is probably not starting. Restarting it depends on linux variant, but if a reboot is possible just reboot.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">If the log is there and it gives an error, start with that as it should give a clue. Post results if you need further help after seeing that.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">There are also lots of debugging postings on the net (just try searching for rancid debug), indeed one technique is to follow the install instructions after the install where it describes how to test login, etc.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Linwood<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Rancid-discuss [<a href="mailto:rancid-discuss-bounces@shrubbery.net">mailto:rancid-discuss-bounces@shrubbery.net</a>]
<b>On Behalf Of </b>Larry Larsen<br>
<b>Sent:</b> Tuesday, October 16, 2018 5:00 PM<br>
<b>To:</b> <a href="mailto:rancid-discuss@shrubbery.net">rancid-discuss@shrubbery.net</a><br>
<b>Subject:</b> [rancid] Rancid not updating<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Community;<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoPlainText">I am new to the company, and my predecessor had setup Rancid to collect all our configs and do the comparisons. He also used CVS to display the configs on a webpage. I have no experience with Rancid nor CVS and I was wondering if I
could get some assistance. Here is my issue. I am a Windows guy, and am learning Linux.
<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">I made a small change on one of my routers to SNMP, and wanted to see if Rancid would pick it up. The date on the file still shows 7 months ago, and not the change I made earlier today. We make changes almost daily for VLANS, etc,
and nothing is showing updated. <o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">The schedule to download and send config difference emails is every hour. I have seen multiple emails, but nothing with my change in it. I also went into the Rancid directory structure in Linux and the date in there is also 7 months
old. Is there anything you can do to assist?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Larry L.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>