<div dir="ltr"><div><div>hi,<br><br></div>there is no issue with any permission<br><br><br></div><div>i need configuration backup which rancid taken should send me attachment instead printing in body of the mail<br><br></div><div>is it possible to discussed with you or any one in skype so that i can enplane you clearly<br><br><br></div><div><div><br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 17, 2015 at 3:29 PM, Brian Candler <span dir="ltr"><<a href="mailto:b.candler@pobox.com" target="_blank">b.candler@pobox.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 17/12/2015 06:51, Harsha S Aryan wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
below is my rancid config, i am unable to config files of my network device as attachment in mail<br>
</blockquote></span>
There is a tested series of steps for making rancid work under Ubuntu 14.04 here:<br>
<a href="https://nsrc.org/workshops/2015/wacren-nmm/raw-attachment/wiki/Agenda/rancid-exercise.htm" rel="noreferrer" target="_blank">https://nsrc.org/workshops/2015/wacren-nmm/raw-attachment/wiki/Agenda/rancid-exercise.htm</a><br>
<br>
If you follow those steps, it will work. Or if you get a problem, at least you can point to exactly the step where it didn't work as expected.<br>
<br>
One thing I see wrong in your config is this:<br>
<br>
LIST_OF_GROUPS="switches"<br>
LIST_OF_GROUPS="routers"<br>
<br>
It's a single setting, so it should be:<br>
<br>
LIST_OF_GROUPS="switches routers"<br>
<br>
However that doesn't explain any permissions problems you might see. If you get these you are probably running rancid as the wrong user, or perhaps you ran rancid once as root, which will break all the permissions required for it to be able to run as the rancid user subsequently. If so you may be able to fix this using:<br>
<br>
sudo chown -R rancid:rancid /var/lib/rancid<br>
<br>
HTH,<br>
<br>
Brian.<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><img alt="">Rehards,<div>Harsha </div></div></div>
</div>