These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Failed to start BIND : Unknown error on the new forum.
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.
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
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 namedbind 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.
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.
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
Nothing else than:
root@xxxxx:~# /etc/init.d/bind9 start * Starting domain name service... bind [fail]
What logs should I check?
What distro are you using?
I'm sorry I forget about it. Ubuntu 8.04
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
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
$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
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.
Well, two things:
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 :-)
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
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.
No problem Victor, glad I can be of assistance ;-)
Have a good one! -Eric