Discussion:
[rancid] missed cmd(s): all commands
Jim P
2015-06-10 15:31:54 UTC
Permalink
greetings. I have been googling like crazy but I am unable to figure out
what this error means in the logs. What is "all commands?" was I supposed
to put them in?

Here is the log itself. The switch is an HP, which I put appropriately in
the router.db file. (x.x.x.x;hp;up)

-----------------------------
[***@localhost logs]$ more Switches.20150610.110807
starting: Wed Jun 10 11:08:07 EDT 2015

cvs add: x.x.x.x already exists, with version number 1.1
Added x.x.x.xx

Trying to get all of the configs.
x.x.x.x: missed cmd(s): all commands
x.x.x.x: clogin error: Error: TIMEOUT reached
x.x.x.x: End of run not found
;

has anyone seen this before. I am fairly new to Rancid. This is my 2nd day
playing around w/it

thanks for any help

Jim
Scott Granados
2015-06-10 16:51:43 UTC
Permalink
So likely if you’re running 3.2 (you didn’t put the rancid version I don’t think) you need to use ;s and not :s in your router.db file.

The commands error means that no commands ran successfully I believe. Try changing to ;s in your router.db file and rerunning. I got this exact result before I updated my config thanks to someone on list a while back.

Good luck

Scott

On Jun 10, 2015, at 11:31 AM, Jim P <***@gmail.com> wrote:

> greetings. I have been googling like crazy but I am unable to figure out what this error means in the logs. What is "all commands?" was I supposed to put them in?
>
> Here is the log itself. The switch is an HP, which I put appropriately in the router.db file. (x.x.x.x;hp;up)
>
> -----------------------------
> [***@localhost logs]$ more Switches.20150610.110807
> starting: Wed Jun 10 11:08:07 EDT 2015
>
> cvs add: x.x.x.x already exists, with version number 1.1
> Added x.x.x.xx
>
> Trying to get all of the configs.
> x.x.x.x: missed cmd(s): all commands
> x.x.x.x: clogin error: Error: TIMEOUT reached
> x.x.x.x: End of run not found
> ;
>
> has anyone seen this before. I am fairly new to Rancid. This is my 2nd day playing around w/it
>
> thanks for any help
>
> Jim
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-***@shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Todd Heide
2015-06-10 16:48:24 UTC
Permalink
It simply means it was unable to log into the device and run any of the commands it needs to. Check that Rancid can log in, thats the problem you have.



>________________________________
> From: Jim P <***@gmail.com>
>To: rancid-***@shrubbery.net
>Sent: Wednesday, June 10, 2015 10:31 AM
>Subject: [rancid] missed cmd(s): all commands
>
>
>
>greetings. I have been googling like crazy but I am unable to figure out what this error means in the logs. What is "all commands?" was I supposed to put them in?
>
>
>Here is the log itself. The switch is an HP, which I put appropriately in the router.db file. (x.x.x.x;hp;up)
>
>
>-----------------------------
>[***@localhost logs]$ more Switches.20150610.110807
>starting: Wed Jun 10 11:08:07 EDT 2015
>
>
>cvs add: x.x.x.x already exists, with version number 1.1
>Added x.x.x.xx
>
>
>Trying to get all of the configs.
>x.x.x.x: missed cmd(s): all commands
>x.x.x.x: clogin error: Error: TIMEOUT reached
>x.x.x.x: End of run not found
>;
>
>
>has anyone seen this before. I am fairly new to Rancid. This is my 2nd day playing around w/it
>
>
>thanks for any help
>
>
>Jim
>_______________________________________________
>Rancid-discuss mailing list
>Rancid-***@shrubbery.net
>http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
>
Jim P
2015-06-10 17:00:08 UTC
Permalink
Rancid version 3.1 (sorry forgot to put that!)

thanks everyone (Reading the FAQ now also). I"m definitely using the ; 's
(I found and fixed that problem yesterday actually!)

clogin worked perfectly but maybe my router.db is off still somehow?

Its very simple, with just one test IP
----------------------------------------------------------------
[***@localhost Switches]$ more router.db
1.1.1.1;hp;up
[***@localhost Switches]$
----------------------------------------------------------------

I checked the logs of my HP and I see it logging in but doing nothing,
which is odd.



On Wed, Jun 10, 2015 at 12:48 PM, Todd Heide <***@yahoo.com>
wrote:

