I have a CentOS 7.5 VPS that's running DirectAdmin. When I try to start named by issuing `systemctl start named` it says:
Job for named.service failed because the control process exited with error code. See "systemctl status named.service" and "journalctl -xe" for details.
This is what systemctl status named.service says:
● named.service - Berkeley Internet Name Domain (DNS)
Loaded: loaded (/etc/systemd/system/named.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2020-02-05 07:22:06 +0100; 29s ago
Process: 12793 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z "$NAMEDCONF"; else echo "Checking of zone files is disabled"; fi (code=exited, status=1/FAILURE)
And this is the response that `whereis named` gives:
named: /usr/sbin/named /etc/named.conf /etc/named /usr/share/man/man8/named.8.gz
And this is output of `where is bind`:
bind: /usr/lib64/bind /usr/share/man/man1/bind.1.gz
Meanwhile, my /etc/init.d/ directory has no file called named in it. It has only one executable file which is called functions. Any help is appreciated.
Job for named.service failed because the control process exited with error code. See "systemctl status named.service" and "journalctl -xe" for details.
This is what systemctl status named.service says:
● named.service - Berkeley Internet Name Domain (DNS)
Loaded: loaded (/etc/systemd/system/named.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2020-02-05 07:22:06 +0100; 29s ago
Process: 12793 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z "$NAMEDCONF"; else echo "Checking of zone files is disabled"; fi (code=exited, status=1/FAILURE)
And this is the response that `whereis named` gives:
named: /usr/sbin/named /etc/named.conf /etc/named /usr/share/man/man8/named.8.gz
And this is output of `where is bind`:
bind: /usr/lib64/bind /usr/share/man/man1/bind.1.gz
Meanwhile, my /etc/init.d/ directory has no file called named in it. It has only one executable file which is called functions. Any help is appreciated.