Re: Load-balancing with Mod_Proxy and SSL problem

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

 



Thanks Daniel

Now syntax errors are fixed, but apache is not starting, following is error log 

[Fri Jul 13 23:07:52.976414 2012] [lbmethod_heartbeat:notice] [pid 12579:tid 3086534336] AH02282: No slotmem from mod_heartmonitor
[Fri Jul 13 23:07:52.977220 2012] [proxy_balancer:emerg] [pid 12579:tid 3086534336] (22)Invalid argument: AH01186: worker slotmem_grab failed
[Fri Jul 13 23:07:52.977252 2012] [:emerg] [pid 12579:tid 3086534336] AH00020: Configuration Failed, exiting
[root@localhost ~]#



On Thu, Jul 12, 2012 at 5:48 PM, Daniel Gruno <rumble@xxxxxxx> wrote:
On 07/12/2012 02:42 PM, Jehan Badshah wrote:
> HI
>
> *for loadbalancing I added following lines in httpd-ssl.conf file *
>
> <VirtualHost _default_:443>
> //certificates etc
>
> //loadbalancing lines
> ProxyPass / balancer://sakaiCluster/ stickysession=JSESSIONID
> nofailover=On timeout=60
> <Proxy balancer://sakaiCluster>
>         BalancerMember ajp://192.168.1.101:8009
> <http://192.168.1.101:8009> route=tom121
>         BalancerMember ajp://192.168.1.102:8009
> <http://192.168.1.102:8009> route=tom122
>    </Proxy>
>
> </VirtualHost>
>
> *when I am running apache then getting following syntax error*
>
> AH00526: Syntax error on line 247 of httpd-ssl.conf:
> ProxyPass Can't find 'byrequests' lb method
>
>
> *Following are Loaded Modules:*
>  core_module (static)
>  so_module (static)
>  http_module (static)
>  mpm_event_module (static)
>  authn_file_module (shared)
>  authn_core_module (shared)
>  authz_host_module (shared)
>  authz_groupfile_module (shared)
>  authz_user_module (shared)
>  authz_core_module (shared)
>  access_compat_module (shared)
>  auth_basic_module (shared)
>  socache_shmcb_module (shared)
>  reqtimeout_module (shared)
>  filter_module (shared)
>  mime_module (shared)
>  log_config_module (shared)
>  env_module (shared)
>  headers_module (shared)
>  setenvif_module (shared)
>  version_module (shared)
>  slotmem_shm_module (shared)
>  ssl_module (shared)
>  unixd_module (shared)
>  status_module (shared)
>  autoindex_module (shared)
>  dir_module (shared)
>  alias_module (shared)
>  proxy_module (shared)
>  proxy_balancer_module (shared)
>  proxy_ajp_module (shared)
>  proxy_http_module (shared)
>
> Any help ?
>
>
> Regards
> ----------------------------------------------------
> Jehan
>
>
You need to load mod_lbmethod_byrequests :)

LoadModule lbmethod_byrequests_module /path/mod_lbmethod_byrequests.so

With regards,
Daniel.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




--

Regards
----------------------------------------------------
Jehan Badshah | Sr. Software Engineer & Team Lead
Department of Research & Development
National University of Computer and Emerging Sciences
A.K. Brohi Road, H-11/4, Islamabad
UAN: +92 (0)51 - 111 128 128 ext 344



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux