Discussion:
[rancid] juniper devices
Andrew Meyer
2018-10-29 21:11:31 UTC
Permalink
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 EX2200Juniper SRX650
I have everything setup in my config.
router.db [***@rancid01 configs]$ cat ../router.dbfw.location.example.net;juniper-srx;upsw1.location.example.net;junos;upsw2.location.example.net;juniper;upsw3.location.example.net;juniper;upsw4.location.example.net;juniper;upsw5.location.example.net;juniper;uparuba1.location.example.net;aruba;uparuba2.location.example.net;aruba;down[***@rancid01 configs]$

Here is my logs.=====================================Getting missed routers: round 4.unknown router manufacturer for sw1.location.example.net: junossh: jlogin: command not foundfw.location.example.net: missed cmd(s): all commandsfw.location.example.net: End of run not foundsh: jlogin: command not foundsw2.location.example.net: missed cmd(s): all commandssw2.location.example.net: End of run not found##sh: clogin: command not foundaruba1.location.example.net: missed cmd(s): all commandsaruba1.location.example.net: End of run not found!sh: jlogin: command not foundsw3.location.example.net: missed cmd(s): all commandssw3.location.example.net: End of run not foundsh: jlogin: command not foundsw4.location.example.net: missed cmd(s): all commandssw4.location.example.net: End of run not found##sh: jlogin: command not foundsw5.location.example.net: missed cmd(s): all commandssw5.location.example.net: End of run not found#
On branch masterYour branch is up-to-date with 'origin/master'.
nothing to commit, working tree cleanEverything up-to-date
ending: Mon Oct 29 21:01:01 UTC 2018[***@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
heasley
2018-10-30 00:02:56 UTC
Permalink
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
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
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
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
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Andrew Meyer
2018-10-30 00:29:29 UTC
Permalink
Amazon Linux 2 is based on redhat/centos 7.

Sent from Yahoo Mail on Android
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
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
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
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
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Andrew Meyer
2018-10-30 13:43:33 UTC
Permalink
Also I installed this from CentOS 7 EPEL repo.

On Monday, October 29, 2018 7:29 PM, Andrew Meyer <***@yahoo.com> wrote:


Amazon Linux 2 is based on redhat/centos 7.

Sent from Yahoo Mail on Android
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
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
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
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
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
h***@shrubbery.net
2018-10-30 15:41:33 UTC
Permalink
Post by 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.
Post by Andrew Meyer
Amazon Linux 2 is based on redhat/centos 7.
Sent from Yahoo Mail on Android
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
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
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
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
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Andrew Meyer
2018-10-31 16:05:41 UTC
Permalink
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.  
Post by 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.
Post by Andrew Meyer
 
  Amazon Linux 2 is based on redhat/centos 7.
Sent from Yahoo Mail on Android
 
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
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
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
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
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
 
   
h***@shrubbery.net
2018-10-31 16:28:33 UTC
Permalink
Post by Andrew Meyer
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
Please report this to the yum package provider. they have a packaging
problem, it seems.
Andrew Meyer
2018-10-31 18:39:18 UTC
Permalink
Nevermind.  This was an error on  my part.  Nothing with Rancid.
Post by Andrew Meyer
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
Please report this to the yum package provider.  they have a packaging
problem, it seems.

Continue reading on narkive:
Loading...