mod_proxy_http can not be enabledApache2 reverse proxy seems to intermittently freeze?load mod_proxy and mod_proxy_http modules of apache in centosproxy pass domain FROM default apache port 80 TO nginx on another portSSLv2_server_method apache php5 errorapache2 dbd failed to initialise error AH02654 using postgresql on debian jessieIssue installing Ioncube with PHP 5.6.11 with Apache 2.4.16 on centOS 6.7How to solve “The apache2 configtest failed.” in ubuntu 12.04 ltsApache2 and proxy_balancer BalanceMemberHow to resolve 'undefined symbol: ap_log_error' in mod_security2.so?httpd24 by scl doesn't render php
Should the Torah be covered or uncovered during the Aliyah blessings?
Does the UK have a written constitution?
How do I find and plot the intersection of these three surfaces?
Zombie diet, why humans?
Why is a blank required between "[[" and "-e xxx" in ksh?
How should I behave to assure my friends that I am not after their money?
What is a macro? Difference between macro and function?
Do I have to roll to maintain concentration if a target other than me who is affected by my concentration spell takes damage?
Golf the smallest circle!
“Faire” being used to mean “avoir l’air”?
How do I spend money in Sweden and Denmark?
What is the olden name for sideburns?
Spicket or spigot?
Is it bad to describe a character long after their introduction?
Alphabet completion rate
Can I use the PWM pins as regular digital input/output pins?
Children's short story about material that accelerates away from gravity
Why did this meteor appear cyan?
Why is Madam Hooch not a professor?
Why does this function call behave sensibly after calling it through a typecasted function pointer?
Fluently Validation of Objects
The difference between Rad1 and Rfd1
Does anycast addressing add additional latency in any way?
Averting Real Women Don’t Wear Dresses
mod_proxy_http can not be enabled
Apache2 reverse proxy seems to intermittently freeze?load mod_proxy and mod_proxy_http modules of apache in centosproxy pass domain FROM default apache port 80 TO nginx on another portSSLv2_server_method apache php5 errorapache2 dbd failed to initialise error AH02654 using postgresql on debian jessieIssue installing Ioncube with PHP 5.6.11 with Apache 2.4.16 on centOS 6.7How to solve “The apache2 configtest failed.” in ubuntu 12.04 ltsApache2 and proxy_balancer BalanceMemberHow to resolve 'undefined symbol: ap_log_error' in mod_security2.so?httpd24 by scl doesn't render php
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have the current proxy modules enabled and working fine:
$ apache2ctl -M | grep proxy
proxy_module (shared)
proxy_fcgi_module (shared)
When I enable mod_proxy_http
with a2enmod proxy_http
and service apache2 restart
, apache returns an error as if mod_proxy was not enabled:
oct 16 10:55:45 apachectl[15243]: apache2: Syntax error on
line 140 of /etc/apache2/apache2.conf: Syntax error on line 2 of
/etc/apache2/mods-enabled/proxy_http.load: Cannot load
/usr/lib/apache2/modules/mod_proxy_http.so into server:
/usr/lib/apache2/modules/mod_proxy_http.so: undefined symbol:
ap_proxy_check_connection
ap_proxy_check_connection
is a mod_proxy.h method https://ci.apache.org/projects/httpd/trunk/doxygen/group__MOD__PROXY.html#ga618c0e1bede21bdd3af5d6a802671cae
Maybe some problem on module order load?
Thanks.
UPDATE: After add LoadModule mod_proxy before IncludeOptional
directive, the problem is same.
$ vi /etc/apache2/apache2.conf
Include /etc/apache2/mods-available/proxy.load
Include /etc/apache2/mods-available/proxy.conf
# Include module configuration:
IncludeOptional mods-enabled/*.load
IncludeOptional mods-enabled/*.conf
$ apache2ctl -M | grep proxy
[Mon Oct 16 11:14:00.205439 2017] [so:warn] [pid 19944] AH01574: module proxy_module is already loaded, skipping
proxy_module (shared)
proxy_fcgi_module (shared)
$ a2enmod proxy_http
Considering dependency proxy for proxy_http:
Module proxy already enabled
Enabling module proxy_http.
To activate the new configuration, you need to run:
systemctl restart apache2
$ apache2ctl -M | grep proxy
[Mon Oct 16 11:14:11.256292 2017] [so:warn] [pid 20006] AH01574: module proxy_module is already loaded, skipping
apache2: Syntax error on line 142 of /etc/apache2/apache2.conf: Syntax error on line 2 of /etc/apache2/mods-enabled/proxy_http.load: Cannot load /usr/lib/apache2/modules/mod_proxy_http.so into server: /usr/lib/apache2/modules/mod_proxy_http.so: undefined symbol: ap_proxy_check_connection
apache-2.4 reverse-proxy mod-proxy
|
show 1 more comment
I have the current proxy modules enabled and working fine:
$ apache2ctl -M | grep proxy
proxy_module (shared)
proxy_fcgi_module (shared)
When I enable mod_proxy_http
with a2enmod proxy_http
and service apache2 restart
, apache returns an error as if mod_proxy was not enabled:
oct 16 10:55:45 apachectl[15243]: apache2: Syntax error on
line 140 of /etc/apache2/apache2.conf: Syntax error on line 2 of
/etc/apache2/mods-enabled/proxy_http.load: Cannot load
/usr/lib/apache2/modules/mod_proxy_http.so into server:
/usr/lib/apache2/modules/mod_proxy_http.so: undefined symbol:
ap_proxy_check_connection
ap_proxy_check_connection
is a mod_proxy.h method https://ci.apache.org/projects/httpd/trunk/doxygen/group__MOD__PROXY.html#ga618c0e1bede21bdd3af5d6a802671cae
Maybe some problem on module order load?
Thanks.
UPDATE: After add LoadModule mod_proxy before IncludeOptional
directive, the problem is same.
$ vi /etc/apache2/apache2.conf
Include /etc/apache2/mods-available/proxy.load
Include /etc/apache2/mods-available/proxy.conf
# Include module configuration:
IncludeOptional mods-enabled/*.load
IncludeOptional mods-enabled/*.conf
$ apache2ctl -M | grep proxy
[Mon Oct 16 11:14:00.205439 2017] [so:warn] [pid 19944] AH01574: module proxy_module is already loaded, skipping
proxy_module (shared)
proxy_fcgi_module (shared)
$ a2enmod proxy_http
Considering dependency proxy for proxy_http:
Module proxy already enabled
Enabling module proxy_http.
To activate the new configuration, you need to run:
systemctl restart apache2
$ apache2ctl -M | grep proxy
[Mon Oct 16 11:14:11.256292 2017] [so:warn] [pid 20006] AH01574: module proxy_module is already loaded, skipping
apache2: Syntax error on line 142 of /etc/apache2/apache2.conf: Syntax error on line 2 of /etc/apache2/mods-enabled/proxy_http.load: Cannot load /usr/lib/apache2/modules/mod_proxy_http.so into server: /usr/lib/apache2/modules/mod_proxy_http.so: undefined symbol: ap_proxy_check_connection
apache-2.4 reverse-proxy mod-proxy
a2enmod proxy && a2enmod proxy_http
– c4f4t0r
Oct 16 '17 at 10:00
Same probem: $ a2enmod proxy && a2enmod proxy_http && service apache2 restart: apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 2 of /etc/apache2/mods-enabled/proxy_http.load: Cannot load /usr/lib/apache2/modules/mod_proxy_http.so into server: /usr/lib/apache2/modules/mod_proxy_http.so: undefined symbol: ap_proxy_check_connection
– Lito
Oct 16 '17 at 10:03
how did you installed your apache?
– c4f4t0r
Oct 16 '17 at 10:07
It's a Plesk installation. Enabling http proxy module from Plesk panel the error is the same.
– Lito
Oct 16 '17 at 10:12
if you are using any hosting provider, open a ticket with this error "undefined symbol: ap_proxy_check_connection
– c4f4t0r
Oct 16 '17 at 10:14
|
show 1 more comment
I have the current proxy modules enabled and working fine:
$ apache2ctl -M | grep proxy
proxy_module (shared)
proxy_fcgi_module (shared)
When I enable mod_proxy_http
with a2enmod proxy_http
and service apache2 restart
, apache returns an error as if mod_proxy was not enabled:
oct 16 10:55:45 apachectl[15243]: apache2: Syntax error on
line 140 of /etc/apache2/apache2.conf: Syntax error on line 2 of
/etc/apache2/mods-enabled/proxy_http.load: Cannot load
/usr/lib/apache2/modules/mod_proxy_http.so into server:
/usr/lib/apache2/modules/mod_proxy_http.so: undefined symbol:
ap_proxy_check_connection
ap_proxy_check_connection
is a mod_proxy.h method https://ci.apache.org/projects/httpd/trunk/doxygen/group__MOD__PROXY.html#ga618c0e1bede21bdd3af5d6a802671cae
Maybe some problem on module order load?
Thanks.
UPDATE: After add LoadModule mod_proxy before IncludeOptional
directive, the problem is same.
$ vi /etc/apache2/apache2.conf
Include /etc/apache2/mods-available/proxy.load
Include /etc/apache2/mods-available/proxy.conf
# Include module configuration:
IncludeOptional mods-enabled/*.load
IncludeOptional mods-enabled/*.conf
$ apache2ctl -M | grep proxy
[Mon Oct 16 11:14:00.205439 2017] [so:warn] [pid 19944] AH01574: module proxy_module is already loaded, skipping
proxy_module (shared)
proxy_fcgi_module (shared)
$ a2enmod proxy_http
Considering dependency proxy for proxy_http:
Module proxy already enabled
Enabling module proxy_http.
To activate the new configuration, you need to run:
systemctl restart apache2
$ apache2ctl -M | grep proxy
[Mon Oct 16 11:14:11.256292 2017] [so:warn] [pid 20006] AH01574: module proxy_module is already loaded, skipping
apache2: Syntax error on line 142 of /etc/apache2/apache2.conf: Syntax error on line 2 of /etc/apache2/mods-enabled/proxy_http.load: Cannot load /usr/lib/apache2/modules/mod_proxy_http.so into server: /usr/lib/apache2/modules/mod_proxy_http.so: undefined symbol: ap_proxy_check_connection
apache-2.4 reverse-proxy mod-proxy
I have the current proxy modules enabled and working fine:
$ apache2ctl -M | grep proxy
proxy_module (shared)
proxy_fcgi_module (shared)
When I enable mod_proxy_http
with a2enmod proxy_http
and service apache2 restart
, apache returns an error as if mod_proxy was not enabled:
oct 16 10:55:45 apachectl[15243]: apache2: Syntax error on
line 140 of /etc/apache2/apache2.conf: Syntax error on line 2 of
/etc/apache2/mods-enabled/proxy_http.load: Cannot load
/usr/lib/apache2/modules/mod_proxy_http.so into server:
/usr/lib/apache2/modules/mod_proxy_http.so: undefined symbol:
ap_proxy_check_connection
ap_proxy_check_connection
is a mod_proxy.h method https://ci.apache.org/projects/httpd/trunk/doxygen/group__MOD__PROXY.html#ga618c0e1bede21bdd3af5d6a802671cae
Maybe some problem on module order load?
Thanks.
UPDATE: After add LoadModule mod_proxy before IncludeOptional
directive, the problem is same.
$ vi /etc/apache2/apache2.conf
Include /etc/apache2/mods-available/proxy.load
Include /etc/apache2/mods-available/proxy.conf
# Include module configuration:
IncludeOptional mods-enabled/*.load
IncludeOptional mods-enabled/*.conf
$ apache2ctl -M | grep proxy
[Mon Oct 16 11:14:00.205439 2017] [so:warn] [pid 19944] AH01574: module proxy_module is already loaded, skipping
proxy_module (shared)
proxy_fcgi_module (shared)
$ a2enmod proxy_http
Considering dependency proxy for proxy_http:
Module proxy already enabled
Enabling module proxy_http.
To activate the new configuration, you need to run:
systemctl restart apache2
$ apache2ctl -M | grep proxy
[Mon Oct 16 11:14:11.256292 2017] [so:warn] [pid 20006] AH01574: module proxy_module is already loaded, skipping
apache2: Syntax error on line 142 of /etc/apache2/apache2.conf: Syntax error on line 2 of /etc/apache2/mods-enabled/proxy_http.load: Cannot load /usr/lib/apache2/modules/mod_proxy_http.so into server: /usr/lib/apache2/modules/mod_proxy_http.so: undefined symbol: ap_proxy_check_connection
apache-2.4 reverse-proxy mod-proxy
apache-2.4 reverse-proxy mod-proxy
edited Oct 16 '17 at 9:19
Lito
asked Oct 16 '17 at 9:02
LitoLito
1631 gold badge1 silver badge8 bronze badges
1631 gold badge1 silver badge8 bronze badges
a2enmod proxy && a2enmod proxy_http
– c4f4t0r
Oct 16 '17 at 10:00
Same probem: $ a2enmod proxy && a2enmod proxy_http && service apache2 restart: apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 2 of /etc/apache2/mods-enabled/proxy_http.load: Cannot load /usr/lib/apache2/modules/mod_proxy_http.so into server: /usr/lib/apache2/modules/mod_proxy_http.so: undefined symbol: ap_proxy_check_connection
– Lito
Oct 16 '17 at 10:03
how did you installed your apache?
– c4f4t0r
Oct 16 '17 at 10:07
It's a Plesk installation. Enabling http proxy module from Plesk panel the error is the same.
– Lito
Oct 16 '17 at 10:12
if you are using any hosting provider, open a ticket with this error "undefined symbol: ap_proxy_check_connection
– c4f4t0r
Oct 16 '17 at 10:14
|
show 1 more comment
a2enmod proxy && a2enmod proxy_http
– c4f4t0r
Oct 16 '17 at 10:00
Same probem: $ a2enmod proxy && a2enmod proxy_http && service apache2 restart: apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 2 of /etc/apache2/mods-enabled/proxy_http.load: Cannot load /usr/lib/apache2/modules/mod_proxy_http.so into server: /usr/lib/apache2/modules/mod_proxy_http.so: undefined symbol: ap_proxy_check_connection
– Lito
Oct 16 '17 at 10:03
how did you installed your apache?
– c4f4t0r
Oct 16 '17 at 10:07
It's a Plesk installation. Enabling http proxy module from Plesk panel the error is the same.
– Lito
Oct 16 '17 at 10:12
if you are using any hosting provider, open a ticket with this error "undefined symbol: ap_proxy_check_connection
– c4f4t0r
Oct 16 '17 at 10:14
a2enmod proxy && a2enmod proxy_http
– c4f4t0r
Oct 16 '17 at 10:00
a2enmod proxy && a2enmod proxy_http
– c4f4t0r
Oct 16 '17 at 10:00
Same probem: $ a2enmod proxy && a2enmod proxy_http && service apache2 restart: apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 2 of /etc/apache2/mods-enabled/proxy_http.load: Cannot load /usr/lib/apache2/modules/mod_proxy_http.so into server: /usr/lib/apache2/modules/mod_proxy_http.so: undefined symbol: ap_proxy_check_connection
– Lito
Oct 16 '17 at 10:03
Same probem: $ a2enmod proxy && a2enmod proxy_http && service apache2 restart: apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 2 of /etc/apache2/mods-enabled/proxy_http.load: Cannot load /usr/lib/apache2/modules/mod_proxy_http.so into server: /usr/lib/apache2/modules/mod_proxy_http.so: undefined symbol: ap_proxy_check_connection
– Lito
Oct 16 '17 at 10:03
how did you installed your apache?
– c4f4t0r
Oct 16 '17 at 10:07
how did you installed your apache?
– c4f4t0r
Oct 16 '17 at 10:07
It's a Plesk installation. Enabling http proxy module from Plesk panel the error is the same.
– Lito
Oct 16 '17 at 10:12
It's a Plesk installation. Enabling http proxy module from Plesk panel the error is the same.
– Lito
Oct 16 '17 at 10:12
if you are using any hosting provider, open a ticket with this error "undefined symbol: ap_proxy_check_connection
– c4f4t0r
Oct 16 '17 at 10:14
if you are using any hosting provider, open a ticket with this error "undefined symbol: ap_proxy_check_connection
– c4f4t0r
Oct 16 '17 at 10:14
|
show 1 more comment
2 Answers
2
active
oldest
votes
Sounds like the problem as described here. To fix:
apt-get purge libapache2-mod-proxy-psa
a2dismod proxy
a2enmod proxy proxy_fcgi
systemctl restart apache2
add a comment |
This might be due to dist-upgrade
. Please check Plesk support articles -
Put this after the other LoadModule directives
LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so
LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f878641%2fmod-proxy-http-can-not-be-enabled%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sounds like the problem as described here. To fix:
apt-get purge libapache2-mod-proxy-psa
a2dismod proxy
a2enmod proxy proxy_fcgi
systemctl restart apache2
add a comment |
Sounds like the problem as described here. To fix:
apt-get purge libapache2-mod-proxy-psa
a2dismod proxy
a2enmod proxy proxy_fcgi
systemctl restart apache2
add a comment |
Sounds like the problem as described here. To fix:
apt-get purge libapache2-mod-proxy-psa
a2dismod proxy
a2enmod proxy proxy_fcgi
systemctl restart apache2
Sounds like the problem as described here. To fix:
apt-get purge libapache2-mod-proxy-psa
a2dismod proxy
a2enmod proxy proxy_fcgi
systemctl restart apache2
answered Sep 4 '18 at 8:24
LarsenLarsen
1971 silver badge11 bronze badges
1971 silver badge11 bronze badges
add a comment |
add a comment |
This might be due to dist-upgrade
. Please check Plesk support articles -
Put this after the other LoadModule directives
LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so
LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
add a comment |
This might be due to dist-upgrade
. Please check Plesk support articles -
Put this after the other LoadModule directives
LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so
LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
add a comment |
This might be due to dist-upgrade
. Please check Plesk support articles -
Put this after the other LoadModule directives
LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so
LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
This might be due to dist-upgrade
. Please check Plesk support articles -
Put this after the other LoadModule directives
LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so
LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
answered Sep 4 '18 at 8:52
sanjayparmarsanjayparmar
3451 silver badge12 bronze badges
3451 silver badge12 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f878641%2fmod-proxy-http-can-not-be-enabled%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
a2enmod proxy && a2enmod proxy_http
– c4f4t0r
Oct 16 '17 at 10:00
Same probem: $ a2enmod proxy && a2enmod proxy_http && service apache2 restart: apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 2 of /etc/apache2/mods-enabled/proxy_http.load: Cannot load /usr/lib/apache2/modules/mod_proxy_http.so into server: /usr/lib/apache2/modules/mod_proxy_http.so: undefined symbol: ap_proxy_check_connection
– Lito
Oct 16 '17 at 10:03
how did you installed your apache?
– c4f4t0r
Oct 16 '17 at 10:07
It's a Plesk installation. Enabling http proxy module from Plesk panel the error is the same.
– Lito
Oct 16 '17 at 10:12
if you are using any hosting provider, open a ticket with this error "undefined symbol: ap_proxy_check_connection
– c4f4t0r
Oct 16 '17 at 10:14