[rancid] Re: Rancid-run not writing configs
Chris Bell
CBell at thig.com
Mon Oct 15 23:43:08 UTC 2007
This was actually fixed today via some good advice from a mentor of mine who
also subscribes to this mail list. The version of Rancid I was running was
2.3.1. When using HP devices, you must use the version listed 2.3.2a6. I
simply installed the updated version over my already configured (wrong)
version and Voila! It works.
Now if I can just figure out how I screwed up my cvsweb install... I'll be
doing good.
Thanks for all the help... great group, and RANCID is a must have.
-----Original Message-----
From: rancid-discuss-bounces at shrubbery.net
[mailto:rancid-discuss-bounces at shrubbery.net]On Behalf Of Stewart, David
Sent: Monday, October 15, 2007 5:11 PM
To: 'Chris Gauthier'; 'rancid-discuss at shrubbery.net'
Subject: [rancid] Re: Rancid-run not writing configs
This is virtually the same problem I asked about this past June 2007( Re:
missed cmd issues - "wr term"). Rancid simply fails on some devices that
worked for months previously. The failure becomes a regular failure. Part
of life with rancid.
The only response I got at that time that seemed to fit was that the problem
may be related to the Linux platform...e.g. no problems found on FreeBSD,
but has been seen on other Linux products. It seems a common problem with
no other solution to date. I just live with it and rely on other products
to cover the gaps.
_____
From: Chris Gauthier [mailto:cgauthie at pcc.edu]
Sent: Monday, October 15, 2007 12:35 PM
To: 'rancid-discuss at shrubbery.net'
Subject: [rancid] Re: Rancid-run not writing configs
Or, if your HP is one of the ones that Foundry Networks OEM's for HP, why
not flogin?
Chris
Lance wrote:
When you are running rancid-run are you running it as the same user you
clogin to the device as?
If you are doing HP devices why are you using clogin. Why not hlogin or
hpuifilter?
-------- Original Message --------
From: Chris Bell <mailto:CBell at thig.com> <CBell at thig.com>
Date: Mon, October 15, 2007 7:04 am
To: "'rancid-discuss at shrubbery.net'"
<mailto:'rancid-discuss at shrubbery.net'>
<mailto:rancid-discuss at shrubbery.net> <rancid-discuss at shrubbery.net>
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.
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss at shrubbery.net <mailto:Rancid-discuss at shrubbery.net>
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
<http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss>
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss at shrubbery.net <mailto:Rancid-discuss at shrubbery.net>
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
<http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss>
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