<div dir="ltr">Hello!,<div><br></div><div>How I can fix the problem when I run rancid for ZTE Router?. I get this error: <b>End of run not found</b></div><div><br></div><div>the two file 172.17.1.6.new and 172.17.1.6.raw don't show any error!.</div><div><br></div><div>NOPIPE=yes ./rancid -d -t cisco 172.17.1.6<br></div><div><br></div><div>loadtype: device type cisco<br>loadtype: found device type cisco in /usr/local/rancid/etc/rancid.types.base<br>executing clogin -t 90 -c"show version;show install active;show vlan;show running-config" 172.17.1.6<br>PROMPT MATCH: RT-ZTE#<br>HIT COMMAND:
RT-ZTE #show version<br> In ShowVersion:
RT-ZTE #show version<br>HIT COMMAND:
RT-ZTE #show install active<br> In ShowInstallActive:
RT-ZTE #show install active<br>HIT COMMAND:
RT-ZTE #show vlan<br> In ShowVLAN:
RT-ZTE #show vlan<br>HIT COMMAND:
RT-ZTE #show running-config<br> In WriteTerm:
RT-ZTE #show running-config<br><b><a href="http://172.17.1.6">172.17.1.6</a>: End of run not found</b><br><a href="http://172.17.1.6">172.17.1.6</a>: clean_run is false<br><a href="http://172.17.1.6">172.17.1.6</a>: found_end is false<br>!</isis><br></div><div><br></div><div><br></div><div><br></div><div>Thanks!</div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 19, 2019 at 3:02 PM Nick Nauwelaerts <<a href="mailto:nick.nauwelaerts@aquafin.be">nick.nauwelaerts@aquafin.be</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="NL-BE">
<div class="gmail-m_3858026463659725370WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">iirc:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">; is to seperate commands and wil execute the whole command string without checking the return value of the previous command<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">&& will do the same, but if previous command returns not null (you can check the return code of the previous command with "echo $?") it
will end the command list.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">the syntax is question "NOPIPE=yes" will set the environment variable NOPIPE but only for the context of the command that's executed.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">appending ; between NOPIPE=yes & the command will _NOT_ do what you expect; it will execute and empty cmd with nopipe env set to yes,
then execute your command with default envvars.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">you can compare:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">AHHA=aha env | grep -i aha<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">output -> AHHA=aha<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">AHHA=aha; env | grep -i aha<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">output -> nothing<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">export with set the envvar for your current session:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">env | grep -i nop<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">-> output nothing<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">export NOPIPE=yes<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">env | grep -i nop<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">output ->NOPIPE=yes<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">all examples done in bash instead of my preferred zsh. if you use csh/tcsh or fish i would guess you know what you're doing and can adapt
the config to work.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">bottom line, this is correct for most bourne shell derivatives:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">NOPIPE=yes rancid -d -t <type> <devicename><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">here's the catch, if you run rancid from cron you will either need to uncomment the NOPIPE line in yr rancid.conf or add them to your
crontab entry.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">side note:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">the next rancid version will most likely change this behaviour:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif"><a href="https://github.com/haussli/rancid/commit/94318333c8f0d746abdd22cf4430636a394def8f" target="_blank">https://github.com/haussli/rancid/commit/94318333c8f0d746abdd22cf4430636a394def8f</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">// nick<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif"><u></u> <u></u></span></p>
<div style="border-top:none;border-right:none;border-bottom:none;border-left:1.5pt solid blue;padding:0cm 0cm 0cm 4pt">
<div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm">
<p class="MsoNormal"><b><span lang="NL">From:</span></b><span lang="NL"> Rancid-discuss [mailto:<a href="mailto:rancid-discuss-bounces@shrubbery.net" target="_blank">rancid-discuss-bounces@shrubbery.net</a>]
<b>On Behalf Of </b>Gauthier, Chris<br>
<b>Sent:</b> Tuesday, June 18, 2019 00:10<br>
<b>To:</b> Piegorsch, Weylin William <<a href="mailto:weylin@bu.edu" target="_blank">weylin@bu.edu</a>>; Michael Newton <<a href="mailto:mnewton@pofp.com" target="_blank">mnewton@pofp.com</a>>; Vacheslav Zouhairy <<a href="mailto:m_zouhairy@skno.by" target="_blank">m_zouhairy@skno.by</a>><br>
<b>Cc:</b> <a href="mailto:rancid-discuss@shrubbery.net" target="_blank">rancid-discuss@shrubbery.net</a><br>
<b>Subject:</b> Re: [rancid] Unable to figure out "end of run not found"<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-US">Interesting. I thought it would get mixed up into the value of the variable…. I’m not an expert programmer at all, but thought I needed to use the ; to separate the commands appropriately. But, my expertise on shell
variables is a tad (understatement, really) limited. So, I shall defer! :)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Cheers,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Chris<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<div>
<table class="gmail-m_3858026463659725370MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100%">
<tbody>
<tr>
<td valign="top" style="padding:0cm">
<table class="gmail-m_3858026463659725370MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:7.5pt 0cm">
<table class="gmail-m_3858026463659725370MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100%">
<tbody>
<tr>
<td valign="top" style="padding:0cm">
<table class="gmail-m_3858026463659725370MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:0cm">
<table class="gmail-m_3858026463659725370MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:0cm">
<p class="MsoNormal"><b><span style="font-family:Arial,sans-serif;color:rgb(228,61,48)">Chris</span></b><b><span style="font-size:1pt;font-family:remialcxesans,serif;color:white"></span></b><b><span style="font-family:Arial,sans-serif;color:rgb(228,61,48)"> <u></u><u></u></span></b></p>
</td>
<td valign="top" style="padding:0cm">
<p class="MsoNormal"><b><span style="font-family:Arial,sans-serif;color:rgb(228,61,48)">Gauthier<u></u><u></u></span></b></p>
</td>
<td valign="top" style="padding:0cm">
<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:rgb(68,68,68)"> Senior Network Engineer<u></u><u></u></span></p>
</td>
<td valign="top" style="padding:0cm">
<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:rgb(228,61,48)"> | <u></u><u></u></span></p>
</td>
<td valign="top" style="padding:0cm">
<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:rgb(68,68,68)">Comscore<u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td valign="top" style="padding:0cm">
<table class="gmail-m_3858026463659725370MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:2.25pt 0cm 0cm">
<table class="gmail-m_3858026463659725370MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:0cm">
<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:rgb(68,68,68)">t +1 <a href="tel:(503)%20331-2704" id="gmail-m_3858026463659725370LPlnk689713" target="_blank"><strong><span style="font-family:Arial,sans-serif;color:rgb(68,68,68);font-weight:normal;text-decoration:none">(503) 331-2704</span></strong></a><u></u><u></u></span></p>
</td>
<td valign="top" style="padding:0cm">
<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:rgb(228,61,48)"> | <u></u><u></u></span></p>
</td>
<td valign="top" style="padding:0cm">
<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:rgb(68,68,68)"><a href="mailto:cgauthier@comscore.com" id="gmail-m_3858026463659725370LPlnk689713" target="_blank"><strong><span style="font-family:Arial,sans-serif;color:rgb(68,68,68);font-weight:normal;text-decoration:none">cgauthier@comscore.com</span></strong></a><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td valign="top" style="padding:0cm">
<table class="gmail-m_3858026463659725370MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:1.5pt 0cm 0cm">
<table class="gmail-m_3858026463659725370MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:0cm">
<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:rgb(68,68,68)"><a href="http://www.comscore.com/" id="gmail-m_3858026463659725370LPlnk689713" target="_blank"><strong><span style="font-family:Arial,sans-serif;color:rgb(5,99,193);font-weight:normal;text-decoration:none">comscore.com</span></strong></a><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td valign="top" style="padding:0cm">
<table class="gmail-m_3858026463659725370MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:7.5pt 0cm 1.5pt">
<table class="gmail-m_3858026463659725370MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:0cm">
<table class="gmail-m_3858026463659725370MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="0" style="width:375pt">
<tbody>
<tr>
<td style="padding:0cm">
<p class="MsoNormal" style="text-align:justify"><span style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(68,68,68)">This e-mail (including any attachments) may contain information that is private, confidential, or protected by attorney-client or other
privilege. If you received this e-mail in error, please delete it from your system and notify sender.<u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(181,196,223);padding:3pt 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:12pt;color:black">From:
</span></b><span lang="EN-US" style="font-size:12pt;color:black">"Piegorsch, Weylin William" <<a href="mailto:weylin@bu.edu" target="_blank">weylin@bu.edu</a>><br>
<b>Date: </b>Monday, June 17, 2019 at 2:05 PM<br>
<b>To: </b>"Gauthier, Chris" <<a href="mailto:cgauthier@comscore.com" target="_blank">cgauthier@comscore.com</a>>, Michael Newton <<a href="mailto:mnewton@pofp.com" target="_blank">mnewton@pofp.com</a>>, Vacheslav Zouhairy <<a href="mailto:m_zouhairy@skno.by" target="_blank">m_zouhairy@skno.by</a>><br>
<b>Cc: </b>"<a href="mailto:rancid-discuss@shrubbery.net" target="_blank">rancid-discuss@shrubbery.net</a>" <<a href="mailto:rancid-discuss@shrubbery.net" target="_blank">rancid-discuss@shrubbery.net</a>><br>
<b>Subject: </b>Re: [rancid] Unable to figure out "end of run not found"<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12pt"><span lang="EN-US" style="font-family:Arial,sans-serif;color:black">I actually don't use the semicolon. Not sure if this is bash specific, sh specific, or posix general, but without the semicolon it sets the
global environment variable only for the duration of that command following the variable definition, and unset it upon returning control to the cli. See also your "export" comment, which has correlating implications regarding environment vs namespace vs scope.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12pt"><span lang="EN-US" style="font-family:Arial,sans-serif;color:black">But I'm not an experienced programmer, and don't pretend to grok the various nuances, benefits, and pitfalls known by those who actually
know what they're doing, so if using the semicolon is better I all ears.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12pt"><span lang="EN-US" style="font-family:Arial,sans-serif;color:black">weylin<u></u><u></u></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:Arial,sans-serif;color:black">Sent from Outlook on my 'Droid
<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:Arial,sans-serif;color:black"><u></u> <u></u></span></p>
</div>
<div class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US">
<hr size="2" width="98%" align="center">
</span></div>
<div id="gmail-m_3858026463659725370divRplyFwdMsg">
<p class="MsoNormal"><b><span lang="EN-US" style="color:black">From:</span></b><span lang="EN-US" style="color:black"> Gauthier, Chris <<a href="mailto:cgauthier@comscore.com" target="_blank">cgauthier@comscore.com</a>><br>
<b>Sent:</b> Monday, June 17, 2019 4:22:02 PM<br>
<b>To:</b> Piegorsch, Weylin William; Michael Newton; Vacheslav Zouhairy<br>
<b>Cc:</b> <a href="mailto:rancid-discuss@shrubbery.net" target="_blank">rancid-discuss@shrubbery.net</a><br>
<b>Subject:</b> Re: [rancid] Unable to figure out "end of run not found"</span><span lang="EN-US">
<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Don’t forget the ; between the NOPIPE=yes and the rest of the command! :-)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Some flavors of linux also want you to use the export command..<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p>
<div>
<table class="gmail-m_3858026463659725370MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100%">
<tbody>
<tr>
<td valign="top" style="padding:0cm">
<table class="gmail-m_3858026463659725370MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:7.5pt 0cm">
<table class="gmail-m_3858026463659725370MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100%">
<tbody>
<tr>
<td valign="top" style="padding:0cm">
<table class="gmail-m_3858026463659725370MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:0cm">
<table class="gmail-m_3858026463659725370MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:0cm">
<p class="MsoNormal"><b><span style="font-family:Arial,sans-serif;color:rgb(228,61,48)">Chris</span></b><b><span style="font-size:1pt;font-family:remialcxesans,serif;color:white"></span></b><b><span style="font-family:Arial,sans-serif;color:rgb(228,61,48)"> <u></u><u></u></span></b></p>
</td>
<td valign="top" style="padding:0cm">
<p class="MsoNormal"><b><span style="font-family:Arial,sans-serif;color:rgb(228,61,48)">Gauthier<u></u><u></u></span></b></p>
</td>
<td valign="top" style="padding:0cm">
<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:rgb(68,68,68)"> Senior Network Engineer<u></u><u></u></span></p>
</td>
<td valign="top" style="padding:0cm">
<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:rgb(228,61,48)"> | <u></u><u></u></span></p>
</td>
<td valign="top" style="padding:0cm">
<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:rgb(68,68,68)">Comscore<u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td valign="top" style="padding:0cm">
<table class="gmail-m_3858026463659725370MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:2.25pt 0cm 0cm">
<table class="gmail-m_3858026463659725370MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:0cm">
<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:rgb(68,68,68)">t +1 <a href="tel:(503)%20331-2704" target="_blank"><strong><span style="font-family:Arial,sans-serif;color:rgb(68,68,68);font-weight:normal;text-decoration:none">(503) 331-2704</span></strong></a><u></u><u></u></span></p>
</td>
<td valign="top" style="padding:0cm">
<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:rgb(228,61,48)"> | <u></u><u></u></span></p>
</td>
<td valign="top" style="padding:0cm">
<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:rgb(68,68,68)"><a href="mailto:cgauthier@comscore.com" target="_blank"><strong><span style="font-family:Arial,sans-serif;color:rgb(68,68,68);font-weight:normal;text-decoration:none">cgauthier@comscore.com</span></strong></a><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td valign="top" style="padding:0cm">
<table class="gmail-m_3858026463659725370MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:1.5pt 0cm 0cm">
<table class="gmail-m_3858026463659725370MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:0cm">
<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:rgb(68,68,68)"><a href="http://www.comscore.com/" target="_blank"><strong><span style="font-family:Arial,sans-serif;color:rgb(5,99,193);font-weight:normal;text-decoration:none">comscore.com</span></strong></a><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td valign="top" style="padding:0cm">
<table class="gmail-m_3858026463659725370MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:7.5pt 0cm 1.5pt">
<table class="gmail-m_3858026463659725370MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:0cm">
<table class="gmail-m_3858026463659725370MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="0" style="width:375pt">
<tbody>
<tr>
<td style="padding:0cm">
<p class="MsoNormal" style="text-align:justify"><span style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(68,68,68)">This e-mail (including any attachments) may contain information that is private, confidential, or protected by attorney-client or other
privilege. If you received this e-mail in error, please delete it from your system and notify sender.<u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(181,196,223);padding:3pt 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:12pt;color:black">From:
</span></b><span lang="EN-US" style="font-size:12pt;color:black">Rancid-discuss <<a href="mailto:rancid-discuss-bounces@shrubbery.net" target="_blank">rancid-discuss-bounces@shrubbery.net</a>> on behalf of "Piegorsch, Weylin William" <<a href="mailto:weylin@bu.edu" target="_blank">weylin@bu.edu</a>><br>
<b>Date: </b>Saturday, June 15, 2019 at 7:52 AM<br>
<b>To: </b>Michael Newton <<a href="mailto:mnewton@pofp.com" target="_blank">mnewton@pofp.com</a>>, Vacheslav Zouhairy <<a href="mailto:m_zouhairy@skno.by" target="_blank">m_zouhairy@skno.by</a>><br>
<b>Cc: </b>"<a href="mailto:rancid-discuss@shrubbery.net" target="_blank">rancid-discuss@shrubbery.net</a>" <<a href="mailto:rancid-discuss@shrubbery.net" target="_blank">rancid-discuss@shrubbery.net</a>><br>
<b>Subject: </b>Re: [rancid] Unable to figure out "end of run not found"</span><span lang="EN-US"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US">> So this got me looking for how to do debug output per-host<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">If you’re using Linux, the command is:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">NOPIPE=yes rancid -d -t <type> <devicename><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">This will generate two files:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">.new<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">.raw<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">.new is the parsed output<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">.raw is pure log of the session (ie, it even captures non-printing characters). I believe it’s only dumped if you set both NOPIPE and -d.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I’ve used the .raw output on many occasions. At the moment I’m even troubleshooting a device CPU issue that rancid tripped on that I wouldn’t have found but for this; “clogin -c<command-set> <device>” was even working
fine.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">weylin<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(181,196,223);padding:3pt 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:12pt;color:black">From:
</span></b><span lang="EN-US" style="font-size:12pt;color:black">Michael Newton <<a href="mailto:mnewton@pofp.com" target="_blank">mnewton@pofp.com</a>><br>
<b>Date: </b>Monday, June 10, 2019 at 11:25 AM<br>
<b>To: </b>Vacheslav Zouhairy <<a href="mailto:m_zouhairy@skno.by" target="_blank">m_zouhairy@skno.by</a>><br>
<b>Cc: </b><<a href="mailto:rancid-discuss@shrubbery.net" target="_blank">rancid-discuss@shrubbery.net</a>><br>
<b>Subject: </b>Re: [rancid] Unable to figure out "end of run not found"</span><span lang="EN-US"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">No, there is not. But I guess you're thinking maybe the login doesn't work because of heavy traffic.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">So this got me looking for how to do debug output per-host. There doesn't seem to be, but that got me to this posting:
<a href="https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fwww.shrubbery.net%2fpipermail%2francid-discuss%2f2015-October%2f008742.html&c=E,1,ekhutmoeYC8nJjY5ygYIWeZtgfLUg9xzHFGeBIFHMUPKVuB2mZH94N3eF_QgXs0jXOsAB3OfrKr8A5kG_gIC11YP5eAWNrT_fRatYLjW22bodf8oDA,,&typo=1" target="_blank">
https://www.shrubbery.net/pipermail/rancid-discuss/2015-October/008742.html</a> And that made me notice that my router.db entry was corrupt (wrong device type.)<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">So, typical user error. Thanks for (indirectly) getting me in the right direction though!<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Mike<u></u><u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">On Mon, 10 Jun 2019 at 00:22, Vacheslav Zouhairy <<a href="mailto:m_zouhairy@skno.by" target="_blank">m_zouhairy@skno.by</a>> wrote:<u></u><u></u></span></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin:5pt 0cm 5pt 4.8pt">
<p class="MsoNormal"><span lang="EN-US">Is there any bandwidth hog on those switches by any chance?<br>
<br>
On Fri, 2019-06-07 at 18:16 -0600, Michael Newton wrote:<br>
> Hi all, we manage about 200-300 Brocade ICX switches across a number<br>
> of locations. All but two are being successfully polled. The two in<br>
> question (same firmware and a similar config to the others)<br>
> consistently show "end of run not found" when run as part of the cron<br>
> job. But, when run manually for troubleshooting, everything seems to<br>
> work.<br>
> <br>
> `sudo -u rancid flogin switchname` works fine and logs me into the<br>
> switch.<br>
> <br>
> `sudo -u rancid flogin -c 'show version;show clock' switchname`<br>
> likewise works fine. Logs in, runs the commands, and logs out.<br>
> <br>
> `sudo -u rancid rancid -t foundry -d switchname` runs through<br>
> everything perfectly. The <a href="https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fswitchname.new&c=E,1,u3rpkaeqsecxvPWZllacfnG3P4NxiddLWnK7ixyuOtuFx2zmxUrFwYjeq9HWP2sZvfaFig4pKtv5uTsr3_jwUdFVXEsoBKXQM0w6j_Zu1A,,&typo=1" target="_blank">
switchname.new</a> file has the expected<br>
> output.<br>
> <br>
> Yet the log for the automated process consistently shows this:<br>
> <br>
> switchname: End of run not found<br>
> end<br>
> <br>
> Is there anything else I can do to troubleshoot this? Thanks in<br>
> advance!<br>
> <br>
> Mike<br>
> _______________________________________________<br>
> Rancid-discuss mailing list<br>
> <a href="mailto:Rancid-discuss@shrubbery.net" target="_blank">Rancid-discuss@shrubbery.net</a><br>
> <a href="https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fwww.shrubbery.net%2fmailman%2flistinfo%2francid-discuss&c=E,1,pXzlW6Eiv9FPWrAjQTLdnnQDc-z22dWuWuzv1eNITrMpNn240pK3uusnQWFUuualEk9HxmtECWaUnFm_DQ_QYNrjiTivOPA64ecFuTooFbrCBw,,&typo=1" target="_blank">
http://www.shrubbery.net/mailman/listinfo/rancid-discuss</a><br>
<br>
<br>
_______________________________________________<br>
Rancid-discuss mailing list<br>
<a href="mailto:Rancid-discuss@shrubbery.net" target="_blank">Rancid-discuss@shrubbery.net</a><br>
<a href="https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fwww.shrubbery.net%2fmailman%2flistinfo%2francid-discuss&c=E,1,RAqfnKurrogi8cIpgX_RP3hEyuQNMMwNZuC6arzpf_WpfZd3ZssqYP2yNnRkw3jpCRAXqQQqHHLEJES9L06q3YOg8ex4DR1QWORVwyOZ4nb68fF_7ZkRr6_4jX0,&typo=1" target="_blank">http://www.shrubbery.net/mailman/listinfo/rancid-discuss</a><u></u><u></u></span></p>
</blockquote>
</div>
</div>
</div>
</div>
</div>
<br>
<hr color="#00ADEE" size="1" noshade>
<br>
<font face="Arial" size="1" color="#00ADEE"><i>Volg Aquafin op <a href="https://www.facebook.com/AquafinNV" style="color:rgb(0,173,238)" target="_blank">
Facebook</a> | <a href="https://twitter.com/aquafinnv" style="color:rgb(0,173,238)" target="_blank">Twitter</a> |
<a href="http://www.youtube.com/channel/UCk_4P5BJ-MtEEDCkCsR_KqQ?feature=mhee" style="color:rgb(0,173,238)" target="_blank">
YouTube</a> | <a href="http://www.linkedin.com/company/aquafin/products" style="color:rgb(0,173,238)" target="_blank">
LinkedIN</a> | <a href="https://www.instagram.com/aquafin_nv/" style="color:rgb(0,173,238)" target="_blank">
Instagram</a> </i><br>
<br>
<font color="black">In het kader van de uitoefening van onze taken verzamelen we bij Aquafin persoonsgegevens. Hoe we omgaan met deze gegevens en wat de rechten van de betrokkenen zijn, kan je nalezen in onze
<a href="https://www.aquafin.be/nl-be/privacy-policy" style="color:rgb(0,173,238)" target="_blank">privacy policy</a>.
<br>
<br>
<font face="Webdings" color="#00CC00" size="2">P</font> Denk aan het milieu. Druk deze mail niet onnodig af.
</font></font>
</div>
_______________________________________________<br>
Rancid-discuss mailing list<br>
<a href="mailto:Rancid-discuss@shrubbery.net" target="_blank">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 clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><b>Kevin Morales</b></div>