SOLVED Power Dns issue after update

ribo

Well-Known Member
Oct 15, 2015
74
4
58
Greece
cPanel Access Level
Root Administrator
Hello, yesterday i updated in my centos 7 vps cpanel from 92.0.11 to 94.0.2.
The power dns was updated to 4.3.1
After that power dns was down and it couldlnt restart
So to can have my domains up i use Bind.
Why happened that?
 

ffeingol

Well-Known Member
PartnerNOC
Nov 9, 2001
631
207
343
cPanel Access Level
DataCenter Provider
With no logs, it would be really hard to help you. Since you have root access a cPanel support ticket is prob. the fastest way to get a resolution.
 

ribo

Well-Known Member
Oct 15, 2015
74
4
58
Greece
cPanel Access Level
Root Administrator
This what i had when i was try to restart 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 23719) 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 -xe" for details.

…Waiting for named,mydns,nsd,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 23725) 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 -xe" for details.

…failed.

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

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

Startup Log
Mar 03 04:56:55 server1 systemd[1]: Failed to start PowerDNS Authoritative Server.
Mar 03 04:56:55 server1 systemd[1]: Unit pdns.service entered failed state.
Mar 03 04:56:55 server1 systemd[1]: pdns.service failed.

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

 

jimlongo

Well-Known Member
Mar 20, 2008
253
21
68
Same exact thing here when trying to restart DNS server.
Tried restarting because I keep getting alerts that


Service Name​
nameserver​
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​
102​
Service Check Raw Output​
(XID t3pmen) The “pdns” service is down.

The subprocess “/usr/local/cpanel/scripts/restartsrv_named” reported error number 255 when it ended.​
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,271
313
Houston
Hello,

What kernel version is running on the affected system?

If it's an older version this may be related to a recent case CPANEL-35848 which points out an incompatibility with very old kernels.

There is some further information and a workaround supplied here as well: cPanel Power DNS Fails to Restart after update to cPanel & WHM Version 94

Ultimately the resolution is to update the kernel, if you're unable to update the kernel (for example if you're running on a virtuozzo platform and don't have access) the workaround or switching nameservers should work temporarily but I'd suggest contacting your provider to discuss this further.


Thanks!
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,271
313
Houston

jimlongo

Well-Known Member
Mar 20, 2008
253
21
68
@cPRex they said,
we are not allowed to update the kernel since we use OpenVZ virtualization technique in which all the containers shares the same kernel of node server.
As an alternative measure to bring DNS online, you may consider trying to change from pdns to named.
 

jimlongo

Well-Known Member
Mar 20, 2008
253
21
68
Per my understanding of the article,

After disabling DNSSEC at the registrar for the domains using my nameservers,
I restarted the dns service

# /scripts/setupnameserver bind

named is running again.
 

peterk

Member
Mar 22, 2019
18
2
3
Poland
cPanel Access Level
Root Administrator
I still have a question, the answer to which will be important for some of this thread.

I cannot update the kernel, but I can change the machine that has the newer kernel.
Can switching from 2.6.32-042stab134.8 to 3.10.0-1127.18.2.vz7.163.46 cause any problems with server?
 

peterk

Member
Mar 22, 2019
18
2
3
Poland
cPanel Access Level
Root Administrator
Ok, my server is move to machine with new kernel verion (3.10.0-1127.18.2.vz7.163.46) and everything work fine now.
I'm switch back to PowerDNS and it runs without any errors.