Jayant,<div><br></div><div>For my purposes, I have made the rancid tacacs user a full-access user and member of the Network Admin group.  This means enable upon login and full access.  But if you wanted to be really secure, you would simply need to give the rancid user access to the list of commands for your device type.  <br>
<br></div><div>As far as your issue goes, I am not sure.  I saw your debug output, but I didnt see any error messages.  Can you please post the full output of the bin/rancid -d for us again.  </div><div><br></div><div><div>
<br></div></div><div><br><div class="gmail_quote">On Mon, Oct 26, 2009 at 4:30 AM, Jayant Jape <span dir="ltr">&lt;<a href="mailto:Jayant.Jape@tikona.in">Jayant.Jape@tikona.in</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">Under /usr/local/rancid/var/logs.... im getting errors.<br>
<br>
Also Few queries Should rancid belong to root group and second since the user is also a tacacs user, will it suffice to have a monitor access.<br>
<br>
<br>
===============================================================================================<br>
Getting missed routers: round 4.<br>
write(spawn_id=1): broken pipe<br>
    while executing<br>
&quot;send_user -- &quot;$expect_out(buffer)&quot;&quot;<br>
    invoked from within<br>
&quot;expect -nobrace -re ^H+ { exp_continue } -re {^[^<br>
^M *]*Mum-Mha-CR0([^#&gt;\r\n]+)?[#&gt;](\([^)\r\n]+\))?} { send_user -- &quot;$expect_out(buffer)&quot;<br>
                                                } -re {...&quot;<br>
    invoked from within<br>
&quot;expect {<br>
            -re &quot;\b+&quot;                           { exp_continue }<br>
            -re &quot;^\[^\n\r *]*$reprompt&quot;         { send_user -- &quot;$expect_out(buffer)&quot;<br>
                                                }<br>
            -re &quot;^\[^\n\r]*$reprom...&quot;<br>
    (procedure &quot;run_commands&quot; line 39)<br>
    invoked from within<br>
&quot;run_commands $prompt $command&quot;<br>
    (&quot;foreach&quot; body line 149)<br>
    invoked from within<br>
&quot;foreach router [lrange $argv $i end] {<br>
    set router [string tolower $router]<br>
    # attempt at platform switching.<br>
    set platform &quot;&quot;<br>
    send_user ...&quot;<br>
    (file &quot;/usr/local/rancid/bin/clogin&quot; line 723)^M<br>
<a href="http://192.168.2.2" target="_blank">192.168.2.2</a>: missed cmd(s): admin show diag,dir /all slavedisk2:,dir /all sec-slot2:,show diag,dir /all disk1:,dir /all sec-nvram:,dir /all disk2:,dir /all sec-bootflash:,show spe version,dir /all slaveslot2:,dir /all disk0:,dir /all slaveslot0:,dir /all sec-slot1:,dir /all harddiska:,dir /all slavenvram:,dir /all sec-disk2:,dir /all slavesup-bootflash:,dir /all sec-disk0:,dir /all harddiskb:,show inventory raw,dir /all slavedisk1:,show module,show controllers,show diagbus,more system:running-config,dir /all slavedisk0:,show debug,dir /all bootflash:,dir /all sec-slot0:,dir /all sec-disk1:,write term,show vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all harddisk:,dir /all slot0:,dir /all sup-microcode:,show vlan,dir /all slavebootflash:,show controllers cbus,dir /all slaveslot1:,show vlan-switch,show running-config,show c7200,dir /all slot1:<br>

&lt;IP of router&gt;: 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: Mon Oct 26 13:01:40 IST 2009<br>
==============================================================================================================================<br>
<br>
<br>
<br>
<br>
With regards,<br>
Jayant<br>
<br>
<br>
-----Original Message-----<br>
From: john heasley [mailto:<a href="mailto:heas@shrubbery.net">heas@shrubbery.net</a>]<br>
Sent: Friday, October 23, 2009 9:57 PM<br>
To: Jayant Jape<br>
Subject: Re: [rancid] rancid error<br>
<br>
Fri, Oct 23, 2009 at 03:49:03PM +0530, Jayant Jape:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I have installed rancid on rhel 5,details of which are given below:<br>
&gt; Version of linux RHEL 5 os: 2.6.18-92.el5<br>
&gt; Version of rancid: rancid-2.3.2<br>
&gt; Im trying to backup a 7609 cisco router: Cisco IOS Software, c7600rsp72043_rp<br>
&gt;<br>
&gt; I have made entries in .cloginrc file:<br>
&gt; add password &lt;ip of router&gt; {passwd} {en-passwd}<br>
&gt; add method   &lt;ip of router&gt;  telnet<br>
&gt;<br>
&gt; Also made entry in router.db<br>
&gt; &lt;ip of router&gt;:cisco:up<br>
&gt;<br>
&gt; I seem to get empty config file for particular ip.I have checked the same with other switches it&#39;s the same.<br>
&gt;<br>
&gt; I have also checked if it goes into enable mode using bin/clogin &lt;ip&gt; command and doesn&#39;t seem to be a problem.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On checking I find I get this error below:<br>
&gt; [rancid@testserver ~]$ bin/rancid -d &lt;IP of router&gt;<br>
&gt; executing clogin -t 90 -c&quot;admin show version;show version;show redundancy secondary;show idprom backplane;show install active;admin show env all;show env all;show rsp chassis-info;show gsr chassis;show diag chassis-info;show boot;show bootvar;admin show variables boot;show variables boot;show flash;dir /all nvram:;dir /all bootflash:;dir /all slot0:;dir /all disk0:;dir /all slot1:;dir /all disk1:;dir /all slot2:;dir /all disk2:;dir /all harddisk:;dir /all harddiska:;dir /all harddiskb:;dir /all sup-bootflash:;dir /all sup-microcode:;dir /all slavenvram:;dir /all slavebootflash:;dir /all slaveslot0:;dir /all slavedisk0:;dir /all slaveslot1:;dir /all slavedisk1:;dir /all slaveslot2:;dir /all slavedisk2:;dir /all slavesup-bootflash:;dir /all sec-nvram:;dir /all sec-bootflash:;dir /all sec-slot0:;dir /all sec-disk0:;dir /all sec-slot1:;dir /all sec-disk1:;dir /all sec-slot2:;dir /all sec-disk2:;show controllers;show controllers cbus;show diagbus;admin show diag;show diag;show m<br>

 odule;show spe version;show c7200;show inventory raw;show vtp status;show vlan;show vlan-switch;show debug;more system:running-config;show running-config;write term&quot; &lt;Ip of router&gt;<br>
&gt;<br>
&gt; Could let me know what could be the problem.....?<br>
<br>
look in the log file for errors<br>
<br>
&gt; Thanks<br>
&gt; Jayant<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ________________________________<br>
&gt; Please do not print this email unless it is absolutely necessary.<br>
&gt;<br>
&gt; Warning : This message contains business confidential information . This message does not affect or modify any binding agreement nor state official policy of Tikona Digital Networks Pvt. Ltd. (&quot;TDN&quot; ) unless digitally signed by TDN&#39;s authorised signatory. TDN does not accept any liability for any errors, loss, delayed delivery, tampering, corruption or presence of viruses in this message or any attachment.<br>

&gt;<br>
<br>
&gt; _______________________________________________<br>
&gt; Rancid-discuss mailing list<br>
&gt; <a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
&gt; <a href="http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</a><br>
<br>
Please do not print this email unless it is absolutely necessary.<br>
<br>
Warning  : This message contains business confidential information . This message does not affect or modify any binding agreement nor state official policy of Tikona Digital Networks Pvt. Ltd. (&quot;TDN&quot; )  unless digitally signed by TDN&#39;s authorised signatory. TDN does not accept any liability for any errors, loss, delayed delivery, tampering, corruption or presence of viruses in this message or any attachment.<br>

<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.cgi/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</a><br>
<br>
Please do not print this email unless it is absolutely necessary.<br>
<br>
Warning  : This message contains business confidential information . This message does not affect or modify any binding agreement nor state official policy of Tikona Digital Networks Pvt. Ltd. (&quot;TDN&quot; )  unless digitally signed by TDN&#39;s authorised signatory. TDN does not accept any liability for any errors, loss, delayed delivery, tampering, corruption or presence of viruses in this message or any attachment.<br>

<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.cgi/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>It has to start somewhere, it has to start sometime.  What better place than here? What better time than now?<br>
</div>