I am trying to set up an extremely simple DNS server for a home network, using Yast in OpenSUSE 11.4. However, starting the named service fails, and gives no reason for failure.
If I try to start it in the DNS Server tool in Yast, it does nothing.
If I try to enable named in the System Services tool, it responds with:
/etc/init.d/named start returned 1 (unspecified error):
Trying to start named on the command line also fails with no reason:
Starting name server BIND failed
Also no error is indicated in /var/log/messages, except that it appears to be running named using the configuation in /etc/named.conf:
Jul 22 15:34:03 katie named: loading configuration from ‘/etc/named.conf’
Yet /etc/named.conf looks like just the default sample named.conf file: there are none of the changes I have made in YaST. So where the HECK does Yast store its named.config file, and how do I get named to start using it? But first and foremost, why this “Computer says no” behaviour?
> Yet /etc/named.conf looks like just the default sample named.conf file:
> there are none of the changes I have made in YaST. So where the HECK
> does Yast store its named.config file, and how do I get named to start
> using it? But first and foremost, why this “Computer says no” behaviour?
Your named may be configured in a chroot, and thus some files are in different places. For a
home server this might be an overkill, might make sense to disable that feature.
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
I’m just making a mad guess that the service many not be enabled, which would prevent the service from starting.
YAST > System Services (Runlevel)
From the Simple Mode view, you can probably just scroll down to the service “named” and click the “Enable” button but I would instead for completeness recommend you select the “Expert Mode” view, before scrolling down to the service “named.”
In Expert Mode, do the following in order
In the bottom right click the “Set/Reset” button and then select “Enable the Service”
In the bottom left click “Start/Stop/Refresh” button and then select “Start Now” - Your Service should then start successfully
Verify your runtime levels are 3 and 5
Click the OK button to save your settings.
Once your BIND services have started (and the service configured “enabled”) you should then be able to open the YAST DNS applet for further configuration.
If you really are still having problems enabling the service, then I’d recommend doing a package re-install (possibly preceded by a package uninstall) to make sure the files are installed properly.