<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap:break-word; color:rgb(0,0,0); font-size:14px; font-family:Calibri,sans-serif">
<div>
<div>
<div>The .cloginrc doesn't have the proper permissions set for the rancid user. Or are you running it as someone else?</div>
<div><br>
</div>
<div><br>
</div>
<div>Mine is</div>
<div><br>
</div>
<div>
<div>-rw-rw----. 2 apache rancid 4429 Aug 27 10:12 .cloginrc</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>I tend to login as the rancid user,  sudo su – rancid   for testing purposes, since I disallow ssh login to the server for any user except normal users…</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>
<div>-- </div>
<div style="font-size:12px; font-family:Consolas,monospace">Thanks,</div>
<div style="font-size:12px; font-family:Consolas,monospace"><br>
</div>
<div style="font-size:12px; font-family:Consolas,monospace">Tom Simpson</div>
<div style="font-size:12px; font-family:Consolas,monospace">LAN/WAN Engineer</div>
<div style="font-size:12px; font-family:Consolas,monospace">Forcht Group of Kentucky</div>
<div style="font-size:12px; font-family:Consolas,monospace">859.259.9700 x538</div>
<div style="font-size:12px; font-family:Consolas,monospace"><br>
</div>
<div style="font-size:12px; font-family:Consolas,monospace">"We all knew there was just one way to improve our odds for survival:</div>
<div style="font-size:12px; font-family:Consolas,monospace">train, train, train. Sometimes, if your training is properly intense it</div>
<div style="font-size:12px; font-family:Consolas,monospace">will kill you. More often -- much, much more often -- it will save your</div>
<div style="font-size:12px; font-family:Consolas,monospace">life."  - Richard Marcinko, former US Navy SEAL Team Commander</div>
</div>
</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; border-bottom:medium none; border-left:medium none; padding-bottom:0in; padding-left:0in; padding-right:0in; border-top:#b5c4df 1pt solid; border-right:medium none; padding-top:3pt">
<span style="font-weight:bold">From: </span>Ryan Milton <<a href="mailto:rmilton@mvsusa.com">rmilton@mvsusa.com</a>><br>
<span style="font-weight:bold">Date: </span>Thursday, September 12, 2013 10:59 AM<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:rancid-discuss@shrubbery.net">rancid-discuss@shrubbery.net</a>" <<a href="mailto:rancid-discuss@shrubbery.net">rancid-discuss@shrubbery.net</a>><br>
<span style="font-weight:bold">Subject: </span>[rancid] Permissions and files<br>
</div>
<div><br>
</div>
<div><style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:"Century Gothic"}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Century Gothic","sans-serif";
        color:#003399}
