Bind service does not start

Refers to:

  • Plesk 12.5 for Linux
  • Plesk 10.4 for Linux
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux

Created:

2016-11-16 13:15:07 UTC

Modified:

2017-02-18 10:51:09 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Bind service does not start

Symptoms

DNS service Bind on Plesk server does not start:

# /etc/init.d/bind9 start
* Starting domain name service... bind9
# /etc/init.d/bind9 status
* bind9 is not running

Following messages appear in /var/log/syslog :

Dec  9 11:37:33 rs209491 named[28788]: none:0: open: /etc/named.conf: permission denied
Dec 9 11:37:33 rs209491 named[28788]: loading configuration: permission denied
Dec 9 11:37:33 rs209491 named[28788]: exiting (due to fatal error)

Cause

Improper permissions of /var/named/run-root/etc/named.conf file, e.g.:

# ls -al /var/named/run-root/etc/named.conf
-rw------- 1 root root 4181 Dec 7 09:44 /var/named/run-root/etc/named.conf

Resolution

Change permissions of the file.

# chmod 644 /var/named/run-root/etc/named.conf
# ls -al /var/named/run-root/etc/named.conf
-rw-r--r-- 1 root root 4181 Dec 7 09:44 /var/named/run-root/etc/named.conf

Start Bind service.

# /etc/init.d/bind9 start
* Starting domain name service... bind9
# /etc/init.d/bind9 status
bind9 is running.
Have more questions? Submit a request
Please sign in to leave a comment.