The service “nameserver” appears to be down / the “pdns” service is down.

dimi.conee

Member
Nov 17, 2021
5
1
3
Greece
cPanel Access Level
Root Administrator
Hi
I get this email every 5 minutes:

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​
4​
Service Check Raw Output​
(XID 9nxn5s) The “pdns” service is down.

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

I runned the process "/scripts/restartsrv_named" on the terminal and i got:

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 5402) 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.

Reference found where even-sized list expected at /usr/local/cpanel/Cpanel/ServiceManager/Base.pm line 972.
…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 5408) 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 cm2khs) The “pdns” service failed to start.


Anyone who can help?




  • CentOS v7.9.2009 virtuozzo [cloud]
  • v100.0.3
  • Load Averages: 1.74 0.91 1.07
 
Last edited:

dimi.conee

Member
Nov 17, 2021
5
1
3
Greece
cPanel Access Level
Root Administrator
Hello! Can you run the following command and copy/paste the last 50 or so lines available? Censor any domain names or IP addresses if they appear.

Code:
journalctl -xe

Sep 13 18:48:23 cloud.europe.myqo.com pure-ftpd[716]: ([email protected]) [NOTICE] /home/nomav//public_html/wp-content/themes/Divi/epanel/images/custom_background.png downloaded (
Sep 13 18:48:23 cloud.europe.myqo.com pure-ftpd[716]: ([email protected]) [NOTICE] /home/nomav//public_html/wp-content/themes/Divi/epanel/images/custom_hex.png downloaded (562 byt
Sep 13 18:48:23 cloud.europe.myqo.com pure-ftpd[716]: ([email protected]) [NOTICE] /home/nomav//public_html/wp-content/themes/Divi/epanel/images/custom_hsb_b.png downloaded (1097
Sep 13 18:48:23 cloud.europe.myqo.com pure-ftpd[716]: ([email protected]) [NOTICE] /home/nomav//public_html/wp-content/themes/Divi/epanel/images/custom_hsb_h.png downloaded (970 b
Sep 13 18:48:23 cloud.europe.myqo.com pure-ftpd[716]: ([email protected]) [NOTICE] /home/nomav//public_html/wp-content/themes/Divi/epanel/images/custom_hsb_s.png downloaded (1168
Sep 13 18:48:23 cloud.europe.myqo.com pure-ftpd[716]: ([email protected]) [NOTICE] /home/nomav//public_html/wp-content/themes/Divi/epanel/images/custom_indic.gif downloaded (86 by
Sep 13 18:48:23 cloud.europe.myqo.com pure-ftpd[716]: ([email protected]) [NOTICE] /home/nomav//public_html/wp-content/themes/Divi/epanel/images/custom_rgb_b.png downloaded (1008
Sep 13 18:48:23 cloud.europe.myqo.com pure-ftpd[716]: ([email protected]) [NOTICE] /home/nomav//public_html/wp-content/themes/Divi/epanel/images/custom_rgb_g.png downloaded (1069
Sep 13 18:48:23 cloud.europe.myqo.com pure-ftpd[716]: ([email protected]) [NOTICE] /home/nomav//public_html/wp-content/themes/Divi/epanel/images/custom_rgb_r.png downloaded (1018
Sep 13 18:48:23 cloud.europe.myqo.com pure-ftpd[716]: ([email protected]) [NOTICE] /home/nomav//public_html/wp-content/themes/Divi/epanel/images/custom_submit.png downloaded (997
Sep 13 18:48:23 cloud.europe.myqo.com pure-ftpd[716]: ([email protected]) [NOTICE] /home/nomav//public_html/wp-content/themes/Divi/epanel/images/defaults-hover.png downloaded (257
Sep 13 18:48:23 cloud.europe.myqo.com pure-ftpd[716]: ([email protected]) [NOTICE] /home/nomav//public_html/wp-content/themes/Divi/epanel/images/defaults.png downloaded (3233 byte
Sep 13 18:48:23 cloud.europe.myqo.com pure-ftpd[716]: ([email protected]) [NOTICE] /home/nomav//public_html/wp-content/themes/Divi/epanel/images/description-bottom.png downloaded
Sep 13 18:48:23 cloud.europe.myqo.com pure-ftpd[716]: ([email protected]) [NOTICE] /home/nomav//public_html/wp-content/themes/Divi/epanel/images/description-close.png downloaded (
Sep 13 18:48:23 cloud.europe.myqo.com pure-ftpd[716]: ([email protected]) [NOTICE] /home/nomav//public_html/wp-content/themes/Divi/epanel/images/description-main.png downloaded (1
Sep 13 18:48:23 cloud.europe.myqo.com pure-ftpd[716]: ([email protected]) [NOTICE] /home/nomav//public_html/wp-content/themes/Divi/epanel/images/description-top.png downloaded (48
Sep 13 18:48:23 cloud.europe.myqo.com pure-ftpd[716]: ([email protected]) [NOTICE] /home/nomav//public_html/wp-content/themes/Divi/epanel/images/empty.png downloaded (137 bytes, 9
Sep 13 18:48:23 cloud.europe.myqo.com pure-ftpd[716]: ([email protected]) [NOTICE] /home/nomav//public_html/wp-content/themes/Divi/epanel/images/epanel-bg.png downloaded (864 byte
Sep 13 18:48:23 cloud.europe.myqo.com pure-ftpd[716]: ([email protected]) [NOTICE] /home/nomav//public_html/wp-content/themes/Divi/epanel/images/epanel-bottom-bg.png downloaded (5
Sep 13 18:48:23 cloud.europe.myqo.com pure-ftpd[716]: ([email protected]) [NOTICE] /home/nomav//public_html/wp-content/themes/Divi/epanel/images/epanel-content-bg.png downloaded (
Sep 13 18:48:23 cloud.europe.myqo.com pure-ftpd[716]: ([email protected]) [NOTICE] /home/nomav//public_html/wp-content/themes/Divi/epanel/images/epanel-content-bottombg.png downloa
Sep 13 18:48:23 cloud.europe.myqo.com pure-ftpd[716]: ([email protected]) [NOTICE] /home/nomav//public_html/wp-content/themes/Divi/epanel/images/epanel-content-topbg.png downloaded
Sep 13 18:48:24 cloud.europe.myqo.com dovecot[32394]: pop3-login: Login: user=<@.gr>, method=PLAIN, rip=94.64.247.164, lip=185.143.45.57, mpid=729, TLS, session
lines 979-1001/1001 (END)
 

