osdir.com

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

[Bug 62741] New: httpd fails to start with error: "undefined symbol: ap_proxy_balancer_get_best_worker" when using mod_lbmethod_byrequests.so and mod_proxy.so is NOT enabled


https://bz.apache.org/bugzilla/show_bug.cgi?id=62741

            Bug ID: 62741
           Summary: httpd fails to start with error: "undefined symbol:
                    ap_proxy_balancer_get_best_worker" when using
                    mod_lbmethod_byrequests.so and mod_proxy.so is NOT
                    enabled
           Product: Apache httpd-2
           Version: 2.4.34
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy
          Assignee: bugs@xxxxxxxxxxxxxxxx
          Reporter: adrian_salaices@xxxxxxxxxx
  Target Milestone: ---

The issue comes up when starting apache with the mod_lbmethod_byrequests
enabled while mod_proxy module is NOT enabled. 

The error: 

Cannot load lib64/httpd/modules/mod_lbmethod_byrequests.so into server:
/usr/lib64/httpd/modules/mod_lbmethod_byrequests.so: undefined symbol:
ap_proxy_balancer_get_best_worker. 

There was a post describing a workaround by loading mod_proxy before the
mod_lbmethod_byrequests module, the problem with this approach is that now you
will have mod_proxy (and a matching bogus config pointing /whatever to a non
existent backend server) just to get mod_lbmethod_byrequests working. 

The bottom line is that mod_proxy should NOT be a prereq for using
mod_lbmethod_byrequests as it May NOT be needed. 

Please feel free to correct me if I am totally missing something

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx