From owner-freebsd-apache@FreeBSD.ORG Mon Oct 4 12:42:53 2010 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 624521065672 for ; Mon, 4 Oct 2010 12:42:53 +0000 (UTC) (envelope-from phanquochien@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id E9D298FC12 for ; Mon, 4 Oct 2010 12:42:52 +0000 (UTC) Received: by wyb29 with SMTP id 29so4113616wyb.13 for ; Mon, 04 Oct 2010 05:42:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=/uCyvrKgZajbUwVaP8sYHKHMUgKE+uDixN6TMooCQ5c=; b=t14jsuzCEiWVKlh0W85OJDPMU/hfc8WUF6aibWBohPCU/4uPrJFsMXCdRfPKlWCZzi BFlvRQl3/pTD2dG3sl1s53uyF3FmE3gKIdyA9EvBCIKy4WQ+AHLtBcnGyeLnd+mkilU9 VndHt5huA8YWVnQqcycRhtrg8odcjSVTI+w78= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=odzWiKdfJaBxO2cCEmj0BamL9z5wSt/efTlp+CsWP2pnF7U6TFWYUgEuAipBiL8PmF lz44Zr1Fkoc4ulkx35YyPvRnEOvhdl+rDt4qpk0/eJbXq3yyt1332p2/ANCKzDVCn5q7 NAP9zKFqS5/waHjSDsr5QQzxR6FoeiQWIq5Ug= MIME-Version: 1.0 Received: by 10.227.152.18 with SMTP id e18mr8253087wbw.1.1286194684865; Mon, 04 Oct 2010 05:18:04 -0700 (PDT) Received: by 10.227.142.194 with HTTP; Mon, 4 Oct 2010 05:18:04 -0700 (PDT) In-Reply-To: <201010041150.17979.david@vizion2000.net> References: <201009202025.04075.david@vizion2000.net> <20100920205053.GA1621@baranyfelhocske.buza.adamsfamily.xx> <201010041150.17979.david@vizion2000.net> Date: Mon, 4 Oct 2010 19:18:04 +0700 Message-ID: From: Phan Quoc Hien To: David Southwell Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-apache@freebsd.org Subject: Re: apache22 not starting X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Oct 2010 12:42:53 -0000 Hi! Please add accf_data_load=3D"YES" to /boot/loader.conf or try kldload accf_data.ko and run kldstat | grep accf to check it loaded? On Mon, Oct 4, 2010 at 5:50 PM, David Southwell wrot= e: > > Difficulties with apache starting after recent upgrade. > > I have included some information which may be relevant; > > Some guidance would be appreciated as I cannot get the web server to run. > > It seems that something must have changed with the latest upgrade as ther= e > were no changes to the config. > Syntax is ok: > > dns1# /usr/local/sbin/apachectl -t > Syntax OK > dns1# > > > I have rebuilt apache22 but apache does not start as evidenced below: > > dns1# /usr/local/sbin/apachectl start > [Mon Oct 04 10:42:07 2010] [warn] (2)No such file or directory: Failed to > enable the 'dataready' Accept Filter > [Mon Oct 04 10:42:07 2010] [warn] (2)No such file or directory: Failed to > enable the 'dataready' Accept Filter > > [NOTE > > dns1# grep accf /boot/defaults/loader.conf > accf_data_load=3D"NO" =A0 =A0 =A0 =A0 =A0 =A0 # Wait for data accept filt= er > accf_http_load=3D"NO" =A0 =A0 =A0 =A0 =A0 =A0 # Wait for full HTTP reques= t accept filter > However > but /boot/loader.conf includes the following line: > accf_http_load=3D"YES" > > dns1# kldload accf_http > kldload: can't load accf_http: File exists > dns1# > > Is something weird happening here? > NOTE END ] > > Apache/2.2.16 mod_ssl/2.2.16 (Pass Phrase Dialog) > Some of your private key files are encrypted for security reasons. > In order to read them you have to provide the pass phrases. > [ NOTE I am using a self issued CA certificate which has been working fin= e] > Server www.vizion2000.net:443 (RSA) > Enter pass phrase: > > OK: Pass Phrase Dialog successful. > > dns1# ps -aux |grep httpd > root =A0 =A0 =A0 64784 =A00.0 =A00.0 =A05892 =A01284 =A0p1 =A0D+ =A0 10:4= 2AM =A0 0:00.00 grep httpd > dns1# /usr/local/sbin/apachectl restart > httpd not running, trying to start > [Mon Oct 04 10:42:41 2010] [warn] (2)No such file or directory: Failed to > enable the 'dataready' Accept Filter > [Mon Oct 04 10:42:41 2010] [warn] (2)No such file or directory: Failed to > enable the 'dataready' Accept Filter > Apache/2.2.16 mod_ssl/2.2.16 (Pass Phrase Dialog) > Some of your private key files are encrypted for security reasons. > In order to read them you have to provide the pass phrases. > > Server www.vizion2000.net:443 (RSA) > Enter pass phrase: > > OK: Pass Phrase Dialog successful. > dns1# > _____________________ > > Testing openssl seems to indicate certificate is fine. > dns1# openssl x509 -in www.vizion2000.net.crt -noout -subject > subject=3D /C=3DUK/ST=3DSouth Gloucestershire/L=3DKingswood/O=3DVizion > Communications/OU=3DIT/CN=3Dwww.vizion2000.net/emailAddress=3Ddavid@vizio= n2000.net > dns1# > > > Photographic Artist > Permanent Installations & Design > Creative Imagery and Advanced Digital Techniques > High Dynamic Range Photography & Official Portraiture > Combined darkroom & digital creations > & Systems Adminstrator for the vizion2000.net network > _______________________________________________ > freebsd-apache@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-apache > To unsubscribe, send any mail to "freebsd-apache-unsubscribe@freebsd.org" -- Best regards, Mr.Hien E-mail: phanquochien@gmail.com Website: www.mrhien.info