Am 15.03.2018 um 15:06 schrieb Yann Ylavic:
On Thu, Mar 15, 2018 at 2:59 PM, lucas29252 <lucas.ay...@gmail.com> wrote:
Hi, I'm the original reporter.

I've just make a fresh install of  httpd-2.4.32-Win64-VC15.zip
<https://www.apachelounge.com/download/VC15/binaries/httpd-2.4.32-Win64-VC15.zip>

And then uncommented the following modules:

lbmethod_byrequests_module
proxy_module
slotmem_shm_module

And in the #Virtual hosts section added the following:

<VirtualHost *:80>
     ServerAdmin webmas...@dummy-host.example.com
     DocumentRoot "C:/Apache24/docs/dummy-host.example.com"
     ServerName dummy-host.example.com
     ServerAlias www.dummy-host.example.com
     ErrorLog "logs/dummy-host.example.com-error.log"
     CustomLog "logs/dummy-host.example.com-access.log" common

     LogLevel debug

     <Proxy balancer://mycluster>
       BalancerMember http://localhost:8080 retry=0
       BalancerMember http://localhost:8880 retry=0 status=+H
     </Proxy>

     ProxyPass         /  "balancer://mycluster/"
     ProxyPassReverse  /  "balancer://mycluster/"

</VirtualHost>

Thanks, I think I see where it comes from, will provide a patch soon.

For the sake of completeness, here are the full trace8 (failed) startup logs for this reproduction scenario:

C:\Users\myuser\Apache\Apache24\bin>httpd
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host.example.com] does not exist [Thu Mar 15 15:16:22.739001 2018] [core:trace3] [pid 5968:tid 428] core.c(3345): Setting LogLevel for all modules to trace8 [Thu Mar 15 15:16:22.739001 2018] [proxy:debug] [pid 5968:tid 428] mod_proxy.c(2327): AH01147: Defining worker 'http://localhost:8080' for balancer 'balancer://mycluster' [Thu Mar 15 15:16:22.739001 2018] [proxy:debug] [pid 5968:tid 428] mod_proxy.c(2332): AH01148: Defined worker 'http://localhost:8080' for balancer 'balancer://mycluster' [Thu Mar 15 15:16:22.739001 2018] [proxy:debug] [pid 5968:tid 428] mod_proxy.c(2327): AH01147: Defining worker 'http://localhost:8880' for balancer 'balancer://mycluster' [Thu Mar 15 15:16:22.739001 2018] [proxy:debug] [pid 5968:tid 428] mod_proxy.c(2332): AH01148: Defined worker 'http://localhost:8880' for balancer 'balancer://mycluster'


C:\Users\myuser\Apache\Apache24\logs>type dummy-host.example.com-error.log
[Thu Mar 15 15:16:22.801414 2018] [proxy_balancer:debug] [pid 5968:tid 428] mod_proxy_balancer.c(917): AH01178: Doing balancers create: 552, 1 (6) [Thu Mar 15 15:16:22.816981 2018] [proxy_balancer:debug] [pid 5968:tid 428] mod_proxy_balancer.c(986): AH01184: Doing workers create: balancer://mycluster (p36f4bd69_mycluster), 984, 2 [0] [Thu Mar 15 15:16:23.332625 2018] [proxy_balancer:debug] [pid 7520:tid 416] mod_proxy_balancer.c(917): AH01178: Doing balancers create: 552, 1 (6) [Thu Mar 15 15:16:23.332625 2018] [proxy_balancer:emerg] [pid 7520:tid 416] (17)File exists: AH01179: balancer slotmem_create failed


