https://bz.apache.org/bugzilla/show_bug.cgi?id=58024
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Component|mod_proxy_balancer |mod_proxy OS| |All --- Comment #1 from [email protected] --- Here is a more simple "steps to reproduce" 1. Download Apache from http://www.apachelounge.com/download/VC11/ httpd-2.4.12-win64-VC11.zip 2. Unpack it to C:\Apache24 3. Be sure that you have installed Visual C++ Redistributable for Visual Studio 2012 (==> msvcr110.dll). Maybe download http://www.microsoft.com/en-us/download/details.aspx?id=30679 4. Open Terminal as Admin and install the service and start Apache using: cd C:\Apache24\bin httpd.exe -k install -d C:\Apache24 httpd.exe -k start 5. Restart is working now: httpd.exe -k restart 6. Add the following lines to the end of httpd.conf: LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_balancer_module modules/mod_proxy_balancer.so LoadModule proxy_http_module modules/mod_proxy_http.so LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so LoadModule slotmem_shm_module modules/mod_slotmem_shm.so <Proxy balancer://lb1> BalancerMember http://127.0.0.1:8080 #BalancerMember http://127.0.0.2:8080 </Proxy> <Location /myWebapp> ProxyPass balancer://lb1/myWebapp ProxyPassReverse balancer://lb1/myWebapp </Location> 5. Restart is still working httpd.exe -k restart 6. Uncomment the second BalancerMember http://127.0.0.2:8080 7. Restart is "crashing" now httpd.exe -k restart error.log: The 'Apache24' service is restarting. Failed to restart the 'Apache24' service. nt:notice] [pid 2564:tid 492] AH00424: Parent: Received restart signal -- Restarting the server. [Thu Jun 18 11:19:15.350509 2015] [slotmem_shm:error] [pid 2564:tid 492] AH02599: existing shared memory for C:/Apache24/logs/slotmem-shm-pac00a502_lb1.shm could not be used (failed size check) [Thu Jun 18 11:19:15.350509 2015] [proxy_balancer:emerg] [pid 2564:tid 492] (22)Invalid argument: AH01185: worker slotmem_create failed [Thu Jun 18 11:19:15.350509 2015] [:emerg] [pid 2564:tid 492] AH00020: Configuration Failed, exiting [Thu Jun 18 11:19:17.341708 2015] [mpm_winnt:notice] [pid 1976:tid 476] AH00364: Child: All worker threads have exited. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
