<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:10pt;color:#000000;font-family:Helvetica;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">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):</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">export PATH=$PATH:<font size="2"><span style="font-size:11pt;">/usr/lib/rancid/bin</span></font></p>
<p style="margin-top:0;margin-bottom:0"><font size="2"><span style="font-size:11pt;"><br>
</span></font></p>
<p style="margin-top:0;margin-bottom:0"><font size="2"><span style="font-size:11pt;">If you're not sure how to do this, google something like "centos add to path", amended as appropriate for your operating system.<br>
</span></font></p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<div id="Signature">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="margin:0"><font size="2" face="Calibri,sans-serif"><span style="font-size:11pt"></span></font></div>
<div style="margin:0"><font size="2" face="Calibri,sans-serif"><span style="font-size:11pt">Regards,<br>
<br>
Andy D'Arcy Jewell<br>
</span></font></div>
<div style="margin:0"><font size="2" face="Calibri,sans-serif"><span style="font-size:11pt">Linux/FOSS Operations<br>
</span></font></div>
<div style="margin:0"><font size="2" face="Calibri,sans-serif"><span style="font-size:11pt">CSI LTD</span></font></div>
<div style="margin:0"><font size="2" face="Calibri,sans-serif"><span style="font-size:11pt">Email: andydj@csiltd.co.uk<a href="https://webmail.csiltd.co.uk/owa/redir.aspx?C=HU8AM4nK5Eer2bME-xi1qLoREAxQntMIF4AlMlgTZaouBREWgl-Lq3-aQlwsKWRBa8ZxAmBuwH8.&URL=mailto%3acally.hickman%40csiltd.co.uk" target="_blank" id="LPNoLP"></a>
</span></font></div>
<div style="margin:0"><font size="2" face="Calibri,sans-serif"><span style="font-size:11pt">Tel: 07711 734555<br>
</span></font></div>
<div style="margin:0"><font size="2" face="Calibri,sans-serif"><span style="font-size:11pt"><img alt="cid:image001.png@01D1B726.545CC060" width="162" height="86" border="0" src="https://webmail.csiltd.co.uk/owa/attachment.ashx?id=RgAAAAB8bQMtF5LkSYUDo4pu65BOBwA7VV0yRnJNTrMYfTz82dBIAAAAcqhCAAA7VV0yRnJNTrMYfTz82dBIAAAZyFVRAAAJ&attcnt=1&attid0=BAAAAAAA&attcid0=image001.png%4001D1CAFD.BCE1B420"></span></font></div>
</div>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Rancid-discuss <rancid-discuss-bounces@shrubbery.net> on behalf of Service Informatique CH DECIZE <serv.informatique.chd@gmail.com><br>
<b>Sent:</b> 27 June 2018 12:37:20<br>
<b>To:</b> rancid-discuss@shrubbery.net<br>
<b>Subject:</b> Re: [rancid] Problem rancid 3.7 config with cmw routers</font>
<div> </div>
</div>
<meta content="text/html; charset=utf-8">
<div>
<div dir="ltr">
<div>Hello,</div>
<div>Could someone help us to identify the cause of our rancid problem, and help us to resolve it ?</div>
<div>Thank you in advance.</div>
<div>Yann.</div>
</div>
<div class="x_gmail_extra"><br>
<div class="x_gmail_quote">2018-06-25 11:32 GMT+02:00 Service Informatique CH DECIZE
<span dir="ltr"><<a href="mailto:serv.informatique.chd@gmail.com" target="_blank">serv.informatique.chd@gmail.com</a>></span>:<br>
<blockquote class="x_gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">Still "<span style="font-size:12.8px; float:none; display:inline">sh: 1: cmwlogin: not found" in log files, even after having added /usr/lib/rancid/bin to $PATH ...</span>
<div>Other idea?</div>
<div><br>
</div>
<div><span style="font-size:12.8px">Yann.</span></div>
</div>
<div class="x_HOEnZb">
<div class="x_h5">
<div class="x_gmail_extra"><br>
<div class="x_gmail_quote">2018-06-25 11:21 GMT+02:00 Dan Anderson <span dir="ltr">
<<a href="mailto:dan.w.anderson@gmail.com" target="_blank">dan.w.anderson@gmail.com</a>></span>:<br>
<blockquote class="x_gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div dir="auto">You need to add <span style="color:rgb(49,49,49); word-spacing:1px; background-color:rgb(255,255,255)">/usr/lib/rancid/bin to the rancid user’s $PATH</span></div>
</div>
<div class="x_m_3099085729089502442HOEnZb">
<div class="x_m_3099085729089502442h5">
<div><br>
<div class="x_gmail_quote">
<div dir="ltr">On Mon, Jun 25, 2018 at 4:43 AM Service Informatique CH DECIZE <<a href="mailto:serv.informatique.chd@gmail.com" target="_blank">serv.informatique.chd@gmail.c<wbr>om</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">Hello,
<div>The $PATH variable for rancid user as the following value :</div>
<div>/usr/local/sbin:/usr/local/bin<wbr>:/usr/sbin:/usr/bin:/sbin:/bin<wbr>:/snap/bin</div>
<div>Thanks for your help.</div>
<div><br>
</div>
<div>Yann.</div>
<div><br>
</div>
</div>
<div class="x_gmail_extra"><br>
<div class="x_gmail_quote">2018-06-22 17:26 GMT+02:00 Dan Anderson <span dir="ltr">
<<a href="mailto:dan.w.anderson@gmail.com" target="_blank">dan.w.anderson@gmail.com</a>></span>:<br>
<blockquote class="x_gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div dir="auto">What’s your $PATH variable set to for the rancid user?</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div><br>
<div class="x_gmail_quote">
<div>
<div class="x_m_3099085729089502442m_4862985680327841070m_-6479742410676419218h5">
<div>On Thu, Jun 21, 2018 at 5:10 AM Service Informatique CH DECIZE <<a href="mailto:serv.informatique.chd@gmail.com" target="_blank">serv.informatique.chd@gmail.c<wbr>om</a>> wrote:<br>
</div>
</div>
</div>
<blockquote class="x_gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div class="x_m_3099085729089502442m_4862985680327841070m_-6479742410676419218h5">
<div>Hello,
<div><br>
</div>
<div>I have made a rancid 3.7 installation on a Ubuntu 18.04 LTS machine.</div>
<div>I have followed the jrbinks indications -> <a href="https://sites.google.com/site/jrbinks/code/rancid/cmwrancid" target="_blank">
https://sites.google.com/site/<wbr>jrbinks/code/rancid/cmwrancid</a></div>
<div>My tests are ok with a cisco router (config is ok in cvsweb), but ko with cmw / hp routers (model 5120/5130).</div>
<div><br>
</div>
<div>In the log file, I have the following error : </div>
<div>"Added swd01</div>
<div>Trying to get all of the configs.</div>
<div>sh: 1: cmwlogin: not found</div>
<div>swd01: missed cmd(s): all commands</div>
<div>swd01: End of run not found</div>
<div>!"</div>
<div><br>
</div>
<div>Please help, I don't know how to resolve the problem.</div>
<div>Thanks.</div>
<div><br>
</div>
<div>PS : sorry for my bad english (I'm French ;o) )</div>
<div><br>
</div>
<div>Yann PAGE</div>
<div><br>
</div>
</div>
</div>
</div>
<span>______________________________<wbr>_________________<br>
Rancid-discuss mailing list<br>
<a href="mailto:Rancid-discuss@shrubbery.net" target="_blank">Rancid-discuss@shrubbery.net</a><br>
<a href="http://www.shrubbery.net/mailman/listinfo/rancid-discuss" rel="noreferrer" target="_blank">http://www.shrubbery.net/mailm<wbr>an/listinfo/rancid-discuss</a><br>
</span></blockquote>
</div>
</div>
<span class="x_m_3099085729089502442m_4862985680327841070m_-6479742410676419218HOEnZb"><font color="#888888">--
<br>
<div dir="ltr" class="x_m_3099085729089502442m_4862985680327841070m_-6479742410676419218m_-183440563292385930gmail_signature">
Dan</div>
</font></span></blockquote>
</div>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</div>
<span class="x_m_3099085729089502442HOEnZb"><font color="#888888">-- <br>
<div dir="ltr" class="x_m_3099085729089502442m_4862985680327841070gmail_signature">
Dan</div>
</font></span></blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</body>
</html>