BIND DNS Server won't start

14 posts / 0 new
Last post
#1 Sun, 09/21/2014 - 05:36
eiger3970

BIND DNS Server won't start

Hi, my Virtualmin won't start the BIND DNS Server. When I select the green arrow to start the BIND DNS Server, I receive the error: Failed to start service : Failed to start BIND : Redirecting to /bin/systemctl start named.service Job for named.service failed. See 'systemctl status named.service' and 'journalctl -xn' for details.

Mon, 09/22/2014 - 09:49
andreychek

Howdy,

What BIND errors do you see in the logs when this occurs?

-Eric

Tue, 09/23/2014 - 23:15 (Reply to #2)
eiger3970

Thank you for your reply. I went to $ /var/log/messages, but not sure if this is the correct path.

Sep 21 13:28:21 localhost rsyslogd: [origin software="rsyslogd" swVersion="7.4.7" x-pid="536" x-info="http://www.rsyslog.com"] start Sep 21 13:28:06 localhost journal: Runtime journal is using 6.2M (max 49.7M, leaving 74.5M of free 490.8M, current limit 49.7M). Sep 21 13:28:06 localhost journal: Runtime journal is using 6.2M (max 49.7M, leaving 74.5M of free 490.8M, current limit 49.7M). Sep 21 13:28:06 localhost kernel: Initializing cgroup subsys cpuset Sep 21 13:28:06 localhost kernel: Initializing cgroup subsys cpu Sep 21 13:28:06 localhost kernel: Initializing cgroup subsys cpuacct Sep 21 13:28:06 localhost 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 Sep 21 13:28:06 localhost kernel: Command line: BOOT_IMAGE=/vmlinuz-3.10.0-123.el7.x86_64 root=UUID=2975adbd-3c7e-4f5b-a073-73266efdf795 ro rd.lvm.lv=centos/swap vconsole.font=latarcyrheb-sun16 rd.lvm.lv=centos/root crashkernel=auto vconsole.keymap=us rhgb quiet LANG=en_AU.UTF-8 Sep 21 13:28:06 localhost kernel: e820: BIOS-provided physical RAM map: Sep 21 13:28:06 localhost kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable Sep 21 13:28:06 localhost kernel: BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved Sep 21 13:28:06 localhost kernel: BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved Sep 21 13:28:06 localhost kernel: BIOS-e820: [mem 0x0000000000100000-0x000000003fffdfff] usable Sep 21 13:28:06 localhost kernel: BIOS-e820: [mem 0x000000003fffe000-0x000000003fffffff] reserved Sep 21 13:28:06 localhost kernel: BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved Sep 21 13:28:06 localhost kernel: BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved Sep 21 13:28:06 localhost kernel: Notice: NX (Execute Disable) protection missing in CPU! Sep 21 13:28:06 localhost kernel: SMBIOS 2.4 present. Sep 21 13:28:06 localhost kernel: Hypervisor detected: KVM Sep 21 13:28:06 localhost kernel: No AGP bridge found Sep 21 13:28:06 localhost kernel: e820: last_pfn = 0x3fffe max_arch_pfn = 0x400000000 Sep 21 13:28:06 localhost kernel: x86 PAT enabled: cpu 0, old 0x70406, new 0x7010600070106 Sep 21 13:28:06 localhost kernel: found SMP MP-table at [mem 0x000fdaf0-0x000fdaff] mapped at [ffff8800000fdaf0] Sep 21 13:28:06 localhost kernel: init_memory_mapping: [mem 0x00000000-0x000fffff] Sep 21 13:28:06 localhost kernel: init_memory_mapping: [mem 0x3fc00000-0x3fdfffff] Sep 21 13:28:06 localhost kernel: init_memory_mapping: [mem 0x3c000000-0x3fbfffff] Sep 21 13:28:06 localhost kernel: init_memory_mapping: [mem 0x00100000-0x3bffffff] Sep 21 13:28:06 localhost kernel: init_memory_mapping: [mem 0x3fe00000-0x3fffdfff] Sep 21 13:28:06 localhost kernel: RAMDISK: [mem 0x369f2000-0x374f0fff] Sep 21 13:28:06 localhost kernel: crashkernel=auto resulted in zero bytes of reserved memory. Sep 21 13:28:06 localhost kernel: ACPI: RSDP 00000000000fd990 00014 (v00 BOCHS ) Sep 21 13:28:06 localhost kernel: ACPI: RSDT 000000003fffe4b0 00034 (v01 BOCHS BXPCRSDT 00000001 BXPC 00000001) Sep 21 13:28:06 localhost kernel: ACPI: FACP 000000003fffff80 00074 (v01 BOCHS BXPCFACP 00000001 BXPC 00000001) Sep 21 13:28:06 localhost kernel: ACPI: DSDT 000000003fffe4f0 011A9 (v01 BXPC BXDSDT 00000001 INTL 20100528) Sep 21 13:28:06 localhost kernel: ACPI: FACS 000000003fffff40 00040
Wed, 09/24/2014 - 10:02
andreychek

Howdy,

Which logs to review depends on your distro -- which distro is it that you're using there?

-Eric

Thu, 09/25/2014 - 07:55 (Reply to #4)
eiger3970

Hello, I'm on CentOS Linux 7.0.1406. Virtualmin version: 4.10.gpl GPL.

Fri, 09/26/2014 - 22:49
eiger3970

Hello?

Fri, 09/26/2014 - 23:21
andreychek

Yeah, /var/log/messages is the place where BIND related error/notification messages should show up.

I don't see any BIND related notices though in your output above.

Are you looking at the end of that logfile, right after attempting to restart BIND? What you'd be looking for are log messages for the service with the name "named".

-Eric

Fri, 09/26/2014 - 23:58
eiger3970
Fri, 09/26/2014 - 23:45
eiger3970

Virtualmin forum not posting reply with code results above?

Sat, 09/27/2014 - 01:28 (Reply to #9)
eiger3970

I have now followed https://www.virtualmin.com/documentation/dns/faq but the Virtualmin > System Settings > Server Templates > Default Settings > Edit template section: BIND DNS domain > Master DNS server hostname > Hostname: > Additional manually configured nameservers: ns1.domain.com and ns2.domain.com > unable to save the settings?

Sun, 09/28/2014 - 22:10
andreychek

Howdy,

What happens when trying to save the settings? If you're receiving an error, what error is it giving you?

-Eric

Fri, 10/03/2014 - 06:12 (Reply to #11)
eiger3970

The error is: Failed to save server template: Additional nameserver ns1.domain.com does not exist.

I don't know if adding these details are needed or it's a wild goose chase, but that's the error when I enter in the details.

Fri, 01/09/2015 - 12:08
Lanna

If anyone's reading this, there is some kind of incompatibility in the DNS when restoring backups. The fix is to doisable DNS for the domain in virtual server settings and then re-enable it. This regenerates the zone file for the domain and you can then start BIND succcessfully.

Sun, 07/14/2019 - 03:40
mosalam

Delete any views or client view from the config file : /etc/named.conf