<div dir="ltr">Thanks Heasley,<div style>Now it is just Timing out when getting to the Username Prompt </div><div style>Username:</div><div style>Username:ERROR: Timeout on login Exiting</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Apr 11, 2013 at 10:47 AM, heasley <span dir="ltr"><<a href="mailto:heas@shrubbery.net" target="_blank">heas@shrubbery.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thu, Apr 11, 2013 at 10:38:33AM -0400, Gilmour, Scott:<br>
> Hi,<br>
> When I run bin/clogin 192.168.150.1 I can log into my Enterasys Switch.<br>
> Since I am using an Enterasys Switch I should be using rivlogin since this<br>
> is what rancid-run will use for my vendor.<br>
> But when I run rivlogin I get:<br>
> $ bin/rivlogin 192.168.150.1<br>
> 192.168.150.1<br>
> ERROR: no enable password found for 192.168.150.1 in<br>
> /usr/local/rancid/.cloginrc.<br>
> $<br>
><br>
> My Understanding if I do add autoenable 192.168.150.1 1 then the 1 would<br>
> tell the script not to use the enable password. Or is there something in<br>
> the script I need to change?<br>
> When I finally run the rancid-run I will edited the rivlogin script to do<br>
> just a show config or show config all.<br>
><br>
> # Rancid .cloginrc setup<br>
> add user 192.168.150.1 tacacssu<br>
> add password 192.168.150.1 tacacs<br>
> add autoenable 192.168.150.1 1<br>
> add method 192.168.150.1 ssh<br>
<br>
that script was written by guys from enterasys; it does not support autoenable<br>
like the other scripts. looking at the code, i suspect that if you just<br>
change the line to<br>
<br>
add password 192.168.150.1 {tacacs} {}<br>
<br>
it will work.<br>
<br>
> Thanks<br>
> Scott<br>
><br>
> On Fri, Apr 5, 2013 at 12:00 PM, Marito ... <<a href="mailto:me_gogorza@hotmail.com">me_gogorza@hotmail.com</a>> wrote:<br>
><br>
> > Scott,<br>
> ><br>
> > Please check in your router.db which vendor you setup. As per your log<br>
> > file , the script is trying to execute "system show XXXX", while the rancid<br>
> > script executes "show XXXX".<br>
> ><br>
> > I think you are using the rivrancid/rivlogin scripts for this<br>
> > devices. Instead of using clogin, try rivlogin -c 'system show XXXX'<br>
> > 192.168.150.1 (where XXXX is your comand)<br>
> ><br>
> > Regards.<br>
> > Mario<br>
> ><br>
> > ------------------------------<br>
> > Date: Fri, 5 Apr 2013 10:28:11 -0400<br>
> > From: <a href="mailto:sgilmour@enterasys.com">sgilmour@enterasys.com</a><br>
> > To: <a href="mailto:rwest@zyedge.com">rwest@zyedge.com</a><br>
> > CC: <a href="mailto:rancid-discuss@shrubbery.net">rancid-discuss@shrubbery.net</a><br>
> > Subject: Re: [rancid] Release Authorised RANCID Email Issue<br>
> ><br>
> > Ryan,<br>
> > Here is the output:<br>
> ><br>
> > $ bin/rancid -d 192.168.150.1<br>
> > executing clogin -t 90 -c"show version;show redundancy secondary;show<br>
> > idprom backplane;show install active;show env all;show rsp<br>
> > chassis-info;show gsr chassis;show diag chassis-info;show boot;show<br>
> > bootvar;show variables boot;show flash;dir /all nvram:;dir /all<br>
> > bootflash:;dir /all slot0:;dir /all disk0:;dir /all slot1:;dir /all<br>
> > disk1:;dir /all slot2:;dir /all disk2:;dir /all harddisk:;dir /all<br>
> > harddiska:;dir /all harddiskb:;dir /all sup-bootdisk:;dir /all<br>
> > sup-bootflash:;dir /all sup-microcode:;dir /all slavenvram:;dir /all<br>
> > slavebootflash:;dir /all slaveslot0:;dir /all slavedisk0:;dir /all<br>
> > slaveslot1:;dir /all slavedisk1:;dir /all slaveslot2:;dir /all<br>
> > slavedisk2:;dir /all slavesup-bootflash:;dir /all sec-nvram:;dir /all<br>
> > sec-bootflash:;dir /all sec-slot0:;dir /all sec-disk0:;dir /all<br>
> > sec-slot1:;dir /all sec-disk1:;dir /all sec-slot2:;dir /all sec-disk2:;show<br>
> > controllers;show config;show controllers cbus;show diagbus;show diag;show<br>
> > capture;show module;show spe version;show c7200;show inventory raw;show vtp<br>
> > status;show vlan;show vlan-switch;show debug;show shun;more<br>
> > system:running-config;show running-config view full;show<br>
> > running-config;show config;write term" 192.168.150.1<br>
> > sh: 1: clogin: not found<br>
> > <a href="http://192.168.150.1" target="_blank">192.168.150.1</a>: missed cmd(s): dir /all slavedisk2:,show rsp<br>
> > chassis-info,show capture,dir /all sec-slot2:,show diag,dir /all<br>
> > disk1:,show gsr chassis,dir /all sec-nvram:,show diag chassis-info,dir /all<br>
> > disk2:,show running-config view full,dir /all sec-bootflash:,show spe<br>
> > version,dir /all slaveslot2:,dir /all disk0:,show install active,show<br>
> > bootvar,dir /all slaveslot0:,dir /all sec-slot1:,dir /all harddiska:,dir<br>
> > /all slavenvram:,show flash,dir /all sec-disk2:,dir /all<br>
> > slavesup-bootflash:,dir /all sec-disk0:,dir /all harddiskb:,show variables<br>
> > boot,show boot,show inventory raw,dir /all slavedisk1:,show env all,show<br>
> > module,show shun,show controllers,show diagbus,more<br>
> > system:running-config,dir /all slavedisk0:,show debug,show idprom<br>
> > backplane,dir /all bootflash:,dir /all sup-bootdisk:,dir /all<br>
> > sec-slot0:,show config,dir /all sec-disk1:,write term,show vtp status,dir<br>
> > /all sup-bootflash:,dir /all slot2:,dir /all harddisk:,dir /all slot0:,dir<br>
> > /all sup-microcode:,show vlan,dir /all slavebootflash:,show controllers<br>
> > cbus,dir /all slaveslot1:,dir /all nvram:,show version,show<br>
> > vlan-switch,show redundancy secondary,show running-config,show c7200,dir<br>
> > /all slot1:<br>
> > <a href="http://192.168.150.1" target="_blank">192.168.150.1</a>: missed cmd(s): dir /all slavedisk2:,show rsp<br>
> > chassis-info,show capture,dir /all sec-slot2:,show diag,dir /all<br>
> > disk1:,show gsr chassis,dir /all sec-nvram:,show diag chassis-info,dir /all<br>
> > disk2:,show running-config view full,dir /all sec-bootflash:,show spe<br>
> > version,dir /all slaveslot2:,dir /all disk0:,show install active,show<br>
> > bootvar,dir /all slaveslot0:,dir /all sec-slot1:,dir /all harddiska:,dir<br>
> > /all slavenvram:,show flash,dir /all sec-disk2:,dir /all<br>
> > slavesup-bootflash:,dir /all sec-disk0:,dir /all harddiskb:,show variables<br>
> > boot,show boot,show inventory raw,dir /all slavedisk1:,show env all,show<br>
> > module,show shun,show controllers,show diagbus,more<br>
> > system:running-config,dir /all slavedisk0:,show debug,show idprom<br>
> > backplane,dir /all bootflash:,dir /all sup-bootdisk:,dir /all<br>
> > sec-slot0:,show config,dir /all sec-disk1:,write term,show vtp status,dir<br>
> > /all sup-bootflash:,dir /all slot2:,dir /all harddisk:,dir /all slot0:,dir<br>
> > /all sup-microcode:,show vlan,dir /all slavebootflash:,show controllers<br>
> > cbus,dir /all slaveslot1:,dir /all nvram:,show version,show<br>
> > vlan-switch,show redundancy secondary,show running-config,show c7200,dir<br>
> > /all slot1:<br>
> > <a href="http://192.168.150.1" target="_blank">192.168.150.1</a>: End of run not found<br>
> > <a href="http://192.168.150.1" target="_blank">192.168.150.1</a>: End of run not found<br>
> > !<br>
> > you have mail<br>
> > $<br>
> ><br>
> ><br>
> > Starting rancid-run<br>
> > bin/rancid-run<br>
> > /usr/local/rancid/var/logs/networking.20130405.102327<br>
> ><br>
> > starting: Fri Apr 5 10:23:27 EDT 2013<br>
> ><br>
> ><br>
> ><br>
> > Trying to get all of the configs.<br>
> > <a href="http://192.168.200.1" target="_blank">192.168.200.1</a>: missed cmd(s): system show hardware,system show<br>
> > version,system show active-config,system show uptime<br>
> > <a href="http://192.168.200.1" target="_blank">192.168.200.1</a>: End of run not found<br>
> > <a href="http://192.168.150.1" target="_blank">192.168.150.1</a>: missed cmd(s): system show hardware,system show<br>
> > version,system show active-config,system show uptime<br>
> > <a href="http://192.168.150.1" target="_blank">192.168.150.1</a>: End of run not found<br>
> > <a href="http://192.168.200.4" target="_blank">192.168.200.4</a>: missed cmd(s): system show hardware,system show<br>
> > version,system show active-config,system show uptime<br>
> > <a href="http://192.168.200.4" target="_blank">192.168.200.4</a>: End of run not found<br>
> > !<br>
> > !<br>
> > !<br>
> > =====================================<br>
> > Getting missed routers: round 1.<br>
> > <a href="http://192.168.200.4" target="_blank">192.168.200.4</a>: missed cmd(s): system show hardware,system show<br>
> > version,system show active-config,system show uptime<br>
> > <a href="http://192.168.200.4" target="_blank">192.168.200.4</a>: End of run not found<br>
> > <a href="http://192.168.200.1" target="_blank">192.168.200.1</a>: missed cmd(s): system show hardware,system show<br>
> > version,system show active-config,system show uptime<br>
> > <a href="http://192.168.200.1" target="_blank">192.168.200.1</a>: End of run not found<br>
> > !<br>
> > <a href="http://192.168.150.1" target="_blank">192.168.150.1</a>: missed cmd(s): system show hardware,system show<br>
> > version,system show active-config,system show uptime<br>
> > <a href="http://192.168.150.1" target="_blank">192.168.150.1</a>: End of run not found<br>
> > !<br>
> > !<br>
> > =====================================<br>
> > Getting missed routers: round 2.<br>
> > <a href="http://192.168.150.1" target="_blank">192.168.150.1</a>: missed cmd(s): system show hardware,system show<br>
> > version,system show active-config,system show uptime<br>
> > <a href="http://192.168.150.1" target="_blank">192.168.150.1</a>: End of run not found<br>
> > <a href="http://192.168.200.1" target="_blank">192.168.200.1</a>: missed cmd(s): system show hardware,system show<br>
> > version,system show active-config,system show uptime<br>
> > <a href="http://192.168.200.1" target="_blank">192.168.200.1</a>: End of run not found<br>
> > <a href="http://192.168.200.4" target="_blank">192.168.200.4</a>: missed cmd(s): system show hardware,system show<br>
> > version,system show active-config,system show uptime<br>
> > <a href="http://192.168.200.4" target="_blank">192.168.200.4</a>: End of run not found<br>
> > !<br>
> > !<br>
> > !<br>
> > =====================================<br>
> > Getting missed routers: round 3.<br>
> > <a href="http://192.168.150.1" target="_blank">192.168.150.1</a>: missed cmd(s): system show hardware,system show<br>
> > version,system show active-config,system show uptime<br>
> > <a href="http://192.168.150.1" target="_blank">192.168.150.1</a>: End of run not found<br>
> > <a href="http://192.168.200.1" target="_blank">192.168.200.1</a>: missed cmd(s): system show hardware,system show<br>
> > version,system show active-config,system show uptime<br>
> > <a href="http://192.168.200.1" target="_blank">192.168.200.1</a>: End of run not found<br>
> > <a href="http://192.168.200.4" target="_blank">192.168.200.4</a>: missed cmd(s): system show hardware,system show<br>
> > version,system show active-config,system show uptime<br>
> > <a href="http://192.168.200.4" target="_blank">192.168.200.4</a>: End of run not found<br>
> > !<br>
> > !<br>
> > !<br>
> > =====================================<br>
> > Getting missed routers: round 4.<br>
> > <a href="http://192.168.200.1" target="_blank">192.168.200.1</a>: missed cmd(s): system show hardware,system show<br>
> > version,system show active-config,system show uptime<br>
> > <a href="http://192.168.200.1" target="_blank">192.168.200.1</a>: End of run not found<br>
> > <a href="http://192.168.200.4" target="_blank">192.168.200.4</a>: missed cmd(s): system show hardware,system show<br>
> > version,system show active-config,system show uptime<br>
> > <a href="http://192.168.200.4" target="_blank">192.168.200.4</a>: End of run not found<br>
> > !<br>
> > <a href="http://192.168.150.1" target="_blank">192.168.150.1</a>: missed cmd(s): system show hardware,system show<br>
> > version,system show active-config,system show uptime<br>
> > <a href="http://192.168.150.1" target="_blank">192.168.150.1</a>: End of run not found<br>
> > !<br>
> > !<br>
> ><br>
> > cvs diff: Diffing .<br>
> > cvs diff: Diffing configs<br>
> > cvs commit: Examining .<br>
> > cvs commit: Examining configs<br>
> ><br>
> > ending: Fri Apr 5 10:23:28 EDT 2013<br>
> ><br>
> ><br>
> ><br>
> > On Fri, Apr 5, 2013 at 9:37 AM, Ryan West <<a href="mailto:rwest@zyedge.com">rwest@zyedge.com</a>> wrote:<br>
> ><br>
> > On Fri, Apr 05, 2013 at 08:14:19, Gilmour, Scott wrote:<br>
> > > Subject: Re: [rancid] Release Authorised RANCID Email Issue<br>
> > ><br>
> > > Yes I can do for example bin/clogin -c 'show config' 192.168.150.1<br>
> > > and that logs in without any issue.<br>
> > > If I do a bin/rancid-run that is where my issue is occurring. I am<br>
> > > debugging the script to see if there is something I need to edit in the<br>
> > script.<br>
> > ><br>
> > Try rancid -d 192.168.150.1 and post that. What's in your logs when you<br>
> > try rancid-run?<br>
> ><br>
> ><br>
> ><br>
> ><br>
> > --<br>
> ><br>
> > Scott Gilmour | SQA Engineer<br>
> ><br>
> > Enterasys Networks | A Siemens Enterprise Communications Company<br>
> ><br>
> > Office: <a href="tel:%28603%29%20952-5924" value="+16039525924">(603) 952-5924</a><br>
> ><br>
> > Email: <a href="mailto:sgilmour@enterasys.com">sgilmour@enterasys.com</a><br>
> ><br>
> > _______________________________________________ Rancid-discuss mailing<br>
> > list <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>
><br>
><br>
><br>
> --<br>
><br>
> Scott Gilmour | SQA Engineer<br>
><br>
> Enterasys Networks | A Siemens Enterprise Communications Company<br>
><br>
> Office: <a href="tel:%28603%29%20952-5924" value="+16039525924">(603) 952-5924</a><br>
><br>
> Email: <a href="mailto:sgilmour@enterasys.com">sgilmour@enterasys.com</a><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>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><p style="MARGIN:0in 0in 0pt"><span style="COLOR:black"><font size="3"><font face="Calibri">Scott Gilmour | SQA Engineer</font></font></span></p>
<p style="MARGIN:0in 0in 0pt"><span style="COLOR:black"><font size="3"><font face="Calibri">Enterasys Networks | A Siemens Enterprise Communications Company</font></font></span></p>
<p style="MARGIN:0in 0in 0pt"><span style="COLOR:black"><font size="3"><font face="Calibri">Office: (603) 952-5924</font></font></span></p>
<p style="MARGIN:0in 0in 0pt"><font face="Calibri"><span style="COLOR:black"><font size="3">Email: </font></span><span style="COLOR:blue"><a href="mailto:sgilmour@enterasys.com" target="_blank"><font size="3">sg</font><font size="3">ilmour@enterasys.com</font></a></span></font></p>
</div>