Named service in DirectAdmin not started – Error: Issue with named script

If you are getting error for all zone files while restarting named service in DirectAdmin. The error seems your named script is corrupted.To resolve this error, you can follow the steps below which explains how to get new named script.

cd /etc/init.d/

First Backup the named script that is already on the server.

mv named named_bak
wget -O named
chmod 755 named
/sbin/chkconfig named reset

Now, try to start named service

/etc/init.d/named restart

That’s it!