> It simply means it was unable to log into the device and run any of the
> commands it needs to. Check that Rancid can log in, thats the problem you
> have.
>
>
>
> >________________________________
> > From: Jim P <***@gmail.com>
> >To: rancid-***@shrubbery.net
> >Sent: Wednesday, June 10, 2015 10:31 AM
> >Subject: [rancid] missed cmd(s): all commands
> >
> >
> >
> >greetings. I have been googling like crazy but I am unable to figure out
> what this error means in the logs. What is "all commands?" was I supposed
> to put them in?
> >
> >
> >Here is the log itself. The switch is an HP, which I put appropriately in
> the router.db file. (x.x.x.x;hp;up)
> >
> >
> >-----------------------------
> >[***@localhost logs]$ more Switches.20150610.110807
> >starting: Wed Jun 10 11:08:07 EDT 2015
> >
> >
> >cvs add: x.x.x.x already exists, with version number 1.1
> >Added x.x.x.xx
> >
> >
> >Trying to get all of the configs.
> >x.x.x.x: missed cmd(s): all commands
> >x.x.x.x: clogin error: Error: TIMEOUT reached
> >x.x.x.x: End of run not found
> >;
> >
> >
> >has anyone seen this before. I am fairly new to Rancid. This is my 2nd
> day playing around w/it
> >
> >
> >thanks for any help
> >
> >
> >Jim
> >_______________________________________________
> >Rancid-discuss mailing list
> >Rancid-***@shrubbery.net
> >http://www.shrubbery.net/mailman/listinfo/rancid-discuss
> >
> >
>
Joseph Bernard
2015-06-10 17:18:26 UTC
Permalink
Have you tried this?

rancid -d -t hp 1.1.1.1


Thanks,
Joseph B.

Sent from my iPhone

On Jun 10, 2015, at 1:07 PM, Jim P <***@gmail.com<mailto:***@gmail.com>> wrote:

Rancid version 3.1 (sorry forgot to put that!)

thanks everyone (Reading the FAQ now also). I"m definitely using the ; 's (I found and fixed that problem yesterday actually!)

clogin worked perfectly but maybe my router.db is off still somehow?

Its very simple, with just one test IP
----------------------------------------------------------------
[***@localhost Switches]$ more router.db
1.1.1.1;hp;up
[***@localhost Switches]$
----------------------------------------------------------------

I checked the logs of my HP and I see it logging in but doing nothing, which is odd.



On Wed, Jun 10, 2015 at 12:48 PM, Todd Heide <***@yahoo.com<mailto:***@yahoo.com>> wrote:
It simply means it was unable to log into the device and run any of the commands it needs to. Check that Rancid can log in, thats the problem you have.



>________________________________
> From: Jim P <***@gmail.com<mailto:***@gmail.com>>
>To: rancid-***@shrubbery.net<mailto:rancid-***@shrubbery.net>
>Sent: Wednesday, June 10, 2015 10:31 AM
>Subject: [rancid] missed cmd(s): all commands
>
>
>
>greetings. I have been googling like crazy but I am unable to figure out what this error means in the logs. What is "all commands?" was I supposed to put them in?
>
>
>Here is the log itself. The switch is an HP, which I put appropriately in the router.db file. (x.x.x.x;hp;up)
>
>
>-----------------------------
>[***@localhost logs]$ more Switches.20150610.110807
>starting: Wed Jun 10 11:08:07 EDT 2015
>
>
>cvs add: x.x.x.x already exists, with version number 1.1
>Added x.x.x.xx
>
>
>Trying to get all of the configs.
>x.x.x.x: missed cmd(s): all commands
>x.x.x.x: clogin error: Error: TIMEOUT reached
>x.x.x.x: End of run not found
>;
>
>
>has anyone seen this before. I am fairly new to Rancid. This is my 2nd day playing around w/it
>
>
>thanks for any help
>
>
>Jim
>_______________________________________________
>Rancid-discuss mailing list
>Rancid-***@shrubbery.net<mailto:Rancid-***@shrubbery.net>
>http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
>
heasley
2015-06-10 17:48:15 UTC
Permalink
Wed, Jun 10, 2015 at 05:18:26PM +0000, Joseph Bernard:
> Have you tried this?
>
> rancid -d -t hp 1.1.1.1

