<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Scott,<BR>
<BR>
Please check in your router.db which vendor you setup. As per your log file , the script is trying to execute "system show XXXX", while the rancid script executes "show XXXX". <BR>
<BR>
I think you are using the rivrancid/rivlogin scripts for this devices. Instead of using clogin, try rivlogin -c 'system show XXXX' 192.168.150.1 (where XXXX is your comand)<BR> <BR>
<DIV id=SkyDrivePlaceholder></DIV>
Regards.<BR>
Mario<BR>
<BR>
<DIV>
<HR id=stopSpelling>
</DIV>
<DIV>Date: Fri, 5 Apr 2013 10:28:11 -0400<BR>From: sgilmour@enterasys.com<BR>To: rwest@zyedge.com<BR>CC: rancid-discuss@shrubbery.net<BR>Subject: Re: [rancid] Release Authorised RANCID Email Issue<BR><BR></DIV>
<DIV dir=ltr>Ryan,
<DIV>Here is the output:</DIV>
<DIV><BR></DIV>
<DIV>
<DIV>$ bin/rancid -d 192.168.150.1</DIV>
<DIV>executing clogin -t 90 -c"show version;show redundancy secondary;show idprom backplane;show install active;show env all;show rsp chassis-info;show gsr chassis;show diag chassis-info;show boot;show bootvar;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-bootdisk:;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 config;show controllers cbus;show diagbus;show diag;show capture;show module;show spe version;show c7200;show inventory raw;show vtp status;show vlan;show vlan-switch;show debug;show shun;more system:running-config;show running-config view full;show running-config;show config;write term" 192.168.150.1</DIV>
<DIV>sh: 1: clogin: not found</DIV>
<DIV><A href="http://192.168.150.1/" target=_blank>192.168.150.1</A>: missed cmd(s): dir /all slavedisk2:,show rsp chassis-info,show capture,dir /all sec-slot2:,show diag,dir /all disk1:,show gsr chassis,dir /all sec-nvram:,show diag chassis-info,dir /all disk2:,show running-config view full,dir /all sec-bootflash:,show spe version,dir /all slaveslot2:,dir /all disk0:,show install active,show bootvar,dir /all slaveslot0:,dir /all sec-slot1:,dir /all harddiska:,dir /all slavenvram:,show flash,dir /all sec-disk2:,dir /all slavesup-bootflash:,dir /all sec-disk0:,dir /all harddiskb:,show variables boot,show boot,show inventory raw,dir /all slavedisk1:,show env all,show module,show shun,show controllers,show diagbus,more system:running-config,dir /all slavedisk0:,show debug,show idprom backplane,dir /all bootflash:,dir /all sup-bootdisk:,dir /all sec-slot0:,show config,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:,dir /all nvram:,show version,show vlan-switch,show redundancy secondary,show running-config,show c7200,dir /all slot1:</DIV>
<DIV><A href="http://192.168.150.1/" target=_blank>192.168.150.1</A>: missed cmd(s): dir /all slavedisk2:,show rsp chassis-info,show capture,dir /all sec-slot2:,show diag,dir /all disk1:,show gsr chassis,dir /all sec-nvram:,show diag chassis-info,dir /all disk2:,show running-config view full,dir /all sec-bootflash:,show spe version,dir /all slaveslot2:,dir /all disk0:,show install active,show bootvar,dir /all slaveslot0:,dir /all sec-slot1:,dir /all harddiska:,dir /all slavenvram:,show flash,dir /all sec-disk2:,dir /all slavesup-bootflash:,dir /all sec-disk0:,dir /all harddiskb:,show variables boot,show boot,show inventory raw,dir /all slavedisk1:,show env all,show module,show shun,show controllers,show diagbus,more system:running-config,dir /all slavedisk0:,show debug,show idprom backplane,dir /all bootflash:,dir /all sup-bootdisk:,dir /all sec-slot0:,show config,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:,dir /all nvram:,show version,show vlan-switch,show redundancy secondary,show running-config,show c7200,dir /all slot1:</DIV>
<DIV><A href="http://192.168.150.1/" target=_blank>192.168.150.1</A>: End of run not found</DIV>
<DIV><A href="http://192.168.150.1/" target=_blank>192.168.150.1</A>: End of run not found</DIV>
<DIV>!</DIV>
<DIV>you have mail</DIV>
<DIV>$</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>Starting rancid-run</DIV>
<DIV> bin/rancid-run</DIV>
<DIV>/usr/local/rancid/var/logs/networking.20130405.102327</DIV>
<DIV><BR></DIV>
<DIV>starting: Fri Apr 5 10:23:27 EDT 2013</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>Trying to get all of the configs.</DIV>
<DIV><A href="http://192.168.200.1/" target=_blank>192.168.200.1</A>: missed cmd(s): system show hardware,system show version,system show active-config,system show uptime</DIV>
<DIV><A href="http://192.168.200.1/" target=_blank>192.168.200.1</A>: End of run not found</DIV>
<DIV><A href="http://192.168.150.1/" target=_blank>192.168.150.1</A>: missed cmd(s): system show hardware,system show version,system show active-config,system show uptime</DIV>
<DIV><A href="http://192.168.150.1/" target=_blank>192.168.150.1</A>: End of run not found</DIV>
<DIV><A href="http://192.168.200.4/" target=_blank>192.168.200.4</A>: missed cmd(s): system show hardware,system show version,system show active-config,system show uptime</DIV>
<DIV><A href="http://192.168.200.4/" target=_blank>192.168.200.4</A>: End of run not found</DIV>
<DIV>!</DIV>
<DIV>!</DIV>
<DIV>!</DIV>
<DIV>=====================================</DIV>
<DIV>Getting missed routers: round 1.</DIV>
<DIV><A href="http://192.168.200.4/" target=_blank>192.168.200.4</A>: missed cmd(s): system show hardware,system show version,system show active-config,system show uptime</DIV>
<DIV><A href="http://192.168.200.4/" target=_blank>192.168.200.4</A>: End of run not found</DIV>
<DIV><A href="http://192.168.200.1/" target=_blank>192.168.200.1</A>: missed cmd(s): system show hardware,system show version,system show active-config,system show uptime</DIV>
<DIV><A href="http://192.168.200.1/" target=_blank>192.168.200.1</A>: End of run not found</DIV>
<DIV>!</DIV>
<DIV><A href="http://192.168.150.1/" target=_blank>192.168.150.1</A>: missed cmd(s): system show hardware,system show version,system show active-config,system show uptime</DIV>
<DIV><A href="http://192.168.150.1/" target=_blank>192.168.150.1</A>: End of run not found</DIV>
<DIV>!</DIV>
<DIV>!</DIV>
<DIV>=====================================</DIV>
<DIV>Getting missed routers: round 2.</DIV>
<DIV><A href="http://192.168.150.1/" target=_blank>192.168.150.1</A>: missed cmd(s): system show hardware,system show version,system show active-config,system show uptime</DIV>
<DIV><A href="http://192.168.150.1/" target=_blank>192.168.150.1</A>: End of run not found</DIV>
<DIV><A href="http://192.168.200.1/" target=_blank>192.168.200.1</A>: missed cmd(s): system show hardware,system show version,system show active-config,system show uptime</DIV>
<DIV><A href="http://192.168.200.1/" target=_blank>192.168.200.1</A>: End of run not found</DIV>
<DIV><A href="http://192.168.200.4/" target=_blank>192.168.200.4</A>: missed cmd(s): system show hardware,system show version,system show active-config,system show uptime</DIV>
<DIV><A href="http://192.168.200.4/" target=_blank>192.168.200.4</A>: End of run not found</DIV>
<DIV>!</DIV>
<DIV>!</DIV>
<DIV>!</DIV>
<DIV>=====================================</DIV>
<DIV>Getting missed routers: round 3.</DIV>
<DIV><A href="http://192.168.150.1/" target=_blank>192.168.150.1</A>: missed cmd(s): system show hardware,system show version,system show active-config,system show uptime</DIV>
<DIV><A href="http://192.168.150.1/" target=_blank>192.168.150.1</A>: End of run not found</DIV>
<DIV><A href="http://192.168.200.1/" target=_blank>192.168.200.1</A>: missed cmd(s): system show hardware,system show version,system show active-config,system show uptime</DIV>
<DIV><A href="http://192.168.200.1/" target=_blank>192.168.200.1</A>: End of run not found</DIV>
<DIV><A href="http://192.168.200.4/" target=_blank>192.168.200.4</A>: missed cmd(s): system show hardware,system show version,system show active-config,system show uptime</DIV>
<DIV><A href="http://192.168.200.4/" target=_blank>192.168.200.4</A>: End of run not found</DIV>
<DIV>!</DIV>
<DIV>!</DIV>
<DIV>!</DIV>
<DIV>=====================================</DIV>
<DIV>Getting missed routers: round 4.</DIV>
<DIV><A href="http://192.168.200.1/" target=_blank>192.168.200.1</A>: missed cmd(s): system show hardware,system show version,system show active-config,system show uptime</DIV>
<DIV><A href="http://192.168.200.1/" target=_blank>192.168.200.1</A>: End of run not found</DIV>
<DIV><A href="http://192.168.200.4/" target=_blank>192.168.200.4</A>: missed cmd(s): system show hardware,system show version,system show active-config,system show uptime</DIV>
<DIV><A href="http://192.168.200.4/" target=_blank>192.168.200.4</A>: End of run not found</DIV>
<DIV>!</DIV>
<DIV><A href="http://192.168.150.1/" target=_blank>192.168.150.1</A>: missed cmd(s): system show hardware,system show version,system show active-config,system show uptime</DIV>
<DIV><A href="http://192.168.150.1/" target=_blank>192.168.150.1</A>: End of run not found</DIV>
<DIV>!</DIV>
<DIV>!</DIV>
<DIV><BR></DIV>
<DIV>cvs diff: Diffing .</DIV>
<DIV>cvs diff: Diffing configs</DIV>
<DIV>cvs commit: Examining .</DIV>
<DIV>cvs commit: Examining configs</DIV>
<DIV><BR></DIV>
<DIV>ending: Fri Apr 5 10:23:28 EDT 2013</DIV>
<DIV><BR></DIV></DIV></DIV>
<DIV class=ecxgmail_extra><BR><BR>
<DIV class=ecxgmail_quote>On Fri, Apr 5, 2013 at 9:37 AM, Ryan West <SPAN dir=ltr><<A href="mailto:rwest@zyedge.com" target=_blank>rwest@zyedge.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE style="BORDER-LEFT: #ccc 1px solid; PADDING-LEFT: 1ex" class=ecxgmail_quote>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 script.<BR>><BR>Try rancid -d 192.168.150.1 and post that. What's in your logs when you try rancid-run?<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>
<DIV><BR>_______________________________________________ Rancid-discuss mailing list Rancid-discuss@shrubbery.net http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</DIV>                                            </div></body>
</html>