[rancid] IOS XR devices not contacted for more than 24 hrs error
Mayibongwe Darlington Mpofu
mpofu.md at gmail.com
Thu Jun 23 13:51:25 UTC 2016
Hi guys
I need help with IOS XR devices that have not been contacted for more than
24 hrs.
I can run clogin and run commands on the ios xr devices and it works OK.
xrancid seems to work as well.
how ever cronjob rancid-run returns End of file not found.
On the log file l get the following error:
cvs [status aborted]: cannot open file xxx-xxx-xxx-router01 for comparing:
Permission denied
cvs [status aborted]: cannot open file xxx-xxx-xxx-router02 for comparing:
Permission denied
Trying to get all of the configs.
write(spawn_id=1): broken pipe
while executing
"send_user -- "$expect_out(buffer)""
invoked from within
"expect -nobrace -re ^H+ { exp_continue } -re {^[^
^M *]*RP/0/RSP0/C([^#>\r\n]+)?[#>](\([^)\r\n]+\))?} { send_user --
"$expect_out(buffer)"
} -re {..."
invoked from within
"expect {
-re "\b+" { exp_continue }
-re "^\[^\n\r *]*$reprompt" { send_user --
"$expect_out(buffer)"
}
-re "^\[^\n\r]*$reprom..."
(procedure "run_commands" line 39)
invoked from within
"run_commands $prompt $command"
("foreach" body line 166)
invoked from within
"foreach router [lrange $argv $i end] {
set router [string tolower $router]
# attempt at platform switching.
set platform ""
send_user ..."
(file "/usr/local/rancid/bin/clogin" line 743)^M
zaf-mid-mtb-msr01: missed cmd(s): dir /all disk1a:,admin show diag,dir /all
slavedisk2:,dir /all sec-slot2:,dir /all disk1:,dir /all sec-nvram:,show
diag chassis-info,dir /all disk2:,dir /all sec-bootflash:,dir /all
slaveslot2:,dir /all disk0:,show install active,dir /all compactflasha:,dir
/all slaveslot0:,dir /all sec-slot1:,dir /all harddiska:,dir /all
slavenvram:,dir /all sec-disk2:,dir /all sec-disk0:,dir /all harddiskb:,dir
/all slavedisk1:,admin show env all,show controllers,dir /all
slavedisk0:,show debug,dir /all bootflash:,dir /all sec-slot0:,dir /all
sec-disk1:,dir /all disk0a:,dir /all slot2:,dir /all compactflash:,dir /all
harddisk:,dir /all slot0:,show vlan,dir /all slavebootflash:,dir /all
slaveslot1:,dir /all nvram:,admin show inventory raw,show redundancy
secondary,admin show variables boot,show running-config,dir /all slot1:
xxx-xxx-xxx-ruoter01: End of run not found
and
>xrrancid -d zaf-mid-mtb-msr01
executing clogin -t 90 -c"terminal no-timestamp;terminal exec prompt
no-timestamp;admin show version;show redundancy secondary;show install
active;admin show env all;show diag chassis-info;admin show variables
boot;dir /all nvram:;dir /all bootflash:;dir /all compactflash:;dir /all
compactflasha:;dir /all slot0:;dir /all disk0:;dir /all disk0a:;dir /all
slot1:;dir /all disk1:;dir /all disk1a:;dir /all slot2:;dir /all disk2:;dir
/all harddisk:;dir /all harddiska:;dir /all harddiskb:;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 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;admin show diag;admin show inventory raw;show vlan;show
debug;show running-config" zaf-mid-mtb-msr01
PROMPT MATCH: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#terminal no-timestamp
In FilterAll: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#terminal no-timestamp
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#terminal exec prompt
no-timestamp
In FilterAll: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#terminal exec prompt
no-timestamp
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#admin show version
In ShowVersion: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#admin show version
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#show redundancy secondary
In ShowRedundancy: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#show redundancy
secondary
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#show install active
In ShowInstallActive: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#show install
active
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#admin show env all
In ShowEnv: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#admin show env all
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#show diag chassis-info
In ShowGSR: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#show diag chassis-info
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#admin show variables boot
In ShowBoot: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#admin show variables
boot
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all nvram:
In DirSlotN: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all nvram:
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all bootflash:
In DirSlotN: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all bootflash:
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all compactflash:
In DirSlotN: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all compactflash:
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all compactflasha:
In DirSlotN: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all compactflasha:
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all slot0:
In DirSlotN: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all slot0:
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all disk0:
In DirSlotN: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all disk0:
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all disk0a:
In DirSlotN: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all disk0a:
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all slot1:
In DirSlotN: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all slot1:
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all disk1:
In DirSlotN: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all disk1:
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all disk1a:
In DirSlotN: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all disk1a:
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all slot2:
In DirSlotN: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all slot2:
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all disk2:
In DirSlotN: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all disk2:
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all harddisk:
In DirSlotN: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all harddisk:
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all harddiska:
In DirSlotN: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all harddiska:
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all harddiskb:
In DirSlotN: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all harddiskb:
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all slavenvram:
In DirSlotN: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all slavenvram:
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all slavebootflash:
In DirSlotN: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all
slavebootflash:
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all slaveslot0:
In DirSlotN: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all slaveslot0:
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all slavedisk0:
In DirSlotN: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all slavedisk0:
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all slaveslot1:
In DirSlotN: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all slaveslot1:
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all slavedisk1:
In DirSlotN: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all slavedisk1:
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all slaveslot2:
In DirSlotN: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all slaveslot2:
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all slavedisk2:
In DirSlotN: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all slavedisk2:
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all sec-nvram:
In DirSlotN: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all sec-nvram:
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all sec-bootflash:
In DirSlotN: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all sec-bootflash:
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all sec-slot0:
In DirSlotN: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all sec-slot0:
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all sec-disk0:
In DirSlotN: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all sec-disk0:
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all sec-slot1:
In DirSlotN: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all sec-slot1:
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all sec-disk1:
In DirSlotN: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all sec-disk1:
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all sec-slot2:
In DirSlotN: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all sec-slot2:
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all sec-disk2:
In DirSlotN: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#dir /all sec-disk2:
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#show controllers
In ShowContAll: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#show controllers
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#admin show diag
In ShowDiag: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#admin show diag
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#admin show inventory raw
In ShowInventory: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#admin show
inventory raw
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#show vlan
In ShowVLAN: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#show vlan
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#show debug
In ShowDebug: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#show debug
HIT COMMAND:RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#show running-config
In WriteTerm: RP/0/RSP0/CPU0:xxx-xxx-xxx-router01#show running-config
>
Where do l start troubleshooting. where am l going wrong with these ios xr
devices.
Regards
DarlingtonM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20160623/b6201d69/attachment.html>
More information about the Rancid-discuss
mailing list