<html><head></head><body><div style="color:#000; background-color:#fff; font-family:lucida console, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1540991039783_49375"><span>So I fixed the path.</span></div><div id="yui_3_16_0_ym19_1_1540991039783_49375"><span><br></span></div><div id="yui_3_16_0_ym19_1_1540991039783_49414"># Set the perl module search path.  perl -V shows the default</div><div id="yui_3_16_0_ym19_1_1540991039783_49415">#PERL5LIB="/usr/lib64/rancid"; export PERL5LIB</div><div id="yui_3_16_0_ym19_1_1540991039783_49375"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_49416">PERL5LIB="/usr/libexec/rancid"; export PERL5LIB</div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_49416"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_49416">But getting same error for my SRX 650s.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_49416"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_51413">Trying to get all of the configs.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_51414">fw.location.example.net: missed cmd(s): all commands</div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_51415">fw.location.example.net jlogin error: Error: Connection Refused (ssh)</div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_51416">fw.location.example.net: End of run not found</div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_51417">#</div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_51418">=====================================</div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_51419">Getting missed routers: round 1.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_51420">fw.location.example.net: missed cmd(s): all commands</div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_51421">fw.location.example.net jlogin error: Error: Connection Refused (ssh)</div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_51422">fw.location.example.net: End of run not found</div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_51423">#</div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_51424">=====================================</div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_51425">Getting missed routers: round 2.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_51426">fw.location.example.net: missed cmd(s): all commands</div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_51427">fw.location.example.net jlogin error: Error: Connection Refused (ssh)</div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_51428">fw.location.example.net: End of run not found</div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_51429">#</div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_51430">=====================================</div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_51431">Getting missed routers: round 3.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_51432">fw.location.example.net: missed cmd(s): all commands</div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_51433">fw.location.example.net jlogin error: Error: Connection Refused (ssh)</div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_51434">fw.location.example.net: End of run not found</div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_51435">#</div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_51436">=====================================</div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_51437">Getting missed routers: round 4.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_51438">fw.location.example.net: missed cmd(s): all commands</div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_51439">fw.location.example.net jlogin error: Error: Connection Refused (ssh)</div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_51440">fw.location.example.net: End of run not found</div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_51440"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1540991039783_51440">I am using juniper for the SRXs as well.  </div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: lucida console, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Tuesday, October 30, 2018 10:41 AM, "heas@shrubbery.net" <heas@shrubbery.net> wrote:<br></font></div>  <br><br> <div class="y_msg_container">Tue, Oct 30, 2018 at 01:43:33PM +0000, Andrew Meyer:<br clear="none">> Also I installed this from CentOS 7 EPEL repo. <br clear="none"><br clear="none">well, it appears to have a flaw.  either fix the PATH or install 3.8 from<br clear="none">source.<div class="yqt1592001857" id="yqtfd26308"><br clear="none"><br clear="none">>     On Monday, October 29, 2018 7:29 PM, Andrew Meyer <<a shape="rect" ymailto="mailto:andrewm659@yahoo.com" href="mailto:andrewm659@yahoo.com">andrewm659@yahoo.com</a>> wrote:<br clear="none">>  <br clear="none">> <br clear="none">>  Amazon Linux 2 is based on redhat/centos 7.<br clear="none">> <br clear="none">> Sent from Yahoo Mail on Android <br clear="none">>  <br clear="none">>   On Mon, Oct 29, 2018 at 19:02, heasley<<a shape="rect" ymailto="mailto:heas@shrubbery.net" href="mailto:heas@shrubbery.net">heas@shrubbery.net</a>> wrote:   > Mon, Oct 29, 2018 at 09:11:31PM +0000, Andrew Meyer:<br clear="none">> > I am having some issues with rancid-3.2-2 on Amazon Linux 2.  I am trying to    <br clear="none">> > get rancid to talk to my Juniper (junos) switches and SRX firewalls and am<br clear="none">> > stuck.<br clear="none">> >  <br clear="none">> > Juniper EX2200<br clear="none">> > Juniper SRX650<br clear="none">> > <br clear="none">> > I have everything setup in my config.<br clear="none">> > <br clear="none">> > router.db<br clear="none">> > [<a shape="rect" ymailto="mailto:rancid@rancid01" href="mailto:rancid@rancid01">rancid@rancid01</a> configs]$ cat ../router.db<br clear="none">> > fw.location.example.net;juniper-srx;up<br clear="none">> > sw1.location.example.net;junos;up<br clear="none">> > sw2.location.example.net;juniper;up<br clear="none">> > sw3.location.example.net;juniper;up<br clear="none">> > sw4.location.example.net;juniper;up<br clear="none">> > sw5.location.example.net;juniper;up<br clear="none">> > aruba1.location.example.net;aruba;up<br clear="none">> > aruba2.location.example.net;aruba;down<br clear="none">> > [<a shape="rect" ymailto="mailto:rancid@rancid01" href="mailto:rancid@rancid01">rancid@rancid01</a> configs]$<br clear="none">> > <br clear="none">> > <br clear="none">> > Here is my logs.<br clear="none">> > =====================================<br clear="none">> > Getting missed routers: round 4.<br clear="none">> > unknown router manufacturer for sw1.location.example.net: junos<br clear="none">>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br clear="none">> type should be juniper<br clear="none">> <br clear="none">> > sh: jlogin: command not found<br clear="none">>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br clear="none">> > fw.location.example.net: missed cmd(s): all commands<br clear="none">> > fw.location.example.net: End of run not found<br clear="none">> > sh: jlogin: command not found<br clear="none">> > sw2.location.example.net: missed cmd(s): all commands<br clear="none">> > sw2.location.example.net: End of run not found<br clear="none">> > #<br clear="none">> > #<br clear="none">> > sh: clogin: command not found<br clear="none">>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br clear="none">> I do not know what an Amazon Linux 2 is nor how you installed rancid,<br clear="none">> but because you can run clogin from your shell prompt, i assume you are<br clear="none">> not missing prerequisite packages.  so, you probably just have a deficient<br clear="none">> PATH in your rancid.conf.<br clear="none">> <br clear="none">> > aruba1.location.example.net: missed cmd(s): all commands<br clear="none">> > aruba1.location.example.net: End of run not found<br clear="none">> > !<br clear="none">> > sh: jlogin: command not found<br clear="none">> > sw3.location.example.net: missed cmd(s): all commands<br clear="none">> > sw3.location.example.net: End of run not found<br clear="none">> > sh: jlogin: command not found<br clear="none">> > sw4.location.example.net: missed cmd(s): all commands<br clear="none">> > sw4.location.example.net: End of run not found<br clear="none">> > #<br clear="none">> > #<br clear="none">> > sh: jlogin: command not found<br clear="none">> > sw5.location.example.net: missed cmd(s): all commands<br clear="none">> > sw5.location.example.net: End of run not found<br clear="none">> > #<br clear="none">> >  <br clear="none">> > On branch master<br clear="none">> > Your branch is up-to-date with 'origin/master'.<br clear="none">> > <br clear="none">> > nothing to commit, working tree clean<br clear="none">> > Everything up-to-date<br clear="none">> > <br clear="none">> > ending: Mon Oct 29 21:01:01 UTC 2018<br clear="none">> > [<a shape="rect" ymailto="mailto:rancid@rancid01" href="mailto:rancid@rancid01">rancid@rancid01</a> logs]$<br clear="none">> > <br clear="none">> > When I run a clogin command on its own, I can ssh in just fine but there is a<br clear="none">> > sligh issue with the terminal.  I suspect it's pagination.<br clear="none">> > <br clear="none">> > <br clear="none">> > It has been while since having to do this so I'm not sure where I got this<br clear="none">> > mixed up.<br clear="none">> > <br clear="none">> > Any thoughts?<br clear="none">> > <br clear="none">> > Regards,<br clear="none">> > Andrew<br clear="none">> > <br clear="none">> > <br clear="none">> > _______________________________________________<br clear="none">> > Rancid-discuss mailing list<br clear="none">> > <a shape="rect" ymailto="mailto:Rancid-discuss@shrubbery.net" href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br clear="none">> > <a shape="rect" href="http://www.shrubbery.net/mailman/listinfo/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo/rancid-discuss</a><br clear="none">> <br clear="none">>   <br clear="none">> <br clear="none">> <br clear="none">>    <br clear="none"></div><br><br></div>  </div> </div>  </div></div></body></html>