[rancid] Re: Dell Powerconnect switches - problem and suggestion

George Hills george at brightbox.co.uk
Mon Aug 17 08:53:18 UTC 2009


Hi,

Thank you for spending so much time on this. It's much appreciated.

> I've made another change that should fix this.
>
> Download http://www.rickyninja.net/rancid/dlogin-dev again, and let me
> know if it works for you.

With this latest change, it is good for the 5324s. It fails on the 6248s
now though. I'm not quite sure exactly what's going on, but if I do a
dlogin -c "show run"
it hangs forever at the first "More" prompt.

rancid-run is producing output like the below in the log, for 6248s. All
well for 5324s though:

Cheers

starting: Mon Aug 17 09:33:55 BST 2009

cvs add: Re-adding file `SWITCHNAME' after dead revision 1.3.
cvs add: use `cvs commit' to add this file permanently
/var/lib/rancid/CVS/switches/configs/SWITCHNAME,v  <--  SWITCHNAME
new revision: 1.4; previous revision: 1.3
Added SWITCHNAME



Trying to get all of the configs.
opened network stream from SWITCHNAME if () at
/usr/lib/rancid/bin/drancid line 267.
FOUND PROMPT: switch3.cl0#
FOUND PROMPT: switch3.cl0#
can't read "in_proc": no such variable
    while executing
"if { $in_proc} {
                    return 1
                } else {
                    continue
                }"
    invoked from within
"expect -nobrace -re+ { exp_continue } -re {^[^
^M *]*#} { send_user -- "$expect_out(buffer)" } -re {^[^
^M *]*#} { send_user -- "$expect_out(buffer)" ..."
    invoked from within
"expect {
        -re "\b+"                       { exp_continue }
        -re "^\[^\n\r *]*$reprompt"     { send_user --
"$expect_out(buffer)" }
     ..."
    (procedure "processCommandOutput" line 2)
    invoked from within
"processCommandOutput $prompt $reprompt"
    invoked from within
"if [ string match "*\;*" "$command" ] {
        set commands [split $command \;]
        set num_commands [llength $commands]
        for {set i 0} {$..."
    (procedure "run_commands" line 13)
    invoked from within
"run_commands $prompt $command"
    ("foreach" body line 146)
    invoked from within
"foreach router [lrange $argv $i end] {
    set router [string tolower $router]
    send_user "$router\n"

    # Figure out the prompt.
    # autoenabl..."


-- 
George Hills
Systems Administrator
Brightbox
http://www.brightbox.co.uk/



More information about the Rancid-discuss mailing list