[rancid] rancid-run returning no output

Ryan Milton ryanmilton74 at gmail.com
Sat Feb 14 18:22:27 UTC 2015


Hi Antonio,

So I ran this against two junipers, one that has super-user (10.50.1.1) and
one that has specific allow-commands. Below are the results.

My logs still don't show anything in them, nor are there configurations
recorded.
One thing I've noticed in my setup, is that I have these two folder
structures, which seems like its duplicating something...confusing the
application, I'm not sure.

rancid at FP-RANCID:/usr/local/rancid/var$ ls -al
total 20
drwxr-xr-x 5 rancid rancid 4096 Feb 13 11:26 .
drwxr-xr-x 7 rancid rancid 4096 Feb  9 13:15 ..
drwxrwxr-x 4 rancid rancid 4096 Feb 13 11:26 CVS
drwxr-x--- 4 rancid rancid 4096 Feb 14 13:00 fareportal
drwxr-x--- 2 rancid rancid 4096 Feb 14 13:00 logs

rancid at FP-RANCID:/usr/local/rancid/var$ cd fareportal/
rancid at FP-RANCID:/usr/local/rancid/var/fareportal$ ls -al
total 32
drwxr-x--- 4 rancid rancid 4096 Feb 14 13:00 .
drwxr-xr-x 5 rancid rancid 4096 Feb 13 11:26 ..
drwxr-x--- 3 rancid rancid 4096 Feb 13 11:26 configs
drwxr-x--- 2 rancid rancid 4096 Feb 13 11:53 CVS
-rw-r----- 1 rancid rancid   47 Feb 13 11:53 .cvsignore
-rw-r----- 1 rancid rancid   88 Feb 13 11:45 router.db
-rw-r----- 1 rancid rancid   86 Feb 14 13:00 routers.all
-rw-r----- 1 rancid rancid   86 Feb 14 13:00 routers.down
-rw-r----- 1 rancid rancid    0 Feb 14 13:00 routers.up

rancid at FP-RANCID:/usr/local/rancid/var/CVS$ ls
CVSROOT  fareportal
rancid at FP-RANCID:/usr/local/rancid/var/CVS$ ls -al
total 16
drwxrwxr-x 4 rancid rancid 4096 Feb 13 11:26 .
drwxr-xr-x 5 rancid rancid 4096 Feb 13 11:26 ..
drwxrwxr-x 3 rancid rancid 4096 Feb 13 11:53 CVSROOT
drwxrwxr-x 3 rancid rancid 4096 Feb 14 13:00 fareportal
rancid at FP-RANCID:/usr/local/rancid/var/CVS$ cd fareportal/
rancid at FP-RANCID:/usr/local/rancid/var/CVS/fareportal$ ls
configs  router.db,v
rancid at FP-RANCID:/usr/local/rancid/var/CVS/fareportal$ cd configs/
rancid at FP-RANCID:/usr/local/rancid/var/CVS/fareportal/configs$ ls -al
total 8
drwxrwxr-x 2 rancid rancid 4096 Feb 13 18:30 .
drwxrwxr-x 3 rancid rancid 4096 Feb 14 13:00 ..


rancid at FP-RANCID:~$ rancid -t juniper -d 10.50.1.1
loadtype: device type juniper
loadtype: found device type juniper in
/usr/local/rancid/etc/rancid.types.base
executing jlogin -t 120 -c"show chassis clocks;show chassis
environment;show chassis firmware;show chassis fpc detail;show chassis
hardware detail;show chassis hardware models;show chassis
routing-engine;show chassis scb;show chassis sfm detail;show chassis
ssb;show chassis feb detail;show chassis feb;show chassis cfeb;show chassis
alarms;show system license;show system boot-messages;show system
core-dumps;show version detail;show configuration" 10.50.1.1
PROMPT MATCH: rmilton at EX-NYCorp-Core>
HIT COMMAND:rmilton at EX-NYCorp-Core> show chassis clocks
    In ShowChassisClocks: rmilton at EX-NYCorp-Core> show chassis clocks
