Summary: | www-servers/apache mod_lbmethod_byrequests.so undefined symbol | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Wojciech Myrda <vojcek> |
Component: | Current packages | Assignee: | Apache Team - Bugzilla Reports <apache-bugs> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Wojciech Myrda
2018-07-25 07:25:09 UTC
Please post the output of emerge --info www-servers/apache to this bug. here is missing part ================================================================= Package Settings ================================================================= www-servers/apache-2.4.34-r1::gentoo was built with the following: USE="gdbm ssl suexec suexec-caps threads -debug -doc -ldap -libressl (-selinux) -static -suexec-syslog" ABI_X86="(64)" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_core authn_dbd authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock dbd deflate dir env expires ext_filter file_cache filter headers http2 ident imagemap include info lbmethod_byrequests lbmethod_bytraffic log_config logio mime mime_magic negotiation proxy proxy_balancer rewrite setenvif slotmem_shm socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias -access_compat -asis -auth_digest -authz_dbd -brotli -cache_disk -cache_socache -cern_meta -charset_lite -dumpio -lbmethod_bybusyness -lbmethod_heartbeat -log_forensic -macro -md -proxy_ajp -proxy_connect -proxy_fcgi -proxy_ftp -proxy_html -proxy_http -proxy_scgi -proxy_wstunnel -ratelimit -remoteip -reqtimeout -substitute -version -watchdog -xml2enc" APACHE2_MPMS="-event -prefork -worker" LDFLAGS="-Wl,-O1 -Wl,--hash-style=both -Wl,--as-needed -Wl,--relax -Wl,--sort-common -Wl,--no-as-needed" The problem is that mod_proxy is loaded AFTER modules which depend on it attempt to load. Not sure why the order suddenly matters, but change your httpd.conf to: <IfDefine INFO> LoadModule info_module modules/mod_info.so </IfDefine> LoadModule log_config_module modules/mod_log_config.so LoadModule logio_module modules/mod_logio.so LoadModule macro_module modules/mod_macro.so LoadModule mime_module modules/mod_mime.so LoadModule mime_magic_module modules/mod_mime_magic.so LoadModule negotiation_module modules/mod_negotiation.so <IfDefine PROXY> LoadModule proxy_module modules/mod_proxy.so LoadModule lbmethod_bybusyness_module modules/mod_lbmethod_bybusyness.so LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so LoadModule lbmethod_bytraffic_module modules/mod_lbmethod_bytraffic.so LoadModule lbmethod_heartbeat_module modules/mod_lbmethod_heartbeat.so </IfDefine> @Josh G Yes that indeed has worked with exception that in my case I did not use all those modules, but idea behind it worked. </IfDefine> LoadModule log_config_module modules/mod_log_config.so LoadModule logio_module modules/mod_logio.so LoadModule mime_module modules/mod_mime.so LoadModule mime_magic_module modules/mod_mime_magic.so LoadModule negotiation_module modules/mod_negotiation.so <IfDefine PROXY> LoadModule proxy_module modules/mod_proxy.so LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so LoadModule lbmethod_bytraffic_module modules/mod_lbmethod_bytraffic.so </IfDefine> Looking at the "genlop -t apache" output I see that apache was just updated to version 2.4.34 which in changelog has bunch of mod_proxy* related fixes. Could be that somewhere there now is implemented more strict checking at the module load, but that is just my guess. I'm confirming this bug. I solved it by loading "proxy_module modules/mod_proxy.so" before "lbmethod_bytraffic_module modules/mod_lbmethod_bytraffic.so" as mentionned by Josh in comment #3 www-servers/apache-2.4.34-r1:2::gentoo USE="gdbm ssl suexec suexec-caps threads -debug -doc -ldap -libressl (-selinux) -static -suexec-syslog" APACHE2_MODULES="access_compat actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers http2 include info lbmethod_bytraffic log_config logio mime mime_magic negotiation proxy proxy_balancer proxy_http ratelimit rewrite setenvif slotmem_shm socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias -asis -auth_digest -authn_dbd -authz_dbd -brotli -cache_disk -cache_socache -cern_meta -charset_lite -dbd -dumpio -ident -imagemap -lbmethod_bybusyness -lbmethod_byrequests -lbmethod_heartbeat -log_forensic -macro -md -proxy_ajp -proxy_connect -proxy_fcgi -proxy_ftp -proxy_html -proxy_scgi -proxy_wstunnel -remoteip -reqtimeout -substitute -version -watchdog -xml2enc" APACHE2_MPMS="worker -event -prefork" |