[rancid] Problem rancid 3.7 config with cmw routers

Dan Anderson dan.w.anderson at gmail.com
Mon Jun 25 09:21:30 UTC 2018


You need to add /usr/lib/rancid/bin to the rancid user’s $PATH

On Mon, Jun 25, 2018 at 4:43 AM Service Informatique CH DECIZE <
serv.informatique.chd at gmail.com> wrote:

> Hello,
> The $PATH variable for rancid user as the following value :
> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
> Thanks for your help.
>
> Yann.
>
>
> 2018-06-22 17:26 GMT+02:00 Dan Anderson <dan.w.anderson at gmail.com>:
>
>> What’s your $PATH variable set to for the rancid user?
>>
>>
>>
>> On Thu, Jun 21, 2018 at 5:10 AM Service Informatique CH DECIZE <
>> serv.informatique.chd at gmail.com> wrote:
>>
>>> Hello,
>>>
>>> I have made a rancid 3.7 installation on a Ubuntu 18.04 LTS machine.
>>> I have followed the jrbinks indications ->
>>> https://sites.google.com/site/jrbinks/code/rancid/cmwrancid
>>> My tests are ok with a cisco router (config is ok in cvsweb), but ko
>>> with cmw / hp routers (model 5120/5130).
>>>
>>> In the log file, I have the following error :
>>> "Added swd01
>>> Trying to get all of the configs.
>>> sh: 1: cmwlogin: not found
>>> swd01: missed cmd(s): all commands
>>> swd01: End of run not found
>>> !"
>>>
>>> Please help, I don't know how to resolve the problem.
>>> Thanks.
>>>
>>> PS : sorry for my bad english (I'm French ;o) )
>>>
>>> Yann PAGE
>>>
>>> _______________________________________________
>>> Rancid-discuss mailing list
>>> Rancid-discuss at shrubbery.net
>>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>>>
>> --
>> Dan
>>
>
> --
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20180625/f940fb54/attachment.html>


More information about the Rancid-discuss mailing list