Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Bind service does not start  (Read 3677 times)

0 Members and 1 Guest are viewing this topic.

sajugovind

  • Guest
Bind service does not start
« on: October 06, 2014, 10:57:23 pm »
DNS service Bind on Parallels Plesk server does not start:

Code: [Select]
# /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:

Code: [Select]
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)

It is because of improper permissions of /var/named/run-root/etc/named.conf file, e.g.:

Code: [Select]
# 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

To fix teh issue, change permissions of the file.

Code: [Select]
# 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.

Code: [Select]
# /etc/init.d/bind9 start
 * Starting domain name service... bind9       
# /etc/init.d/bind9 status
bind9 is running.

Thank you,,,,