[rancid] Problem rancid 3.7 config with cmw routers

Andy D'Arcy Jewell Andy.D'ArcyJewell at csiltd.co.uk
Wed Jun 27 14:48:21 UTC 2018


Depends on your OS. For linux/unix, you can add something like this to the bottom of your rancid user's .cshrc or .bashrc file (in the root of their homedirectory):


export PATH=$PATH:/usr/lib/rancid/bin


If you're not sure how to do this, google something like "centos add to path", amended as appropriate for your operating system.


Regards,

Andy D'Arcy Jewell
Linux/FOSS Operations
CSI LTD
Email: andydj at csiltd.co.uk<https://webmail.csiltd.co.uk/owa/redir.aspx?C=HU8AM4nK5Eer2bME-xi1qLoREAxQntMIF4AlMlgTZaouBREWgl-Lq3-aQlwsKWRBa8ZxAmBuwH8.&URL=mailto%3acally.hickman%40csiltd.co.uk>
Tel: 07711 734555
[cid:image001.png at 01D1B726.545CC060]
________________________________
From: Rancid-discuss <rancid-discuss-bounces at shrubbery.net> on behalf of Service Informatique CH DECIZE <serv.informatique.chd at gmail.com>
Sent: 27 June 2018 12:37:20
To: rancid-discuss at shrubbery.net
Subject: Re: [rancid] Problem rancid 3.7 config with cmw routers

Hello,
Could someone help us to identify the cause of our rancid problem, and help us to resolve it ?
Thank you in advance.
Yann.

2018-06-25 11:32 GMT+02:00 Service Informatique CH DECIZE <serv.informatique.chd at gmail.com<mailto:serv.informatique.chd at gmail.com>>:
Still "sh: 1: cmwlogin: not found" in log files, even after having added /usr/lib/rancid/bin to $PATH ...
Other idea?

Yann.

2018-06-25 11:21 GMT+02:00 Dan Anderson <dan.w.anderson at gmail.com<mailto:dan.w.anderson at gmail.com>>:
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<mailto: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<mailto: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<mailto: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<mailto: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/20180627/41b8292f/attachment.html>


More information about the Rancid-discuss mailing list