hrancid hasn't been converted to a module yet. so, hrancid -d hostname
Todd Heide
2015-06-10 17:14:19 UTC
Permalink
Dont know if this helps or not, but ran into a similar issue on Cisco devices( not familiar with HP, sorry). The problem was a MOTD banner. clogin looks for # to know it is in enable mode, the MOTD had # as the border, so Rancid never knew it was in enable mode as it saw a ton of # being sent back and timedout. I changed the MOTD to use * and was able to resolve the issue.


So if there is a specific thing Rancid looks for to know it is in enable mode where it can run the commands, then make sure that it is not used in any banners during login.


>________________________________
> From: Jim P <***@gmail.com>
>To:
>Cc: "rancid-***@shrubbery.net" <rancid-***@shrubbery.net>
>Sent: Wednesday, June 10, 2015 12:00 PM
>Subject: Re: [rancid] missed cmd(s): all commands
>
>
>
>Rancid version 3.1 (sorry forgot to put that!)
>
>
>thanks everyone (Reading the FAQ now also). I"m definitely using the ; 's (I found and fixed that problem yesterday actually!)
>
>
>clogin worked perfectly but maybe my router.db is off still somehow?
>
>
>Its very simple, with just one test IP
>----------------------------------------------------------------
>
>[***@localhost Switches]$ more router.db
>1.1.1.1;hp;up
>[***@localhost Switches]$
>----------------------------------------------------------------
>
>
>
>I checked the logs of my HP and I see it logging in but doing nothing, which is odd.
>
>
>
>
>
>
>
>
>
>
>On Wed, Jun 10, 2015 at 12:48 PM, Todd Heide <***@yahoo.com> wrote:
>
>It simply means it was unable to log into the device and run any of the commands it needs to. Check that Rancid can log in, thats the problem you have.
>>
>>
>>
>>>________________________________
>>> From: Jim P <***@gmail.com>
>>>To: rancid-***@shrubbery.net
>>>Sent: Wednesday, June 10, 2015 10:31 AM
>>>Subject: [rancid] missed cmd(s): all commands
>>
>>>
>>>
>>>
>>>greetings. I have been googling like crazy but I am unable to figure out what this error means in the logs. What is "all commands?" was I supposed to put them in?
>>>
>>>
>>>Here is the log itself. The switch is an HP, which I put appropriately in the router.db file. (x.x.x.x;hp;up)
>>>
>>>
>>>-----------------------------
>>>[***@localhost logs]$ more Switches.20150610.110807
>>>starting: Wed Jun 10 11:08:07 EDT 2015
>>>
>>>
>>>cvs add: x.x.x.x already exists, with version number 1.1
>>>Added x.x.x.xx
>>>
>>>
>>>Trying to get all of the configs.
>>>x.x.x.x: missed cmd(s): all commands
>>>x.x.x.x: clogin error: Error: TIMEOUT reached
>>>x.x.x.x: End of run not found
>>>;
>>>
>>>
>>>has anyone seen this before. I am fairly new to Rancid. This is my 2nd day playing around w/it
>>>
>>>
>>>thanks for any help
>>>
>>>
>>>Jim
>>
>>>_______________________________________________
>>>Rancid-discuss mailing list
>>>Rancid-***@shrubbery.net
>>>http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>>>
>>>
>>
>
>
>_______________________________________________
>Rancid-discuss mailing list
>Rancid-***@shrubbery.net
>http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
>
Jim P
2015-06-10 17:26:37 UTC
Permalink
wow interesting ... there are no #'s in the banner but it does ask for an
ENTER prompt, maybe its getting stuck there? I wonder if that is screwing
it up. It doesn't look like I can get rid of the "Press any key to
continue" even if I have no banner at all.

-------------------------------------------------------------------------------------------------------------------------------
***@1.1.1.1's password:
ProCurve J4899B Switch 2650
Software revision H.10.115

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

RESTRICTED RIGHTS LEGEND

Use, duplication, or disclosure by the Government is subject to
restrictions
as set forth in subdivision (b) (3) (ii) of the Rights in Technical Data
and
Computer Software clause at 52.227-7013.

HEWLETT-PACKARD COMPANY, 3000 Hanover St., Palo Alto, CA 94303

Press any key to continue
-------------------------------------------------------------------------------------------------------------------------------


On Wed, Jun 10, 2015 at 1:14 PM, Todd Heide <***@yahoo.com> wrote:

