<div dir="ltr">It appears that your .cloginrc file isn't correct or you're not running RANCID as the correct user. I suggest reading the README file that comes with the distribution.<div><br></div><div>The relevant portion:</div><div><br></div><div><div>4) Put .cloginrc in the home directory of the user who will run rancid.</div><div>   .cloginrc must be not be readable/writable/executable by "others",</div><div>   i.e.: .cloginrc must be mode 0600 or 0640.</div><div><br></div><div>5) Modify .cloginrc.</div><div><br></div><div>   Test to make sure that you can log into every router.</div><div><br></div><div>   Note: the juniper user you use *must* log into a cli shell (which</div><div>   is the default on a juniper).</div><div><br></div><div>   See the file cloginrc.sample, located in <datadir> (<basedir>/share/rancid),</div><div>   for examples and good starting point.  Also take a look at the cloginrc</div><div>   manual page, 'man -M <basedir>/man cloginrc'.</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 16, 2015 at 2:50 AM, Harsha S Aryan <span dir="ltr"><<a href="mailto:harsha.s.aryan@gmail.com" target="_blank">harsha.s.aryan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><br></div>hi i am getting error while running rancid<br><br>rancid@Nagios:/var/log/rancid$ /usr/bin/rancid-run<br>rancid@Nagios:/var/log/rancid$ cat routers.20151216.131929<br>starting: Wed Dec 16 13:19:29 IST 2015<br><br>cvs [status aborted]: cannot open file 10.172.60.10 for comparing: Permission denied<br><br><br>Trying to get all of the configs.<br>10.172.60.10 jlogin error: Error: password file (/var/lib/rancid/.cloginrc) does not exist<br><a href="http://10.172.60.10" target="_blank">10.172.60.10</a>: missed cmd(s): show system boot-messages,show version detail,show system core-dumps,show configuration,show chassis hardware detail,show chassis environment,show chassis cfeb,show chassis scb,show chassis firmware,show chassis feb,show chassis feb detail,show chassis clocks,show chassis alarms,show chassis ssb,show chassis routing-engine,show chassis fpc detail,show chassis sfm detail,show system license<br><a href="http://10.172.60.10" target="_blank">10.172.60.10</a>: End of run not found<br>#<br>=====================================<br>Getting missed routers: round 1.<br>10.172.60.10 jlogin error: Error: password file (/var/lib/rancid/.cloginrc) does not exist<br><a href="http://10.172.60.10" target="_blank">10.172.60.10</a>: missed cmd(s): show chassis feb,show chassis clocks,show configuration,show system core-dumps,show chassis sfm detail,show chassis environment,show chassis feb detail,show version detail,show chassis routing-engine,show chassis cfeb,show chassis ssb,show chassis hardware detail,show system license,show chassis fpc detail,show chassis alarms,show chassis firmware,show chassis scb,show system boot-messages<br><a href="http://10.172.60.10" target="_blank">10.172.60.10</a>: End of run not found<br>#<br>=====================================<br>Getting missed routers: round 2.<br>10.172.60.10 jlogin error: Error: password file (/var/lib/rancid/.cloginrc) does not exist<br><a href="http://10.172.60.10" target="_blank">10.172.60.10</a>: missed cmd(s): show chassis cfeb,show system core-dumps,show version detail,show chassis sfm detail,show chassis routing-engine,show chassis environment,show chassis fpc detail,show chassis scb,show chassis ssb,show chassis feb detail,show system boot-messages,show chassis firmware,show configuration,show chassis hardware detail,show chassis clocks,show system license,show chassis alarms,show chassis feb<br><a href="http://10.172.60.10" target="_blank">10.172.60.10</a>: End of run not found<br>#<br>=====================================<br>Getting missed routers: round 3.<br>10.172.60.10 jlogin error: Error: password file (/var/lib/rancid/.cloginrc) does not exist<br><a href="http://10.172.60.10" target="_blank">10.172.60.10</a>: missed cmd(s): show system license,show system boot-messages,show version detail,show chassis scb,show configuration,show system core-dumps,show chassis firmware,show chassis alarms,show chassis routing-engine,show chassis feb detail,show chassis ssb,show chassis feb,show chassis hardware detail,show chassis sfm detail,show chassis cfeb,show chassis clocks,show chassis environment,show chassis fpc detail<br><a href="http://10.172.60.10" target="_blank">10.172.60.10</a>: End of run not found<br>#<br>=====================================<br>Getting missed routers: round 4.<br>10.172.60.10 jlogin error: Error: password file (/var/lib/rancid/.cloginrc) does not exist<br><a href="http://10.172.60.10" target="_blank">10.172.60.10</a>: missed cmd(s): show chassis hardware detail,show chassis environment,show version detail,show system boot-messages,show chassis scb,show chassis routing-engine,show system license,show chassis firmware,show chassis feb detail,show chassis fpc detail,show chassis alarms,show chassis sfm detail,show chassis clocks,show chassis feb,show chassis ssb,show configuration,show chassis cfeb,show system core-dumps<br><a href="http://10.172.60.10" target="_blank">10.172.60.10</a>: End of run not found<br>#<br><br>cvs diff: Diffing .<br>cvs diff: Diffing configs<br>cvs commit: Examining .<br>cvs commit: Examining configs<br><br>ending: Wed Dec 16 13:19:30 IST 2015<br><br></div>can any one help me<span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><div><br>-- <br><div><div dir="ltr"><img alt="">Rehards,<div>Harsha </div></div></div>
</div></div></font></span></div>
<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/rancid-discuss" rel="noreferrer" target="_blank">http://www.shrubbery.net/mailman/listinfo/rancid-discuss</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Dan</div>
</div>