[Fwd: Re: How to start named on startup]

G. Roderick Singleton gerry at pathtech.org
Fri Oct 3 18:18:42 UTC 2003


On Thu, 2003-10-02 at 23:49, John Smith wrote:
> Hello all:
> 
> Running BIND 9.2.2 on Solaris 8.
> 
> My "named" file is located in /usr/local/sbin
> 
> How do I configure the S72inetsvc file to
> start it automatically? below is a portion
> of it and it's not working.
> 
> Thanks.
> 
> 
> 
> 
> //////
> if [ -f /usr/sbin/in.named -a -f /etc/named.conf ]; then
>         echo 'starting internet domain name server.'
>         /usr/sbin/in.named &
> fi

How about changing /etc/init.d/inetsvc in the following manner:
#if [ -f /usr/sbin/in.named -a -f /etc/named.conf ]; then
if [ -f /usr/sbin/named -a -f /etc/named.conf ]; then
         echo 'starting internet domain name server.'
        /usr/sbin/named &
#        /usr/sbin/in.named &
fi

-- 
Gerry Roderick Singleton <gerry at pathtech.org>
416-452-4583



More information about the bind-users mailing list