Page 1 of 2

[atomic-testing] Apache httpd 2.2.16-3

Posted: Sun Sep 26, 2010 1:01 pm
by scott
I took a stab at an httpd update this weekend, with the added ITK patch and managed to get it all assembled pretty quickly for everything except el4. This is something I know a lot of people have been asking for, and until now I really hadn't had the time to look at it in depth. We've been considering adding to the repo for a while, and indeed early in Atomic's life, httpd was distributed). Since we're already maintaining apache for ASL I figured it wasn't too big of a stretch to try this out.

Anyway, ITK (http://mpm-itk.sesse.net/) is a pretty compelling reason to play with this, it allows an httpd worker to run in the context of the userid. Much like a suexec environment, but without the overhead.

I'd like to get some outside input on everything from the implementation to interaction with other modules, to how this should be distributed (another channel?).

The changelog for this is *massive* so I'll avoid posting it for now.

Re: [atomic-testing] Apache httpd 2.2.16-3

Posted: Sun Sep 26, 2010 2:44 pm
by camaran
i have error: Missing Dependency: apr-util-ldap is needed by package httpd-2.2.16-3.el5.art.x86_64 (atomic-testing)

Re: [atomic-testing] Apache httpd 2.2.16-3

Posted: Sun Sep 26, 2010 3:40 pm
by faris
Does this mean an EL4 version is out of the question, or just that it is harder and will take longer to figure out?

Faris.

Re: [atomic-testing] Apache httpd 2.2.16-3

Posted: Sun Sep 26, 2010 11:20 pm
by scott
Its not impossible, its just more than an httpd upgrade by itself.

Re: [atomic-testing] Apache httpd 2.2.16-3

Posted: Mon Sep 27, 2010 3:29 am
by camaran
how i can resolve my problem?

Re: [atomic-testing] Apache httpd 2.2.16-3

Posted: Mon Sep 27, 2010 10:06 am
by scott
2.2.16-4 should be available to address that issue now. Let me know how it works!

Re: [atomic-testing] Apache httpd 2.2.16-3

Posted: Mon Sep 27, 2010 12:13 pm
by camaran
now the 2.2.16 is installed but not start because:
Interruzione di httpd: [FALLITO]
Avvio di httpd: httpd: Syntax error on line 196 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_file_cache.so into server: /etc/httpd/modules/mod_file_cache.so: cannot open shared object file: No such file or directory
[FALLITO]
and
service httpd start
Avvio di httpd: httpd: Syntax error on line 197 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_mem_cache.so into server: /etc/httpd/modules/mod_mem_cache.so: cannot open shared object file: No such file or directory
[FALLITO]
and
service httpd start
Avvio di httpd: [Mon Sep 27 18:14:32 2010] [warn] module ssl_module is already loaded, skipping
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
[FALLITO]

Re: [atomic-testing] Apache httpd 2.2.16-3

Posted: Mon Sep 27, 2010 12:27 pm
by scott
yeah so let me know what configuration works for you and if you can get to the bottom of what those other problems are.

Re: [atomic-testing] Apache httpd 2.2.16-3

Posted: Mon Sep 27, 2010 12:31 pm
by camaran
how i can start httpd and resolve the error?

Re: [atomic-testing] Apache httpd 2.2.16-3

Posted: Mon Sep 27, 2010 12:56 pm
by camaran
i commented:
#LoadModule file_cache_module modules/mod_file_cache.so
#LoadModule mem_cache_module modules/mod_mem_cache.so
and now work

Re: [atomic-testing] Apache httpd 2.2.16-3

Posted: Tue Oct 05, 2010 9:04 am
by Highland
Yeah, it looks like those two modules have to go for .16

Incidentally, if you get
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
it means you have Apache processes running. To fix that, do
killall httpd

Re: [atomic-testing] Apache httpd 2.2.16-3

Posted: Tue Oct 05, 2010 9:12 am
by camaran
and for restore the mudules:

LoadModule file_cache_module modules/mod_file_cache.so
LoadModule mem_cache_module modules/mod_mem_cache.so

hou i can?

Re: [atomic-testing] Apache httpd 2.2.16-3

Posted: Thu Nov 04, 2010 10:19 am
by Highland
Does the ITK module need enabling somehow? A coworker was trying to play with it and got
Syntax error on line 82 of /etc/httpd/conf.d/ssl.conf:
Invalid command 'AssignUserID', perhaps misspelled or defined by a module not included in the server configuration

Re: [atomic-testing] Apache httpd 2.2.16-3

Posted: Thu Nov 04, 2010 10:30 am
by scott
Its a separate MPM, so you'd have to enable it in /etc/sysconfig/httpd like this:

HTTPD=/usr/sbin/httpd.itk

Re: [atomic-testing] Apache httpd 2.2.16-3

Posted: Thu Nov 04, 2010 11:17 am
by Highland
Hmm, it doesn't like PHP. From that file
# The default processing model (MPM) is the process-based
# 'prefork' model. A thread-based model, 'worker', is also
# available, but does not work with some modules (such as PHP).
Enabling it disables PHP processing as described in the file