Skip to main content

Power Dns showing down

Comments

5 comments

  • kodeslogic
    What is the output of the following command? /scripts/restartsrv_named
    0
  • cPRex Jurassic Moderator
    Hey there, @smartshovon For issues where a service isn't starting, that log output usually isn't enough to help. For the DNS service, /var/log/messages may be helpful, or the two commands mentioned in that output could also provide more details, if they are run soon after the failed restart. systemctl status pdns.service journalctl -xe
    Can you check those and report back? That may be enough to get us more details.
    0
  • Ahmet Demiroglu

    Hi,

    My server's pdns service is not working. For this reason, I can't register subdomain etc... Can you help me if possible!

    "root@server ~ # /scripts/restartsrv_pdns
    Waiting for “pdns” to start ……info [restartsrv_pdns] systemd failed to start the service “pdns” (The “/usr/bin/systemctl restart pdns.service --no-ask-password” command (process 1036139) reported error number 1 when it ended.): Job for pdns.service failed because the control process exited with error code.
    See "systemctl status pdns.service" and "journalctl -xeu pdns.service" for details.

    …Waiting for named,pdns_server to shutdown ... not running.
    info [restartsrv_pdns] systemd failed to start the service “pdns” (The “/usr/bin/systemctl restart pdns.service --no-ask-password” command (process 1036143) reported error number 1 when it ended.): Job for pdns.service failed because the control process exited with error code.
    See "systemctl status pdns.service" and "journalctl -xeu pdns.service" for details.

    …failed.

    Cpanel::Exception::Services::StartError
    Service Status
            undefined status from Cpanel::ServiceManager::Services::Pdns

    Service Error
            (XID w6r43g) The “pdns” service failed to start.

    pdns has failed. Contact your system administrator if the service does not automagically recover."

    root@server ~ #

    Kind Regards

    Ahmet Demiroglu

    0
  • Ahmet Demiroglu

    root@server ~ # journalctl -xeu pdns.service

    Dec 15 11:09:09 server.domain.com pdns_server[3160531]: Unable to launch, no backends configured for querying
    Dec 15 11:09:09 server.domain.com systemd[1]: pdns.service: Main process exited, code=exited, status=99/n/a
    ░░ Subject: Unit process exited
    ░░ Defined-By: systemd
    ░░ Support: http://www.ubuntu.com/support
    ░░
    ░░ An ExecStart= process belonging to unit pdns.service has exited.
    ░░
    ░░ The process' exit code is 'exited' and its exit status is 99.
    Dec 15 11:09:09 server.domain.com systemd[1]: pdns.service: Failed with result 'exit-code'.
    ░░ Subject: Unit failed
    ░░ Defined-By: systemd
    ░░ Support: http://www.ubuntu.com/support
    ░░
    ░░ The unit pdns.service has entered the 'failed' state with result 'exit-code'.
    Dec 15 11:09:09 server.domain.com systemd[1]: Failed to start PowerDNS Authoritative Server.
    ░░ Subject: A start job for unit pdns.service has failed
    ░░ Defined-By: systemd
    ░░ Support: http://www.ubuntu.com/support
    ░░
    ░░ A start job for unit pdns.service has finished with a failure.
    ░░
    ░░ The job identifier is 13803034 and the job result is failed.

    0
  • cPRex Jurassic Moderator

    Hey there!  Do you see any additional details about why the failure may have happened inside the /var/log/syslog file?  Does running /scripts/rebuilddnsconfig show anything that may be helpful?

    0

Please sign in to leave a comment.