Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: RANCID: Users

hlogin timeout

 

 

RANCID users RSS feed   Index | Next | Previous | View Threaded


hugo.deprez at gmail

Apr 27, 2011, 8:00 AM

Post #1 of 7 (857 views)
Permalink
hlogin timeout

Hello guys,

I'm trying to backup HP Procurve switches.
Model I tried are : HP-2610, HP-2810 and HP-2510

To debug i try the following command :

sudo -u rancid /var/lib/rancid/bin/hlogin -c "show version" HP-2610

I always block at the HP UI :


Copyright (C) 1991-2009 Hewlett-Packard Co. All Rights Reserved.

RESTRICTED RIGHTS LEGEND

[...]


Press to key to ctntieue

The hlogin return Error: TIMEOUT reached

I am running Debian Squeeze with rancid 2.3.3-1 (official package)

Is that a bug from this rancid version ?

Thanks in advance

Hugo


heas at shrubbery

Apr 27, 2011, 8:41 AM

Post #2 of 7 (816 views)
Permalink
Re: hlogin timeout [In reply to]

Wed, Apr 27, 2011 at 05:00:58PM +0200, Hugo Deprez:
> I'm trying to backup HP Procurve switches.
> Model I tried are : HP-2610, HP-2810 and HP-2510
>
> To debug i try the following command :

> [...]
>
>
> Press to key to ctntieue
>
> The hlogin return Error: TIMEOUT reached
>
> I am running Debian Squeeze with rancid 2.3.3-1 (official package)
>
> Is that a bug from this rancid version ?

yes, sort of. a change in linux libc caused this. grab 2.3.6 from
ftp.shrubbery.net
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


hugo.deprez at gmail

Apr 27, 2011, 8:56 AM

Post #3 of 7 (796 views)
Permalink
Re: hlogin timeout [In reply to]

Hello John,

thank you for the information.
I'll have a look for the latest rancid version.

Regards,

Hugo

On 27 April 2011 17:41, john heasley <heas [at] shrubbery> wrote:

> Wed, Apr 27, 2011 at 05:00:58PM +0200, Hugo Deprez:
> > I'm trying to backup HP Procurve switches.
> > Model I tried are : HP-2610, HP-2810 and HP-2510
> >
> > To debug i try the following command :
>
> > [...]
> >
> >
> > Press to key to ctntieue
> >
> > The hlogin return Error: TIMEOUT reached
> >
> > I am running Debian Squeeze with rancid 2.3.3-1 (official package)
> >
> > Is that a bug from this rancid version ?
>
> yes, sort of. a change in linux libc caused this. grab 2.3.6 from
> ftp.shrubbery.net
>


paul at gear

Apr 27, 2011, 8:17 PM

Post #4 of 7 (804 views)
Permalink
Re: hlogin timeout [In reply to]

On 28/04/11 01:00, Hugo Deprez wrote:
> Hello guys,
>
> I'm trying to backup HP Procurve switches.
> Model I tried are : HP-2610, HP-2810 and HP-2510
>
> To debug i try the following command :
>
> sudo -u rancid /var/lib/rancid/bin/hlogin -c "show version" HP-2610
>
> I always block at the HP UI :
>

When i deployed RANCID, i found that forgetting to set autoenable on
ProCurve switches resulted in very similar behaviour. Check that you
have it set. I found that using the patch for expect was not necessary
in my case.

Paul

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


heas at shrubbery

Apr 29, 2011, 11:24 AM

Post #5 of 7 (810 views)
Permalink
Re: hlogin timeout [In reply to]

Thu, Apr 28, 2011 at 01:17:49PM +1000, Paul Gear:
> When i deployed RANCID, i found that forgetting to set autoenable on
> ProCurve switches resulted in very similar behaviour. Check that you
> have it set.

true, but given the mangling in the output that he provided, i'm about
99% sure its their libc change for wide characters.

> I found that using the patch for expect was not necessary
> in my case.

thats probably luck of the timing.
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


peo at chalmers

Apr 29, 2011, 10:39 PM

Post #6 of 7 (795 views)
Permalink
Re: hlogin timeout [In reply to]

john heasley 2011-04-27 17:41:
> Wed, Apr 27, 2011 at 05:00:58PM +0200, Hugo Deprez:
>> I'm trying to backup HP Procurve switches.
>> Model I tried are : HP-2610, HP-2810 and HP-2510
>>
>> To debug i try the following command :
>
>> [...]
>>
>>
>> Press to key to ctntieue
>>
>> The hlogin return Error: TIMEOUT reached
>>
>> I am running Debian Squeeze with rancid 2.3.3-1 (official package)
>>
>> Is that a bug from this rancid version ?
>
> yes, sort of. a change in linux libc caused this. grab 2.3.6 from
> ftp.shrubbery.net
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss [at] shrubbery
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss

Or bug in rancid 2.3.3
"Missing hpuifilter in hlogin"

Look for subject
"[rancid] Re: Rancid stopped working for my HP switches"
from 04/03/2010
and/or
[rancid] SSH issues "couldn't compile regular expression pattern:
parentheses () not balanced
from 06/23/2010

Peo
----------------------------------------------------------
Per-Olof Olsson Email: peo [at] chalmers
Chalmers tekniska högskola IT-service
Hörsalsvägen 5 412 96 Göteborg
Tel: 031/772 6738 Fax: 031/772 8680
----------------------------------------------------------
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


hugo.deprez at gmail

May 9, 2011, 7:20 AM

Post #7 of 7 (782 views)
Permalink
Re: hlogin timeout [In reply to]

Ok thanks for the tips.

I just try with rancid 2.3.6 and it works great !

Thank you guys.

Hugo

On 30 April 2011 07:39, Per-Olof Olsson <peo [at] chalmers> wrote:

> john heasley 2011-04-27 17:41:
>
>> Wed, Apr 27, 2011 at 05:00:58PM +0200, Hugo Deprez:
>>
>>> I'm trying to backup HP Procurve switches.
>>> Model I tried are : HP-2610, HP-2810 and HP-2510
>>>
>>> To debug i try the following command :
>>>
>>
>> [...]
>>>
>>>
>>> Press to key to ctntieue
>>>
>>> The hlogin return Error: TIMEOUT reached
>>>
>>> I am running Debian Squeeze with rancid 2.3.3-1 (official package)
>>>
>>> Is that a bug from this rancid version ?
>>>
>>
>> yes, sort of. a change in linux libc caused this. grab 2.3.6 from
>> ftp.shrubbery.net
>> _______________________________________________
>> Rancid-discuss mailing list
>> Rancid-discuss [at] shrubbery
>> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>>
>
> Or bug in rancid 2.3.3
> "Missing hpuifilter in hlogin"
>
> Look for subject
> "[rancid] Re: Rancid stopped working for my HP switches"
> from 04/03/2010
> and/or
> [rancid] SSH issues "couldn't compile regular expression pattern:
> parentheses () not balanced
> from 06/23/2010
>
> Peo
> ----------------------------------------------------------
> Per-Olof Olsson Email: peo [at] chalmers
> Chalmers tekniska högskola IT-service
> Hörsalsvägen 5 412 96 Göteborg
> Tel: 031/772 6738 Fax: 031/772 8680
> ----------------------------------------------------------
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss [at] shrubbery
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>

RANCID users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.