Failed to start BIND : Unknown error

15 posts / 0 new
Last post
#1 Thu, 06/11/2009 - 22:22
pronisis.com

Failed to start BIND : Unknown error

Hello:

When I tried to start the "BIND DNS Server" I received this error:

Failed to start service : Failed to start BIND : Unknown error

I'll appreciate any help that you can give me!!

I use Virtualmin 3.69 gpl - Ubuntu 8.04.2

Thank you,

Best Regards,

Victor.

Thu, 06/11/2009 - 22:59
andreychek

Where are you seeing that error, in Virtualmin, or from the command line?

If you were to log into the command line, and type "ps auxw | grep named" -- do you see output? -Eric

Thu, 06/11/2009 - 23:09 (Reply to #2)
pronisis.com

Hello Eric:

I see the error in the virtualmin, but When I run the command that you gave me I received this:

ps auxw | grep named

bind 30481 0.0 0.9 74908 10420 ? Ssl 07:38 0:00 /usr/sbin/named -u bind root 32052 0.0 0.0 1692 508 pts/2 S+ 08:07 0:00 grep named

Thank you,

Best Regards,

Victor.

Thu, 12/24/2009 - 18:48 (Reply to #3)
michalc

I have the same problem but the above's solution doesn't solve the problem in my case. If I type in command line "ps auxw | grep named" the result is:

root 15293 0.0 0.1 2104 788 pts/0 S+ 01:46 0:00 grep named

I will be thankful for help.

Thu, 12/24/2009 - 19:20 (Reply to #4)
andreychek

Sounds like BIND isn't running... what distro do you have?

I'd be curious what kind of errors, if any, you get when attempting to start it from the command line. And also, any errors in the logs?

-Eric

Thu, 12/24/2009 - 19:44 (Reply to #5)
michalc

Nothing else than:

root@xxxxx:~# /etc/init.d/bind9 start * Starting domain name service... bind [fail]

What logs should I check?

Thu, 12/24/2009 - 20:25 (Reply to #6)
andreychek

What distro are you using?

Fri, 12/25/2009 - 02:05 (Reply to #7)
michalc

I'm sorry I forget about it. Ubuntu 8.04

Tue, 12/29/2009 - 11:08 (Reply to #8)
andreychek

Okay, on Ubuntu, I'd take a look in /var/log/syslog and /var/log/messages for any odd BIND errors.

Also, you can run named-checkconf to look for errors in the conf file -- you can use something like:

named-checkconf /etc/bind/named.conf

Thu, 06/11/2009 - 23:12
andreychek

Okay, that's good.

It looks like BIND is running, but for some reason Virtualmin isn't recognizing that.

To correct it -- what happens if you run these commands:

killall named

/etc/init.d/bind9 start

And then go back into Virtualmin, does it show up as running now? -Eric

Thu, 06/11/2009 - 23:13
pronisis.com

$ps auxw | grep named

bind 30481 0.0 0.9 74908 10420 ? Ssl 07:38 0:00 /usr/sbin/named -u bind

root 32052 0.0 0.0 1692 508 pts/2 S+ 08:07 0:00 grep named

Thu, 06/11/2009 - 23:21
pronisis.com

Hello Eric:

I received this:

$killall named /etc/init.d/bind9 start

/etc/init.d/bind9: no process killed

start: no process killed

Now, I check the virtualmin control panel and now the Bind DNS server is running!!!

But now I have a question, I need to run this command (killall named /etc/init.d/bind9 start) every time?

Thank you,

Best Regards,

Victor.

Thu, 06/11/2009 - 23:25
andreychek

Well, two things:

  1. The forum borked the commands :-) Those were supposed to be two separate commands, "killall named" and "/etc/init.d/bind9 start". But instead, the forum displayed them all on one line. However, it appears to have done the trick regardless :-)

  2. No, you should not have to do that every time. Somehow, something along the way got out of sync. In theory, it should display properly in Virtualmin.

Have a good one! -Eric

Thu, 06/11/2009 - 23:30
pronisis.com

Hello Eric:

Thank you for all your help!!!

You are really good, You always help me a lot!!!

Have a nice day!!!

Best Regards,

Victor.

Thu, 06/11/2009 - 23:39 (Reply to #14)
andreychek

No problem Victor, glad I can be of assistance ;-)

Have a good one! -Eric