C:\Users\myuser\Apache\Apache24\logs>type error.log
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host.example.com] does not exist [Thu Mar 15 15:16:22.785730 2018] [core:trace3] [pid 5968:tid 428] core.c(3345): Setting LogLevel for all modules to trace8 [Thu Mar 15 15:16:22.785730 2018] [proxy:debug] [pid 5968:tid 428] mod_proxy.c(2327): AH01147: Defining worker 'http://localhost:8080' for balancer 'balancer://mycluster' [Thu Mar 15 15:16:22.785730 2018] [proxy:debug] [pid 5968:tid 428] mod_proxy.c(2332): AH01148: Defined worker 'http://localhost:8080' for balancer 'balancer://mycluster' [Thu Mar 15 15:16:22.785730 2018] [proxy:debug] [pid 5968:tid 428] mod_proxy.c(2327): AH01147: Defining worker 'http://localhost:8880' for balancer 'balancer://mycluster' [Thu Mar 15 15:16:22.785730 2018] [proxy:debug] [pid 5968:tid 428] mod_proxy.c(2332): AH01148: Defined worker 'http://localhost:8880' for balancer 'balancer://mycluster' [Thu Mar 15 15:16:22.816981 2018] [mpm_winnt:notice] [pid 5968:tid 428] AH00455: Apache/2.4.32 (Win64) configured -- resuming normal operations [Thu Mar 15 15:16:22.816981 2018] [mpm_winnt:notice] [pid 5968:tid 428] AH00456: Apache Lounge VC15 Server built: Mar 12 2018 15:30:34 [Thu Mar 15 15:16:22.816981 2018] [core:notice] [pid 5968:tid 428] AH00094: Command line: 'httpd -d C:/Users/myuser/Apache/Apache24' [Thu Mar 15 15:16:22.848233 2018] [mpm_winnt:notice] [pid 5968:tid 428] AH00418: Parent: Created child process 7520 AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host.example.com] does not exist [Thu Mar 15 15:16:23.270113 2018] [core:trace3] [pid 7520:tid 416] core.c(3345): Setting LogLevel for all modules to trace8 [Thu Mar 15 15:16:23.270113 2018] [proxy:debug] [pid 7520:tid 416] mod_proxy.c(2327): AH01147: Defining worker 'http://localhost:8080' for balancer 'balancer://mycluster' [Thu Mar 15 15:16:23.270113 2018] [proxy:debug] [pid 7520:tid 416] mod_proxy.c(2332): AH01148: Defined worker 'http://localhost:8080' for balancer 'balancer://mycluster' [Thu Mar 15 15:16:23.270113 2018] [proxy:debug] [pid 7520:tid 416] mod_proxy.c(2327): AH01147: Defining worker 'http://localhost:8880' for balancer 'balancer://mycluster' [Thu Mar 15 15:16:23.270113 2018] [proxy:debug] [pid 7520:tid 416] mod_proxy.c(2332): AH01148: Defined worker 'http://localhost:8880' for balancer 'balancer://mycluster' AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host.example.com] does not exist [Thu Mar 15 15:16:23.301361 2018] [core:trace3] [pid 7520:tid 416] core.c(3345): Setting LogLevel for all modules to trace8 [Thu Mar 15 15:16:23.301361 2018] [proxy:debug] [pid 7520:tid 416] mod_proxy.c(2327): AH01147: Defining worker 'http://localhost:8080' for balancer 'balancer://mycluster' [Thu Mar 15 15:16:23.301361 2018] [proxy:debug] [pid 7520:tid 416] mod_proxy.c(2332): AH01148: Defined worker 'http://localhost:8080' for balancer 'balancer://mycluster' [Thu Mar 15 15:16:23.301361 2018] [proxy:debug] [pid 7520:tid 416] mod_proxy.c(2327): AH01147: Defining worker 'http://localhost:8880' for balancer 'balancer://mycluster' [Thu Mar 15 15:16:23.301361 2018] [proxy:debug] [pid 7520:tid 416] mod_proxy.c(2332): AH01148: Defined worker 'http://localhost:8880' for balancer 'balancer://mycluster' [Thu Mar 15 15:16:23.332625 2018] [slotmem_shm:error] [pid 7520:tid 416] (17)File exists: AH02611: create: apr_shm_create(C:/Users/myuser/Apache/Apache24/logs/slotmem-shm-p36f4bd69.shm) failed [Thu Mar 15 15:16:23.332625 2018] [:emerg] [pid 7520:tid 416] AH00020: Configuration Failed, exiting [Thu Mar 15 15:16:23.379620 2018] [mpm_winnt:crit] [pid 5968:tid 428] AH00419: master_main: create child process failed. Exiting.

Regards,

Rainer

Reply via email to