<div dir="ltr">Thanks Piegorsh, <div><br></div><div>I did it..</div><div><br></div><div>NOPIPE=yes ./rancid -d -t cisco 172.17.1.6 </div><div><br></div><div>but in the two file 172.17.1.6.new and 172.17.1.6.raw don't see anything about this error. both show the correct command output.</div><div><br></div><div><br></div><div> <br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 3, 2019 at 11:29 AM Piegorsch, Weylin William <<a href="mailto:weylin@bu.edu">weylin@bu.edu</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="EN-US">
<div class="gmail-m_-1185749428431104716WordSection1">
<p class="MsoNormal">If you do the “NOPIPE” thing and run rancid with the -d flag, that will create two files: .new, and .raw.  Examine the .raw file, which is the byte-for-byte capture of the CLI session.<u></u><u></u></p>
<p class="MsoNormal">weylin<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(181,196,223);padding:3pt 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12pt;color:black">From: </span></b><span style="font-size:12pt;color:black">Kevin Morales <<a href="mailto:kevin.moralez@gmail.com" target="_blank">kevin.moralez@gmail.com</a>><br>
<b>Date: </b>Wednesday, July 3, 2019 at 1:24 PM<br>
<b>To: </b>john heasley <<a href="mailto:heas@shrubbery.net" target="_blank">heas@shrubbery.net</a>><br>
<b>Cc: </b>Nick Nauwelaerts <<a href="mailto:nick.nauwelaerts@aquafin.be" target="_blank">nick.nauwelaerts@aquafin.be</a>>, Weylin Piegorsch <<a href="mailto:weylin@bu.edu" target="_blank">weylin@bu.edu</a>>, "<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"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">ok, but  rancid do not save the output of command., <u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">How I can fix this problem?<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Wed, Jul 3, 2019 at 11:12 AM john heasley <<a href="mailto:heas@shrubbery.net" target="_blank">heas@shrubbery.net</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal" style="margin-bottom:12pt">Wed, Jul 03, 2019 at 07:48:09AM -0600, Kevin Morales:<br>
> Hello!,<br>
> <br>
> How I can fix the problem when I run rancid for ZTE Router?. I get this<br>
> error: *End of run not found*<br>
> <br>
> the two file 172.17.1.6.new and 172.17.1.6.raw don't show any error!.<br>
> <br>
> NOPIPE=yes ./rancid -d -t cisco 172.17.1.6<br>
> <br>
> 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<br>
> 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>
> *172.17.1.6 <<a href="http://172.17.1.6" target="_blank">http://172.17.1.6</a>>: End of run not found*<br>
> <a href="http://172.17.1.6" target="_blank">172.17.1.6</a>: clean_run is false<br>
> <a href="http://172.17.1.6" target="_blank">172.17.1.6</a>: found_end is false<br>
> !</isis><br>
<br>
found end means that it found the end of the config; for type cisco,<br>
that means "^end".<br>
<br>
clean run means that it found the cli logout; for type cisco, that<br>
means "prompt[>#] exit$"<u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<p class="MsoNormal"><b>Kevin Morales</b><u></u><u></u></p>
</div>
</div>
</div>

</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><b>Kevin Morales</b></div>