[Pdns-users] pdns-recursor Permissions Error

Steve Shipway steve.shipway at smxemail.com
Wed Jan 8 19:35:42 UTC 2020


On Wed, 2020-01-08 at 09:20 +0300, Sharone wrote:
> # snmpwalk -v2c -c public localhost .1.3.6.1.4.1.8072.1.3.2.4.1.2
> iso.3.6.1.4.1.8072.1.3.2.4.1.2.8.112.100.110.115.45.114.101.99.1 =
> STRING: "Fatal: Unable to generate local temporary file in directory
> '/var/run/pdns-recursor': Permission denied"


A couple of thoughts here .  Either
- SElinux is doing its magic and blocking - this should be logged in the syslog if so, or
- Your SNMP is running with chroot enabled and /var/run/pdns-recursor doesn't exist in the chroot environment
-  rec_control is trying to generate a tmp file as the snmp user so doesn't have write permission.
- Your SNMP daemon is using a temporary file for the rec_control output which it is trying to put in /var/run/pdns-recursor









-- 
Steve Shipway | Senior Email Systems Administrator 
Phone: +64 9 302 0515 Fax: +64 9 302 0518 
Freephone: 0800 SMX SMX (769 769) 
SMX Limited: Level 10, 19 Victoria Street West, Auckland, New Zealand 
Web: http://smxemail.com 

_____________________________________________________________________________

This email has been filtered by SMX. For more info visit http://smxemail.com
_____________________________________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20200109/2bb42b4e/attachment.htm>


More information about the Pdns-users mailing list