| Author |
Message |
Sander Temme *nix forums beginner
Joined: 17 Jun 2006
Posts: 2
|
Posted: Thu Jul 20, 2006 5:10 pm Post subject:
Re: Apache 2.2.2 and WebSphere PlugIn
|
|
|
Manuela,
On Jul 20, 2006, at 12:39 AM, Manuela.Vorazzo@ssb.it wrote:
| Quote: | LoadModule was_ap20_module /opt/CHROOT/HTTPD/WebSpherePlugin/bin/
mod_was_ap20_http.so
WebSpherePluginConfig /opt/CHROOT/HTTPD/WebSpherePlugin/config/
atmweb-ts-proxy/plugin-cfg.xml
But now when I run the command 'apachectl -t' I get the following:
httpd: Syntax error on line 225 of /opt/CHROOT/HTTPD-2.2.2/conf/
httpd.conf: Cannot load /opt/CHROOT/HTTPD/WebSpherePlugin/bin/
mod_was_ap20_http.so into server: /opt/CHROOT/HTTPD/WebSpherePlugin/
bin/mod_was_ap20_http.so: cannot open shared object file: No such
file or directory
The mod_was_ap20_http.so exists and it is in the /opt/CHROOT/HTTPD/
WebSpherePlugin/bin directory.
|
A couple of considerations:
1) As others point out, a compiled Apache 2.0 module will not load
into Apache 2.2.x. If IBM does not offer you a 2.2 version of the
module, you'll need to downgrade to 2.0.x in order to use what you
have. Alternatively, prod your IBM representative and tell them to
provide an Apache 2.2 version of the module. Apache 2.2 has been out
for eight months now.
2) Your path contains a 'CHROOT' portion which suggests that you run
chroot(1) in order to separate Apache from the rest of the file
system. You may have to change the absolute path to the module in
your configuration file to allow for the new / directory after chroot
(1).
Given that your error is a plain and simple 'No such file or
directory', I'd first look at number 2) above. However, once you
succeed in having Apache find the module, you will also run into 1).
Regards,
Sander
--
sctemme@apache.org http://www.temme.net/sander/
PGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE BC40 1529 24AF |
|
| Back to top |
|
 |
Alexander Lazic *nix forums addict
Joined: 31 May 2005
Posts: 58
|
Posted: Thu Jul 20, 2006 8:46 am Post subject:
Re: Apache 2.2.2 and WebSphere PlugIn
|
|
|
On Don 20.07.2006 10:19, Manuela.Vorazzo@ssb.it wrote:
| Quote: |
The permission bits for allthe plugin directory are 755.
I'm on Z/linux. But it is the same as in another suse linux version.
|
Is this the 64 or the 31 bit version?!
| Quote: | My question is if with a compiled apache (and then I don't load modules
dinamically and I've no modules loaded with Load Module) I can use the
LoadModule directive.
|
Yes if you have the same Bit version e.g.:
64 => 64 ok
31 => 31 ok
64 => 31 nok as i know.
| Quote: | If yes then probably then probably the WebSphere PlugIn was compiled
with some options that are not compatible with the ones I've used to
compile apache.
|
What say a file to the so-file and to the httpd-bin?
BTW: What does IBM mean to his issuse because they wan't to force the
Z/Linux therefore you could get help at this time from this vendor
;-)
Regards
Alex
---------------------------------------------------------------------
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 |
|
 |
