[atomic-testing] Apache httpd 2.2.16-3
-
- 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
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.
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
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
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.
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>
<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>
-
- 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
Its not impossible, its just more than an httpd upgrade by itself.
Re: [atomic-testing] Apache httpd 2.2.16-3
how i can resolve my problem?
-
- 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
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
now the 2.2.16 is installed but not start because:
andInterruzione 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]
andservice 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]
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]
-
- 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
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
how i can start httpd and resolve the error?
Re: [atomic-testing] Apache httpd 2.2.16-3
i commented:
and now work#LoadModule file_cache_module modules/mod_file_cache.so
#LoadModule mem_cache_module modules/mod_mem_cache.so
Re: [atomic-testing] Apache httpd 2.2.16-3
Yeah, it looks like those two modules have to go for .16
Incidentally, if you get
Incidentally, if you get
it means you have Apache processes running. To fix that, do(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
killall httpd
"Its not a mac. I run linux... I'm actually cool." - scott
Re: [atomic-testing] Apache httpd 2.2.16-3
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?
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
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
-
- 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
Its a separate MPM, so you'd have to enable it in /etc/sysconfig/httpd like this:
HTTPD=/usr/sbin/httpd.itk
HTTPD=/usr/sbin/httpd.itk
Re: [atomic-testing] Apache httpd 2.2.16-3
Hmm, it doesn't like PHP. From that file
Enabling it disables PHP processing as described in the 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).
"Its not a mac. I run linux... I'm actually cool." - scott