<div dir="ltr">Ryan I was looking online to see how to add the path to the .bashrc and I want to make sure this is correct since there are a few different versions of how to do this. Would I need to add it like this to the end of the bashrc file under Alias Definitions?<div>
<br></div><div>if [ -d /usr/local/rancid/bin ]; then</div><div> PATH=$PATH:/usr/local/rancid/bin</div><div>fi</div><div> </div><div>or would I just add it this way </div><div><br></div><div>export PATH=$PATH:/usr/local/rancid/bin<br>
<div><pre>Thanks for all your help,</pre>
<pre>Scott</pre></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 5, 2013 at 10:32 AM, Ryan West <span dir="ltr"><<a href="mailto:rwest@zyedge.com" target="_blank">rwest@zyedge.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, Apr 05, 2013 at 10:28:11, Gilmour, Scott wrote:<br>
> Subject: Re: [rancid] Release Authorised RANCID Email Issue<br>
><br>
> Ryan,<br>
> Here is the output:<br>
><br>
> $ bin/rancid -d 192.168.150.1<br>
> executing clogin -t 90 -c"show version;show redundancy secondary;show<br>
> idprom backplane;show install active;show env all;show rsp chassis-<br>
> info;show gsr chassis;show diag chassis-info;show boot;show<br>
> bootvar;show variables boot;show flash;dir /all nvram:;dir /all<br>
> bootflash:;dir /all slot0:;dir /all disk0:;dir /all slot1:;dir /all<br>
> disk1:;dir /all slot2:;dir /all disk2:;dir /all harddisk:;dir /all<br>
> harddiska:;dir /all harddiskb:;dir /all sup-bootdisk:;dir /all<br>
> sup-bootflash:;dir /all sup-microcode:;dir /all slavenvram:;dir /all<br>
> slavebootflash:;dir /all slaveslot0:;dir /all slavedisk0:;dir /all<br>
> slaveslot1:;dir /all slavedisk1:;dir /all slaveslot2:;dir /all<br>
> slavedisk2:;dir /all slavesup- bootflash:;dir /all sec-nvram:;dir /all<br>
> sec-bootflash:;dir /all sec-slot0:;dir /all sec-disk0:;dir /all<br>
> sec-slot1:;dir /all sec-disk1:;dir /all sec-slot2:;dir /all sec-<br>
> disk2:;show controllers;show config;show controllers cbus;show<br>
> diagbus;show diag;show capture;show module;show spe version;show<br>
> c7200;show inventory raw;show vtp status;show vlan;show<br>
> vlan-switch;show debug;show shun;more system:running-config;show<br>
> running-config view full;show running-config;show config;write term"<br>
> 192.168.150.1<br>
> sh: 1: clogin: not found<br>
<br>
Login to your box as the rancid user and fix your PATH in .bashrc. Need to include /usr/local/rancid/bin in your path.<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><p style="MARGIN:0in 0in 0pt"><span style="COLOR:black"><font size="3"><font face="Calibri">Scott Gilmour | SQA Engineer</font></font></span></p>
<p style="MARGIN:0in 0in 0pt"><span style="COLOR:black"><font size="3"><font face="Calibri">Enterasys Networks | A Siemens Enterprise Communications Company</font></font></span></p>
<p style="MARGIN:0in 0in 0pt"><span style="COLOR:black"><font size="3"><font face="Calibri">Office: (603) 952-5924</font></font></span></p>
<p style="MARGIN:0in 0in 0pt"><font face="Calibri"><span style="COLOR:black"><font size="3">Email: </font></span><span style="COLOR:blue"><a href="mailto:sgilmour@enterasys.com" target="_blank"><font size="3">sg</font><font size="3">ilmour@enterasys.com</font></a></span></font></p>
</div>