Failed To Start Service Failed To Start Bind Unknown Error
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Failed to start BIND : Unknown error up vote 0 down vote favorite I am using Debian Linux 5.0 with Webmin and Virtualmin. Everything works fine except the BIND DNS Server. It says Failed to start BIND : Unknown error. Any ideas? I've googled about this problem and found some answers, but didn't help me. I still couldn't start it. Thanks in advance for any help! Gabe bind share|improve this question asked Jun 14 '10 at 4:20 Gabriel add a comment| 2 Answers 2 active oldest votes up vote 1 down vote Increase the logging level, put this on named.conf: logging {severity debug;}; More info about logging directive: http://www.zytrax.com/books/dns/ch7/logging.html share|improve this answer answered Jun 14 '10 at 4:27 lrosa 1,3731114 Thanks for the reply. Should I check the logs after I put this code in named.conf? –Gabriel Jun 14 '10 at 4:56 After you added the line to your named.conf and restarted named. –joschi Jun 14 '10 at 5:29 Gabriel: yes, of course. –lrosa Jun 14 '10 at 15:25 add a comment| up vote 0 down vote This error is not coming from BIND, but from the startup script or wrapper. Try running BIND manually, from a root prompt, with: named -g -c /dev/null If this starts, it means BIND is installed and working properly. The next step is to find out what configuration file it may be using. You can try leaving off the -c /dev/null part and seeing what happens. If it starts, there is a config file somewhere that it found and loaded. If no file is found, use the -c option and point it at your named.conf file specifically. If those steps all work, then I would check the path that your wrapper script tries to run to ensure that it has the correct on
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and http://serverfault.com/questions/150920/failed-to-start-bind-unknown-error rise to the top Webmin can't start bind9: 'Unknown error' up vote 0 down vote favorite Ubuntu version: 14.04.1 LTS x86_64 Bind version: 9.9.5 Webmin version: 1.780 For a while now, I'm trying to configure bind. First one as a slave to our current Windows DNS Servers which all works fine, but there is an additional requirement: an Interface. So I installed Webmin, which came with the bind-module preinstalled http://askubuntu.com/questions/719801/webmin-cant-start-bind9-unknown-error and everything works fine, except for restarting the Server. I can stop it, but I cannot start it again. I get an Failed to start BIND : Unknown error using the Webmin-Interface. Using sudo service bind9 start works perfectly. TL;DR: Bind works perfectly, but I can't start the bind service through the Webmin-Interface The Syslog sais: Jan 11 14:28:18 SRVNT151 named[20133]: loading configuration from '/etc/bind/named.conf' Jan 11 14:28:18 SRVNT151 named[20133]: /etc/bind/named.conf.local:34: open: /etc/bind/rndc.key: permission denied Jan 11 14:28:18 SRVNT151 named[20133]: loading configuration: permission denied Jan 11 14:28:18 SRVNT151 named[20133]: exiting (due to fatal error) So my guess is, that it for some reason tries to start bind from another user, because the bind user has access to all the files it complains not having access to. -rw-r----- 1 bind bind 76 Jan 11 13:52 rndc.key Note: when I commented out the line including the rndc-file, it complained about not having access to /var/log/named/named -rw-r--r-- 1 bind bind 7252744 Jan 11 13:53 named dns bind webmin share|improve this question edited Jan 11 at 13:58 asked Jan 11 at 13:38 Celestial Dragon of Osiris 14 add a comment| active oldest votes Know someone who can answer? Share a link to this question via email, Google+, Twitter, or
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get https://ubuntuforums.org/showthread.php?t=1916963 Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community https://www.drupal.org/node/1848636 Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login failed to Advanced Search Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [SOLVED] bind9 fails to start Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Results 1 failed to start to 8 of 8 Thread: bind9 fails to start Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode January 29th, 2012 #1 satimis View Profile View Forum Posts Private Message Ubuntu Cappuccino Scuro Join Date Apr 2006 Beans 1,994 bind9 fails to start Hi all, Ubuntu server 1010 64bit running as VM on Orcle Virtualbox. I followed; DNS (bind9) Configuration HowTo http://glonek.co.uk/linux-server/dns...uration-howto/ to config bind9. It went through w/o problem. On restarting bind9; # /etc/init.d/bind9 restart Code: * Stopping domain name service... bind9 ...done. * Starting domain name service... bind9 ...fail! $ tail /var/log/syslog Code: Jan 29 16:43:33 server1 named[2467]: /etc/bind/named.conf.local:9: unknown option 'zone' Jan 29 16:43:33 server1 named[2467]: /etc/bind/named.conf.local:14: unknown option 'zone' Jan 29 16:43:33 server1 named[2467]: /etc/bind/named.conf.default-zones:2: unknown option 'zone' Jan 29 16:43:33 server1 named[2467]: /etc/bind/named.conf.default-zones:10: unknown option 'zone' Jan 29 16:43:33 server1 named[2467]: /etc/bind/named.conf.default
that make connections all over the world. Join today Download & Extend Drupal Core Distributions Modules Themes Hostmaster (Aegir)Issues Bind9 start/restart failure - Aegir bind conf file permssions Closed (cannot reproduce)Project:Hostmaster (Aegir)Version:6.x-1.9Component:CodePriority:NormalCategory:Support requestAssigned:UnassignedReporter:mccrodpCreated:November 23, 2012 - 13:42Updated:December 7, 2012 - 13:04 Log in or register to update this issue Hi, After following the Aegir DNS docs I'm having an issue with what looks to be permissions relating to aegir bind conf files during bind9 start/restart on Ubuntu 10.04 /etc/init.d/bind9 restart * Stopping domain name service... bind9 [ OK ] * Starting domain name service... bind9 [fail] The output from tail -f /var/log/syslog below. Nov 23 13:13:39 merv named[4657]: starting BIND 9.7.0-P1 -u bind Nov 23 13:13:39 merv named[4657]: built with '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc/bind' '--localstatedir=/var' '--enable-threads' '--enable-largefile' '--with-libtool' '--enable-shared' '--enable-static' '--with-openssl=/usr' '--with-gssapi=/usr' '--with-gnu-ld' '--with-dlz-postgres=no' '--with-dlz-mysql=no' '--with-dlz-bdb=yes' '--with-dlz-filesystem=yes' '--with-dlz-ldap=yes' '--with-dlz-stub=yes' '--with-geoip=/usr' '--enable-ipv6' 'CFLAGS=-fno-strict-aliasing -DDIG_SIGCHASE -O2' 'LDFLAGS=-Wl,-Bsymbolic-functions' 'CPPFLAGS=' Nov 23 13:13:39 merv named[4657]: adjusted limit on open files from 1024 to 1048576 Nov 23 13:13:39 merv named[4657]: found 2 CPUs, using 2 worker threads Nov 23 13:13:39 merv named[4657]: using up to 4096 sockets Nov 23 13:13:39 merv named[4657]: loading configuration from '/etc/bind/named.conf'Nov 23 13:13:39 merv named[4657]: /etc/bind/named.conf.local:4: open: /var/aegir/config/bind.conf: permission denied Nov 23 13:13:39 merv named[4657]: loading configuration: permission denied Nov 23 13:13:39 merv named[4657]: exiting (due to fatal error)