Hi,
I have some problems with mod_proxy_html on Solaris.
On Solaris 9 (Apache 2.2.4 and Apache 2.0.55,
libxml2-2.6.30) , I've
encountered the following problem with mod_proxy_html. I
have
downloaded, built and installed the mod_proxy_html release (
it seems to
be released 2007-07-31). It should contain a bug fix against
segfaults
(2007-06-17) but apparently I have run in to this anyway.
I also reterieved the latest version (2007-10-04) from svn ,
from the
log it says :
"Refuse to run (and segfault) with no links configured
and nothing to
do"
I don't know if the latest svn-version could address my
problem nor the
status of the svn-version , it is propably the developer
version and I
should rely on the official release (2007-07-31).
I have tried to debug this but without success. Truss gives
me nothing
to go on and the logs aren't very helpful. But it seems
consistent
enough. Fortunately I am not forced to use mod_proxy_html,
but I would
like to clean up my build if possible.
Regards,
Anders
-------------
error.log:
-------------
[Thu Oct 11 14:22:55 2007] [notice] Apache/2.2.4 (Unix)
mod_ssl/2.2.4
OpenSSL/0.9.8a DAV/2 proxy_html/3.0.0 configured -- resuming
normal
operations
[Thu Oct 11 14:22:55 2007] [info] Server built: Jan 29 2007
11:50:22
[Thu Oct 11 14:22:56 2007] [error] server reached MaxClients
setting,
consider raising the MaxClients setting
[Thu Oct 11 14:23:04 2007] [info] [client 10.41.24.177]
Content-Type is
text/html
[Thu Oct 11 14:23:04 2007] [info] [client 10.41.24.177] Got
charset
UTF-8 from HTML META
[Thu Oct 11 14:23:04 2007] [info] [client 10.41.24.177]
Adding header
[refresh: 120] from HTML META [Thu Oct 11 14:23:04 2007]
[notice] child
pid 1884 exit signal Segmentation fault (11)
[Thu Oct 11 14:23:30 2007] [info] [client 10.41.24.177]
Content-Type is
text/html
[Thu Oct 11 14:23:30 2007] [info] [client 10.41.24.177] Got
charset
UTF-8 from HTML META
[Thu Oct 11 14:23:30 2007] [info] [client 10.41.24.177]
Adding header
[refresh: 120] from HTML META
[Thu Oct 11 14:23:31 2007] [notice] child pid 1886 exit
signal
Segmentation fault (11)
[Thu Oct 11 14:23:36 2007] [info] [client 10.41.24.177]
Content-Type is
text/html
[Thu Oct 11 14:23:36 2007] [info] [client 10.41.24.177] Got
charset
UTF-8 from HTML META
[Thu Oct 11 14:23:36 2007] [info] [client 10.41.24.177]
Adding header
[refresh: 120] from HTML META [Thu Oct 11 14:23:37 2007]
[notice] child
pid 1888 exit signal Segmentation fault (11)
[Thu Oct 11 14:23:51 2007] [info] [client 10.41.24.177]
Content-Type is
text/html
[Thu Oct 11 14:23:51 2007] [info] [client 10.41.24.1:18
2007] [notice]
child pid 1893 exit signal Segmentation fault (11)
----------------------
httpd.conf (Loaded appropriate mod_proxy modules
including
mod_proxy_html and libxml2)
----------------------
<IfModule mod_proxy.c>
ProxyRequests Off
RewriteEngine On
ProxyPass /testapp/ http://142.47.63.130/p
rinters/
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyHTMLURLMap http://142.47.63.130/p
rinters/ /testapp
# ProxyHTMLMeta On
ProxyHTMLLogVerbose On
LogLevel Info
<Location /testapp/>
ProxyPassReverse /
SetOutputFilter proxy-html
ProxyHTMLURLMap / /testapp/
ProxyHTMLURLMap /testapp /testapp
RequestHeader unset Accept-Encoding
</Location>
<Directory proxy >
# Order deny,allow
# Deny from all
# Allow from .your-domain.com
# </Directory>
#
# Enable/disable the handling of HTTP/1.1
"Via:" headers.
# ("Full" adds the server version;
"Block" removes all outgoing Via:
headers)
# Set to one of: Off | On | Full | Block
#
# ProxyVia On
#
# To enable the cache as well, edit and uncomment the
following
lines:
# (no cacheing without CacheRoot)
#
# CacheRoot "/var/log/app/apache//proxy"
# CacheSize 5
# CacheGcInterval 4
# CacheMaxExpire 24
# CacheLastModifiedFactor 0.1
# CacheDefaultExpire 1
# NoCache a-domain.com another-domain.edu
joes.garage-sale.com
</IfModule>
# End of proxy directives.
------------------
truss output
------------------
brk(0x002076F0) = 0
5911: brk(0x002096F0) = 0
5911: door_info(4, 0xFFBFCCE0) = 0
5911: door_call(4, 0xFFBFCCC8) = 0
5911: door_info(4, 0xFFBFCC60) = 0
5911: door_call(4, 0xFFBFCC48) = 0
5911: so_socket(PF_INET, SOCK_STREAM, IPPROTO_IP,
"", 1) = 22
5911: fcntl(22, F_GETFL, 0x00000000) = 2
5911: fcntl(22, F_SETFL, 0x00000082) = 0
5911: connect(22, 0x001FC864, 16, 1)
Err#150
EINPROGRESS
5911: poll(0xFFBFEF98, 1, 300000) = 1
5911: getsockopt(22, SOL_SOCKET, SO_ERROR, 0xFFBFF0A4,
0xFFBFF0A0, 1)
= 0
5911: getsockname(22, 0x001FC91C, 0x001FC93C, 1) = 0
5911: setsockopt(22, tcp, TCP_NODELAY, 0xFFBFF044, 4, 1) =
0
5911: writev(22, 0xFFBFF048, 12) =
535
5911: read(22, 0x00207500, 8000)
Err#11 EAGAIN
5911: poll(0xFFBFCCD8, 1, 300000) = 1
5911: read(22, " H T T P / 1 . 1 2 0 0"..,
8000) = 189
5911: poll(0xFFBFCD38, 1, 300000) = 1
5911: read(22, " < h t m l >n < h e a
d".., 8000) = 1157
5911: write(11, " [ W e d O c t 1 0 "..,
82) = 82
5911: write(11, " [ W e d O c t 1 0 "..,
115) = 115
5911: brk(0x002096F0) = 0
5911: brk(0x0020B6F0) = 0
5911: brk(0x0020B6F0) V SEGV_MAPERR
addr=0x0000001C
5911: sigprocmask(SIG_SETMASK, 0xFFBFB8DC, 0x00000000) =
0
5911: chdir("/app/apache/2.0.54")
= 0
5911: sigaction(SIGSEGV, 0xFFBFB620, 0xFFBFB740) = 0
5911: getpid() =
5911 [5895]
5911: getpid() =
5911 [5895]
5911: kill(5911, SIGSEGV) = 0
5911: sigprocmask(SIG_SETMASK, 0xFEC2A074, 0xFFBFB690) =
0
5911: lwp_unpark(1, 1) = 0
5911: setcontext(0xFFBFB6A0)
5911: Received signal #11, SIGSEGV [default]
5911: siginfo: SIGSEGV pid=5911 uid=60001
5901: read(0, " [ W e d O c t 1 0 "..,
65536) = 197
------------------------------------------------------------
---------
The official User-To-User support forum of the Apache HTTP
Server Project.
See <URL:http://htt
pd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe httpd.apache.org
" from the digest: users-digest-unsubscribe httpd.apache.org
For additional commands, e-mail: users-help httpd.apache.org
|