rancid 2.3.1 failure with all "cat5" devices (was working before 2.3rc1 -> 2.3.1 upgrade)

Christopher E. Brown chris.brown at acsalaska.net
Tue Sep 28 00:27:11 UTC 2004


bash-2.05b$ /usr/local/libexec/rancid/cat5rancid -d cs02-nwc
executing clogin -t 300 -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" 
cs02-nwc
PROMPT MATCH: cs02-nwc>
HIT COMMAND:cs02-nwc> (enable) show version
     In ShowVersion: cs02-nwc> (enable) show version
HIT COMMAND:cs02-nwc> (enable) show boot
     In ShowBoot: cs02-nwc> (enable) show boot
HIT COMMAND:cs02-nwc> (enable) show flash
     In ShowFlash: cs02-nwc> (enable) show flash
HIT COMMAND:cs02-nwc> (enable) dir bootflash:
     In DirSlotN: cs02-nwc> (enable) dir bootflash:
HIT COMMAND:cs02-nwc> (enable) dir slot0:
     In DirSlotN: cs02-nwc> (enable) dir slot0:
HIT COMMAND:cs02-nwc> (enable) dir slot1:
     In DirSlotN: cs02-nwc> (enable) dir slot1:
HIT COMMAND:cs02-nwc> (enable) dir sup-bootflash:
     In DirSlotN: cs02-nwc> (enable) dir sup-bootflash:
HIT COMMAND:cs02-nwc> (enable) dir sup-microcode:
     In DirSlotN: cs02-nwc> (enable) dir sup-microcode:
HIT COMMAND:cs02-nwc> (enable) show module
     In ShowModule: cs02-nwc> (enable) show module
HIT COMMAND:cs02-nwc> (enable) show port ifindex
     In ShowPortIfindex: cs02-nwc> (enable) show port ifindex
HIT COMMAND:cs02-nwc> (enable) write term all
     In WriteTerm: cs02-nwc> (enable) write term all
write(spawn_id=4): I/O error
     while executing
"send "exit\r""
     invoked from within
"expect -nobrace -re {^[^
  *]*cs02-nwc> \(enable\)} {
                                                   # the Cisco CE and 
Jnx ERX
                                                   # return to 
non-enabled mode
                                                   # on exit in ena..."
     invoked from within
"expect {
         -re "^\[^\n\r *]*$reprompt"             {
                                                   # the Cisco CE and 
Jnx ERX
                                                   # return to 
non-enabled mode
                                                   # on exit in enabled 
mode.
                 ..."
     (procedure "run_commands" line 104)
     invoked from within
"run_commands $prompt $command"
     ("foreach" body line 144)
     invoked from within
"foreach router [lrange $argv $i end] {
     set router [string tolower $router]
     send_user "$router\n"

     # Figure out prompt.
     # Since autoena..."
     (file "/usr/local/libexec/rancid/clogin" line 616)
cs02-nwc: missed cmd(s): write term
cs02-nwc: missed cmd(s): write term

-- 
------------------------------------------------------------------------
Christopher E. Brown   <chris.brown at acsalaska.net>   desk (907) 273-6893
                                                      cell (907) 632-8492
IP Engineer III - ACS
------------------------------------------------------------------------



More information about the Rancid-discuss mailing list