Hi,<br><br>Let me guess, whel logging in with bin/clogin, you cannot enter any commands or hit return?<br><br>If this is the case, most probably the device you are accessing doesn't have an enable-mode and you should replace the 'autoenable' command in .clogin with 'noenable'.<br>
<br>Hope this helps.<br><br>Remy<br><br><div class="gmail_quote">2009/11/26 Ronni Jensen <span dir="ltr"><<a href="mailto:ronnij@gmail.com">ronnij@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hi,</div>
<div> </div>
<div>I hope you can help me getting rancid to work.</div>
<div> </div>
<div>When I run "bin/clogin 10.10.10.10" from rancid homedir, it logs into the target switch and enters enable mode - autoenable is set to 1. But after a little while, it disconnects again with message:</div>
<div> </div>
<div>---</div>
<div><i>Switch10#<br>Error: TIMEOUT reached</i></div>
<div>---</div>
<div> </div>
<div>When I run "bin/rancid-run switches", where switches is the group where 10.10.10.10 - and only that one switch for now - resides, I get the following in logfile:</div>
<div> </div>
<div> </div>
<div> </div>
<div><i>starting: Thu Nov 26 12:33:19 CET 2009</i></div>
<div><i></i> </div>
<div><i>Trying to get all of the configs.<br>10.10.10.10 clogin error: Error: TIMEOUT reached<br><a href="http://10.10.10.10" target="_blank">10.10.10.10</a>: missed cmd(s): admin show diag,dir /all slavedisk2:,show rsp chassis-info,dir /all sec-slot2:,show diag,dir /all disk1:,<br>
show gsr chassis,dir /all sec-nvram:,show diag chassis-info,dir /all disk2:,dir /all sec-bootflash:,show spe version,dir /all slaves<br>lot2:,dir /all disk0:,show install active,show bootvar,dir /all slaveslot0:,dir /all sec-slot1:,dir /all harddiska:,dir /all slavenv<br>
ram:,show flash,dir /all sec-disk2:,dir /all slavesup-bootflash:,dir /all sec-disk0:,dir /all harddiskb:,show variables boot,show bo<br>ot,show inventory raw,dir /all slavedisk1:,show env all,show module,admin show env all,show controllers,admin show version,show diag<br>
bus,more system:running-config,dir /all slavedisk0:,show debug,show idprom backplane,dir /all bootflash:,dir /all sec-slot0:,dir /al<br>l sec-disk1:,write term,show vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all harddisk:,dir /all slot0:,dir /all sup-micr<br>
ocode:,show vlan,dir /all slavebootflash:,show controllers cbus,dir /all slaveslot1:,dir /all nvram:,show version,show vlan-switch,a<br>dmin show variables boot,show redundancy secondary,show running-config,show c7200,dir /all slot1:<br>
<a href="http://10.10.10.10" target="_blank">10.10.10.10</a>: End of run not found<br>!<br>=====================================<br>Getting missed routers: round 1.<br>10.10.10.10 clogin error: Error: TIMEOUT reached<br>
<a href="http://10.10.10.10" target="_blank">10.10.10.10</a>: missed cmd(s): admin show diag,dir /all slavedisk2:,show rsp chassis-info,dir /all sec-slot2:,show diag,dir /all disk1:,<br>
show gsr chassis,dir /all sec-nvram:,show diag chassis-info,dir /all disk2:,dir /all sec-bootflash:,show spe version,dir /all slaves<br>lot2:,dir /all disk0:,show install active,show bootvar,dir /all slaveslot0:,dir /all sec-slot1:,dir /all harddiska:,dir /all slavenv<br>
ram:,show flash,dir /all sec-disk2:,dir /all slavesup-bootflash:,dir /all sec-disk0:,dir /all harddiskb:,show variables boot,show bo<br>ot,show inventory raw,dir /all slavedisk1:,show env all,show module,admin show env all,show controllers,admin show version,show diag<br>
bus,more system:running-config,dir /all slavedisk0:,show debug,show idprom backplane,dir /all bootflash:,dir /all sec-slot0:,dir /al<br>l sec-disk1:,write term,show vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all harddisk:,dir /all slot0:,dir /all sup-micr<br>
ocode:,show vlan,dir /all slavebootflash:,show controllers cbus,dir /all slaveslot1:,dir /all nvram:,show version,show vlan-switch,a<br>dmin show variables boot,show redundancy secondary,show running-config,show c7200,dir /all slot1:<br>
<a href="http://10.10.10.10" target="_blank">10.10.10.10</a>: End of run not found<br>!<br>=====================================<br>Getting missed routers: round 2.<br>10.10.10.10 clogin error: Error: TIMEOUT reached<br>
<a href="http://10.10.10.10" target="_blank">10.10.10.10</a>: missed cmd(s): admin show diag,dir /all slavedisk2:,show rsp chassis-info,dir /all sec-slot2:,show diag,dir /all disk1:,<br>
show gsr chassis,dir /all sec-nvram:,show diag chassis-info,dir /all disk2:,dir /all sec-bootflash:,show spe version,dir /all slaves<br>lot2:,dir /all disk0:,show install active,show bootvar,dir /all slaveslot0:,dir /all sec-slot1:,dir /all harddiska:,dir /all slavenv<br>
ram:,show flash,dir /all sec-disk2:,dir /all slavesup-bootflash:,dir /all sec-disk0:,dir /all harddiskb:,show variables boot,show bo<br>ot,show inventory raw,dir /all slavedisk1:,show env all,show module,admin show env all,show controllers,admin show version,show diag<br>
bus,more system:running-config,dir /all slavedisk0:,show debug,show idprom backplane,dir /all bootflash:,dir /all sec-slot0:,dir /al<br>l sec-disk1:,write term,show vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all harddisk:,dir /all slot0:,dir /all sup-micr<br>
ocode:,show vlan,dir /all slavebootflash:,show controllers cbus,dir /all slaveslot1:,dir /all nvram:,show version,show vlan-switch,a<br>dmin show variables boot,show redundancy secondary,show running-config,show c7200,dir /all slot1:<br>
<a href="http://10.10.10.10" target="_blank">10.10.10.10</a>: End of run not found<br>!<br>=====================================<br>Getting missed routers: round 3.<br>10.10.10.10 clogin error: Error: TIMEOUT reached<br>
<a href="http://10.10.10.10" target="_blank">10.10.10.10</a>: missed cmd(s): admin show diag,dir /all slavedisk2:,show rsp chassis-info,dir /all sec-slot2:,show diag,dir /all disk1:,<br>
show gsr chassis,dir /all sec-nvram:,show diag chassis-info,dir /all disk2:,dir /all sec-bootflash:,show spe version,dir /all slaves<br>lot2:,dir /all disk0:,show install active,show bootvar,dir /all slaveslot0:,dir /all sec-slot1:,dir /all harddiska:,dir /all slavenv<br>
ram:,show flash,dir /all sec-disk2:,dir /all slavesup-bootflash:,dir /all sec-disk0:,dir /all harddiskb:,show variables boot,show bo<br>ot,show inventory raw,dir /all slavedisk1:,show env all,show module,admin show env all,show controllers,admin show version,show diag<br>
bus,more system:running-config,dir /all slavedisk0:,show debug,show idprom backplane,dir /all bootflash:,dir /all sec-slot0:,dir /al<br>l sec-disk1:,write term,show vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all harddisk:,dir /all slot0:,dir /all sup-micr<br>
ocode:,show vlan,dir /all slavebootflash:,show controllers cbus,dir /all slaveslot1:,dir /all nvram:,show version,show vlan-switch,a<br>dmin show variables boot,show redundancy secondary,show running-config,show c7200,dir /all slot1:<br>
<a href="http://10.10.10.10" target="_blank">10.10.10.10</a>: End of run not found<br>!<br>=====================================<br>Getting missed routers: round 4.<br>10.10.10.10 clogin error: Error: TIMEOUT reached<br>
<a href="http://10.10.10.10" target="_blank">10.10.10.10</a>: missed cmd(s): admin show diag,dir /all slavedisk2:,show rsp chassis-info,dir /all sec-slot2:,show diag,dir /all disk1:,<br>
show gsr chassis,dir /all sec-nvram:,show diag chassis-info,dir /all disk2:,dir /all sec-bootflash:,show spe version,dir /all slaves<br>lot2:,dir /all disk0:,show install active,show bootvar,dir /all slaveslot0:,dir /all sec-slot1:,dir /all harddiska:,dir /all slavenv<br>
ram:,show flash,dir /all sec-disk2:,dir /all slavesup-bootflash:,dir /all sec-disk0:,dir /all harddiskb:,show variables boot,show bo<br>ot,show inventory raw,dir /all slavedisk1:,show env all,show module,admin show env all,show controllers,admin show version,show diag<br>
bus,more system:running-config,dir /all slavedisk0:,show debug,show idprom backplane,dir /all bootflash:,dir /all sec-slot0:,dir /al<br>l sec-disk1:,write term,show vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all harddisk:,dir /all slot0:,dir /all sup-micr<br>
ocode:,show vlan,dir /all slavebootflash:,show controllers cbus,dir /all slaveslot1:,dir /all nvram:,show version,show vlan-switch,a<br>dmin show variables boot,show redundancy secondary,show running-config,show c7200,dir /all slot1:<br>
<a href="http://10.10.10.10" target="_blank">10.10.10.10</a>: End of run not found<br>!</i></div>
<div><i>cvs diff: Diffing .<br>cvs diff: Diffing configs<br>cvs commit: Examining .<br>cvs commit: Examining configs</i></div>
<div><i>ending: Thu Nov 26 12:40:58 CET 2009</i></div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div>Any ideas how to solve the problem? I am using:</div>
<div> </div>
<div>- Fedora release 12 (Constantine)</div>
<div>- rancid 2.3.2</div>
<div>- expect-5.43.0-19.fc12.i686 (installed from yum)</div>
<div>- tcl-8.5.7-4.fc12.i686 (installed from yum)</div>
<div> </div>
<div>Best regards,</div>
<div>Ronni</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.cgi/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</a><br></blockquote></div><br><br clear="all"><br>-- <br>==========================================================<br>
<br>"The smell, you know that gasoline smell, the whole hill. Smelled like... victory."<br><br> (Lieutenant Colonel Bill Kilgore)<br><br>==========================================================<br>--<br><br>