[rancid] End of run not found... Running rancid 2.3.2 version

Sam Munzani smunzani at comcast.net
Wed Jul 29 19:00:45 UTC 2009


Team,


Can you please point me to right direction of troubleshooting? This is a 
very simple thing. A cisco router configured for rancid. no autoenable. 
clogin to the device works fine. However rancid script keeps giving me 
end of run not found error. When I run "show run" it clearly shows key 
word "end" at the end of config. Don't know why the script is not 
catching it.

clogin -c "show run" lab-rtr1 works fine and the last line I see is end.

Below is debug output.
$: rancid -d lab-rtr1
executing clogin -t 90 -c"admin show version;show version;show 
redundancy secondary;show idprom backplane;show install active;admin 
show env all;show env all;show rsp chassis-info;show gsr chassis;show 
diag chassis-info;show boot;show bootvar;admin show variables boot;show 
variables boot;show flash;dir /all nvram:;dir /all bootflash:;dir /all 
slot0:;dir /all disk0:;dir /all slot1:;dir /all disk1:;dir /all 
slot2:;dir /all disk2:;dir /all harddisk:;dir /all harddiska:;dir /all 
harddiskb:;dir /all sup-bootflash:;dir /all sup-microcode:;dir /all 
slavenvram:;dir /all slavebootflash:;dir /all slaveslot0:;dir /all 
slavedisk0:;dir /all slaveslot1:;dir /all slavedisk1:;dir /all 
slaveslot2:;dir /all slavedisk2:;dir /all slavesup-bootflash:;dir /all 
sec-nvram:;dir /all sec-bootflash:;dir /all sec-slot0:;dir /all 
sec-disk0:;dir /all sec-slot1:;dir /all sec-disk1:;dir /all 
sec-slot2:;dir /all sec-disk2:;show controllers;show controllers 
cbus;show diagbus;admin show diag;show diag;show module;show spe 
version;show c7200;show inventory raw;show vtp status;show vlan;show 
vlan-switch;show debug;more system:running-config;show 
running-config;write term" lab-rtr1
PROMPT MATCH: lab-rtr1#
HIT COMMAND:lab-rtr1#admin show version
    In ShowVersion: lab-rtr1#admin show version
HIT COMMAND:lab-rtr1#show version
    In ShowVersion: lab-rtr1#show version
TYPE = WS-C6509-E
HIT COMMAND:lab-rtr1#show redundancy secondary
    In ShowRedundancy: lab-rtr1#show redundancy secondary
HIT COMMAND:lab-rtr1#show idprom backplane
    In ShowIDprom: lab-rtr1#show idprom backplane
HIT COMMAND:lab-rtr1#show install active
    In ShowInstallActive: lab-rtr1#show install active
HIT COMMAND:lab-rtr1#admin show env all
    In ShowEnv: lab-rtr1#admin show env all
HIT COMMAND:lab-rtr1#show env all
    In ShowEnv: lab-rtr1#show env all
HIT COMMAND:lab-rtr1#show rsp chassis-info
    In ShowRSP: lab-rtr1#show rsp chassis-info
HIT COMMAND:lab-rtr1#show gsr chassis
    In ShowGSR: lab-rtr1#show gsr chassis
HIT COMMAND:lab-rtr1#show diag chassis-info
    In ShowGSR: lab-rtr1#show diag chassis-info
HIT COMMAND:lab-rtr1#show boot
    In ShowBoot: lab-rtr1#show boot
HIT COMMAND:lab-rtr1#show bootvar
    In ShowBoot: lab-rtr1#show bootvar
HIT COMMAND:lab-rtr1#admin show variables boot
    In ShowBoot: lab-rtr1#admin show variables boot
HIT COMMAND:lab-rtr1#show variables boot
    In ShowBoot: lab-rtr1#show variables boot
HIT COMMAND:lab-rtr1#show flash
    In ShowFlash: lab-rtr1#show flash
HIT COMMAND:lab-rtr1#dir /all nvram:
    In DirSlotN: lab-rtr1#dir /all nvram:
HIT COMMAND:lab-rtr1#dir /all bootflash:
    In DirSlotN: lab-rtr1#dir /all bootflash:
HIT COMMAND:lab-rtr1#dir /all slot0:
    In DirSlotN: lab-rtr1#dir /all slot0:
HIT COMMAND:lab-rtr1#dir /all disk0:
    In DirSlotN: lab-rtr1#dir /all disk0:
HIT COMMAND:lab-rtr1#dir /all slot1:
    In DirSlotN: lab-rtr1#dir /all slot1:
HIT COMMAND:lab-rtr1#dir /all disk1:
    In DirSlotN: lab-rtr1#dir /all disk1:
HIT COMMAND:lab-rtr1#dir /all slot2:
    In DirSlotN: lab-rtr1#dir /all slot2:
HIT COMMAND:lab-rtr1#dir /all disk2:
    In DirSlotN: lab-rtr1#dir /all disk2:
