[rancid] Rancid-run not writing configs

Chris Bell CBell at thig.com
Mon Oct 15 14:04:47 UTC 2007


Hi all.. I've searched the email list for the last several months for a
similar situation and have not found anything that applies.  Hopefully
somebody can set me straight as I'm sure it's a simple configuration error
on my part.

OS = Ubuntu 7.04 lts
Rancid = rancid-2.3.1
Expect = expect_5.43.0

I can ssh into any of HP devices (3400cl-48) from the same rancid server, as
user rancid, with no error.  I can "clogin 192.168.1.1" to each device no
error.  When I "clogin -c 'sh run' 192.168.1.1" rancid hangs and will no
complete the command.  When I run /home/rancid/bin/rancid-run I get the
following messages in the /home/rancid/var/rancid/logs file:

Getting missed routers: round 1.
192.168.1.1 clogin error: Error: Couldn't login
192.168.1.1: missed cmd(s): show stack,show module,show flash,show
version,show system-information,write term
192.168.1.1: End of run not found
;
192.168.1.2 clogin error: Error: Couldn't login
192.168.1.2: missed cmd(s): show stack,show module,show flash,show
version,show system-information,write term
192.168.1.2: End of run not found
;
=====================================
Getting missed routers: round 2.
192.168.1.2 clogin error: Error: Couldn't login
192.168.1.2: missed cmd(s): show stack,show module,show flash,show
version,show system-information,write term
192.168.1.2: End of run not found
;
192.168.1.1 clogin error: Error: Couldn't login
192.168.1.1: missed cmd(s): show stack,show module,show flash,show
version,show system-information,write term
192.168.1.1: End of run not found
;
=====================================
Getting missed routers: round 3.
192.168.1.1 clogin error: Error: Couldn't login
192.168.1.1: missed cmd(s): show stack,show module,show flash,show
version,show system-information,write term
192.168.1.1: End of run not found
;
192.168.1.2 clogin error: Error: Couldn't login
192.168.1.2: missed cmd(s): show stack,show module,show flash,show
version,show system-information,write term
192.168.1.2: End of run not found
;
=====================================
Getting missed routers: round 4.
192.168.1.2 clogin error: Error: Couldn't login
192.168.1.2: missed cmd(s): show stack,show module,show flash,show
version,show system-information,write term
192.168.1.2: End of run not found
;
192.168.1.1 clogin error: Error: Couldn't login
192.168.1.1: missed cmd(s): show stack,show module,show flash,show
version,show system-information,write term
192.168.1.1: End of run not found
;

I am using a radius server to authenticate, but I also have the correct
password in my /.cloginrc script. I verified this by sshing manually using
the username and password listed in there.

Suggestions, help, advice.. anything would be much appreciated!  Thanks
kindly in advance.

Christopher Bell CCNA, MCP, Network +



Chris Bell
Systems, ext 1734




CONFIDENTIAL NOTICE: This email including any attachments, contains 
confidential information belonging to the sender. It may also be 
privileged or otherwise protected by work product immunity or other 
legal rules. This information is intended only for the use of the 
individual or entity named above.  If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, 
distribution or the taking of any action in reliance on the contents 
of this emailed information is strictly prohibited.  If you have 
received this email in error, please immediately notify us by 
reply email of the error and then delete this email immediately.


More information about the Rancid-discuss mailing list