[Pdns-users] pdns-recursor Permissions Error

Otto Moerbeek otto at drijf.net
Tue Jan 7 15:15:16 UTC 2020


On Tue, Jan 07, 2020 at 05:00:08PM +0300, Sharone Bakara wrote:

> I get the same error as when I run it root.
> 
> Regards,
> SB

Can you please make a new mail with the exact commands and the error
messages? Your message seems to be misformatted.  It is confusing,
since the error message seems to come from rec_control, but is below a
snmpwalk command.

So exact commands and exact error messages, please.

	-Otto

> 
> > On 7 Jan 2020, at 16:55, Remi Gacogne <remi.gacogne at powerdns.com> wrote:
> > 
> > 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
> >> .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
> >> = 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/
> > 
> > _______________________________________________
> > Pdns-users mailing list
> > Pdns-users at mailman.powerdns.com
> > https://mailman.powerdns.com/mailman/listinfo/pdns-users
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/pdns-users


More information about the Pdns-users mailing list