Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2007 17:45:36 +0300
From:      Apatewna <apatewna@yahoo.gr>
To:        Howard Goldstein <hg@queue.to>
Cc:        ghirai@ghirai.com, freebsd-questions@freebsd.org
Subject:   Re: startup scripts not working
Message-ID:  <46487610.7010601@yahoo.gr>
In-Reply-To: <464397FD.7020002@queue.to>
References:  <1137737091.20070511003530@ghirai.com> <464397FD.7020002@queue.to>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
O/H Howard Goldstein έγραψε:

>> None of the scripts work, they show the same behavior,
>> and i ran them as root.
> 
> I don't have any of those installed but most of the local rc.d scripts 
> need an enable flag in /etc/rc.conf . Take a look at your rc.d scripts 
> and see if they need them to.  You can also run these with -x to see 
> what's happening (eg.,  sh -x /usr/local/etc/rc.d/apache22 start)
> 

Since the original question has been answered I'll just add a little 
more detail.

Whenever you install some software that has a run script in 
/usr/local/etc/rc.d, there is an easy way to figure out which parameters 
need to be enabled in /etc/rc.conf. Just run the script with the "rcvar" 
parameter. (eg /usr/local/etc/rc.d/apache22 rcvar)

The same applies for system services (sshd, inetd) that have their start 
scripts in /etc/rc.d

-- 
RTFM and STFW before anything bad happens
_________________________________________
Thanos Rizoulis
Electronic Computing Systems Engineer
Larissa, Greece
FreeBSD/PCBSD user



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?46487610.7010601>