juanikos

Registered
Jan 3, 2022
1
0
1
Spain
cPanel Access Level
Root Administrator
Hi, I have the same problem.
The same thing has been repeated for a long time, but lately it is almost every day. I am getting this error message of failure in the nameserver service and spamd.
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
1 (or more until 7)
Service Check Raw Output
(XID agw54p) The “named” service is down.
The thread “/ usr / local / cpanel / scripts / restartsrv_named” reported error number 255 when it ended.
A list of messages dated up to 1 month old and ..
Log Messages

The system could not provide log messages for "named" because it failed to read all of the potential log files with the following errors: Error while attempting to read "/ var / log / messages": "Empty File", Error while attempting to read "/ var / log / secure": "Empty File"

and with spamd

The subprocess “/usr/local/cpanel/scripts/restartsrv_spamd” reported error number 69 when it ended.
and
Log Messages

The system could not provide log messages for “spamd” because it failed to read all of the potential log files with the following errors: Error while attempting to read “/var/log/secure”: “Empty File”, Error while attempting to read “/var/log/messages”: “Empty File”

What could be the problem?
Best regards
 

bellwood

Well-Known Member
PartnerNOC
Sep 25, 2012
76
30
143
New York
cPanel Access Level
DataCenter Provider
Code:
Error while attempting to read "/ var / log / messages": "Empty File", 
Error while attempting to read "/ var / log / secure": "Empty File"
Neither of those files should be empty, please run:

stat /var/log/messages
stat /var/log/secure

...and post the output here.
 
  • Like
Reactions: cPanelAnthony