HIT COMMAND:rmilton at EX-NYCorp-Core> show chassis environment
    In ShowChassisEnvironment: rmilton at EX-NYCorp-Core> show chassis
environment
HIT COMMAND:rmilton at EX-NYCorp-Core> show chassis firmware
    In ShowChassisFirmware: rmilton at EX-NYCorp-Core> show chassis firmware
HIT COMMAND:rmilton at EX-NYCorp-Core> show chassis fpc detail
    In ShowChassisFpcDetail: rmilton at EX-NYCorp-Core> show chassis fpc detail
HIT COMMAND:rmilton at EX-NYCorp-Core> show chassis hardware detail
    In ShowChassisHardware: rmilton at EX-NYCorp-Core> show chassis hardware
detail
HIT COMMAND:rmilton at EX-NYCorp-Core> show chassis hardware models
    In ShowChassisHardware: rmilton at EX-NYCorp-Core> show chassis hardware
models
HIT COMMAND:rmilton at EX-NYCorp-Core> show chassis routing-engine
    In ShowChassisRoutingEngine: rmilton at EX-NYCorp-Core> show chassis
routing-engine
HIT COMMAND:rmilton at EX-NYCorp-Core> show chassis scb
    In ShowChassisSCB: rmilton at EX-NYCorp-Core> show chassis scb
HIT COMMAND:rmilton at EX-NYCorp-Core> show chassis sfm detail
    In ShowChassisSCB: rmilton at EX-NYCorp-Core> show chassis sfm detail
HIT COMMAND:rmilton at EX-NYCorp-Core> show chassis ssb
    In ShowChassisSCB: rmilton at EX-NYCorp-Core> show chassis ssb
HIT COMMAND:rmilton at EX-NYCorp-Core> show chassis feb detail
    In ShowChassisSCB: rmilton at EX-NYCorp-Core> show chassis feb detail
HIT COMMAND:rmilton at EX-NYCorp-Core> show chassis feb
    In ShowChassisSCB: rmilton at EX-NYCorp-Core> show chassis feb
HIT COMMAND:rmilton at EX-NYCorp-Core> show chassis cfeb
    In ShowChassisSCB: rmilton at EX-NYCorp-Core> show chassis cfeb
HIT COMMAND:rmilton at EX-NYCorp-Core> show chassis alarms
    In ShowChassisAlarms: rmilton at EX-NYCorp-Core> show chassis alarms
HIT COMMAND:rmilton at EX-NYCorp-Core> show system license
    In ShowSystemLicense: rmilton at EX-NYCorp-Core> show system license
HIT COMMAND:rmilton at EX-NYCorp-Core> show system boot-messages
    In ShowSystemBootMessages: rmilton at EX-NYCorp-Core> show system
boot-messages
HIT COMMAND:rmilton at EX-NYCorp-Core> show system core-dumps
    In ShowSystemCoreDumps: rmilton at EX-NYCorp-Core> show system core-dumps
HIT COMMAND:rmilton at EX-NYCorp-Core> show version detail
    In ShowVersion: rmilton at EX-NYCorp-Core> show version detail
HIT COMMAND:rmilton at EX-NYCorp-Core> show configuration
    In ShowConfiguration: rmilton at EX-NYCorp-Core> show configuration
rancid at FP-RANCID:~$ rancid -t juniper -d 10.50.1.3
loadtype: device type juniper
loadtype: found device type juniper in
/usr/local/rancid/etc/rancid.types.base
executing jlogin -t 120 -c"show chassis clocks;show chassis
environment;show chassis firmware;show chassis fpc detail;show chassis
hardware detail;show chassis hardware models;show chassis
routing-engine;show chassis scb;show chassis sfm detail;show chassis
ssb;show chassis feb detail;show chassis feb;show chassis cfeb;show chassis
alarms;show system license;show system boot-messages;show system
core-dumps;show version detail;show configuration" 10.50.1.3
PROMPT MATCH: rancid at Distribution_North>
HIT COMMAND:rancid at Distribution_North> show chassis clocks
    In ShowChassisClocks: rancid at Distribution_North> show chassis clocks
