[atomic-testing] Apache httpd 2.2.16-3

Atomic repository announcements, new release notifications and other news regarding the atomic yum repository.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

[atomic-testing] Apache httpd 2.2.16-3

Unread post 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.
camaran
Forum User
Forum User
Posts: 34
Joined: Fri Aug 21, 2009 12:28 pm

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

Unread post 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)
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

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

Unread post 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.
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

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

Unread post by scott »

Its not impossible, its just more than an httpd upgrade by itself.
camaran
Forum User
Forum User
Posts: 34
Joined: Fri Aug 21, 2009 12:28 pm

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

Unread post by camaran »

how i can resolve my problem?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

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

Unread post by scott »

2.2.16-4 should be available to address that issue now. Let me know how it works!
camaran
Forum User
Forum User
Posts: 34
Joined: Fri Aug 21, 2009 12:28 pm

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

Unread post 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]
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

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

Unread post 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.
camaran
Forum User
Forum User
Posts: 34
Joined: Fri Aug 21, 2009 12:28 pm

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

Unread post by camaran »

how i can start httpd and resolve the error?
camaran
Forum User
Forum User
Posts: 34
Joined: Fri Aug 21, 2009 12:28 pm

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

Unread post 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
Highland
Forum Regular
Forum Regular
Posts: 674
Joined: Mon Apr 10, 2006 12:55 pm

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

Unread post 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
"Its not a mac. I run linux... I'm actually cool." - scott
camaran
Forum User
Forum User
Posts: 34
Joined: Fri Aug 21, 2009 12:28 pm

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

Unread post 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?
Highland
Forum Regular
Forum Regular
Posts: 674
Joined: Mon Apr 10, 2006 12:55 pm

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

Unread post 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
"Its not a mac. I run linux... I'm actually cool." - scott
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

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

Unread post by scott »

Its a separate MPM, so you'd have to enable it in /etc/sysconfig/httpd like this:

HTTPD=/usr/sbin/httpd.itk
Highland
Forum Regular
Forum Regular
Posts: 674
Joined: Mon Apr 10, 2006 12:55 pm

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

Unread post 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
"Its not a mac. I run linux... I'm actually cool." - scott
Post Reply