LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-03-2010, 11:17 PM   #1
gamerxgirl
LQ Newbie
 
Registered: Oct 2010
Posts: 1

Rep: Reputation: 0
Ubuntu 10.04 Bind9 cannot restart/start


Here's my current setup:
  • Ubuntu 10.04
  • Lighttpd
  • PHP 5.3.2
  • MySQL 5.1.41
  • Bind9
  • Proftpd
  • Postfix
  • Dovecot
  • Froxler (SysCP branch-off)

When I go to run it via this command:
/etc/init.d/bind9 restart

I get the following error message:
Quote:
* Stopping domain name service... bind9 rndc: connect failed: 127.0.0.1#953: connection refused
[ OK ]
* Starting domain name service... bind9 [fail]
This is my /etc/bind/named.conf.options file:
Code:
options {
        directory "/var/cache/bind";

        // If there is a firewall between you and n$
        // to talk to, you may need to fix the fire$
        // ports to talk.  See http://www.kb.cert.o$

        // If your ISP provided one or more IP addr$
        // nameservers, you probably want to use th$
        // Uncomment the following block, and inser$
        // the all-0's placeholder.

        // forwarders {
        //      0.0.0.0;
        // };

        auth-nxdomain no;    # conform to RFC1035
        listen-on-v6 { any; };
        allow-transfer {
                208.89.208.232;
                208.89.208.235;
};
I've looked at various solutions already:
http://www.ubuntugeek.com/dns-server...in-ubuntu.html
http://ubuntuforums.org/showthread.php?t=1182344
http://www.daniweb.com/forums/thread189043.html
http://www.virtualmin.com/node/13617
http://www.jasonn.com/content/rndc-c...ection-refused
http://www.hui-wang.info/2009/08/rnd...ction-refused/

Any help would be greatly appreciated.
Thanks!
 
Old 10-04-2010, 10:49 AM   #2
janhe
Member
 
Registered: Jul 2007
Location: Belgium
Distribution: slackware64 14.2, slackware 13.1
Posts: 371

Rep: Reputation: 54
The second link suggested you look in /var/log/syslog for more specific error messages. Have you done that? Can you please post the error messages?
 
Old 10-05-2010, 03:49 PM   #3
captainhardway
LQ Newbie
 
Registered: Oct 2010
Distribution: Slackware
Posts: 16

Rep: Reputation: 1
Quote:
Originally Posted by gamerxgirl View Post
Here's my current setup:
  • Ubuntu 10.04
  • Lighttpd
  • PHP 5.3.2
  • MySQL 5.1.41
  • Bind9
  • Proftpd
  • Postfix
  • Dovecot
  • Froxler (SysCP branch-off)

When I go to run it via this command:
/etc/init.d/bind9 restart

I get the following error message:


This is my /etc/bind/named.conf.options file:
Code:
options {
        directory "/var/cache/bind";

        // If there is a firewall between you and n$
        // to talk to, you may need to fix the fire$
        // ports to talk.  See http://www.kb.cert.o$

        // If your ISP provided one or more IP addr$
        // nameservers, you probably want to use th$
        // Uncomment the following block, and inser$
        // the all-0's placeholder.

        // forwarders {
        //      0.0.0.0;
        // };

        auth-nxdomain no;    # conform to RFC1035
        listen-on-v6 { any; };
        allow-transfer {
                208.89.208.232;
                208.89.208.235;
};
I've looked at various solutions already:
http://www.ubuntugeek.com/dns-server...in-ubuntu.html
http://ubuntuforums.org/showthread.php?t=1182344
http://www.daniweb.com/forums/thread189043.html
http://www.virtualmin.com/node/13617
http://www.jasonn.com/content/rndc-c...ection-refused
http://www.hui-wang.info/2009/08/rnd...ction-refused/

Any help would be greatly appreciated.
Thanks!
Greetings.

You are getting the connection-refused error because bind is not running, thus you are left with one problem. Bind is not starting.

In looking at your named.conf.* I only see that you have no forwarders configured, which is really not a problem, and you allow zone transfers to two seperate IPs. Other than that the config posted is not helping determine why bind is not starting.

Is it possible that you need to define some zone files to be loaded in the named.conf.* and/or zone files created?

Also with Ubuntu you can try starting bind9 with sudo service bind9 start/restart for easier finger work.

I hope this was of some help to you.

Last edited by captainhardway; 10-05-2010 at 04:01 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bind9 won't restart and12345 Linux - Server 6 04-24-2021 01:26 PM
Ubuntu 9.10 - "Restart" option just restarts Ubuntu, doesn't restart PC tensigh Linux - Laptop and Netbook 5 03-02-2011 10:47 AM
Ubuntu karmic + Bind9 softfarr Linux - Networking 2 01-21-2010 09:49 AM
Can't get bind9 configuration ok on Ubuntu 8.04 havan Linux - Networking 2 11-30-2008 02:08 PM
UBUNTU bind9 problem xokaido Linux - Server 17 07-28-2008 02:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration