• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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