cat5rancid error: "End of run not found"

Ivan Philips ivan.philips at aarnet.edu.au
Thu Jul 21 08:01:14 UTC 2005


Hey All,

I am new to rancid and I having some problems getting it to work on my 
Cisco CatOS switches (2948's). It works fine on all my other devices.

What I have noticed is that rancid sometimes can and sometimes can't 
grab the configs off the 2948s. When things go bad I get an "End of run 
not found" in the log file.

I can clogin to the devices without any problem but when I run 
cat5rancid on them I get the following output.

iphilips at lisa:~/rancid/bin$ export NOPIPE=YES;cat5rancid -d 203.143.175.140
executing clogin -t 240 -c"show version;show boot;show flash;dir 
bootflash:;dir slot0:;dir slot1:;dir sup-bootflash:;dir 
sup-microcode:;show module;show port ifindex;write term all;write 
term;show running-config" 203.143.175.140
PROMPT MATCH: ken-L5-G10-C4-S2>
HIT COMMAND:ken-L5-G10-C4-S2> (enable) show version
     In ShowVersion: ken-L5-G10-C4-S2> (enable) show version
HIT COMMAND:ken-L5-G10-C4-S2> (enable) show boot
     In ShowBoot: ken-L5-G10-C4-S2> (enable) show boot
HIT COMMAND:ken-L5-G10-C4-S2> (enable) show flash
     In ShowFlash: ken-L5-G10-C4-S2> (enable) show flash
HIT COMMAND:ken-L5-G10-C4-S2> (enable) dir bootflash:
     In DirSlotN: ken-L5-G10-C4-S2> (enable) dir bootflash:
HIT COMMAND:ken-L5-G10-C4-S2> (enable) dir slot0:
     In DirSlotN: ken-L5-G10-C4-S2> (enable) dir slot0:
HIT COMMAND:ken-L5-G10-C4-S2> (enable) dir slot1:
     In DirSlotN: ken-L5-G10-C4-S2> (enable) dir slot1:
HIT COMMAND:ken-L5-G10-C4-S2> (enable) dir sup-bootflash:
     In DirSlotN: ken-L5-G10-C4-S2> (enable) dir sup-bootflash:
HIT COMMAND:ken-L5-G10-C4-S2> (enable) dir sup-microcode:
     In DirSlotN: ken-L5-G10-C4-S2> (enable) dir sup-microcode:
HIT COMMAND:ken-L5-G10-C4-S2> (enable) show module
     In ShowModule: ken-L5-G10-C4-S2> (enable) show module
HIT COMMAND:ken-L5-G10-C4-S2> (enable) show port ifindex
     In ShowPortIfindex: ken-L5-G10-C4-S2> (enable) show port ifindex
HIT COMMAND:ken-L5-G10-C4-S2> (enable) write term all
     In WriteTerm: ken-L5-G10-C4-S2> (enable) write term all
HIT COMMAND:ken-L5-G10-C4-S2> (enable) write term
     In WriteTerm: ken-L5-G10-C4-S2> (enable) write term
HIT COMMAND:ken-L5-G10-C4-S2> (enable) show running-config
     In WriteTerm: ken-L5-G10-C4-S2> (enable) show running-config
203.143.175.140: End of run not found
203.143.175.140: End of run not found
end

Here is the tail of the dot raw file

iphilips at lisa:~/rancid/bin$ tail -10  203.143.175.140.raw
set trunk 2/49 on dot1q 1-1005
set trunk 2/50 off dot1q 1-1005,1025-4094
set spantree portfast    2/1-48 enable
set spantree bpdu-filter 2/1-48 disable
set spantree bpdu-guard 2/1-48 enable
set spantree guard none 2/1-50
set port channel 2/1-50 mode off
end
ken-L5-G10-C4-S2> (enable)Connection to 203.143.175.140 closed by remote 
host.
Connection to 203.143.175.140 closed.

Other than the "End of run not found" it all looks good, but when I run 
rancid-run it I end up with a 0 bytes sized file and no CVS updates.

This doesn't happen all the time, sometimes it just works.

Any ideas?

Thanks

Ivan



More information about the Rancid-discuss mailing list