Hello,
DA will return the message:
if the /etc/init.d/named boot script returns a non-zero return value.
When you run it from ssh, the shell doesn't tell you what the return code is.
Try the following:
1) Go to Admin Level -> Services Monitor, and take note of the PID numbers used for named.
2) Issue a restart for named. Don't worry about the error, if it shows up. We're not concerned if the script returns non-zero, we're only concerned if there is an actual error in the restart.
3) Go back to the Services Monitor. If you see different PID numbers for named, then the restart worked fine, and the script is just not specifying the return code.
4) If the PID number did not change, then the restart failed. Try manually via ssh with a bit of force to resync the pid file:
Code:
killall -9 named
/etc/init.d/named start
Note, by default, DA doesn't touch what the bind package installs. DA relies on the port/package scripts and options by default. These can vary, and may not all return a 0 error code.
We've got a script here which will return an error code of 0, to avoid confusion with regards to that error message.
To install it, use:
Code:
cd /etc/init.d
mv named named.old
wget -O named http://www.directadmin.com/named.debian
chmod 755 named
John