Manuela.Vorazzo@ssb.it *nix forums beginner
Joined: 25 May 2006
Posts: 6
|
Posted: Thu Jul 20, 2006 8:19 am Post subject:
Re: Apache 2.2.2 and WebSphere PlugIn
|
|
|
The permission bits for allthe plugin directory are 755.
I'm on Z/linux. But it is the same as in another suse linux version.
My question is if with a compiled apache (and then I don't load modules
dinamically and I've no modules loaded with Load Module) I can use the
LoadModule directive.
If yes then probably then probably the WebSphere PlugIn was compiled with
some options that are not compatible with the ones I've used to compile
apache.
manuciao
Alexander Lazic <al-httpdusers@none.at>
20/07/2006 10.10
Please respond to
users@httpd.apache.org
To
users@httpd.apache.org
cc
Subject
Re: [users@httpd] Apache 2.2.2 and WebSphere PlugIn
On Don 20.07.2006 10:01, Manuela.Vorazzo@ssb.it wrote:
| Quote: | I'm using a Linux Suse 9.
I would like to use the plugin because it was written for balancing
throught WebSphere Application Server and I think that if I have a
WebSphere Application server on backend it would be better using its
plugin to reverse requests.
|
Ok thanks for explanation.
| Quote: | Alexander Lazic wrote:
On Don 20.07.2006 09:39, Manuela.Vorazzo@ssb.it wrote:
But now when I run the command 'apachectl -t' I get the following:
httpd: Syntax error on line 225 of
/opt/CHROOT/HTTPD-2.2.2/conf/httpd.conf: Cannot load
/opt/CHROOT/HTTPD/WebSpherePlugin/bin/mod_was_ap20_http.so into server:
/opt/CHROOT/HTTPD/WebSpherePlugin/bin/mod_was_ap20_http.so: cannot open
shared object file: No such file or directory
The mod_was_ap20_http.so exists and it is in the
/opt/CHROOT/HTTPD/WebSpherePlugin/bin directory.
Have you any idea????
Can the webserver user read the plugin && the config?
Is it right that you use a Linux-Distribution or do you use another OS?
|
How about this questions?!
Regards
Alex
---------------------------------------------------------------------
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 |
|
 |
Alexander Lazic *nix forums addict
Joined: 31 May 2005
Posts: 58
|
Posted: Thu Jul 20, 2006 8:10 am Post subject:
Re: Apache 2.2.2 and WebSphere PlugIn
|
|
|
On Don 20.07.2006 10:01, Manuela.Vorazzo@ssb.it wrote:
| Quote: | I'm using a Linux Suse 9.
I would like to use the plugin because it was written for balancing
throught WebSphere Application Server and I think that if I have a
WebSphere Application server on backend it would be better using its
plugin to reverse requests.
|
Ok thanks for explanation.
| Quote: | Alexander Lazic wrote:
On Don 20.07.2006 09:39, Manuela.Vorazzo@ssb.it wrote:
But now when I run the command 'apachectl -t' I get the following:
httpd: Syntax error on line 225 of
/opt/CHROOT/HTTPD-2.2.2/conf/httpd.conf: Cannot load
/opt/CHROOT/HTTPD/WebSpherePlugin/bin/mod_was_ap20_http.so into server:
/opt/CHROOT/HTTPD/WebSpherePlugin/bin/mod_was_ap20_http.so: cannot open
shared object file: No such file or directory
The mod_was_ap20_http.so exists and it is in the
/opt/CHROOT/HTTPD/WebSpherePlugin/bin directory.
Have you any idea????
Can the webserver user read the plugin && the config?
Is it right that you use a Linux-Distribution or do you use another OS?
|
How about this questions?!
Regards
Alex
---------------------------------------------------------------------
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 |
|
 |
Manuela.Vorazzo@ssb.it *nix forums beginner
Joined: 25 May 2006
Posts: 6
|
Posted: Thu Jul 20, 2006 8:01 am Post subject:
Re: Apache 2.2.2 and WebSphere PlugIn
|
|
|
I'm using a Linux Suse 9.
I would like to use the plugin because it was written for balancing
throught WebSphere Application Server and I think that if I have a
WebSphere Application server on backend it would be better using its
plugin to reverse requests.
For Tomcat I'm using proxy pass reverse.
manuciaoThanks
Alexander Lazic <al-httpdusers@none.at>
20/07/2006 09.52
Please respond to
users@httpd.apache.org
To
users@httpd.apache.org
cc
Subject
Re: [users@httpd] Apache 2.2.2 and WebSphere PlugIn
Hi,
On Don 20.07.2006 09:39, Manuela.Vorazzo@ssb.it wrote:
| Quote: |
I've compiled Apache 2.2.2 and now I would like to use apache with
websphere plugin to pass requests to a remore WebSphere Application
Server.
|
Do you really must use the plugin or can you use the proxy-balance
module?
What i mean is if the plugin is only a http-proxy-plugin why not use the
build in modules of apache ;-)
| Quote: | But now when I run the command 'apachectl -t' I get the following:
httpd: Syntax error on line 225 of
/opt/CHROOT/HTTPD-2.2.2/conf/httpd.conf: Cannot load
/opt/CHROOT/HTTPD/WebSpherePlugin/bin/mod_was_ap20_http.so into server:
/opt/CHROOT/HTTPD/WebSpherePlugin/bin/mod_was_ap20_http.so: cannot open
shared object file: No such file or directory
The mod_was_ap20_http.so exists and it is in the
/opt/CHROOT/HTTPD/WebSpherePlugin/bin directory.
Have you any idea????
|
Can the webserver user read the plugin && the config?
Is it right that you use a Linux-Distribution or do you use another OS?
Hth && Regards
Alex
---------------------------------------------------------------------
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 |
|
 |