h1
        {margin-top:12.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:16.0pt;
        font-family:"Century Gothic","sans-serif";
        color:#003399}
h2
        {margin-top:2.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:14.0pt;
        font-family:"Century Gothic","sans-serif";
        color:#003399;
        font-weight:normal}
h3
        {margin-top:2.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:13.0pt;
        font-family:"Century Gothic","sans-serif";
        color:#003399;
        font-weight:normal}
h4
        {margin-top:2.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:14.0pt;
        font-family:"Century Gothic","sans-serif";
        color:#003399;
        font-weight:normal}
h5
        {margin-top:2.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:13.0pt;
        font-family:"Century Gothic","sans-serif";
        color:#003399;
        font-weight:normal}
h6
        {margin-top:2.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:11.0pt;
        font-family:"Century Gothic","sans-serif";
        color:#003399;
        font-weight:normal}
a:link, span.MsoHyperlink
        {color:#3366FF;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:#9900FF;
        text-decoration:underline}
span.EmailStyle17
        {color:#003399}
span.Heading1Char
        {font-family:"Century Gothic","sans-serif";
        color:#003399;
        font-weight:bold}
span.Heading2Char
        {font-family:"Century Gothic","sans-serif";
        color:#003399}
span.Heading3Char
        {font-family:"Century Gothic","sans-serif";
        color:#003399}
span.Heading4Char
        {font-family:"Century Gothic","sans-serif";
        color:#003399}
span.Heading5Char
        {font-family:"Century Gothic","sans-serif";
        color:#003399}
span.Heading6Char
        {font-family:"Century Gothic","sans-serif";
        color:#003399}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
        {}
-->
</style>
<div bgcolor="white" background="cid:image001.gif@01CEAFA7.05398CE0" lang="EN-US">
<img src="cid:image001.gif@01CEAFA7.05398CE0" width="0" height="0" class="shape" style="width:0; height:0">
<div class="WordSection1">
<p class="MsoNormal">I don’t know where to go on this. I can’t tell if my Rancid configuration is even working. I’m at the point of testing rancid-run manually to see what happens. I am getting a combination of “Permission Denied” errors on the .cloginrc file,
 “End of Run Not found” errors, and some others that I excerpted below. That said, I have an example of the file in /var/log/rancid from today and from Friday:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">sudo -i su -c /var/lib/rancid/bin/rancid-run -s /bin/bash -l rancid</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">gets me: </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">starting: Thu Sep 12 10:53:28 EDT 2013</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">ending: Thu Sep 12 10:53:28 EDT 2013</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">VS:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">starting: Fri Sep 6 15:57:50 EDT 2013</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">/usr/lib/rancid/bin/control_rancid: 206: /usr/lib/rancid/bin/control_rancid: cannot create routers.db: Permission denied</p>
<p class="MsoNormal">comm: file 2 is not in sorted order</p>
<p class="MsoNormal">comm: file 2 is not in sorted order</p>
<p class="MsoNormal">comm: file 2 is not in sorted order</p>
<p class="MsoNormal">cvs add: scheduling file `94.229.11.1' for addition</p>
<p class="MsoNormal">cvs add: use `cvs commit' to add this file permanently</p>
<p class="MsoNormal">/var/lib/rancid/CVS/MVSNetwork/configs/94.229.11.1,v  <--  94.229.11.1</p>
<p class="MsoNormal">initial revision: 1.1</p>
<p class="MsoNormal">Added 94.229.11.1</p>
<p class="MsoNormal">cvs add: scheduling file `94.229.11.2' for addition</p>
<p class="MsoNormal">cvs add: use `cvs commit' to add this file permanently</p>
<p class="MsoNormal">/var/lib/rancid/CVS/MVSNetwork/configs/94.229.11.2,v  <--  94.229.11.2</p>
<p class="MsoNormal">initial revision: 1.1</p>
<p class="MsoNormal">Added 94.229.11.2</p>
<p class="MsoNormal">cvs add: scheduling file `94.229.11.3' for addition</p>
<p class="MsoNormal">cvs add: use `cvs commit' to add this file permanently</p>
<p class="MsoNormal">/var/lib/rancid/CVS/MVSNetwork/configs/94.229.11.3,v  <--  94.229.11.3</p>
<p class="MsoNormal">initial revision: 1.1</p>
<p class="MsoNormal">Added 94.229.11.3</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">***TRUNCATED***</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">94.229.11.2 jlogin error: Error: couldn't read file "/home/rancid/.cloginrc": permission denied</p>
<p class="MsoNormal">94.229.11.2: missed cmd(s): show chassis alarms,show chassis hardware detail,show system license,show chassis scb,show chassis feb,show chassis routing-engine,show chassis firmware,show version detail,show chassis feb detail,show configuration,show
 system boot-messages,show chassis cfeb,show chassis clocks,show chassis sfm detail,show chassis ssb,show chassis fpc detail,show chassis environment,show system core-dumps</p>
<p class="MsoNormal">94.229.11.2: End of run not found</p>
<p class="MsoNormal">94.229.11.3 jlogin error: Error: couldn't read file "/home/rancid/.cloginrc": permission denied</p>
<p class="MsoNormal">94.229.11.3: missed cmd(s): show chassis alarms,show chassis hardware detail,show system license,show chassis scb,show chassis feb,show chassis routing-engine,show chassis firmware,show version detail,show chassis feb detail,show configuration,show
 system boot-messages,show chassis cfeb,show chassis clocks,show chassis sfm detail,show chassis ssb,show chassis fpc detail,show chassis environment,show system core-dumps</p>
<p class="MsoNormal">94.229.11.3: End of run not found</p>
<p class="MsoNormal">94.229.11.1 jlogin error: Error: couldn't read file "/home/rancid/.cloginrc": permission denied</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">***TRUNCATED***</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">94.229.14.250: missed cmd(s): show stack,show module,show flash,show version,show system-information,write term,show system information</p>
<p class="MsoNormal">94.229.14.250: End of run not found</p>
<p class="MsoNormal">;</p>
<p class="MsoNormal">unknown router manufacturer for 94.229.11.218: junper</p>
<p class="MsoNormal">94.229.11.92 clogin error: Error: couldn't read file "/home/rancid/.cloginrc": permission denied</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">***TRUNCATED***</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">94.229.11.210: missed cmd(s): show chassis alarms,show chassis hardware detail,show system license,show chassis scb,show chassis feb,show chassis routing-engine,show chassis firmware,show version detail,show chassis feb detail,show configuration,show
 system boot-messages,show chassis cfeb,show chassis clocks,show chassis sfm detail,show chassis ssb,show chassis fpc detail,show chassis environment,show system core-dumps</p>
<p class="MsoNormal">94.229.11.210: End of run not found</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="font-size:11pt; font-family:Calibri,sans-serif">Regards,</span></p>
<p class="MsoNormal"><span style="font-size:11pt; font-family:Calibri,sans-serif">Ryan Milton</span></p>
<p class="MsoNormal"><span style="font-size:11pt; font-family:Calibri,sans-serif">MVS Network Manager</span></p>
<p class="MsoNormal"><span style="font-size:11pt; font-family:Calibri,sans-serif">o: 201-447-1505 x124</span></p>
<p class="MsoNormal"><span style="font-size:11pt; font-family:Calibri,sans-serif">c: 862-249-5230</span></p>
<p class="MsoNormal"><span style="font-size:11pt; font-family:Calibri,sans-serif"><a href="http://www.mvsusa.com/"><span style="color:#0563C1">www.mvsusa.com</span></a></span></p>
<p class="MsoNormal"><span style="font-size:11pt; font-family:Calibri,sans-serif"><img border="0" width="192" height="76" id="Picture_x0020_1" src="cid:image004.jpg@01CEAFA7.143AA530" alt="MVS final logo GOOD very small"></span></p>
<p class="MsoNormal"> </p>
</div>
</div>
</div>
</span><br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
CONFIDENTIALITY NOTICE:<br>
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received
 this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore
 does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.<br>
<br>
Forcht Group IT, 2400 South Main Street, Corbin, Ky.<br>
</font>
</body>
</html>