You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2018/09/19 17:28:25 UTC

[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@httpd.apache.org
          Reporter: adrian_salaices@intuit.com
  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@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 62741] 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

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62741

William A. Rowe Jr. <wr...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from William A. Rowe Jr. <wr...@apache.org> ---
Change your module load order to load mod_proxy first. It is not possible
to use lbmethod modules without mod_proxy.

In 2.4.35 the load order dependency is corrected; but mod_proxy is still
necessary.

What purpose do you have in loading lbmethod's if you are not loading
mod_proxy_balancer, and ergo mod_proxy, into the given server instance?

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