[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Server broken with 2.0.47-1



Hi Thom May,

Thanks for the reply and the reporting tips Thom. Got a little surprised
and flustered when the upgrade broke.

> Define doesn't work.

Two separate apache instances. One proxy. The other the server. Connection
requests just sit there doing nothing. After a very long while I once saw
a 502 Proxy error.

> Tell me what modules you have loaded.

ls /etc/apache2/mods-enabled/
cgi.conf    proxy_connect.load  rewrite.load  suexec.conf
cgi.load    proxy_http.load     ssl.conf      suexec.load
proxy.conf  proxy.load          ssl.load

**********************************************./cgi.conf
AddHandler cgi-script lisp

<Directory /var/www/apache2-default/cgi-bin>
  Options +ExecCGI
</Directory>
**********************************************./cgi.load
LoadModule cgi_module /usr/lib/apache2/modules/mod_cgi.so
**********************************************./suexec.conf
SuexecUserGroup adam adam
**********************************************./suexec.load
LoadModule suexec_module /usr/lib/apache2/modules/mod_suexec.so
**********************************************./proxy.conf
<IfDefine proxy>
  <IfModule mod_proxy.c>
        #From mod_proxy: In a typical reverse proxy configuration,
        #this option should be set to 'off'.
        ProxyRequests Off

        <Directory proxy:*>
                # You really want to change this.
                #Order deny,allow
                #Deny from all
                #Allow from .your_domain.com
                Order allow,deny
                Allow from all
        </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 Off

        # To enable the cache as well, edit and uncomment the following lines:
        # (no cacheing without CacheRoot)

        #Note: mod_proxy no longer implements a cache

        #NoCache *

        #CacheRoot "/var/cache/apache2/proxy"
        #CacheSize 10240
        #CacheGcInterval 4
        #CacheMaxExpire 24
        #CacheLastModifiedFactor 0.1
        #CacheDirLevels 5
        #CacheDefaultExpire 1
        # Again, you probably should change this.
        #NoCache a_domain.com another_domain.edu joes.garage_sale.com

  </IfModule>
</IfDefine>
**********************************************./proxy.load
<IfDefine proxy>
  LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so
</IfDefine>
**********************************************./rewrite.load
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
**********************************************./proxy_http.load
<IfDefine proxy>
  LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so
</IfDefine>
**********************************************./ssl.conf
<IfDefine proxy>
  SSLSessionCache shm:/var/log/apache2/ssl_scache_proxy(128000)
  SSLMutex file:/var/log/apache2/ssl_mutex_proxy
  SSLRandomSeed startup file:/dev/urandom 512
  SSLRandomSeed connect file:/dev/urandom 512
  ErrorLog /var/log/apache2/ssl_proxy.log
  LogLevel info
</IfDefine>

<IfDefine server>
  SSLSessionCache shm:/var/log/apache2/ssl_scache_server(128000)
  SSLMutex file:/var/log/apache2/ssl_mutex_server
  SSLRandomSeed startup file:/dev/urandom 512
  SSLRandomSeed connect file:/dev/urandom 512
  ErrorLog /var/log/apache2/ssl_server.log
  LogLevel info
</IfDefine>
**********************************************./ssl.load
LoadModule ssl_module /usr/lib/apache2/modules/mod_ssl.so
**********************************************./proxy_connect.load
<IfDefine proxy>
  LoadModule proxy_connect_module /usr/lib/apache2/modules/mod_proxy_connect.so
</IfDefine>


> Tell me what the server is, which scripts are running, what the load is
like

AMD Duron 800. Running Debian-patched 2.4.20 kernel. Pathetic load (those
SIGKILL messages where not typical). I could see processes just sitting
there using ps (instead of by experience them almost instantly
disappearing).

Thanks again,
Adam



Reply to: