This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
CentOS 7 Problems / BIND DNS Server failed !!
« on: June 28, 2019, 10:18:27 AM »
Hello!
I can not start the "BIND DNS Server".
Can someone here help me with this?
When I try to start the following message appears:
Quote
WARNING!
Job for named.service failed because the control process exited with error code. See "systemctl status named.service" and "journalctl -xe" for details
Status:
Code: [Select]
● named.service - Berkeley Internet Name Domain (DNS)
Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2018-07-04 00:56:18 EDT; 7min ago
Process: 9258 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)
Jul 04 00:56:18 srv1.fourse.com.br systemd[1]: Starting Berkeley Internet Name Domain (DNS)...
Jul 04 00:56:18 srv1.fourse.com.br bash[9258]: /etc/named.conf:105: zone 'ns1.centos-webpanel.com': already exists previous definition: /etc/named.conf:104
Jul 04 00:56:18 srv1.fourse.com.br systemd[1]: named.service: control process exited, code=exited status=1
Jul 04 00:56:18 srv1.fourse.com.br systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
Jul 04 00:56:18 srv1.fourse.com.br systemd[1]: Unit named.service entered failed state.
Jul 04 00:56:18 srv1.fourse.com.br systemd[1]: named.service failed.
"tail log file var/log/messages/" button:
Code: [Select]
Jul 4 00:38:30 srv1 systemd: Started Flexible branding.
Jul 4 00:38:30 srv1 systemd: Starting Flexible branding.
Jul 4 00:38:30 srv1 systemd: Reached target Paths.
Jul 4 00:38:30 srv1 systemd: Starting Paths.
Jul 4 00:38:30 srv1 systemd: Started Daily Cleanup of Temporary Directories.
Jul 4 00:38:30 srv1 systemd: Starting Daily Cleanup of Temporary Directories.
Jul 4 00:38:30 srv1 systemd: Listening on RPCbind Server Activation Socket.
Jul 4 00:38:30 srv1 systemd: Starting RPCbind Server Activation Socket.
Jul 4 00:38:30 srv1 systemd: Reached target Sockets.
Jul 4 00:38:30 srv1 systemd: Starting Sockets.
Jul 4 00:38:30 srv1 systemd: Started Amavisd clean tmp timer.
Jul 4 00:38:30 srv1 systemd: Starting Amavisd clean tmp timer.
Jul 4 00:38:30 srv1 systemd: Reached target Basic System.
Jul 4 00:38:30 srv1 systemd: Starting Basic System.
Jul 4 00:38:30 srv1 systemd: Started D-Bus System Message Bus.
Jul 4 00:38:30 srv1 systemd: Starting D-Bus System Message Bus...
I can not start the "BIND DNS Server".
Can someone here help me with this?
When I try to start the following message appears:
Quote
WARNING!
Job for named.service failed because the control process exited with error code. See "systemctl status named.service" and "journalctl -xe" for details
Status:
Code: [Select]
● named.service - Berkeley Internet Name Domain (DNS)
Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2018-07-04 00:56:18 EDT; 7min ago
Process: 9258 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)
Jul 04 00:56:18 srv1.fourse.com.br systemd[1]: Starting Berkeley Internet Name Domain (DNS)...
Jul 04 00:56:18 srv1.fourse.com.br bash[9258]: /etc/named.conf:105: zone 'ns1.centos-webpanel.com': already exists previous definition: /etc/named.conf:104
Jul 04 00:56:18 srv1.fourse.com.br systemd[1]: named.service: control process exited, code=exited status=1
Jul 04 00:56:18 srv1.fourse.com.br systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
Jul 04 00:56:18 srv1.fourse.com.br systemd[1]: Unit named.service entered failed state.
Jul 04 00:56:18 srv1.fourse.com.br systemd[1]: named.service failed.
"tail log file var/log/messages/" button:
Code: [Select]
Jul 4 00:38:30 srv1 systemd: Started Flexible branding.
Jul 4 00:38:30 srv1 systemd: Starting Flexible branding.
Jul 4 00:38:30 srv1 systemd: Reached target Paths.
Jul 4 00:38:30 srv1 systemd: Starting Paths.
Jul 4 00:38:30 srv1 systemd: Started Daily Cleanup of Temporary Directories.
Jul 4 00:38:30 srv1 systemd: Starting Daily Cleanup of Temporary Directories.
Jul 4 00:38:30 srv1 systemd: Listening on RPCbind Server Activation Socket.
Jul 4 00:38:30 srv1 systemd: Starting RPCbind Server Activation Socket.
Jul 4 00:38:30 srv1 systemd: Reached target Sockets.
Jul 4 00:38:30 srv1 systemd: Starting Sockets.
Jul 4 00:38:30 srv1 systemd: Started Amavisd clean tmp timer.
Jul 4 00:38:30 srv1 systemd: Starting Amavisd clean tmp timer.
Jul 4 00:38:30 srv1 systemd: Reached target Basic System.
Jul 4 00:38:30 srv1 systemd: Starting Basic System.
Jul 4 00:38:30 srv1 systemd: Started D-Bus System Message Bus.
Jul 4 00:38:30 srv1 systemd: Starting D-Bus System Message Bus...
Pages: [1]