Package: rancid-core
Version: 2.3.1-4
Severity: grave
Justification: renders package unusable
I've Rancid working on another machine running Debian Etch etc. That
machine only connects against Cisco and HP2524 with no problems. Now I
reinstall Debian and Rancid on this machine (total reinstall for Etch).
This machine backups HP9304M, HP5304XL and HP2524.
Rancid takes the configs OK from HP9304M, HP2524, but not from the
HP5304XL. I'm kinda new to all of this, but gonna try as good as I can
and hope you guys can help me out :)
I get this error:
------Cut'n'paste from /var/log/rancid/dist.20070531.093842-------
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 {^[^
^M *]*S_01_Rob#} { send_user -- "$expect_out(buffer)"
} -re {^[^
^M]*S_01_Rob#.} { send_user -- "$expect_out(buffer)"
..."
invoked from within
"expect {
-re "^\[^\n\r *]*$reprompt" { send_user --
"$expect_out(buffer)"
}
-re "^\[^\n\r]*$reprompt." { send_user --
"$expect_out(buffer)"
..."
invoked from within
"if [ string match "*\;*" "$command" ] {
set commands [split $command \;]
set num_commands [llength $commands]
# the pager can not be turned off on ..."
(procedure "run_commands" line 17)
invoked from within
"run_commands $prompt $command"
("foreach" body line 136)
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//lib/rancid/bin/hlogin" line 553)^M
write(spawn_id=1): broken pipe
while executing
"send_user -- "$expect_out(buffer)""
invoked from within
"expect -nobrace -re {^[^
^M *]*S_01_Ste#} { send_user -- "$expect_out(buffer)"
} -re {^[^
^M]*S_01_Ste#.} { send_user -- "$expect_out(buffer)"
..."
invoked from within
"expect {
-re "^\[^\n\r *]*$reprompt" { send_user --
"$expect_out(buffer)"
}
-re "^\[^\n\r]*$reprompt." { send_user --
"$expect_out(buffer)"
..."
invoked from within
"if [ string match "*\;*" "$command" ] {
set commands [split $command \;]
set num_commands [llength $commands]
# the pager can not be turned off on ..."
(procedure "run_commands" line 17)
invoked from within
"run_commands $prompt $command"
("foreach" body line 136)
invoked from within
"foreach router [lrange $argv $i end] {
set router [string tolower $router]
send_user "$router\n"
------------------------------------------------------------------
And this goes on and on for the dist (5304XL) switches.
This is my /var/lib/rancid/.cloginrc
-----------------------------------
#Cisco router in the net
add autoenable 81.8.205.126 0
add password 81.8.205.126 {ourpass} {ourpass}
add method 81.8.205.126 telnet
#HP9304 Foundry etc
add autoenable 81.8.205.1 0
add password 81.8.205.1 {ourpass} {ourpass}
add method 81.8.205.1 telnet
#For all others HP switches
add password * {ourpass}
add method * telnet
add autoenable * 1
-----------------------------------
This is how my /etc/rancid/rancid.conf looks like(only pasting the
lines I've changed):
----------------------------------
FILTER_PWDS=NO; export FILTER_PWDS
NOCOMMSTR=NO; export NOCOMMSTR
OLDTIME=100; export OLDTIME
PAR_COUNT=10; export PAR_COUNT
LIST_OF_GROUPS="dist core access"
----------------------------------
On Rancids homepage I read this:
NOTE: For rancid >= 2.3, you must use expect >= 5.40. Versions prior to
this appear to have a regex handling bug that affects the ability of
clogin to parse CLI prompts.
So I tried to find out what versions was in the system:
------------------------------------------------------
servername:/var/lib/rancid# wajig list|grep expect
ii expect 5.43.0-8
A program that can automate interactive appl
ii expect-dev 5.43.0-8
A program that can automate interactive appl
ii expectk 5.43.0-8
A program that can automate interactive appl
servername:/var/lib/rancid# wajig list|grep rancid
ii rancid-core 2.3.1-4
rancid --wesome New Cisco confIg Di
------------------------------------------------------
I'm at a loss, kinda need this to work. Thanks for all the great work
with this package :)
Network technician - Sweden
/Viktor
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages rancid-core depends on:
ii cvs 1:1.12.13-8 Concurrent Versions System
ii debconf [debconf-2.0] 1.5.11 Debian configuration management sy
ii expect 5.43.0-8 A program that can automate intera
ii iputils-ping 3:20020927-6 Tools to test the reachability of
ii passwd 1:4.0.18.1-7 change and administer password and
ii perl 5.8.8-7 Larry Wall's Practical Extraction
ii ssh 1:4.3p2-9 Secure shell client and server (tr
ii tcsh [c-shell] 6.14.00-7 TENEX C Shell, an enhanced version
rancid-core recommends no packages.
-- debconf information:
* rancid/damn_upgrade:
* rancid/warning:
* rancid/go_on: true
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]