Bind init script in FreeBSD Cpanel Server

On FreeBSD 5.4 Cpanel Server, i found the BIND init scripts are not working properly.

There was two init scripts at

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

Both the scripts are not able to start or stop bind. Both have same content, it seems these scripts are for Cpanel Linux servers, but copied to FreeBSD servers.

I can stop bind with command

# rndc stop

But rndc start do not work.

I can restart named with cpanel script available at

# /scripts/restartsrv_named

Its working fine.

At last found

/etc/rc.d/named

working properly.

server20# /etc/rc.d/named
Usage: /etc/rc.d/named [fastforceone](start stop restart rcvar reload status poll)
server20#

# /etc/rc.d/named stop
# /etc/rc.d/named start

I have removed the two init scripts that are not working properly

server20# mkdir /root/backup
server20# mv /etc/init.d/named /root/backup
server20# mv /usr/local/etc/rc.d/020named.sh /root/backup

Related posts:

  1. bind init scripts on FreeBSD 5.4 Cpanel server
  2. Fixing Bind RNDC errors in Cpanel Server
  3. Domain Name not resolving in Cpanel Server
  4. Upgrading MySQL 4 to 4.1 in FreeBSD Cpanel Server.
  5. MySQL on FreeBSD Cpanel Server
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>