Power DNS Does Not Work.

I’m using this code as the solution to the same problem I have;
pdns_server --config-dir = / etc / pdns /

but after a while the power dns shuts down again.


i have same problem after upgrade just a momen ago
here the output of status

[root@javanehslp etc]# systemctl status pdns.service
● pdns.service - PowerDNS Authoritative Server
Loaded: loaded (/usr/lib/systemd/system/pdns.service; enabled; vendor preset: disabled)
Active: activating (auto-restart) (Result: exit-code) since Jum 2019-10-04 01:12:34 UTC; 393ms ago
Docs: man:pdns_server(1)
Process: 20524 ExecStart=/usr/sbin/pdns_server --guardian=no --daemon=no --disable-syslog --log-timestamp=no --write-pid=no (code=exited, status=218/CAPABILITIES)
Main PID: 20524 (code=exited, status=218/CAPABILITIES)

Okt 04 01:12:34 javanehslp.com systemd[1]: pdns.service: main process exited, code=exited, status=218/CAPABILITIES
Okt 04 01:12:34 javanehslp.com systemd[1]: Failed to start PowerDNS Authoritative Server.
Okt 04 01:12:34 javanehslp.com systemd[1]: Unit pdns.service entered failed state.
Okt 04 01:12:34 javanehslp.com systemd[1]: pdns.service failed.

here the permission file and folder

[root@javanehslp etc]# ls -l |grep pdns
drwxr-xr-x 2 pdns pdns 4096 Okt 4 00:53 pdns
[root@javanehslp etc]# ls -l pdns
total 36
-rw------- 1 pdns pdns 15680 Jul 31 2018 pdns.conf
-rw------- 1 pdns pdns 17232 Okt 3 14:13 pdns.conf.rpmnew
[root@javanehslp etc]#

i can not find the detail log.

Can you try using these permissions and then restart it?
chown root:root /etc/pdns/pdns.conf
chmod 644 /etc/pdns/pdns.conf

See this thread for reference.


thank you.

Hello I made everything and powerdns still down ;(
After updated to the last 1.9.1 version of cyberpanel and 1.5.6 version of OLS

Any help please ? i have sites on production and a Facebook ads running ;(