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: and...@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@01D1B726.545CC060] ________________________________ From: Rancid-discuss <rancid-discuss-boun...@shrubbery.net> on behalf of Service Informatique CH DECIZE <serv.informatique....@gmail.com> Sent: 27 June 2018 12:37:20 To: rancid-discuss@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....@gmail.com<mailto:serv.informatique....@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.ander...@gmail.com<mailto:dan.w.ander...@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....@gmail.com<mailto:serv.informatique....@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.ander...@gmail.com<mailto:dan.w.ander...@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....@gmail.com<mailto:serv.informatique....@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@shrubbery.net<mailto:Rancid-discuss@shrubbery.net> http://www.shrubbery.net/mailman/listinfo/rancid-discuss -- Dan -- Dan
_______________________________________________ Rancid-discuss mailing list Rancid-discuss@shrubbery.net http://www.shrubbery.net/mailman/listinfo/rancid-discuss