From owner-freebsd-apache@FreeBSD.ORG Mon Mar 11 11:06:09 2013 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4FE659EE for ; Mon, 11 Mar 2013 11:06:09 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 422F076F for ; Mon, 11 Mar 2013 11:06:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2BB69ED088209 for ; Mon, 11 Mar 2013 11:06:09 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2BB68cr088207 for apache@FreeBSD.org; Mon, 11 Mar 2013 11:06:08 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 11 Mar 2013 11:06:08 GMT Message-Id: <201303111106.r2BB68cr088207@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: apache@FreeBSD.org Subject: Current problem reports assigned to apache@FreeBSD.org X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Mar 2013 11:06:09 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/176759 apache [patch] www/serf plist mentions serf_private.h, which a ports/176659 apache www/apache22 2.2.24 build error o ports/174617 apache [new port] No www/apache24 in the ports tree o ports/165809 apache add mod_proxy patch to www/apache22 o ports/157554 apache www/apache22: Apache RLimitNPROC does not work as inte o ports/125183 apache www/apache22 wrong SUEXEC_DOCROOT o ports/124375 apache security/heimdal: www/mod_auth_kerb doesn't compile ag 7 problems total. From owner-freebsd-apache@FreeBSD.ORG Wed Mar 13 13:12:51 2013 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8E75AC91 for ; Wed, 13 Mar 2013 13:12:51 +0000 (UTC) (envelope-from hans@beastielabs.net) Received: from mail.beastielabs.net (beasties.demon.nl [82.161.3.114]) by mx1.freebsd.org (Postfix) with ESMTP id 1DBF61BB for ; Wed, 13 Mar 2013 13:12:47 +0000 (UTC) Received: from merom.hotsoft.nl (merom.hotsoft.nl [192.168.0.12]) by mail.beastielabs.net (8.14.5/8.14.5) with ESMTP id r2DDA9nM017014; Wed, 13 Mar 2013 14:10:10 +0100 (CET) (envelope-from hans@beastielabs.net) Message-ID: <51407AB1.5050803@beastielabs.net> Date: Wed, 13 Mar 2013 14:10:09 +0100 From: Hans Ottevanger User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130309 Thunderbird/17.0.4 MIME-Version: 1.0 To: Cy Schubert Subject: Re: www/apache24 References: <201303061616.r26GGQA4007583@slippy.cwsent.com> In-Reply-To: <201303061616.r26GGQA4007583@slippy.cwsent.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-apache@freebsd.org, ohauser@freebsd.org X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Mar 2013 13:12:51 -0000 On 03/06/13 17:16, Cy Schubert wrote: > Hi all, > > Does anyone mind if I commit this? We can worry about updating the various > apache modules in ports to apache24 at a later date but at least this is a > start. It should give folks a chance to play with it and allow us to move > forward with migrating the various modules in ports to apache 2.4. > [ Longish patches snipped ] First of all, I applaud your initiative to provide a port for Apache 2.4.x. I have seen people asking for it since Apache 2.4 appeared about a year ago and I think it will really help FreeBSD to keep at least some credibility as a platform for web servers in the near future. I intended to give your patches a spin on several versions of FreeBSD these days, but your files have quite a few long lines that appear to get folded in the email, and it appears to be not completely trivial to reconstruct the originals. Could you please resend them as text attachment, or maybe put them up for download somewhere? Kind regards, Hans Ottevanger From owner-freebsd-apache@FreeBSD.ORG Wed Mar 13 18:32:23 2013 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3B30F54A for ; Wed, 13 Mar 2013 18:32:23 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: from mail-la0-x22d.google.com (mail-la0-x22d.google.com [IPv6:2a00:1450:4010:c03::22d]) by mx1.freebsd.org (Postfix) with ESMTP id A0B76DC5 for ; Wed, 13 Mar 2013 18:32:22 +0000 (UTC) Received: by mail-la0-f45.google.com with SMTP id er20so1497082lab.4 for ; Wed, 13 Mar 2013 11:32:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :x-gm-message-state; bh=VeR3z+IxZ4E28lkfgXtKfrXYxRcSzVT0X2ifgb8Qcmg=; b=gEbYKf8i7Wxx3ixudiNO/eJ1YBqaRuh/P+hAbPgM0qapovMi+/G9DrAhdIKNsgGOpv +Fb/6eB0Sjb+X/DtoO9v4KTSfqcWtp5/Uak3+aSjjKoj83L7fS0a6XE/NUjosvzmFK/a yBpIGmodcmZc1jx6lcUzLkhBE3NtckBAemYomr6467vHM92tnWvGdrI047V432rz5B9Z 8kAgGEBVnNV/5sD5InzuGQqwwoI2AsqHJUjKdcYdtxfKnnrM5jLTw83/72M39j7ZIRLF DSniGRrt/WN8qMsGSUrKxo+IBAW3hyuwwapOl/RGG4BBDm+LMk1cruvR21EO29XiohEY +OLA== X-Received: by 10.152.146.199 with SMTP id te7mr18414767lab.23.1363199541495; Wed, 13 Mar 2013 11:32:21 -0700 (PDT) MIME-Version: 1.0 Sender: sunpoet@sunpoet.net Received: by 10.112.8.69 with HTTP; Wed, 13 Mar 2013 11:32:01 -0700 (PDT) In-Reply-To: <51407AB1.5050803@beastielabs.net> References: <201303061616.r26GGQA4007583@slippy.cwsent.com> <51407AB1.5050803@beastielabs.net> From: Sunpoet Po-Chuan Hsieh Date: Thu, 14 Mar 2013 02:32:01 +0800 X-Google-Sender-Auth: Kt3_2Pxn_DX9KV4581wX6oExJN4 Message-ID: Subject: Re: www/apache24 To: Hans Ottevanger X-Gm-Message-State: ALoCoQl7oCkwHAmCgWYVS9cU6eDiu4C5BCjs/wpU6EpGtsZxVgclGOU9Uwj7FGXp2WhJA2hZYJZE Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-apache@freebsd.org X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Mar 2013 18:32:23 -0000 Just fix typo in Cc. :) =EF=9C=AB On Wed, Mar 13, 2013 at 9:10 PM, Hans Ottevanger wrot= e: > On 03/06/13 17:16, Cy Schubert wrote: > > Hi all, > > > > Does anyone mind if I commit this? We can worry about updating the > various > > apache modules in ports to apache24 at a later date but at least this i= s > a > > start. It should give folks a chance to play with it and allow us to mo= ve > > forward with migrating the various modules in ports to apache 2.4. > > > > [ Longish patches snipped ] > > First of all, I applaud your initiative to provide a port for Apache > 2.4.x. I have seen people asking for it since Apache 2.4 appeared about > a year ago and I think it will really help FreeBSD to keep at least some > credibility as a platform for web servers in the near future. > > I intended to give your patches a spin on several versions of FreeBSD > these days, but your files have quite a few long lines that appear to > get folded in the email, and it appears to be not completely trivial to > reconstruct the originals. Could you please resend them as text > attachment, or maybe put them up for download somewhere? > > Kind regards, > > Hans Ottevanger > > > _______________________________________________ > 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" > > From owner-freebsd-apache@FreeBSD.ORG Fri Mar 15 15:01:03 2013 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3C4C1A78; Fri, 15 Mar 2013 15:01:03 +0000 (UTC) (envelope-from hans@beastielabs.net) Received: from mail.beastielabs.net (beasties.demon.nl [82.161.3.114]) by mx1.freebsd.org (Postfix) with ESMTP id A5081794; Fri, 15 Mar 2013 15:01:02 +0000 (UTC) Received: from merom.hotsoft.nl (merom.hotsoft.nl [192.168.0.12]) by mail.beastielabs.net (8.14.5/8.14.5) with ESMTP id r2FF0scA023837; Fri, 15 Mar 2013 16:00:55 +0100 (CET) (envelope-from hans@beastielabs.net) Message-ID: <514337A6.80502@beastielabs.net> Date: Fri, 15 Mar 2013 16:00:54 +0100 From: Hans Ottevanger User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130309 Thunderbird/17.0.4 MIME-Version: 1.0 To: Cy Schubert Subject: Re: www/apache24 References: <201303061616.r26GGQA4007583@slippy.cwsent.com> <51407AB1.5050803@beastielabs.net> In-Reply-To: <51407AB1.5050803@beastielabs.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-apache@freebsd.org X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Mar 2013 15:01:03 -0000 On 03/13/13 14:10, Hans Ottevanger wrote: > On 03/06/13 17:16, Cy Schubert wrote: >> Hi all, >> >> Does anyone mind if I commit this? We can worry about updating the various >> apache modules in ports to apache24 at a later date but at least this is a >> start. It should give folks a chance to play with it and allow us to move >> forward with migrating the various modules in ports to apache 2.4. >> > > [ Longish patches snipped ] > > First of all, I applaud your initiative to provide a port for Apache > 2.4.x. I have seen people asking for it since Apache 2.4 appeared about > a year ago and I think it will really help FreeBSD to keep at least some > credibility as a platform for web servers in the near future. > > I intended to give your patches a spin on several versions of FreeBSD > these days, but your files have quite a few long lines that appear to > get folded in the email, and it appears to be not completely trivial to > reconstruct the originals. Could you please resend them as text > attachment, or maybe put them up for download somewhere? > > Kind regards, > > Hans Ottevanger > Hi Cy, I applied the patch to bsd.apache.mk provided in your original message and installed the shell archive that I received from you in private email on a 8.3-STABLE i386 system (r248102) and get the following result: [root@beastie /usr/ports/www/apache24]# make ===> apache24-2.4.4 At least one MPM must be selected.. *** Error code 1 Stop in /usr/ports/www/apache24. If I run make config and add MPM_EVENT and MPM_PREFORK I can build and install the port but it fails to start with this in /var/log/httpd-error.log: [Fri Mar 15 15:17:11.631303 2013] [core:crit] [pid 23518:tid 676335936] AH00136: Server MUST relinquish startup privileges before accepting connections. Please ensure mod_unixd or other system security module is loaded. AH00016: Configuration Failed When I rerun make config to add USERD I can rebuild and reinstall and can even start without problems. I did not do any more intensive testing, but at least pages are being served in this way 8-) I am seeing similar behavior on a 9.1-STABLE amd64 system. As an aside: do you really intend to make mod_lua default, thus dragging in the lua-5.1.5 port as a dependency, also for users that do not need mod_lua? And are you aware of two other Apache 2.4 ports floating around? See: http://lists.freebsd.org/pipermail/freebsd-apache/2013-February/003039.html and http://www.freebsd.org/cgi/query-pr.cgi?pr=174617&cat= Kind regards, Hans Ottevanger From owner-freebsd-apache@FreeBSD.ORG Fri Mar 15 16:20:06 2013 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 499CAFCE for ; Fri, 15 Mar 2013 16:20:06 +0000 (UTC) (envelope-from lilian@devclic.fr) Received: from smtp01.mgmt.devclic.net (smtp01.mgmt.devclic.net [91.198.44.61]) by mx1.freebsd.org (Postfix) with ESMTP id C2BBAAFB for ; Fri, 15 Mar 2013 16:20:05 +0000 (UTC) Received: from mx-1.devclic.net (mx-1.devclic.net [91.198.44.12]) by smtp01.mgmt.devclic.net (Postfix) with ESMTP id 61597C067 for ; Fri, 15 Mar 2013 18:54:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=devclic.fr; s=dkim; t=1363370065; bh=M9YnNUs8Dy4FsZ94zq0LSvysLAlCeiq80bDxlGgtAHI=; h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type; b=YtC0HKRMFyJ2E7KBwBYKNv1sopikA7gclwnxDxhYdI+SvSCJncVsQ+qaFeZHp/rnY juS4TI0CazBcpCDa0IOy8ExeioaINgOZbLXBshtEZ6nKaPWs2UNPSTKTT3Mp7WkF28 MIHZ3EuvSdYA/Neg5FVrbnF0fYepPCf6L/V343OQ= Received: from localhost (localhost [127.0.0.1]) by mx-1.devclic.net (Postfix) with ESMTP id 7881527C7CE for ; Fri, 15 Mar 2013 17:14:25 +0100 (CET) X-DSPAM-Result: Whitelisted X-DSPAM-Confidence: 0.6151 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 1,514348df70891804284693 X-DSPAM-Factors: 27, X-Spam-Flag: NO X-Spam-Score: -5.764 X-Spam-Level: X-Spam-Status: No, score=-5.764 required=4 tests=[ALL_TRUSTED=-1.8, AWL=-1.966, BAYES_50=0.001, DSPAM_WHITELIST=-2, HTML_MESSAGE=0.001] Received: from mx-1.devclic.net ([127.0.0.1]) by localhost (devclic-node1.devclic.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ueUvx+qfHUtY for ; Fri, 15 Mar 2013 17:14:23 +0100 (CET) Received: from [0.0.0.0] (unknown [91.198.44.22]) by mx-1.devclic.net (Postfix) with ESMTPS id 8127027C75F for ; Fri, 15 Mar 2013 17:14:23 +0100 (CET) Message-ID: <514348DE.9000701@devclic.fr> Date: Fri, 15 Mar 2013 17:14:22 +0100 From: Lilian - Devclic User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 MIME-Version: 1.0 To: apache@FreeBSD.org Subject: Upgrade of mod_fastcgi Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Mar 2013 16:20:06 -0000 Hello, We had an issue with mod_fasctcgi. Some requests failed with no reason and these errors appears in the apache error log file : [Fri Mar 15 15:38:57 2013] [error] [client 91.198.44.22] (4)Interrupted system call: FastCGI: comm with server "/usr/local/sbin/php-fpm" aborted: select() failed, referer: https://sql.devclic.fr/db_structure.php?token=b9b99b544a46d355583070251708d948&db=devclic_si [Fri Mar 15 15:38:57 2013] [error] [client 91.198.44.22] FastCGI: incomplete headers (0 bytes) received from server "/usr/local/sbin/php-fpm", referer: https://sql.devclic.fr/db_structure.php?token=b9b99b544a46d355583070251708d948&db=devclic_si We had the same issue on Ubuntu and Debian system and we update the version to the latest 2.4.7. So, can you update the port to this version ? Or can you put this fix in the source code : http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504132 > Index: libapache-mod-fastcgi-2.4.2/mod_fastcgi.c > =================================================================== > --- libapache-mod-fastcgi-2.4.2.orig/mod_fastcgi.c 2008-11-02 16:42:49.000000000 +0000 > +++ libapache-mod-fastcgi-2.4.2/mod_fastcgi.c 2008-11-02 16:50:46.000000000 +0000 > @@ -2178,12 +2178,15 @@ > } > > /* wait on the socket */ > - select_status = ap_select(nfds, &read_set, &write_set, NULL, &timeout); > + /* Interrupted system calls do happen now and then, so retry on EINTR */ > + do { > + select_status = ap_select(nfds, &read_set, &write_set, NULL, &timeout); > + } while (select_status < 0 && errno == EINTR); > > if (select_status < 0) > { > ap_log_rerror(FCGI_LOG_ERR_ERRNO, r, "FastCGI: comm with server " > - "\"%s\" aborted: select() failed", fr->fs_path); > + "\"%s\" aborted: select() failed: \"%s\"", fr->fs_path, strerror(errno)); > state = STATE_ERROR; > break; > } > @@ -2246,11 +2249,19 @@ > } > > rv = fcgi_buf_socket_recv(fr->serverInputBuffer, fr->fd); > + /* > + * select(2) states: Under Linux, select() may report a socket > + * file descriptor as "ready for reading", while nevertheless a > + * subsequent read blocks. > + * Act as if the FD was not set if socket_recv returns EAGAIN. > + */ > + if (rv < 0 && errno == EAGAIN) > + break; > > if (rv < 0) > { > ap_log_rerror(FCGI_LOG_ERR, r, "FastCGI: comm with server " > - "\"%s\" aborted: read failed", fr->fs_path); > + "\"%s\" aborted: read failed: \"%s\"", fr->fs_path, strerror(errno)); > state = STATE_ERROR; > break; > } We test it on a production server and at this moment no more problem. Thanks a lot. Best Regards. -- Lilian RIGARD - Devclic Gérant - CEO & CTO Téléphone (Standard) / Phone : +33 811 69 64 45 (Prix appel local) Portable / Cell Phone : +33 6 29 59 21 34 E-mail : lilian@devclic.fr Web : http://www.devclic.fr Visitez nos sites internet : Forum-Webmaster - MeilleursPrix - NDFR - E-commercant - Blog du High-Tech