<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Hi Remi,</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Sorry looks like I may have misinterpreted your question.</div><div style="font-family:trebuchet ms,sans-serif" class="gmail_default">Even when invoke the command rec_control version as myself I do get an error.</div><div style="font-family:trebuchet ms,sans-serif" class="gmail_default"><br></div><div style="font-family:trebuchet ms,sans-serif" class="gmail_default"><i>$ rec_control version<br>Fatal: Unable to generate local temporary file in directory '/var/run/pdns-recursor': Permission denied</i></div><br><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br clear="all"></div><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div><span style="font-family:trebuchet ms,sans-serif">Regards,<br></span></div><div><span style="font-family:trebuchet ms,sans-serif">Sharone B.</span><br></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 7 Jan 2020 at 16:55, Remi Gacogne <<a href="mailto:remi.gacogne@powerdns.com" target="_blank">remi.gacogne@powerdns.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 1/7/20 2:41 PM, Sharone wrote:<br>
> I apologize if this has been discussed before. I cannot seem to find a<br>
> solution that works at the moment. I am trying to have this server poll<br>
> data but I have the error below when I try to snmpwalk<br>
>  <br>
> * # sudo -u pdns rec_control version4.3.0-beta1.39.master.g0c1ebf7c*<br>
> <br>
> <br>
> *# snmpwalk -v2c -c public localhost<br>
> .1.3.6.1.4.1.8072.1.3.2.4.1.2iso.3.6.1.4.1.8072.1.3.2.4.1.2.8.112.100.110.115.45.114.101.99.1<br>
> = STRING: "Fatal: Unable to generate local temporary file in directory<br>
> '/var/run/pdns-recursor': Permission denied"*<br>
<br>
I'm not sure of what your SNMP setup is, but it looks like the user<br>
invoking rec_control does not have the rights to create a new file in<br>
/var/run/pdns-recursor. What happens if you invoke the rec_control<br>
command directly as the 'pdns' user?<br>
<br>
Best regards,<br>
-- <br>
Remi Gacogne<br>
PowerDNS.COM BV - <a href="https://www.powerdns.com/" rel="noreferrer" target="_blank">https://www.powerdns.com/</a><br>
<br>
_______________________________________________<br>
Pdns-users mailing list<br>
<a href="mailto:Pdns-users@mailman.powerdns.com" target="_blank">Pdns-users@mailman.powerdns.com</a><br>
<a href="https://mailman.powerdns.com/mailman/listinfo/pdns-users" rel="noreferrer" target="_blank">https://mailman.powerdns.com/mailman/listinfo/pdns-users</a><br>
</blockquote></div>