On 12/28/09 04:06 PM, Jeff Trawick wrote:
>
> solarg wrote:
>> hello all,
>> on my os2009.06 b111b, i'm running SAMP, with SUNWapach22, but since
>> i've upgraded from b101b, my websites often hang, and i have to
>> restart httpd.
>
> work-around for hang sent to you directly (it is also attached to an old
> thread in this list and accessible from the forum view)
>

ok, i'll try, but does it mean that the workaround will be integrated at 
the next opensolaris release?

And one more question, how can i know if my apache is pre-fork or worker 
model? the use of httpd or http.worker?


>> Somebody points me that there are too many modules loaded by default,
>> and that's a bad thing.
>
> yeah, that's not optimal but has nothing to do with a hang; you can
> comment out unused modules in /etc/apache2/2.2/conf.d/modules-32.load or
> modules-64.load
>
yes, i played with that, for example, trying to comment all the entries, 
because i want to add it one by one, just the ones needed by my website, 
but it doen't work:
# /usr/apache2/2.2/bin/apachectl -t
Syntax error on line 128 of /etc/apache2/2.2/httpd.conf:
Invalid command 'Order', perhaps misspelled or defined by a module not 
included in the server configuration

Order is in module mod_access, but mod_access doesn't exist in 
modules-32.load. In this file, there is 68 LoadModule lines, and if i 
let all the lines uncommented, it works, even without mod_access !?


>> I'm also tryng to use status with apachectl, but it doesn't work:
>> # /usr/apache2/2.2/bin/apachectl status
>> Not Found
>>
>> The requested URL /server-status was not found on this server.
>
> The server-status page isn't set up by default. (I'm away from an
> install at the moment and don't recall which config file to tweak :(
> Sorry.) modules-{32,64}.load should have the LoadModule for
> mod_status.so and one of the conf.d/*.conf files should have
>
> <Location /server-status>
> SetHandler server-status
> ...
> </Location>
>
> (look in /etc/apache2/2.2/samples-conf.d for the file with the sample
> /server-status config)

it works now, great

>>
>> Switching to webstack could be a solution?
>
>> Why Sun is delevering different AMP?
>
> SUNWapch22 is the sole Sun delivery of Apache 2.2 for OpenSolaris. You
> can call it SAMP or AMP or Web Stack or whatever, but there's just one
> delivery.
>
>

but SUNWapach22 doesn't use the same pathes as listed here:
http://wikis.sun.com/pages/viewpage.action?pageId=50432140#SunWebStackInstallationandConfigurationGuide-SunWebStackComponents
This page is referenced by: http://www.opensolaris.com/use/customize/


Reply via email to