Author Topic: BIND DNS Server failed !!  (Read 2397 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
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...

Offline
*****
Re: BIND DNS Server failed !!
« Reply #1 on: July 02, 2019, 10:45:20 PM »
open /etc/named.conf file and remove the duplicate zone - ns1.centos-webpanel.com

Offline
*
Re: BIND DNS Server failed !!
« Reply #2 on: September 05, 2020, 08:28:27 AM »
Excellent thread! Thanks for this great share!

Offline
*
Re: BIND DNS Server failed !!
« Reply #3 on: October 24, 2020, 09:45:03 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!
Oct 23 11:08:47 srv1 rsyslogd: [origin software="rsyslogd" swVersion="7.4.7" x-pid="690" x-info="http://www.rsyslog.com"] start
Oct 23 11:08:10 srv1 journal: Runtime journal is using 8.0M (max 189.6M, leaving 284.4M of free 1.8G, current limit 189.6M).
Oct 23 11:08:10 srv1 journal: Runtime journal is using 8.0M (max 189.6M, leaving 284.4M of free 1.8G, current limit 189.6M).
Oct 23 11:08:10 srv1 kernel: Initializing cgroup subsys cpuset
Oct 23 11:08:10 srv1 kernel: Initializing cgroup subsys cpu
Oct 23 11:08:10 srv1 kernel: Initializing cgroup subsys cpuacct
Oct 23 11:08:10 srv1 kernel: Linux version 3.10.0-123.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC) ) #1 SMP Mon Jun 30 12:09:22 UTC 2014
Oct 23 11:08:10 srv1 kernel: Command line: BOOT_IMAGE=/vmlinuz-3.10.0-123.el7.x86_64 root=UUID=2a1c6faa-0737-4706-b6b1-47bd7e7c66ae ro vconsole.keymap=us crashkernel=auto rd.lvm.lv=centos_srv1/swap vconsole.font=latarcyrheb-sun16 rd.lvm.lv=centos_srv1/root rhgb quiet LANG=en_US.UTF-8
Oct 23 11:08:10 srv1 kernel: Disabled fast string operations
Oct 23 11:08:10 srv1 kernel: e820: BIOS-provided physical RAM map:
Oct 23 11:08:10 srv1 kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009f3ff] usable
Oct 23 11:08:10 srv1 kernel: BIOS-e820: [mem 0x000000000009f400-0x000000000009ffff] reserved
Oct 23 11:08:10 srv1 kernel: BIOS-e820: [mem 0x00000000000dc000-0x00000000000fffff] reserved
Oct 23 11:08:10 srv1 kernel: BIOS-e820: [mem 0x0000000000100000-0x00000000bfeeffff] usable
Oct 23 11:08:10 srv1 kernel: BIOS-e820: [mem 0x00000000bfef0000-0x00000000bfefefff] ACPI data
Oct 23 11:08:10 srv1 kernel: BIOS-e820: [mem 0x00000000bfeff000-0x00000000bfefffff] ACPI NVS
Oct 23 11:08:10 srv1 kernel: BIOS-e820: [mem 0x00000000bff00000-0x00000000bfffffff] usable
Oct 23 11:08:10 srv1 kernel: BIOS-e820: [mem 0x00000000f0000000-0x00000000f7ffffff] reserved
Oct 23 11:08:10 srv1 kernel: BIOS-e820: [mem 0x00000000fec00000-0x00000000fec0ffff] reserved
Oct 23 11:08:10 srv1 kernel: BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
Oct 23 11:08:10 srv1 kernel: BIOS-e820: [mem 0x00000000fffe0000-0x00000000ffffffff] reserved
Oct 23 11:08:10 srv1 kernel: BIOS-e820: [mem 0x0000000100000000-0x000000013fffffff] usable
Oct 23 11:08:10 srv1 kernel: NX (Execute Disable) protection: active
Oct 23 11:08:10 srv1 kernel: SMBIOS 2.7 present.
Oct 23 11:08:10 srv1 kernel: Hypervisor detected: VMware
Oct 23 11:08:10 srv1 kernel: No AGP bridge found
Oct 23 11:08:10 srv1 kernel: e820: last_pfn = 0x140000 max_arch_pfn = 0x400000000
Oct 23 11:08:10 srv1 kernel: x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
Oct 23 11:08:10 srv1 kernel: total RAM covered: 7168M
Oct 23 11:08:10 srv1 kernel: Found optimal setting for mtrr clean up
Oct 23 11:08:10 srv1 kernel: gran_size: 64K     chunk_size: 64K         num_reg: 3      lose cover RAM: 0G
Oct 23 11:08:10 srv1 kernel: e820: last_pfn = 0xc0000 max_arch_pfn = 0x400000000
Oct 23 11:08:10 srv1 kernel: found SMP MP-table at [mem 0x000f6a80-0x000f6a8f] mapped at [ffff8800000f6a80]
Oct 23 11:08:10 srv1 kernel: init_memory_mapping: [mem 0x00000000-0x000fffff]
Oct 23 11:08:10 srv1 kernel: init_memory_mapping: [mem 0x13fe00000-0x13fffffff]
Oct 23 11:08:10 srv1 kernel: init_memory_mapping: [mem 0x13c000000-0x13fdfffff]
Oct 23 11:08:10 srv1 kernel: init_memory_mapping: [mem 0x100000000-0x13bffffff]
Oct 23 11:08:10 srv1 kernel: init_memory_mapping: [mem 0x00100000-0xbfeeffff]
Oct 23 11:08:10 srv1 kernel: init_memory_mapping: [mem 0xbff00000-0xbfffffff]
Oct 23 11:08:10 srv1 kernel: RAMDISK: [mem 0x36a09000-0x374fcfff]
Oct 23 11:08:10 srv1 kernel: Reserving 161MB of memory at 704MB for crashkernel (System RAM: 4095MB)
Oct 23 11:08:10 srv1 kernel: ACPI: RSDP 00000000000f6a10 00024 (v02 PTLTD )
Oct 23 11:08:10 srv1 kernel: ACPI: XSDT 00000000bfef01d3 0005C (v01 INTEL  440BX    06040000 VMW  01324272)
Oct 23 11:08:10 srv1 kernel: ACPI: FACP 00000000bfefee73 000F4 (v04 INTEL  440BX    06040000 PTL  000F4240)
Oct 23 11:08:10 srv1 kernel: ACPI: DSDT 00000000bfef0459 0EA1A (v01 PTLTD  Custom   06040000 MSFT 03000001)
Type  :quit<Enter>  to exit Vim