[rancid] missed cmd(s): all commands

Jim P jabbyjim at gmail.com
Wed Jun 10 20:43:38 UTC 2015


Thanks for the help everyone. Ok.. I added /usr/local/rancid/bin to $path
but I don't see a difference.

-----------------------------------------------------------------------------------------------
[rancid at localhost bin]$ ./rancid-run

[rancid at 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
;
-----------------------------------------------------------------------------------------------
[rancid at 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 at 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 <jabbyjim at gmail.com> wrote:

> current $PATH looks like this>
>
> [rancid at localhost bin]$ pwd
> /usr/local/rancid/bin
> [rancid at 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 <dan.w.anderson at 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 <jabbyjim at gmail.com> wrote:
>>
>>> tried this also .. no luck
>>>
>>> [rancid at 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 <jabbyjim at gmail.com> wrote:
>>>
>>>> well this may explain it .. but I'm unsure of what it means entirely. I
>>>> thought the scripts were included already.
>>>>
>>>> ----------------------------------
>>>> [rancid at 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-discuss at shrubbery.net
>>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>>>
>>
>>
>>
>> --
>> Dan
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20150610/1f260486/attachment.html>


More information about the Rancid-discuss mailing list