[Pdns-users] pdns-recursor Permissions Error

Remi Gacogne remi.gacogne at powerdns.com
Tue Jan 7 13:55:12 UTC 2020

On 1/7/20 2:41 PM, Sharone wrote:
> I apologize if this has been discussed before. I cannot seem to find a
> solution that works at the moment. I am trying to have this server poll
> data but I have the error below when I try to snmpwalk
> * # sudo -u pdns rec_control version4.3.0-beta1.39.master.g0c1ebf7c*
> *# snmpwalk -v2c -c public localhost
> .
> = STRING: "Fatal: Unable to generate local temporary file in directory
> '/var/run/pdns-recursor': Permission denied"*

I'm not sure of what your SNMP setup is, but it looks like the user
invoking rec_control does not have the rights to create a new file in
/var/run/pdns-recursor. What happens if you invoke the rec_control
command directly as the 'pdns' user?

Best regards,
Remi Gacogne
PowerDNS.COM BV - https://www.powerdns.com/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20200107/07bf3d6f/attachment.sig>

More information about the Pdns-users mailing list