You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Varda Zklir <v2...@yahoo.com> on 2014/04/01 19:20:20 UTC

[users@httpd] Apache 2.4.X on Freebsd 10 problem

Hello Gentlemen.
 
I've trouble running Apache 2.4.X on Freebsd 10. Two test machines, one with FreebSD 9.2 default setup (most options automatic) other with FreeBSD 10 default setup (most options automatic), same configs, assigned same IP's. On both Apache 2.4.9 built from ports and byte to byte exact config.
 
Starts first machine:
 
uname -a
FreeBSD server.localnetwork 9.2-STABLE FreeBSD 9.2-STABLE #0: Fri Dec 27 16:22:44 TMT 2013     admin@server.localnetwork:/usr/obj/usr/src-9/sys/GENERIC  amd64
 
wget 192.168.0.251
--2014-04-01 21:31:44--  http://192.168.0.251/
Connecting to 192.168.0.251:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 45 [text/html]
Saving to: `index.html'
100%[======================================>] 45          --.-K/s   in 0s
2014-04-01 21:31:44 (11.0 MB/s) - `index.html' saved [45/45]
 
Everything went all right. 
 
Stops first machibe and start second:
 
uname -a
FreeBSD server.localnetwork 10.0-STABLE FreeBSD 10.0-STABLE #0: Sat Mar 15 23:58:49 TMT 2014     admin@server.localnetwork:/usr/obj/usr/src-10/sys/GENERIC  amd64
 
wget 192.168.0.251
--2014-04-01 21:36:34--  http://192.168.0.251/
Connecting to 192.168.0.251:80... connected.
HTTP request sent, awaiting response...
 
Hangs forever until brake. With and without accf_data accf_http modules.
 
Anybody can give some points to dig?

Re: [users@httpd] Apache 2.4.X on Freebsd 10 problem

Posted by dweimer <dw...@dweimer.net>.
On 04/01/2014 12:20 pm, Varda Zklir wrote:

> Hello Gentlemen.
> 
> I've trouble running Apache 2.4.X on Freebsd 10. Two test machines, one 
> with FreebSD 9.2 default setup (most options automatic) other with 
> FreeBSD 10 default setup (most options automatic), same configs, 
> assigned same IP's. On both Apache 2.4.9 built from ports and byte to 
> byte exact config.
> 
> Starts first machine:
> 
> uname -a
> FreeBSD server.localnetwork 9.2-STABLE FreeBSD 9.2-STABLE #0: Fri Dec 
> 27 16:22:44 TMT 2013 
> admin@server.localnetwork:/usr/obj/usr/src-9/sys/GENERIC amd64
> 
> wget 192.168.0.251
> --2014-04-01 21:31:44-- http://192.168.0.251/ [1]
> Connecting to 192.168.0.251:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 45 [text/html]
> Saving to: `index.html'
> 100%[======================================>] 45 --.-K/s in 0s
> 2014-04-01 21:31:44 (11.0 MB/s) - `index.html' saved [45/45]
> 
> Everything went all right.
> 
> Stops first machibe and start second:
> 
> uname -a
> FreeBSD server.localnetwork 10.0-STABLE FreeBSD 10.0-STABLE #0: Sat Mar 
> 15 23:58:49 TMT 2014 
> admin@server.localnetwork:/usr/obj/usr/src-10/sys/GENERIC amd64
> 
> wget 192.168.0.251
> --2014-04-01 21:36:34-- http://192.168.0.251/ [1]
> Connecting to 192.168.0.251:80... connected.
> HTTP request sent, awaiting response...
> 
> Hangs forever until brake. With and without accf_data accf_http 
> modules.
> 
> Anybody can give some points to dig?

What are the contents of '/var/db/ports/www_apache24/options', this will 
let us know what options you chose when building the port.  I have 
multiple FreeBSD 10 servers running Apache 2.4.9, with no problems on 
them, but I may have chosen some different options.

-- 
Thanks,
  Dean E. Weimer
  http://www.dweimer.net/



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] (Solved) Apache 2.4.X on Freebsd 10 problem

Posted by Jeff Trawick <tr...@gmail.com>.
On Tue, Apr 1, 2014 at 2:03 PM, Varda Zklir <v2...@yahoo.com> wrote:

> Patch suggested by Jeff Trawick helped and it works correctly now.
>
> Thank you Jeff !!!
>


You're welcome.  I meant to put out a new apr 1.5.1 release back in
February to resolve this and a few other issues, but didn't.  Thanks for
the "reminder" :)

-- 
Born in Roswell... married an alien...
http://emptyhammock.com/
http://edjective.org/

Re: [users@httpd] (Solved) Apache 2.4.X on Freebsd 10 problem

Posted by Varda Zklir <v2...@yahoo.com>.
Patch suggested by Jeff Trawick helped and it works correctly now.
 
Thank you Jeff !!!

Re: [users@httpd] Apache 2.4.X on Freebsd 10 problem

Posted by Jeff Trawick <tr...@gmail.com>.
On Tue, Apr 1, 2014 at 1:20 PM, Varda Zklir <v2...@yahoo.com> wrote:

> Hello Gentlemen.
>
> I've trouble running Apache 2.4.X on Freebsd 10. Two test machines, one
> with FreebSD 9.2 default setup (most options automatic) other with FreeBSD
> 10 default setup (most options automatic), same configs, assigned same
> IP's. On both Apache 2.4.9 built from ports and byte to byte exact config.
>
> Starts first machine:
>
> uname -a
> FreeBSD server.localnetwork 9.2-STABLE FreeBSD 9.2-STABLE #0: Fri Dec 27
> 16:22:44 TMT 2013
> admin@server.localnetwork:/usr/obj/usr/src-9/sys/GENERIC  amd64
>
> wget 192.168.0.251
> --2014-04-01 21:31:44--  http://192.168.0.251/
> Connecting to 192.168.0.251:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 45 [text/html]
> Saving to: `index.html'
> 100%[======================================>] 45          --.-K/s   in 0s
> 2014-04-01 21:31:44 (11.0 MB/s) - `index.html' saved [45/45]
>
> Everything went all right.
>
> Stops first machibe and start second:
>
> uname -a
> FreeBSD server.localnetwork 10.0-STABLE FreeBSD 10.0-STABLE #0: Sat Mar 15
> 23:58:49 TMT 2014
> admin@server.localnetwork:/usr/obj/usr/src-10/sys/GENERIC  amd64
>
> wget 192.168.0.251
> --2014-04-01 21:36:34--  http://192.168.0.251/
> Connecting to 192.168.0.251:80... connected.
> HTTP request sent, awaiting response...
>
> Hangs forever until brake. With and without accf_data accf_http modules.
>
> Anybody can give some points to dig?
>

You need to apply this fix on top of apr 1.5.0:

http://svn.apache.org/viewvc/apr/apr/branches/1.5.x/network_io/unix/sockets.c?r1=1551672&r2=1551671&pathrev=1551672

If you're not using apr 1.5.0, you might be encountering something else.


-- 
Born in Roswell... married an alien...
http://emptyhammock.com/
http://edjective.org/