• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Cannot start named

Nicecloud

New Pleskian
CentOS Linux 7.3.1611 (Core)‬
Produkt Plesk Onyx Version 17.0.17 Uppdatera #12, senast uppdaterad 2017-01-5 18.46

$ service named start
Redirecting to /bin/systemctl start named.service
Job for named.service failed because the control process exited with error code. See "systemctl status named.service" and "journalctl -xe" for details.
$ systemctl status named.service
● named.service - Berkeley Internet Name Domain (DNS)
Loaded: loaded (/usr/lib/systemd/system/named.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2017-01-05 22:49:54 CET; 1min 30s ago
Process: 30311 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z /etc/named.conf; else echo "Checking of zone files is disabled"; fi (code=exited, status=1/FAILURE)

Jan 05 22:49:54 myhost.tld bash[30311]: _default/mydomain.tld/IN: file not found
.
.
.


It seems that named-checkconf cannot find /var/named directorys

if I start named manually it works, maybe it has to do with -t /var/named/chroot

$ /usr/sbin/named -u named -t /var/named/chroot -c /etc/named.conf -u named -n 2

temporary workaround with cron
*/5 * * * * kill -HUP $(cat /var/named/chroot/var/run/named/named.pid)
5 * * * * kill -9 $(cat /var/named/chroot/var/run/named/named.pid) ; /usr/sbin/named -u named -t /var/named/chroot -c /etc/named.conf -u named -n 2
 
Back
Top