> Dont know if this helps or not, but ran into a similar issue on Cisco
> devices( not familiar with HP, sorry). The problem was a MOTD banner.
> clogin looks for # to know it is in enable mode, the MOTD had # as the
> border, so Rancid never knew it was in enable mode as it saw a ton of #
> being sent back and timedout. I changed the MOTD to use * and was able to
> resolve the issue.
>
>
> So if there is a specific thing Rancid looks for to know it is in enable
> mode where it can run the commands, then make sure that it is not used in
> any banners during login.
>
>
> >________________________________
> > From: Jim P <***@gmail.com>
> >To:
> >Cc: "rancid-***@shrubbery.net" <rancid-***@shrubbery.net>
> >Sent: Wednesday, June 10, 2015 12:00 PM
> >Subject: Re: [rancid] missed cmd(s): all commands
> >
> >
> >
> >Rancid version 3.1 (sorry forgot to put that!)
> >
> >
> >thanks everyone (Reading the FAQ now also). I"m definitely using the ; 's
> (I found and fixed that problem yesterday actually!)
> >
> >
> >clogin worked perfectly but maybe my router.db is off still somehow?
> >
> >
> >Its very simple, with just one test IP
> >----------------------------------------------------------------
> >
> >[***@localhost Switches]$ more router.db
> >1.1.1.1;hp;up
> >[***@localhost Switches]$
> >----------------------------------------------------------------
> >
> >
> >
> >I checked the logs of my HP and I see it logging in but doing nothing,
> which is odd.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >On Wed, Jun 10, 2015 at 12:48 PM, Todd Heide <***@yahoo.com>
> wrote:
> >
> >It simply means it was unable to log into the device and run any of the
> commands it needs to. Check that Rancid can log in, thats the problem you
> have.
> >>
> >>
> >>
> >>>________________________________
> >>> From: Jim P <***@gmail.com>
> >>>To: rancid-***@shrubbery.net
> >>>Sent: Wednesday, June 10, 2015 10:31 AM
> >>>Subject: [rancid] missed cmd(s): all commands
> >>
> >>>
> >>>
> >>>
> >>>greetings. I have been googling like crazy but I am unable to figure
> out what this error means in the logs. What is "all commands?" was I
> supposed to put them in?
> >>>
> >>>
> >>>Here is the log itself. The switch is an HP, which I put appropriately
> in the router.db file. (x.x.x.x;hp;up)
> >>>
> >>>
> >>>-----------------------------
> >>>[***@localhost logs]$ more Switches.20150610.110807
> >>>starting: Wed Jun 10 11:08:07 EDT 2015
> >>>
> >>>
> >>>cvs add: x.x.x.x already exists, with version number 1.1
> >>>Added x.x.x.xx
> >>>
> >>>
> >>>Trying to get all of the configs.
> >>>x.x.x.x: missed cmd(s): all commands
> >>>x.x.x.x: clogin error: Error: TIMEOUT reached
> >>>x.x.x.x: End of run not found
> >>>;
> >>>
> >>>
> >>>has anyone seen this before. I am fairly new to Rancid. This is my 2nd
> day playing around w/it
> >>>
> >>>
> >>>thanks for any help
> >>>
> >>>
> >>>Jim
> >>
> >>>_______________________________________________
> >>>Rancid-discuss mailing list
> >>>Rancid-***@shrubbery.net
> >>>http://www.shrubbery.net/mailman/listinfo/rancid-discuss
> >>>
> >>>
> >>
> >
> >
> >_______________________________________________
> >Rancid-discuss mailing list
> >Rancid-***@shrubbery.net
> >http://www.shrubbery.net/mailman/listinfo/rancid-discuss
> >
> >
>
Jim P
2015-06-10 17:36:36 UTC
Permalink
well this may explain it .. but I'm unsure of what it means entirely. I
thought the scripts were included already.

----------------------------------
[***@localhost bin]$ ./rancid -d -t hp 1.1.1.1
loadtype: device type hp
loadtype: found device type hp in /usr/local/rancid/etc/rancid.types.base
login script not defined for device type hp
----------------------------------
Jim P
2015-06-10 18:01:56 UTC
Permalink
tried this also .. no luck

[***@localhost bin]$ ./hrancid -d -t hp 1.1.1.1
executing hlogin -t 90 -c"show version;show flash;show
system-information;show 9
sh: hlogin: command not found
10.10.0.99: missed cmd(s): all commands
10.10.0.99: End of run not found
10.10.0.99: End of run not found
;


