[rancid] missed cmd(s): all commands

Todd Heide workwithcisco at yahoo.com
Wed Jun 10 17:14:19 UTC 2015


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
>
>


More information about the Rancid-discuss mailing list