Skip to main content

Problem with PowerDNS (nameserver) start after reboot.

Comments

9 comments

  • cPanelLauren
    I am curious, is the first email sent right as the server is rebooted? Are you confirming that pdns is in fact not started upon reboot?
    0
  • peterk
    I do test with rebboot right now, below times of system emails. Messages are received after restart. 17:41 - Login to WHM (information from LFD) 17:46 - Error message (The service "nameserver" appears to be down.) 17:51 - Information about the launch of pdns (The service "nameserver" is now operational.) Immediately after logging in, when I check the status of services in WHM and PowerDNS, the status is "pending" for about 3-4 minutes (like all services) and right after this time status change to "down" and i got email with information about this error, and few minutes after service (pdns) starting (last email).
    0
  • Radeonpower
    I have this problem too. After reboot of server I always have to goto the "Cluster" area of the WHM and press restart of the affetcted nameserver.
    0
  • cPanelLauren
    Can you please open a ticket using the link in my signature? Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved. Thanks!
    0
  • haruasato
    hi lauren, i have same issue but different error. Service Status failed ? Notification The service "nameserver" appears to be down. Service Check Method The system"s command to check or to restart this service failed. Number of Restart Attempts 8 Service Check Raw Output (XID rakc3v) The "named" service is down. The subprocess "/usr/local/cpanel/scripts/restartsrv_named" reported error number 255 when it ended. Startup Log Aug 04 22:39:28 ns3148318.ip-151-106-38.eu systemd[1]: Starting Berkeley Internet Name Domain (DNS)... Aug 04 22:39:28 ns3148318.ip-151-106-38.eu bash[14878]: /etc/named.conf:25: expected IP match list element near ';' Aug 04 22:39:28 ns3148318.ip-151-106-38.eu systemd[1]: named.service: control process exited, code=exited status=1 Aug 04 22:39:28 ns3148318.ip-151-106-38.eu systemd[1]: Failed to start Berkeley Internet Name Domain (DNS). Aug 04 22:39:28 ns3148318.ip-151-106-38.eu systemd[1]: Unit named.service entered failed state. Aug 04 22:39:28 ns3148318.ip-151-106-38.eu systemd[1]: named.service failed.
    0
  • philbean
    Mine started doing this today too. Logged into root to see a popup at the top saying there'd been a software update and I needed to reboot. Graceful Reboot... Checked service status to see all services back up and running except PowerDNS which was down. Got the same email as the OP. Spend half an hour playing with things. Restaring the DNS etc.. No joy. Always seemed to fail. So logged out and just left it. 25 mins later gets an email saying (The service "nameserver" is now operational.)
    0
  • cPanelLauren
    Have either of you opened a ticket as I requested the OP do? Was anything noted in the logs? When you run systemctl status pdns
    what is the output
    0
  • tommyxv
    Hi, I am having a similar issue. When I restart the server in WHM, 4 of my sites do not come back online and 1 does. Weird. -08-17_14-51-03.jpg"]67313 I have powerdns enable in WHM. -08-17_14-52-05.jpg"]67305 I'm not sure what is this means. I saw it posted here so I checked it.
    0
  • cPanelHB
    Hello, For anyone with the problem of PowerDNS not auto-starting on boot (triggering one service down notification), this issue was caused during the initial cPanel install. On your system, PowerDNS is likely just not configured to start on boot up. This is now fixed for new installs: [QUOTE] Fixed case CPANEL-33616: Fix scripts/setupnameserver to install the DNS service at the correct time during initial system installation.
    For anyone currently affected, the fix is simply to enable the service to start on boot. The easiest method (if you are not familiar with the command line) is to use the WHM " Service Manager interface to disable, and then re-enable the DNS server. To do this, you'll want to un-check the two checkboxes next to "DNS Server", click save at the bottom of the page. Then, go back to the page, check the two check boxes, and save again. We also have an upcoming fix to make sure this gets done during the maintenence phase of upcp, under case number CPANEL-34225. For anyone experiencing multiple service down notifications in a row, your problem is unrelated to this, and you should probably contact support. I hope this information has been helpful.
    0

Please sign in to leave a comment.