store | blogs | forums | twitter | facebook | wiki | mailing lists | downloads | support portal
Atomic Secure Linux
It is currently Mon Apr 21, 2014 12:06 am

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: [atomic-testing] Apache httpd 2.2.16-3
Unread postPosted: Sun Sep 26, 2010 1:01 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7779
Location: earth
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.


Top
 Profile  
 
 Post subject: Re: [atomic-testing] Apache httpd 2.2.16-3
Unread postPosted: Sun Sep 26, 2010 2:44 pm 
Offline
Forum User
Forum User

Joined: Fri Aug 21, 2009 12:28 pm
Posts: 34
i have error: Missing Dependency: apr-util-ldap is needed by package httpd-2.2.16-3.el5.art.x86_64 (atomic-testing)


Top
 Profile  
 
 Post subject: Re: [atomic-testing] Apache httpd 2.2.16-3
Unread postPosted: Sun Sep 26, 2010 3:40 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Thu Dec 09, 2004 11:19 am
Posts: 2007
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>


Top
 Profile  
 
 Post subject: Re: [atomic-testing] Apache httpd 2.2.16-3
Unread postPosted: Sun Sep 26, 2010 11:20 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7779
Location: earth
Its not impossible, its just more than an httpd upgrade by itself.


Top
 Profile  
 
 Post subject: Re: [atomic-testing] Apache httpd 2.2.16-3
Unread postPosted: Mon Sep 27, 2010 3:29 am 
Offline
Forum User
Forum User

Joined: Fri Aug 21, 2009 12:28 pm
Posts: 34
how i can resolve my problem?


Top
 Profile  
 
 Post subject: Re: [atomic-testing] Apache httpd 2.2.16-3
Unread postPosted: Mon Sep 27, 2010 10:06 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7779
Location: earth
2.2.16-4 should be available to address that issue now. Let me know how it works!


Top
 Profile  
 
 Post subject: Re: [atomic-testing] Apache httpd 2.2.16-3
Unread postPosted: Mon Sep 27, 2010 12:13 pm 
Offline
Forum User
Forum User

Joined: Fri Aug 21, 2009 12:28 pm
Posts: 34
now the 2.2.16 is installed but not start because:

Quote:
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

Quote:
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

Quote:
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]


Top
 Profile  
 
 Post subject: Re: [atomic-testing] Apache httpd 2.2.16-3
Unread postPosted: Mon Sep 27, 2010 12:27 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7779
Location: earth
yeah so let me know what configuration works for you and if you can get to the bottom of what those other problems are.


Top
 Profile  
 
 Post subject: Re: [atomic-testing] Apache httpd 2.2.16-3
Unread postPosted: Mon Sep 27, 2010 12:31 pm 
Offline
Forum User
Forum User

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


Top
 Profile  
 
 Post subject: Re: [atomic-testing] Apache httpd 2.2.16-3
Unread postPosted: Mon Sep 27, 2010 12:56 pm 
Offline
Forum User
Forum User

Joined: Fri Aug 21, 2009 12:28 pm
Posts: 34
i commented:

Quote:
#LoadModule file_cache_module modules/mod_file_cache.so
#LoadModule mem_cache_module modules/mod_mem_cache.so


and now work


Top
 Profile  
 
 Post subject: Re: [atomic-testing] Apache httpd 2.2.16-3
Unread postPosted: Tue Oct 05, 2010 9:04 am 
Offline
Forum Regular
Forum Regular

Joined: Mon Apr 10, 2006 12:55 pm
Posts: 669
Yeah, it looks like those two modules have to go for .16

Incidentally, if you get
Quote:
(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
Quote:
killall httpd

_________________
"Its not a mac. I run linux... I'm actually cool." - scott


Top
 Profile  
 
 Post subject: Re: [atomic-testing] Apache httpd 2.2.16-3
Unread postPosted: Tue Oct 05, 2010 9:12 am 
Offline
Forum User
Forum User

Joined: Fri Aug 21, 2009 12:28 pm
Posts: 34
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?


Top
 Profile  
 
 Post subject: Re: [atomic-testing] Apache httpd 2.2.16-3
Unread postPosted: Thu Nov 04, 2010 10:19 am 
Offline
Forum Regular
Forum Regular

Joined: Mon Apr 10, 2006 12:55 pm
Posts: 669
Does the ITK module need enabling somehow? A coworker was trying to play with it and got

Quote:
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


Top
 Profile  
 
 Post subject: Re: [atomic-testing] Apache httpd 2.2.16-3
Unread postPosted: Thu Nov 04, 2010 10:30 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7779
Location: earth
Its a separate MPM, so you'd have to enable it in /etc/sysconfig/httpd like this:

HTTPD=/usr/sbin/httpd.itk


Top
 Profile  
 
 Post subject: Re: [atomic-testing] Apache httpd 2.2.16-3
Unread postPosted: Thu Nov 04, 2010 11:17 am 
Offline
Forum Regular
Forum Regular

Joined: Mon Apr 10, 2006 12:55 pm
Posts: 669
Hmm, it doesn't like PHP. From that file

Quote:
# 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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2  Next

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group