Hi all, would really appreciate anyone's help with the following.
Commissioning a new server which will hopefully take over from our old one soon. It was a minimum install of CentOS 7.0.1406, now with Plesk 12.0.18 installed.
All was well, started adding a couple of domains on, all was well I thought until a reboot. BIND didn't come back up. It seems to be similar to the issue here:
http://talk.plesk.com/threads/dns-problem-bind-with-centos-6-x.292561
Trying to start BIND via Plesk gets me:
Error: Unable to make action:
Unable to manage service by dnsmng: Empty error message from utility. ('--start', 'dns')
Trying to start from a shell gets me:
# service named start
Redirecting to /bin/systemctl start named.service
Job for named.service failed. See 'systemctl status named.service' and 'journalctl -xn' for details.
#systemctl status named.service
Nov 27 17:41:10 pleskserver.pct.com named-checkconf[8699]: _default/pct-hosting.com/IN: file not found
Nov 27 17:41:10 pleskserver.pct.com named-checkconf[8699]: zone 93.250.212.in-addr.arpa/IN: loading from master file 93.250.212.in-addr.arpa failed: file not found
Nov 27 17:41:10 pleskserver.pct.com named-checkconf[8699]: zone 93.250.212.in-addr.arpa/IN: not loaded due to errors.
Nov 27 17:41:10 pleskserver.pct.com named-checkconf[8699]: _default/93.250.212.in-addr.arpa/IN: file not found
Nov 27 17:41:10 pleskserver.pct.com systemd[1]: named.service: control process exited, code=exited status=1
Nov 27 17:41:10 pleskserver.pct.com systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
Nov 27 17:41:10 pleskserver.pct.com systemd[1]: Unit named.service entered failed state.
# journalctl -xn
Nov 27 17:41:10 pleskserver.pct.com named-checkconf[8699]: zone 93.250.212.in-addr.arpa/IN: not loaded due to errors.
Nov 27 17:41:10 pleskserver.pct.com named-checkconf[8699]: _default/93.250.212.in-addr.arpa/IN: file not found
Nov 27 17:41:10 pleskserver.pct.com systemd[1]: named.service: control process exited, code=exited status=1
Nov 27 17:41:10 pleskserver.pct.com systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
-- Subject: Unit named.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit named.service has failed.
--
-- The result is failed.
Some other info that might be useful:
# ll /etc/named.conf
lrwxrwxrwx. 1 root root 32 Oct 25 20:24 /etc/named.conf -> /var/named/chroot/etc/named.conf
# cat /etc/named.conf | grep directory
directory "/var";
# cat /etc/sysconfig/named | grep -v "#"
ROOTDIR="/var/named/chroot"
OPTIONS="-c /etc/named.conf -u named -n 2"
# /usr/local/psa/bin/repair -r
-- Restoring DNS server configuration... started.
-- (all records return...): Ok
# ls -al /var/named/chroot/var
drwxr-xr-x. 3 named named 4096 Nov 27 17:48 .
drwxr-xr-x. 5 root root 36 Oct 25 20:24 ..
-rw-r--r--. 1 root root 301 Nov 27 17:04 209.208.10.in-addr.arpa
-rw-r--r--. 1 root root 327 Nov 27 17:04 93.250.212.in-addr.arpa
-r--r--r--. 1 10007 4001 391 Aug 13 2002 localhost.rev
-r--r--r--. 1 10007 4001 284 Jun 15 2001 make-localhost
-r--r--r--. 1 10007 4001 2769 Jun 15 2001 named.root
-rw-r--r--. 1 root root 923 Nov 27 17:04 pct-hosting.com
-r--r--r--. 1 10007 4001 397 Aug 13 2002 PROTO.localhost.rev
drwxr-xr-x. 3 named named 18 Nov 14 2001 run
"/var/named/chroot/var" contains a list of my records, and those look okay taking a look with vi.
Any pointers would be greatly appreciated
Simon.
Commissioning a new server which will hopefully take over from our old one soon. It was a minimum install of CentOS 7.0.1406, now with Plesk 12.0.18 installed.
All was well, started adding a couple of domains on, all was well I thought until a reboot. BIND didn't come back up. It seems to be similar to the issue here:
http://talk.plesk.com/threads/dns-problem-bind-with-centos-6-x.292561
Trying to start BIND via Plesk gets me:
Error: Unable to make action:
Unable to manage service by dnsmng: Empty error message from utility. ('--start', 'dns')
Trying to start from a shell gets me:
# service named start
Redirecting to /bin/systemctl start named.service
Job for named.service failed. See 'systemctl status named.service' and 'journalctl -xn' for details.
#systemctl status named.service
Nov 27 17:41:10 pleskserver.pct.com named-checkconf[8699]: _default/pct-hosting.com/IN: file not found
Nov 27 17:41:10 pleskserver.pct.com named-checkconf[8699]: zone 93.250.212.in-addr.arpa/IN: loading from master file 93.250.212.in-addr.arpa failed: file not found
Nov 27 17:41:10 pleskserver.pct.com named-checkconf[8699]: zone 93.250.212.in-addr.arpa/IN: not loaded due to errors.
Nov 27 17:41:10 pleskserver.pct.com named-checkconf[8699]: _default/93.250.212.in-addr.arpa/IN: file not found
Nov 27 17:41:10 pleskserver.pct.com systemd[1]: named.service: control process exited, code=exited status=1
Nov 27 17:41:10 pleskserver.pct.com systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
Nov 27 17:41:10 pleskserver.pct.com systemd[1]: Unit named.service entered failed state.
# journalctl -xn
Nov 27 17:41:10 pleskserver.pct.com named-checkconf[8699]: zone 93.250.212.in-addr.arpa/IN: not loaded due to errors.
Nov 27 17:41:10 pleskserver.pct.com named-checkconf[8699]: _default/93.250.212.in-addr.arpa/IN: file not found
Nov 27 17:41:10 pleskserver.pct.com systemd[1]: named.service: control process exited, code=exited status=1
Nov 27 17:41:10 pleskserver.pct.com systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
-- Subject: Unit named.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit named.service has failed.
--
-- The result is failed.
Some other info that might be useful:
# ll /etc/named.conf
lrwxrwxrwx. 1 root root 32 Oct 25 20:24 /etc/named.conf -> /var/named/chroot/etc/named.conf
# cat /etc/named.conf | grep directory
directory "/var";
# cat /etc/sysconfig/named | grep -v "#"
ROOTDIR="/var/named/chroot"
OPTIONS="-c /etc/named.conf -u named -n 2"
# /usr/local/psa/bin/repair -r
-- Restoring DNS server configuration... started.
-- (all records return...): Ok
# ls -al /var/named/chroot/var
drwxr-xr-x. 3 named named 4096 Nov 27 17:48 .
drwxr-xr-x. 5 root root 36 Oct 25 20:24 ..
-rw-r--r--. 1 root root 301 Nov 27 17:04 209.208.10.in-addr.arpa
-rw-r--r--. 1 root root 327 Nov 27 17:04 93.250.212.in-addr.arpa
-r--r--r--. 1 10007 4001 391 Aug 13 2002 localhost.rev
-r--r--r--. 1 10007 4001 284 Jun 15 2001 make-localhost
-r--r--r--. 1 10007 4001 2769 Jun 15 2001 named.root
-rw-r--r--. 1 root root 923 Nov 27 17:04 pct-hosting.com
-r--r--r--. 1 10007 4001 397 Aug 13 2002 PROTO.localhost.rev
drwxr-xr-x. 3 named named 18 Nov 14 2001 run
"/var/named/chroot/var" contains a list of my records, and those look okay taking a look with vi.
Any pointers would be greatly appreciated
Simon.