From what I can see, your snmpd system will run /usr/local/bin/pdns_stats as
the snmpd user. This user does not have write permission to the
/var/run/pdns-recursor directory and so you get the error.
You could either make the /var/run/pdns-recursor mode 775 and group snmpd; or
maybe add the
Thank you all for the generous and tremendous support.
I have traffic on Cacti from my recursive servers now.
Have a lovely weekend.
Regards,
Sharone
On Fri, 10 Jan 2020 at 14:30, Brian Candler wrote:
> On 10/01/2020 11:07, Sharone wrote:
>
> I have attempted to comment out the line *extend
On 10/01/2020 11:07, Sharone wrote:
I have attempted to comment out the line /extend pdns-rec
/usr/local/bin/pdns_stats /in snmpd.conf file and still gotten the
same error, however changing permissions to the entire directory to
rwx worked but like you mentioned this indeed brings about a
Thank you, Otto. I have tried both options on a dummy server with exact
same setup.
I have attempted to comment out the line *extend pdns-rec
/usr/local/bin/pdns_stats *in snmpd.conf file and still gotten the same
error, however changing permissions to the entire directory to rwx worked
but like
On 10/01/2020 09:56, Otto Moerbeek via Pdns-users wrote:
It looks like the rec_control line your snmpd.conf is triggering the
problem. Likely the snmd subsystem starts rec_control as a user that
does not have permission to write into /var/run/pdns-recursor.
You can try disabling (by commenting
It looks like the rec_control line your snmpd.conf is triggering the
problem. Likely the snmd subsystem starts rec_control as a user that
does not have permission to write into /var/run/pdns-recursor.
You can try disabling (by commenting it out) the
extend pdns-rec /usr/local/bin/pdns_stats