Home > OS >  Ask everybody a great god help see setups Bind9 service named cannot be started
Ask everybody a great god help see setups Bind9 service named cannot be started

Time:09-25

I was installed in the Linux system setups Bind9 then can start the service named in the original condition, but the/etc/named. Conf and var/named (named. Conf and named are all DNS has been using file) before the replacement then a start don't bird you, check a week also don't know what the reason, appear the following error

[root @ localhost daikin] # journalctl - u named. Service
Wood, Logs the begin at 2019-11-21 00:21:29 JST, end at wood 2019-11-21 00:43:37 JST. -
On November 21st 00:43:37 localhost. Localdomain systemd [1] : Starting the Berkeley Internet Name Domain (DNS)...
On November 21st 00:43:37 localhost. Localdomain bash [10411] :/etc/named. Conf: 20: change the directory to '/var/named' failed: permission denied
On November 21st 00:43:37 localhost. Localdomain bash [10411] :/etc/named. Conf: 20: parsing failed: permission denied
On November 21st 00:43:37 localhost. Localdomain systemd [1] : named. Service: control the process exited, code=exited the status=1
On November 21st 00:43:37 localhost. Localdomain systemd [1] : Failed to start the Berkeley Internet Name Domain (DNS).
On November 21st 00:43:37 localhost. Localdomain systemd [1] : Unit named. Service rose failed state.
On November 21st 00:43:37 localhost. Localdomain systemd [1] : named. The service failed.
[root @ localhost daikin] # systemctl status named. Service
Named. Service - Berkeley Internet Name Domain (DNS)
The Loaded: the Loaded (/usr/lib/systemd/system/named. The service; Disabled; Vendor preset: disabled)
Active: failed (Result: exit - code) since the 2019-11-21 00:43:37 wood JST. 2 min s line 31
Process: 10411 ExecStartPre=/bin/bash - c if [! "$DISABLE_ZONE_CHECKING"=="yes"); Then/usr/sbin/named - checkconf -z "$NAMEDCONF"; The else echo "Checking of zone files is disabled". Fi (code=exited, status=1/FAILURE)

On November 21st 00:43:37 localhost. Localdomain systemd [1] : Starting the Berkeley Internet Name Domain (DNS)...
On November 21st 00:43:37 localhost. Localdomain bash [10411] :/etc/named. Conf: 20: change the directory to '/var/named' failed: permissi... Enied
On November 21st 00:43:37 localhost. Localdomain bash [10411] :/etc/named. Conf: 20: parsing failed: permission denied
On November 21st 00:43:37 localhost. Localdomain systemd [1] : named. Service: control the process exited, code=exited the status=1
On November 21st 00:43:37 localhost. Localdomain systemd [1] : Failed to start the Berkeley Internet Name Domain (DNS).
On November 21st 00:43:37 localhost. Localdomain systemd [1] : Unit named. Service rose failed state.
On November 21st 00:43:37 localhost. Localdomain systemd [1] : named. The service failed.
What a great god help me analyse what reason be?
And according to the error message/etc/named. Conf: 20: parsing failed: permission denied
I've put the/var/named belongs to group and its users and permissions are changed, or appear the same error
  • Related