PowerDNS won't start — CyberPanel - WebHosting Control Panel for OpenLiteSpeed
CyberHosting

PowerDNS won't start

I make some notes here to help other people who might have the same issue with me.

I have a problem with PowerDNS. In the web panel service, I saw that it's stopped. Pressed play to start and the status said it's starting but it's still stop.

Using SSH, I use systemctl start pdns and got this error:
Job for pdns.service failed because the control process exited with error code.
See "systemctl status pdns.service" and "journalctl -xe" for details.

So, I open the journalct -xe and found out the error:
Unable to bind UDP socket to '0.0.0.0:53': Address already in use

If you find that error, try this code:
systemctl stop systemd-resolved.service

then start your pdns again:
systemctl start pdns

It should have start normally now. Hope that helps..

Comments

  • the same problem happened to me, I've tried upgrading to 2.0.3 the problem remains the same. can help me?
  • Type your comment> @hennaboy said:
    > check if systemd-resolved is running if it is stop and disable it and then start pdns
    >

    [[email protected] ~]# systemctl status systemd-resolved
    Unit systemd-resolved.service could not be found.
  • I didn't find any recent traces. can you help me via private message? because this is used on a production server. this problem must be resolved immediately. :(
  • Sep 23 12:30:07 server systemd[6063]: Failed at step CAPABILITIES spawning /usr/sbin/pdns_server: Invalid argument
    Sep 23 12:30:07 server systemd[1]: pdns.service: main process exited, code=exited, status=218/CAPABILITIES
    Sep 23 12:30:07 server systemd[1]: Failed to start PowerDNS Authoritative Server.
    Sep 23 12:30:07 server systemd[1]: Unit pdns.service entered failed state.
    Sep 23 12:30:07 server systemd[1]: pdns.service failed.
    Sep 23 12:30:08 server systemd[1]: pdns.service holdoff time over, scheduling restart.
    Sep 23 12:30:08 server systemd[1]: Stopped PowerDNS Authoritative Server.
    Sep 23 12:30:08 server systemd[1]: Starting PowerDNS Authoritative Server...
    Sep 23 12:30:08 server systemd[6072]: Failed at step CAPABILITIES spawning /usr/sbin/pdns_server: Invalid argument
    Sep 23 12:30:09 server systemd[1]: pdns.service: main process exited, code=exited, status=218/CAPABILITIES
    Sep 23 12:30:09 server systemd[1]: Failed to start PowerDNS Authoritative Server.
  • thanks you for help henna
  • edited October 17
    Same problem what is the solution?
    Failed at step CAPABILITIES spawning /usr/sbin/pdns_server: Invalid argument
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!