HostOnNet Blog

bind init scripts on FreeBSD 5.4 Cpanel server

In FreeBSD 5.4 Cpanel server, i found none of the init scripts can start or stop bind. In the server, there is two named startup scripts

/etc/init.d/named
/usr/local/etc/rc.d/020named.sh

Both have same code, allow start and stop, no status like in Linux cpanel server.

Bind is working fine, so i tried to stop it with

/etc/init.d/named stop
/usr/local/etc/rc.d/020named.sh stop

Both can’t stop bind. So i stoped it with command

# rndc stop

Named is stoped. I try to start named with

/etc/init.d/named start
/usr/local/etc/rc.d/020named.sh start

Both scripts can’t start named. At last i start named with

/scripts/restartsrv_named

Restarting named through WHM is also working. But none of the init scripts are working.


Posted in Uncategorized. Bookmark the permalink.