[rancid] juniper devices

Andrew Meyer andrewm659 at yahoo.com
Wed Oct 31 16:05:41 UTC 2018


So I fixed the path.
# Set the perl module search path.  perl -V shows the default#PERL5LIB="/usr/lib64/rancid"; export PERL5LIBPERL5LIB="/usr/libexec/rancid"; export PERL5LIB
But getting same error for my SRX 650s.
Trying to get all of the configs.fw.location.example.net: missed cmd(s): all commandsfw.location.example.net jlogin error: Error: Connection Refused (ssh)fw.location.example.net: End of run not found#=====================================Getting missed routers: round 1.fw.location.example.net: missed cmd(s): all commandsfw.location.example.net jlogin error: Error: Connection Refused (ssh)fw.location.example.net: End of run not found#=====================================Getting missed routers: round 2.fw.location.example.net: missed cmd(s): all commandsfw.location.example.net jlogin error: Error: Connection Refused (ssh)fw.location.example.net: End of run not found#=====================================Getting missed routers: round 3.fw.location.example.net: missed cmd(s): all commandsfw.location.example.net jlogin error: Error: Connection Refused (ssh)fw.location.example.net: End of run not found#=====================================Getting missed routers: round 4.fw.location.example.net: missed cmd(s): all commandsfw.location.example.net jlogin error: Error: Connection Refused (ssh)fw.location.example.net: End of run not found
I am using juniper for the SRXs as well.   

    On Tuesday, October 30, 2018 10:41 AM, "heas at shrubbery.net" <heas at shrubbery.net> wrote:
 

 Tue, Oct 30, 2018 at 01:43:33PM +0000, Andrew Meyer:
> Also I installed this from CentOS 7 EPEL repo. 

well, it appears to have a flaw.  either fix the PATH or install 3.8 from
source.

>    On Monday, October 29, 2018 7:29 PM, Andrew Meyer <andrewm659 at yahoo.com> wrote:
>  
> 
>  Amazon Linux 2 is based on redhat/centos 7.
> 
> Sent from Yahoo Mail on Android 
>  
>  On Mon, Oct 29, 2018 at 19:02, heasley<heas at shrubbery.net> wrote:  > Mon, Oct 29, 2018 at 09:11:31PM +0000, Andrew Meyer:
> > I am having some issues with rancid-3.2-2 on Amazon Linux 2.  I am trying to    
> > get rancid to talk to my Juniper (junos) switches and SRX firewalls and am
> > stuck.
>> > Juniper EX2200
> > Juniper SRX650
> > 
> > I have everything setup in my config.
> > 
> > router.db
> > [rancid at rancid01 configs]$ cat ../router.db
> > fw.location.example.net;juniper-srx;up
> > sw1.location.example.net;junos;up
> > sw2.location.example.net;juniper;up
> > sw3.location.example.net;juniper;up
> > sw4.location.example.net;juniper;up
> > sw5.location.example.net;juniper;up
> > aruba1.location.example.net;aruba;up
> > aruba2.location.example.net;aruba;down
> > [rancid at rancid01 configs]$
> > 
> > 
> > Here is my logs.
> > =====================================
> > Getting missed routers: round 4.
> > unknown router manufacturer for sw1.location.example.net: junos
>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> type should be juniper
> 
> > sh: jlogin: command not found
>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > fw.location.example.net: missed cmd(s): all commands
> > fw.location.example.net: End of run not found
> > sh: jlogin: command not found
> > sw2.location.example.net: missed cmd(s): all commands
> > sw2.location.example.net: End of run not found
> > #
> > #
> > sh: clogin: command not found
>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> I do not know what an Amazon Linux 2 is nor how you installed rancid,
> but because you can run clogin from your shell prompt, i assume you are
> not missing prerequisite packages.  so, you probably just have a deficient
> PATH in your rancid.conf.
> 
> > aruba1.location.example.net: missed cmd(s): all commands
> > aruba1.location.example.net: End of run not found
> > !
> > sh: jlogin: command not found
> > sw3.location.example.net: missed cmd(s): all commands
> > sw3.location.example.net: End of run not found
> > sh: jlogin: command not found
> > sw4.location.example.net: missed cmd(s): all commands
> > sw4.location.example.net: End of run not found
> > #
> > #
> > sh: jlogin: command not found
> > sw5.location.example.net: missed cmd(s): all commands
> > sw5.location.example.net: End of run not found
> > #
>> > On branch master
> > Your branch is up-to-date with 'origin/master'.
> > 
> > nothing to commit, working tree clean
> > Everything up-to-date
> > 
> > ending: Mon Oct 29 21:01:01 UTC 2018
> > [rancid at rancid01 logs]$
> > 
> > When I run a clogin command on its own, I can ssh in just fine but there is a
> > sligh issue with the terminal.  I suspect it's pagination.
> > 
> > 
> > It has been while since having to do this so I'm not sure where I got this
> > mixed up.
> > 
> > Any thoughts?
> > 
> > Regards,
> > Andrew
> > 
> > 
> > _______________________________________________
> > Rancid-discuss mailing list
> > Rancid-discuss at shrubbery.net
> > http://www.shrubbery.net/mailman/listinfo/rancid-discuss
> 
>  
> 
> 
>    


   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20181031/a63fed87/attachment.html>


More information about the Rancid-discuss mailing list