Power DNS Does Not Work. — CyberPanel - WebHosting Control Panel for OpenLiteSpeed

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.


  • hennaboy said:

    Update: If you have recently updated or have had yum / apt update pdns then you may now discover that pdns is running under its own user pdns

    change the owner of the pdns.conf file to pdns and it should start/restart the service.

  • Hi

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

    [[email protected] 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

    [[email protected] etc]# ls -l |grep pdns
    drwxr-xr-x 2 pdns pdns 4096 Okt 4 00:53 pdns
    [[email protected] 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
    [[email protected] 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.
  • 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 ;(

Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!