On Wed, Jun 10, 2015 at 1:36 PM, Jim P <***@gmail.com> wrote:

> well this may explain it .. but I'm unsure of what it means entirely. I
> thought the scripts were included already.
>
> ----------------------------------
> [***@localhost bin]$ ./rancid -d -t hp 1.1.1.1
> loadtype: device type hp
> loadtype: found device type hp in /usr/local/rancid/etc/rancid.types.base
> login script not defined for device type hp
> ----------------------------------
>
>
Dan Anderson
2015-06-10 19:31:43 UTC
Permalink
What does your current $PATH look like? It would appear that your current
working directory (guessing /usr/local/rancid/bin) isn't in there.

pwd
echo $PATH

On Wed, Jun 10, 2015 at 2:01 PM, Jim P <***@gmail.com> wrote:

> tried this also .. no luck
>
> [***@localhost bin]$ ./hrancid -d -t hp 1.1.1.1
> executing hlogin -t 90 -c"show version;show flash;show
> system-information;show 9
> sh: hlogin: command not found
> 10.10.0.99: missed cmd(s): all commands
> 10.10.0.99: End of run not found
> 10.10.0.99: End of run not found
> ;
>
>
> On Wed, Jun 10, 2015 at 1:36 PM, Jim P <***@gmail.com> wrote:
>
>> well this may explain it .. but I'm unsure of what it means entirely. I
>> thought the scripts were included already.
>>
>> ----------------------------------
>> [***@localhost bin]$ ./rancid -d -t hp 1.1.1.1
>> loadtype: device type hp
>> loadtype: found device type hp in /usr/local/rancid/etc/rancid.types.base
>> login script not defined for device type hp
>> ----------------------------------
>>
>>
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-***@shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>



--
Dan
Jim P
2015-06-10 19:33:56 UTC
Permalink
current $PATH looks like this>

[***@localhost bin]$ pwd
/usr/local/rancid/bin
[***@localhost bin]$ echo $PATH
/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/rancid/.local/bin:/home/rancid/bin

On Wed, Jun 10, 2015 at 3:31 PM, Dan Anderson <***@gmail.com>
wrote:

> What does your current $PATH look like? It would appear that your current
> working directory (guessing /usr/local/rancid/bin) isn't in there.
>
> pwd
> echo $PATH
>
> On Wed, Jun 10, 2015 at 2:01 PM, Jim P <***@gmail.com> wrote:
>
>> tried this also .. no luck
>>
>> [***@localhost bin]$ ./hrancid -d -t hp 1.1.1.1
>> executing hlogin -t 90 -c"show version;show flash;show
>> system-information;show 9
>> sh: hlogin: command not found
>> 10.10.0.99: missed cmd(s): all commands
>> 10.10.0.99: End of run not found
>> 10.10.0.99: End of run not found
>> ;
>>
>>
>> On Wed, Jun 10, 2015 at 1:36 PM, Jim P <***@gmail.com> wrote:
>>
>>> well this may explain it .. but I'm unsure of what it means entirely. I
>>> thought the scripts were included already.
>>>
>>> ----------------------------------
>>> [***@localhost bin]$ ./rancid -d -t hp 1.1.1.1
>>> loadtype: device type hp
>>> loadtype: found device type hp in /usr/local/rancid/etc/rancid.types.base
>>> login script not defined for device type hp
>>> ----------------------------------
>>>
>>>
>>
>> _______________________________________________
>> Rancid-discuss mailing list
>> Rancid-***@shrubbery.net
>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>>
>
>
>
> --
> Dan
>
Jim P
2015-06-10 20:43:38 UTC
Permalink
Thanks for the help everyone. Ok.. I added /usr/local/rancid/bin to $path
but I don't see a difference.

-----------------------------------------------------------------------------------------------
[***@localhost bin]$ ./rancid-run

[***@localhost bin]$ echo $PATH
/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/rancid/.local/bin:/home/rancid/bin:/usr/local/rancid/bin
starting: Wed Jun 10 16:09:05 EDT 2015
Trying to get all of the configs.
1.1.1.1: missed cmd(s): all commands
1.1.1.1 clogin error: Error: TIMEOUT reached
1.1.1.1: End of run not found
;
-----------------------------------------------------------------------------------------------
[***@localhost bin]$ ./rancid -d -t hp 1.1.1.1
loadtype: device type hp
loadtype: found device type hp in /usr/local/rancid/etc/rancid.types.base
login script not defined for device type hp

-----------------------------------------------------------------------------------------------
[***@localhost bin]$ ./hrancid -d -t hp 1.1.1.1
executing hlogin -t 90 -c"show version;show flash;show
system-information;show system information;show module;show stack;show tech
transceivers;show config files;show config status;write term" 1.1.1.1
1.1.1.1 clogin error: Error: TIMEOUT reached
1.1.1.1 clogin error: Error: TIMEOUT reached
1.1.1.1: missed cmd(s): all commands
1.1.1.1: End of run not found
1.1.1.1: End of run not found
;


On Wed, Jun 10, 2015 at 3:33 PM, Jim P <***@gmail.com> wrote:

> current $PATH looks like this>
>
> [***@localhost bin]$ pwd
> /usr/local/rancid/bin
> [***@localhost bin]$ echo $PATH
>
> /usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/rancid/.local/bin:/home/rancid/bin
>
> On Wed, Jun 10, 2015 at 3:31 PM, Dan Anderson <***@gmail.com>
> wrote:
>
>> What does your current $PATH look like? It would appear that your current
>> working directory (guessing /usr/local/rancid/bin) isn't in there.
>>
>> pwd
>> echo $PATH
>>
>> On Wed, Jun 10, 2015 at 2:01 PM, Jim P <***@gmail.com> wrote:
>>
>>> tried this also .. no luck
>>>
>>> [***@localhost bin]$ ./hrancid -d -t hp 1.1.1.1
>>> executing hlogin -t 90 -c"show version;show flash;show
>>> system-information;show 9
>>> sh: hlogin: command not found
>>> 10.10.0.99: missed cmd(s): all commands
>>> 10.10.0.99: End of run not found
>>> 10.10.0.99: End of run not found
>>> ;
>>>
>>>
>>> On Wed, Jun 10, 2015 at 1:36 PM, Jim P <***@gmail.com> wrote:
>>>
>>>> well this may explain it .. but I'm unsure of what it means entirely. I
>>>> thought the scripts were included already.
>>>>
>>>> ----------------------------------
>>>> [***@localhost bin]$ ./rancid -d -t hp 1.1.1.1
>>>> loadtype: device type hp
>>>> loadtype: found device type hp in
>>>> /usr/local/rancid/etc/rancid.types.base
>>>> login script not defined for device type hp
>>>> ----------------------------------
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Rancid-discuss mailing list
>>> Rancid-***@shrubbery.net
>>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>>>
>>
>>
>>
>> --
>> Dan
>>
>
>
Jim P
2015-06-11 14:23:41 UTC
Permalink
Could it be that I am trying to backup HP 2650's (and the like). They are
pretty old, and I know the CLI changed significantly in the newer models.
I'm just unsure what RANCID is entirely expecting.

Here is my current hrancid test

(path as rancid looks good)
[***@localhost bin]$ echo $PATH
/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/local/rancid/bin:/home/rancid/.local/bin:/home/rancid/bin

(hrancid test)
[***@localhost bin]$ ./hrancid -d -t hp 1.1.1.1

executing hlogin -t 90 -c"show version;show flash;show
system-information;show system information;show module;show stack;show tech
t9
1.1.1.1 clogin error: Error: TIMEOUT reached
1.1.1.1 clogin error: Error: TIMEOUT reached
1.1.1.1: missed cmd(s): all commands
1.1.1.1: End of run not found
1.1.1.1: End of run not found
;

I tried ./clogin 1.1.1.1 and it logged in perfectly but if I do ./clogin -h
hp 1.1.1.1 it logs in and does a TIMEOUT Immediately

--------------------------------------------------------------
ProCurve J4899B Switch 2650
Software revision H.10.115

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

RESTRICTED RIGHTS LEGEND

Use, duplication, or disclosure by the Government is subject to
restrictions
as set forth in subdivision (b) (3) (ii) of the Rights in Technical Data
and
Computer Software clause at 52.227-7013.

HEWLETT-PACKARD COMPANY, 3000 Hanover St., Palo Alto, CA 94303

Press any key to continue
Error: TIMEOUT reached <--- this happens immediately
[***@localhost bin]$
--------------------------------------------------------------

I'm also using "hp" in my router.db file

[***@localhost Switches]$ more router.db
1.1.1.1;hp;up
Loading...