[rancid] Re: Rancid stopped working for my HP switches

James Zuelow James_Zuelow at ci.juneau.ak.us
Fri Apr 2 19:20:36 UTC 2010

> -----Original Message-----
> From: rancid-discuss-bounces at shrubbery.net 
> [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of 
> David Krider
> Sent: Friday, 02 April, 2010 10:55
> To: Rancid Discussion List
> Subject: [rancid] Rancid stopped working for my HP switches
> I had everything setup, and it worked for a couple weeks, and now I
> can't get backups for my HP Procurve switches. Running:
> export NOPIPE=YES; hrancid -d switch_janitor_closet.data-cave.com
> gets me this, from the raw file:
> -------------
> <SNIP!>
> ^MPress any key to continueProCurve 2610 [103]# ^M
> ProCurve 2610 [103]# no page^M
> ProCurve 2610 [103]# terminal length 0^M
> Invalid input: 0

On ALL of my Procurves, including 2610 series, the terminal length has to be a number between 2 and 1000.

0 causes an error.

I lost collections from all of my Procurves when I upgraded from Lenny to Squid using the Debian packaged version of rancid.  I was already using the Squid package on Lenny to work around another bug with collection from my 5406, so I'm not sure why that happened but it did.

I edited hlogin and commented out the line:

send "terminal length 0\r"

After commenting out the line, everything works as advertised again.  Perhaps that will work for you as well.



More information about the Rancid-discuss mailing list