HIT COMMAND:rancid at Distribution_North> show chassis environment
    In ShowChassisEnvironment: rancid at Distribution_North> show chassis
environment
HIT COMMAND:rancid at Distribution_North> show chassis firmware
    In ShowChassisFirmware: rancid at Distribution_North> show chassis firmware
HIT COMMAND:rancid at Distribution_North> show chassis fpc detail
    In ShowChassisFpcDetail: rancid at Distribution_North> show chassis fpc
detail
HIT COMMAND:rancid at Distribution_North> show chassis hardware detail
    In ShowChassisHardware: rancid at Distribution_North> show chassis
hardware detail
HIT COMMAND:rancid at Distribution_North> show chassis hardware models
    In ShowChassisHardware: rancid at Distribution_North> show chassis
hardware models
HIT COMMAND:rancid at Distribution_North> show chassis routing-engine
    In ShowChassisRoutingEngine: rancid at Distribution_North> show chassis
routing-engine
HIT COMMAND:rancid at Distribution_North> show chassis scb
    In ShowChassisSCB: rancid at Distribution_North> show chassis scb
HIT COMMAND:rancid at Distribution_North> show chassis sfm detail
    In ShowChassisSCB: rancid at Distribution_North> show chassis sfm detail
HIT COMMAND:rancid at Distribution_North> show chassis ssb
    In ShowChassisSCB: rancid at Distribution_North> show chassis ssb
HIT COMMAND:rancid at Distribution_North> show chassis feb detail
    In ShowChassisSCB: rancid at Distribution_North> show chassis feb detail
HIT COMMAND:rancid at Distribution_North> show chassis feb
    In ShowChassisSCB: rancid at Distribution_North> show chassis feb
HIT COMMAND:rancid at Distribution_North> show chassis cfeb
    In ShowChassisSCB: rancid at Distribution_North> show chassis cfeb
HIT COMMAND:rancid at Distribution_North> show chassis alarms
    In ShowChassisAlarms: rancid at Distribution_North> show chassis alarms
HIT COMMAND:rancid at Distribution_North> show system license
    In ShowSystemLicense: rancid at Distribution_North> show system license
HIT COMMAND:rancid at Distribution_North> show system boot-messages
    In ShowSystemBootMessages: rancid at Distribution_North> show system
boot-messages
HIT COMMAND:rancid at Distribution_North> show system core-dumps
    In ShowSystemCoreDumps: rancid at Distribution_North> show system
core-dumps
HIT COMMAND:rancid at Distribution_North> show version detail
    In ShowVersion: rancid at Distribution_North> show version detail
HIT COMMAND:rancid at Distribution_North> show configuration
    In ShowConfiguration: rancid at Distribution_North> show configuration
ERROR: 10.50.1.3 configuration appears truncated.
10.50.1.3: End of run not found
10.50.1.3: End of run not found



Ryan Douglass Milton


On Sat, Feb 14, 2015 at 1:03 PM, Antonio Querubin <tony at lavanauts.org>
wrote:

> On Sat, 14 Feb 2015, Ryan Milton wrote:
>
>  That is what I thought would debug, however, this is the output I get:
>>
>> rancid at FP-RANCID:~$ rancid -d 10.50.1.1
>> loadtype(): device_type is empty
>> Couldn't load device type spec for
>>
>
> Try 'rancid -t juniper -d 10.50.1.1'
>
> Antonio Querubin
> e-mail:  tony at lavanauts.org
> xmpp:  antonioquerubin at gmail.com
> _______________________________________________
> 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/20150214/43fda35b/attachment.html>


More information about the Rancid-discuss mailing list