• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Named and SMTP wont start

D

dstanley

Guest
Named:

ERROR: PleskFatalException
Create shortcutCreate shortcut
Up LevelUp Level
Unable to make action: Unable to manage service by dnsmng: dnsmng: Service named failed to start System error 2: No such file or directory

0: /usr/local/psa/admin/plib/common_func.php3:174
psaerror(string 'Unable to make action: Unable to manage service by dnsmng: dnsmng: Service named failed to start System error 2: No such file or directory')
1: /usr/local/psa/admin/htdocs/server/restart_services.php:30


In console:


[root@1 ~]# /sbin/service named restart
Stopping named: [FAILED]
Starting named:
Error in named configuration:
zone 0.0.127.IN-ADDR.ARPA/IN: loaded serial 20010622
zone priorymotorcycles.ie/IN: loaded serial 1151620590
zone healingcentre.ie/IN: loaded serial 1151620613
zone r4ge.com/IN: loaded serial 1151620630
zone therapycentre.ie/IN: loaded serial 1151620775
zone waldendistributors.ie/IN: loaded serial 1151620804
zone waldenleasing.ie/IN: loaded serial 1151620838
zone mcdonald.ie/IN: loaded serial 1151620870
zone daveydub.com/IN: loaded serial 1151620895
zone hynes.biz/IN: loaded serial 1151620912
zone stanley.ie/IN: has no NS records
_default/stanley.ie/IN: bad zone
zone 119.133.83.in-addr.arpa/IN: loaded serial 1156179754

SMTP

Can't get SMTP (Qmail) to start from the control panel and theres nothing in messages log.
 
Ok i Have smtp up and running.

In the directory:

/var/named/run-root/var

the permissions are all root:root, should this be root:named?

I think its this that is the problem:

zone stanley.ie/IN: has no NS records
_default/stanley.ie/IN: bad zone

I have checked the stanley.ie file in /var/named/run-root/var and there are records in there but dont know how to change the _default file or where to find it?
 
The ownership should be root:root. I would check the file stanley.ie and make sure the NS lines are in there. Just compare it to one of the valid ones. There is going to be one line that you have to add and one that needs to be modified. We just ran into this and that is what fixed it.
 
Back
Top