From owner-freebsd-questions@FreeBSD.ORG Fri Jan 13 19:31:07 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ADEF116A41F for ; Fri, 13 Jan 2006 19:31:07 +0000 (GMT) (envelope-from frankstaals@gmx.net) Received: from smtp1.versatel.nl (smtp1.versatel.nl [62.58.50.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA1F443D45 for ; Fri, 13 Jan 2006 19:31:06 +0000 (GMT) (envelope-from frankstaals@gmx.net) Received: (qmail 22930 invoked by uid 0); 13 Jan 2006 19:31:04 -0000 Received: from ip176-173-59-62.adsl.versatel.nl (HELO [192.168.2.5]) ([62.59.173.176]) (envelope-sender ) by smtp1.versatel.nl (qmail-ldap-1.03) with SMTP for < >; 13 Jan 2006 19:31:04 -0000 Message-ID: <43C8001C.8000001@gmx.net> Date: Fri, 13 Jan 2006 20:31:40 +0100 From: Frank Staals User-Agent: Mozilla Thunderbird 1.0.7 (X11/20060105) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Greg Barniskis References: <17821403.1137174943074.JavaMail.root@m11> <43C7F032.3020109@scls.lib.wi.us> <43C7F609.3010607@gmx.net> <43C7FC45.1020907@scls.lib.wi.us> In-Reply-To: <43C7FC45.1020907@scls.lib.wi.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: snarmont@wnec.edu, freebsd-questions@freebsd.org Subject: Re: httpd could not be started X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jan 2006 19:31:07 -0000 Greg Barniskis wrote: > Frank Staals wrote: > >> Greg Barniskis wrote: >> >>> apache2_enable="YES" >>> >>> in your rc.conf? >>> >>> The need for this as well as the proper syntax should be noted in >>> the file /usr/ports/www/apache2/pkg-msg. For any other port you >>> install there's probably gold nuggets of info in its pkg-msg file. >>> This stuff displays during the make install, but then so does >>> several K of other info so it's not hard to miss these things. >>> >> In fact, it doesn't realy matter if you add apache_enable="YES" to >> rc.conf ( since het installed apache13 adding apache2_enable="YES" >> would be quite useless ... ) > > > Duh. Sorry, the later line about him trying apache22 got stuck in my > mind. > >> when you start it manually from commandline, adding it to rc.conf is >> only usefull when you want to start apache from boot, which can be >> quite usefull, but it can't be the reason why apache wouldn't start. > > > Oh. I was sure that I'd read in a previous thread that the lack of an > enable flag would stop it from being started at all, but that must > have been for a different port or in a different context. Anyway, > thanks for the correction, always glad to have my misconceptions > destroyed. > > If I recall correctly you can only start the services in /etc/rc.d/ if you have them in /etc/rc.conf with '/etc/rc.d/ start'. ( But off-course there is a way to start them without adding them to rc.conf : '/etc/rc.d/ forcestart' ). You must have mixed up the two ( /etc/rc.d/ and /usr/local/etc/rc.d/ ) -- -Frank Staals