httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Hulet <mich...@mindtheshark.com>
Subject Re: [users@httpd] Apache2.2 cannot start: "undefined symbol: proxy_hook_post_request" error (in file /etc/apache2/modules/mod_proxy_balancer.so)
Date Thu, 23 Nov 2006 14:27:44 GMT
Joshua Slive a écrit :
> On 11/23/06, Michael Hulet <michael@mindtheshark.com> wrote:
>> Hello all,
>>
>> I'm upgrading from Apache 2.0.54 to Apache 2.2.3, as I would like to
>> try the proxy_balancer module.
>>
>> I'm running a Debian Sarge box. I uninstalled Apache 2.0.54 and I
>> compiled and installed Apache 2.2.3 in /etc/apache2:
>>
>>     # wget http://apache.scarlet.be/httpd/httpd-2.2.3.tar.gz
>>     # tar -xvzf httpd-2.2.3.tar.gz
>>     # cd httpd-2.2.3
>>     # ./configure --prefix=/etc/apache2 --enable-mods-shared=all
>> --enable-deflate --enable-proxy --enable-proxy-balancer
>> --enable-proxy-http
>>     # make
>>     # make install|
>>
>> Then, I added this line to /etc/apache2/httpd.conf:
>>
>>     LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
>>
>> I launched te server and here is my problem:
>>
>>     # apache2ctl -k start
>>     Syntax error on line 8 of /etc/apache2/httpd.conf:
>>     *Cannot load /etc/apache2/modules/mod_proxy_balancer.so into server:
>>     /etc/apache2/modules/mod_proxy_balancer.so: undefined symbol:
>>     proxy_hook_post_request*
>
> You'll also need LoadModule lines for mod_proxy and mod_proxy_http.
>
> Joshua.
Thanks for the tip, Joshua. So here is my new httpd.conf:

    LoadModule proxy_module modules/mod_proxy.so
    LoadModule proxy_http_module modules/mod_proxy_http.so
    LoadModule proxy_balancer_module modules/mod_proxy_balancer.so

The result is not so nicer:

    # apache2ctl -k start
    [Thu Nov 23 15:24:18 2006] [warn] module proxy_module is already
    loaded, skipping
    [Thu Nov 23 15:24:18 2006] [warn] module proxy_http_module is
    already loaded, skipping
    Syntax error on line 9 of /etc/apache2/httpd.conf:
    Cannot load /etc/apache2/modules/mod_proxy_balancer.so into server:
    /etc/apache2/modules/mod_proxy_balancer.so: undefined symbol:
    proxy_hook_post_request

I really don't know what else I could do...


Mime
View raw message