• 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

Plesk 12 Centos 6.6. named failed to start

Installing the Plesk 12 on a clean Centos 6.6.
DNS Server (BIND) is start.
When you try to restart Bind :
Error: Unable to make action: Unable to manage service by dnsmng: dnsmng: Service /etc/init.d/named failed to start
('--start', 'dns')
If you restart the server - the problem is the same.
twice reinstalled server - the same problem.

Try to use command:
# service named start
Starting named: Cannot find configuration file. You could create it by system-config-bind

# ll /etc/named.conf
lrwxrwxrwx 1 root root 32 Jan 21 00:04 /etc/named.conf -> /var/named/chroot/etc/named.conf
# cat /etc/named.conf | grep directory
cat: /etc/named.conf: No such file or directory
 
Do you have component bind (or named) is marked as not installed on Tools & Settings > Components?
Try to reinstall it. Also you can try to fix it with help of bootstrapper repair procedure.
 
Do you have component bind (or named) is marked as not installed on Tools & Settings > Components?
Try to reinstall it. Also you can try to fix it with help of bootstrapper repair procedure.
Bind (or named) is marked as installed.
I have solved the problem. May be help someone:
/var/named/chroot/etc/named.conf - was empty !.
# locate named.conf
/etc/named.conf
/etc/named.conf.saved_by_psa
/usr/share/doc/bind-9.8.2/named.conf.default
/usr/share/doc/bind-9.8.2/sample/etc/named.conf
/usr/share/man/man5/named.conf.5.gz
/var/named/chroot/etc/named.conf
/var/named/chroot/etc/named.conf.Ew7bMC
/var/named/chroot/etc/named.conf.default
/var/named/chroot/var/named/chroot/etc/named.conf
/var/named/chroot/var/named/chroot/etc/named.conf.Ew7bMC
/var/named/chroot/var/named/chroot/etc/named.conf.default


copy code from
/var/named/chroot/var/named/chroot/etc/named.conf.default
to
/var/named/chroot/var/named/chroot/etc/named.conf

restart bind.
 
Back
Top