[rancid] Rancid 2.3.4 issue

Nelson, Leo - Dell Leo.Nelson at chw.edu
Fri Jan 21 19:07:59 UTC 2011


Hi John,
 I have done this and I only find a single instance of Rancid installed. Here is a snippet from the log file when I run rancid-run. I really can't identify the reason why Rancid work on some devices and not others. I have check the router.db file and dns etc. The first device is IOS, second is NxOS.

Anymore help would be appreciated.

more EDC.20110121.115832
starting: Fri Jan 21 11:58:32 MST 2011

/storage/rancid/dead.letter... Saved message in /storage/rancid/dead.letter
cvs add: is1-0204-colo3-edc already exists, with version number 1.1
Added is1-0204-colo3-edc
cvs add: s1-pscchw already exists, with version number 1.1
Added s1-pscchw
cvs add: s1-sjhmc-edc already exists, with version number 1.89
Added s1-sjhmc-edc
cvs add: s2-sjhmc-edc already exists, with version number 1.107
Added s2-sjhmc-edc



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+ { exp_continue } -re {^[^
 *]*as1-0102-co([^#>\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 155)
    invoked from within
"foreach router [lrange $argv $i end] {
    set router [string tolower $router]
    # attempt at platform switching.
    set platform ""
    send_user ..."
    (file "/usr/bin/clogin" line 722)
as1-0102-colo3-edc: missed cmd(s): dir /all slavedisk2:,dir /all sec-slot2:,show diag,dir /all disk1:,dir /al
l sec-nvram:,dir /all disk2:,dir /all sec-bootflash:,show spe version,dir /all slaveslot2:,dir /all disk0:,di
r /all slaveslot0:,dir /all sec-slot1:,dir /all harddiska:,dir /all slavenvram:,dir /all sec-disk2:,dir /all 
slavesup-bootflash:,dir /all sec-disk0:,dir /all harddiskb:,show inventory raw,dir /all slavedisk1:,show modu
le,show controllers,show diagbus,more system:running-config,dir /all slavedisk0:,show debug,dir /all bootflas
h:,dir /all sec-slot0:,dir /all sec-disk1:,write term,show vtp status,dir /all sup-bootflash:,dir /all slot2:
,dir /all harddisk:,dir /all slot0:,dir /all sup-microcode:,show vlan,dir /all slavebootflash:,show controlle
rs cbus,dir /all slaveslot1:,show vlan-switch,show running-config,show c7200,dir /all slot1:
as1-0102-colo3-edc: End of run not found
!
write(spawn_id=1): broken pipe
    while executing
"send_user -- "$expect_out(buffer)""
    invoked from within
"expect -nobrace -re+ { exp_continue } -re {^[^
 *]*as1-0108-co([^#>\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 155)
    invoked from within
"foreach router [lrange $argv $i end] {
    set router [string tolower $router]
    # attempt at platform switching.
    set platform ""
    send_user ..."
    (file "/usr/bin/clogin" line 722)
as1-0108-colo3-edc: missed cmd(s): show module,dir usb1:,dir debug:,show debug,show cores vdc-all,show vtp st
atus,show environment fan,show module xbar,show environment power,show inventory,dir usb2:,show vlan,dir vola
tile:,dir bootflash:,dir slot0:,show processes log vdc-all,dir logflash:,show running-config,show environment
 temperature,show boot
as1-0108-colo3-edc: End of run not found
!Env:                                      ^

Leo Nelson
Network Design Sr. Advisor
 
Information Technology
Catholic Healthcare West
 
Main: 602-407-3570
leo.nelson at chw.edu


-----Original Message-----
From: john heasley [mailto:heas at shrubbery.net] 
Sent: Tuesday, January 18, 2011 12:56 PM
To: Nelson, Leo - Dell
Subject: Re: [rancid] Rancid 2.3.4 issue

Tue, Jan 18, 2011 at 09:49:55AM -0700, Nelson, Leo - Dell:
> More info. If I run rancid independent of the cron it pulls a config down just fine for both devices.
> 

please make sure that you do not have multiple installations of rancid,
esp clogin, on your machine.


More information about the Rancid-discuss mailing list