httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jody Clements <...@sanger.ac.uk>
Subject [users@httpd] mod_proxy configuration problem using 2.2.11
Date Wed, 07 Jan 2009 10:32:51 GMT
Hi All,

I am having a problem with mod_proxy and httpd 2.2.11

my mod_proxy_balancer configuration looks like this:

<Proxy balancer://liveheavy>
  BalancerMember  http://192.168.1.101:8000 route=1 connectiontimeout=3 status=D
  BalancerMember  http://192.168.1.102:8000 route=2 connectiontimeout=3 status=D
  BalancerMember  http://192.168.1.103:8000 route=3 connectiontimeout=3 status=D
  ProxySet  lbmethod=byrequests stickysession=backend
</Proxy>


I have been using this with httpd 2.2.10 without problem. As soon as I installed 
2.2.11 I get the following error on startup:

Syntax error on line 5 of ....conf:
BalancerMember Connectiontimeout has wrong format

I had a look and noticed that connectiontimeout has been modified in
2.2.11 to accept a postfix ms to allow milliseconds to be specified.
However, if left blank this should default to seconds. I also tried
setting connectiontimeout=3s and this failed with the same error. Is this
a known bug? 

OS is debian etch

httpd -V

Server version: Apache/2.2.11 (Unix)
Server built:   Jan  6 2009 14:03:05
Server's Module Magic Number: 20051115:21
Server loaded:  APR 1.3.3, APR-Util 1.3.4
Compiled using: APR 1.3.3, APR-Util 1.3.4
Architecture:   32-bit
Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT="/apache/frontend/apache2/2.2.11"
 -D SUEXEC_BIN="/apache/frontend/apache2/2.2.11/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="logs/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"


Thanks in advance for any advice given.

Cheers,

Jody

-- 
+--------------------------------------------------------+
Jody Clements                         Senior Web Developer
Wellcome Trust Sanger Institute,
Hinxton,
Cambridge,                         e-mail:jc3@sanger.ac.uk
CB10 1SA                             http:www.sanger.ac.uk
+--------------------------------------------------------+


-- 
 The Wellcome Trust Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.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


Mime
View raw message