[rancid] missed cmd(s): all commands

Jim P jabbyjim at gmail.com
Wed Jun 10 17:26:37 UTC 2015


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.

-------------------------------------------------------------------------------------------------------------------------------
admin at 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 <workwithcisco at 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 <jabbyjim at gmail.com>
> >To:
> >Cc: "rancid-discuss at shrubbery.net" <rancid-discuss at 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
> >----------------------------------------------------------------
> >
> >[rancid at localhost Switches]$ more router.db
> >1.1.1.1;hp;up
> >[rancid at 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 <workwithcisco at 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 <jabbyjim at gmail.com>
> >>>To: rancid-discuss at 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)
> >>>
> >>>
> >>>-----------------------------
> >>>[rancid at 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-discuss at shrubbery.net
> >>>http://www.shrubbery.net/mailman/listinfo/rancid-discuss
> >>>
> >>>
> >>
> >
> >
> >_______________________________________________
> >Rancid-discuss mailing list
> >Rancid-discuss at shrubbery.net
> >http://www.shrubbery.net/mailman/listinfo/rancid-discuss
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20150610/9e1dc7f8/attachment.html>


More information about the Rancid-discuss mailing list