HIT COMMAND:lab-rtr1#dir /all harddisk:
    In DirSlotN: lab-rtr1#dir /all harddisk:
HIT COMMAND:lab-rtr1#dir /all harddiska:
    In DirSlotN: lab-rtr1#dir /all harddiska:
HIT COMMAND:lab-rtr1#dir /all harddiskb:
    In DirSlotN: lab-rtr1#dir /all harddiskb:
HIT COMMAND:lab-rtr1#dir /all sup-bootflash:
    In DirSlotN: lab-rtr1#dir /all sup-bootflash:
HIT COMMAND:lab-rtr1#dir /all sup-microcode:
    In DirSlotN: lab-rtr1#dir /all sup-microcode:
HIT COMMAND:lab-rtr1#dir /all slavenvram:
    In DirSlotN: lab-rtr1#dir /all slavenvram:
HIT COMMAND:lab-rtr1#dir /all slavebootflash:
    In DirSlotN: lab-rtr1#dir /all slavebootflash:
HIT COMMAND:lab-rtr1#dir /all slaveslot0:
    In DirSlotN: lab-rtr1#dir /all slaveslot0:
HIT COMMAND:lab-rtr1#dir /all slavedisk0:
    In DirSlotN: lab-rtr1#dir /all slavedisk0:
HIT COMMAND:lab-rtr1#dir /all slaveslot1:
    In DirSlotN: lab-rtr1#dir /all slaveslot1:
HIT COMMAND:lab-rtr1#dir /all slavedisk1:
    In DirSlotN: lab-rtr1#dir /all slavedisk1:
HIT COMMAND:lab-rtr1#dir /all slaveslot2:
    In DirSlotN: lab-rtr1#dir /all slaveslot2:
HIT COMMAND:lab-rtr1#dir /all slavedisk2:
    In DirSlotN: lab-rtr1#dir /all slavedisk2:
HIT COMMAND:lab-rtr1#dir /all slavesup-bootflash:
    In DirSlotN: lab-rtr1#dir /all slavesup-bootflash:
HIT COMMAND:lab-rtr1#dir /all sec-nvram:
    In DirSlotN: lab-rtr1#dir /all sec-nvram:
HIT COMMAND:lab-rtr1#dir /all sec-bootflash:
    In DirSlotN: lab-rtr1#dir /all sec-bootflash:
HIT COMMAND:lab-rtr1#dir /all sec-slot0:
    In DirSlotN: lab-rtr1#dir /all sec-slot0:
HIT COMMAND:lab-rtr1#dir /all sec-disk0:
    In DirSlotN: lab-rtr1#dir /all sec-disk0:
HIT COMMAND:lab-rtr1#dir /all sec-slot1:
    In DirSlotN: lab-rtr1#dir /all sec-slot1:
HIT COMMAND:lab-rtr1#dir /all sec-disk1:
    In DirSlotN: lab-rtr1#dir /all sec-disk1:
HIT COMMAND:lab-rtr1#dir /all sec-slot2:
    In DirSlotN: lab-rtr1#dir /all sec-slot2:
HIT COMMAND:lab-rtr1#dir /all sec-disk2:
    In DirSlotN: lab-rtr1#dir /all sec-disk2:
HIT COMMAND:lab-rtr1#show controllers
    In ShowContAll: lab-rtr1#show controllers
HIT COMMAND:lab-rtr1#show controllers cbus
    In ShowContCbus: lab-rtr1#show controllers cbus
HIT COMMAND:lab-rtr1#show diagbus
    In ShowDiagbus: lab-rtr1#show diagbus
HIT COMMAND:lab-rtr1#admin show diag
    In ShowDiag: lab-rtr1#admin show diag
HIT COMMAND:lab-rtr1#show diag
    In ShowDiag: lab-rtr1#show diag
HIT COMMAND:lab-rtr1#show module
    In ShowModule: lab-rtr1#show module
HIT COMMAND:lab-rtr1#show spe version
    In ShowSpeVersion: lab-rtr1#show spe version
HIT COMMAND:lab-rtr1#show c7200
    In ShowC7200: lab-rtr1#show c7200
HIT COMMAND:lab-rtr1#show inventory raw
    In ShowInventory: lab-rtr1#show inventory raw
HIT COMMAND:lab-rtr1#show vtp status
    In ShowVTP: lab-rtr1#show vtp status
HIT COMMAND:lab-rtr1#show vlan
    In ShowVLAN: lab-rtr1#show vlan
HIT COMMAND:lab-rtr1#show vlan-switch
    In ShowVLAN: lab-rtr1#show vlan-switch
HIT COMMAND:lab-rtr1#show debug
    In ShowDebug: lab-rtr1#show debug
HIT COMMAND:lab-rtr1#more system:running-config
    In WriteTerm: lab-rtr1#more system:running-config
lab-rtr1: missed cmd(s): write term,show running-config
lab-rtr1: missed cmd(s): write term,show running-config
lab-rtr1: End of run not found
lab-rtr1: End of run not found
!


More information about the Rancid-discuss mailing list