|
|
|
|
|
|
| Author |
Message |
Nate Hausrath *nix forums beginner
Joined: 06 Jul 2006
Posts: 3
|
Posted: Thu Jul 06, 2006 10:30 pm Post subject:
Cannot load mod_proxy. undefined symbol: proxy_lb_workers
|
|
|
Hi,
I have had Apache 2.2.2 chrooted and running fine for a few weeks now.
Today, I compiled mod_proxy and mod_proxy_http with apxs and copied them to
my jail modules directory. I then added the modules to
httpd.conf(LoadModule proxy_module modules/mod_proxy.so, etc). Upon
trying to stop
the currently running server with apachectl, I received the following error:
httpd: Syntax error on line 82 of /usr/local/apache2/conf/httpd.conf: Cannot
load /usr/local/apache2/modules/mod_proxy.so into server:
/usr/local/apache2/modules/mod_proxy.so: undefined symbol: proxy_lb_workers
Line 82 is what I listed above: LoadModule proxy_module modules/mod_proxy.so
Have I missed some dependency within my jail? Is this something easy that
I've simply overlooked? Googling wasn't very helpful, so I turned this
way. Thanks in advance.
-Nate |
|
| Back to top |
|
 |
Ellison , John P *nix forums beginner
Joined: 23 Jun 2006
Posts: 7
|
Posted: Fri Jul 07, 2006 1:33 pm Post subject:
RE: Cannot load mod_proxy. undefined symbol: proxy_lb_workers
|
|
|
" I then added the modules to httpd.conf (LoadModule proxy_module modules/mod_proxy.so, etc). Upon trying to stop the currently running server with apachectl, I received the following error:
httpd: Syntax error on line 82 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/mod_proxy.so into server: /usr/local/apache2/modules/mod_proxy.so: undefined symbol: proxy_lb_workers
Line 82 is what I listed above: LoadModule proxy_module modules/mod_proxy.so
Have I missed some dependency within my jail? Is this something easy that I've simply overlooked? Googling wasn't very helpful, so I turned this way. Thanks in advance.
-Nate
"
Hi. I think I ran across the solution to your problem the other day. http://www.apacheweek.com/features/reverseproxies. Skip down to the part where he states "noting that mod_proxy itself is in two source files
(mod_proxy.c and proxy_util.c).
"
I ran across a similar problem to yours and solved it by building mod_proxy using configure. Try using apxs to build proxy_util as well. If you dig around, I think you'll find the proxy_lb_workers, etc. functions in there.
JP
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org |
|
| Back to top |
|
 |
Nate Hausrath *nix forums beginner
Joined: 06 Jul 2006
Posts: 3
|
Posted: Fri Jul 07, 2006 8:58 pm Post subject:
Re: Cannot load mod_proxy. undefined symbol: proxy_lb_workers
|
|
|
Thanks for your help.
I used apxs to build proxy_util and then tried again. This time I received
a similar message:
httpd: Syntax error on line 82 of /usr/local/apache2/conf/httpd.conf: Cannot
load /usr/local/apache2/modules/proxy_util.so into server:
/usr/local/apache2/modules/proxy_util.so: undefined symbol:
ap_proxy_ssl_enable
Where is ap_proxy_ssl_enable located?
If it's easier, I would like to try to build mod_proxy with configure, but
I'm not really sure how to go about doing that. I've only ever built
modules with apxs. How do I go about doing this?
Thanks,
Nate
On 7/7/06, Ellison , John P <jp@tulane.edu> wrote:
| Quote: |
" I then added the modules to httpd.conf (LoadModule proxy_module
modules/mod_proxy.so, etc). Upon trying to stop the currently running server
with apachectl, I received the following error:
httpd: Syntax error on line 82 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/mod_proxy.so into server:
/usr/local/apache2/modules/mod_proxy.so: undefined symbol: proxy_lb_workers
Line 82 is what I listed above: LoadModule proxy_module
modules/mod_proxy.so
Have I missed some dependency within my jail? Is this something easy that
I've simply overlooked? Googling wasn't very helpful, so I turned this way.
Thanks in advance.
-Nate
"
Hi. I think I ran across the solution to your problem the other day.
http://www.apacheweek.com/features/reverseproxies. Skip down to the part
where he states "noting that mod_proxy itself is in two source files
(mod_proxy.c and proxy_util.c).
"
I ran across a similar problem to yours and solved it by building
mod_proxy using configure. Try using apxs to build proxy_util as well. If
you dig around, I think you'll find the proxy_lb_workers, etc. functions in
there.
JP
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
|
|
|
| Back to top |
|
 |
muralive *nix forums beginner
Joined: 13 Mar 2008
Posts: 1
|
Posted: Thu Mar 13, 2008 8:17 pm Post subject:
|
|
|
/usr/local/apache/bin/apxs -c mod_proxy.c proxy_util.c
Change the apache location as appropriate. |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Sun Nov 23, 2008 10:34 am | All times are GMT
|
|
Mortgages | Online Advertising | Best Credit Cards | Football Predictions | Credit Cards
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|