From owner-freebsd-isp Thu Mar 21 23:11:40 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mail.alpha1.net (megatron.alpha1.net [66.119.232.5]) by hub.freebsd.org (Postfix) with ESMTP id 281C537B404 for ; Thu, 21 Mar 2002 23:11:35 -0800 (PST) Received: from marius.org (cdm-66-158-23-brcs.cox-internet.com [66.76.158.23]) by mail.alpha1.net (8.10.1/8.10.1) with ESMTP id g2M7BXI55185; Fri, 22 Mar 2002 01:11:33 -0600 (CST) Received: (from marius@localhost) by marius.org (8.11.6/8.11.6) id g2M7BXr65840; Fri, 22 Mar 2002 01:11:33 -0600 (CST) Date: Fri, 22 Mar 2002 01:11:31 -0600 From: Marius Strom To: "Alastair D'Silva" Cc: "'Jamie Ostrowski'" , freebsd-isp@FreeBSD.ORG Subject: Re: Problem with Starting httpd on FreeBSD Message-ID: <20020322071130.GL61228@marius.org> Mail-Followup-To: Alastair D'Silva , 'Jamie Ostrowski' , freebsd-isp@FreeBSD.ORG References: <20020320162009.J4440-100000@floyd.getsetnet.net> <00f801c1d129$0aab0910$3200a8c0@riker> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00f801c1d129$0aab0910$3200a8c0@riker> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Judging by /etc/rc, FreeBSD only runs scripts in rc.d directories that have a suffix of .sh, as seem from this part of /etc/rc: echo -n 'Local package initialization:' slist="" if [ -z "${script_name_sep}" ]; then script_name_sep=" " fi for dir in ${local_startup}; do if [ -d "${dir}" ]; then for script in ${dir}/*.sh; do slist="${slist}${script_name_sep}${script}" done fi done On Fri, Mar 22, 2002 at 09:37:53AM +1100, Alastair D'Silva wrote: > Install Apache from the ports collection - it'll set it up nicely for > FreeBSD, including installing httpd.sh in the appropriate place. > > -- > Alastair D'Silva B. Sc. mob: 0413 485 733 > Networking Consultant > New Millennium Networking http://www.newmillennium.net.au > > > -----Original Message----- > > From: owner-freebsd-isp@FreeBSD.ORG > > [mailto:owner-freebsd-isp@FreeBSD.ORG] On Behalf Of Jamie Ostrowski > > Sent: Thursday, 21 March 2002 9:34 AM > > To: freebsd-isp@FreeBSD.ORG > > Subject: Problem with Starting httpd on FreeBSD > > > > > > > > > > > > I am building a new web server for an ISP, and I am > > having trouble getting Apache to start up automatically when > > the machine comes up. I am running FreeBSD 4.5 RELEASE on a > > 1GHz PIII. I have installed apachectl in /usr/local/etc/rc.d, > > and set it to 755. I can start apache from the command > > manually in that directory like this: > > > > /usr/local/etc/rc.d/apachectl start > > > > and it comes up just fine. > > > > It does take about 15 seconds for it to start as there are > > a couple hundred virtual hosts it is starting up. Is init > > giving up after a certain length of time, before apachectl > > has time to finish firing up httpd? If so, is there a way > > this can be configured? I can't seem to locate any > > documentation that covers this specific problem. Thanks. > > > > > > - Jamie > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-isp" in the body of the message > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message -- /-------------------------------------------------> Marius Strom | Always carry a short length of fibre-optic cable. Professional Geek | If you get lost, then you can drop it on the System/Network Admin | ground, wait 10 minutes, and ask the backhoe http://www.marius.org/ | operator how to get back to civilization. \-------------| Alan Frame |----------------------> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message