Alexander Lazic *nix forums addict
Joined: 31 May 2005
Posts: 58
|
Posted: Thu Jul 20, 2006 7:52 am Post subject:
Re: Apache 2.2.2 and WebSphere PlugIn
|
|
|
Hi,
On Don 20.07.2006 09:39, Manuela.Vorazzo@ssb.it wrote:
| Quote: |
I've compiled Apache 2.2.2 and now I would like to use apache with
websphere plugin to pass requests to a remore WebSphere Application
Server.
|
Do you really must use the plugin or can you use the proxy-balance
module?
What i mean is if the plugin is only a http-proxy-plugin why not use the
build in modules of apache ;-)
| Quote: | But now when I run the command 'apachectl -t' I get the following:
httpd: Syntax error on line 225 of
/opt/CHROOT/HTTPD-2.2.2/conf/httpd.conf: Cannot load
/opt/CHROOT/HTTPD/WebSpherePlugin/bin/mod_was_ap20_http.so into server:
/opt/CHROOT/HTTPD/WebSpherePlugin/bin/mod_was_ap20_http.so: cannot open
shared object file: No such file or directory
The mod_was_ap20_http.so exists and it is in the
/opt/CHROOT/HTTPD/WebSpherePlugin/bin directory.
Have you any idea????
|
Can the webserver user read the plugin && the config?
Is it right that you use a Linux-Distribution or do you use another OS?
Hth && Regards
Alex
---------------------------------------------------------------------
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 |
|
 |
Manuela.Vorazzo@ssb.it *nix forums beginner
Joined: 25 May 2006
Posts: 6
|
Posted: Thu Jul 20, 2006 7:39 am Post subject:
Apache 2.2.2 and WebSphere PlugIn
|
|
|
I've compiled Apache 2.2.2 and now I would like to use apache with
websphere plugin to pass requests to a remore WebSphere Application
Server.
I installed and configured the plugin as written in the IBM guide and
everything is Ok.
I can find these two new lines in the httpd.conf:
LoadModule was_ap20_module
/opt/CHROOT/HTTPD/WebSpherePlugin/bin/mod_was_ap20_http.so
WebSpherePluginConfig
/opt/CHROOT/HTTPD/WebSpherePlugin/config/atmweb-ts-proxy/plugin-cfg.xml
But now when I run the command 'apachectl -t' I get the following:
httpd: Syntax error on line 225 of
/opt/CHROOT/HTTPD-2.2.2/conf/httpd.conf: Cannot load
/opt/CHROOT/HTTPD/WebSpherePlugin/bin/mod_was_ap20_http.so into server:
/opt/CHROOT/HTTPD/WebSpherePlugin/bin/mod_was_ap20_http.so: cannot open
shared object file: No such file or directory
The mod_was_ap20_http.so exists and it is in the
/opt/CHROOT/HTTPD/WebSpherePlugin/bin directory.
Have you any idea????
Please let me know, I would not like to install Ibm Http Server!
Thanks in advance
MANUCIAO |
|
| Back to top |
|
 |
Nes Yarug *nix forums beginner
Joined: 19 Jul 2006
Posts: 1
|
Posted: Wed Jul 19, 2006 7:55 pm Post subject:
balancer proxy with http and https
|
|
|
Hi,
I've been trying to configure Apache's balancer proxy, but have not had any
luck. I've been trying to configure a load balancing proxy that forwards
requests to 2 web servers. I want both http and https requests to be
forwarded.
I started with the following configuration in /etc/apache/httpd.conf:
ProxyPass /awstats !
ProxyPass /balancer-manager !
ProxyPass / balancer://mycluster/ stickysession=jsessionid
ProxyPreserveHost On
<Proxy balancer://mycluster/>
BalancerMember http://192.168.0.2:80
BalancerMember http://192.168.0.3:80
</Proxy>
This worked fine, but ofcourse not for https requests. I then removed the
above configuration from httpd.conf and placed it in the default vhost
configuration at /etc/apache2/vhosts.d/00_default_vhost.conf:
ProxyPass /awstats !
ProxyPass /balancer-manager !
ProxyPass / balancer://mycluster/ stickysession=jsessionid
ProxyPreserveHost On
<Proxy balancer://mycluster/>
BalancerMember http://192.168.0.2:80
BalancerMember http://192.168.0.3:80
</Proxy>
I then configured the default ssl virtual host simularly
(/etc/apache2/modules.d/41_mod_ssl.default-vhost.conf):
ProxyPass / balancer://mysslcluster/ stickysession=jsessionid
ProxyPreserveHost On
<Proxy balancer://mysslcluster/>
BalancerMember https://192.168.0.2:443
BalancerMember https://192.168.0.3:443
</Proxy>
But now I cannot get my requests to the balancer handled by one of the web
servers (i.e. the request is not forwarded). An http request is forwarded to
the web servers, but an https request is giving an Internal Server Error.
Can someone please comment on the above configuration and tell me what I'm
doing wrong?
Many thanks,
Nes |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|