【问题标题】:mod_was_ap22_http.so is not available on Websphere 9?mod_was_ap22_http.so 在 Websphere 9 上不可用?
【发布时间】:2023-03-13 23:25:02
【问题描述】:

我正在尝试将 IBM Http Server 集成到 Windows 服务器上的 WAS。 Websphere、IHS、Plugins,都是由安装管理器安装在同一台服务器上的,都是9和64位的。

然后我按照这个(https://geekflare.com/integrate-http-server-with-websphere-8-5/) 上的步骤开始我的集成,但是出现错误时:我在我的插件文件夹中找不到mod_was_ap22_http.so。我什么时候检查文件夹X:\IBM\WebSphere\Plugins\bin\64bitsD:\IBM\WebSphere\Plugins\bin\32bits,我看到mod_was_ap24_http.dllmod_was_ap22_http.dll,但没有看到我需要的.so。我也尝试在我的 httpd.conf 文件中使用mod_was_ap24_http.dll,但它不起作用,然后出现以下错误

The IBMHTTPServer9 service is successfully installed.
Testing httpd.conf....
Errors reported here must be corrected before the service can be started.
httpd: Syntax error on line 116 of X:/IBM/HTTPServer/conf/httpd.conf: Cannot loa
d X:/IBM/WebSphere/Plugins/bin/64bits/mod_was_ap24_http.dll into server: %1 \xa4
\xa3\xacO\xa6\xb3\xae\xc4\xaa\xba Win32 \xc0\xb3\xa5\xce\xb5{\xa6\xa1\xa1C

是不是我做错了什么?

【问题讨论】:

  • 库在windows(动态链接库)上被命名为dll,而不是这样命名是正确的。我不认为 IHS 在 Windows 上提供 64 位版本。你使用你的 IHS 安装是 64 位的吗?我怀疑你想加载 32 位版本。我的 v9 IHS httpd.conf 有以下配置:
  • LoadModule was_ap24_module "C:\IBM\WebSphere\Plugins\bin\32bits\mod_was_ap24_http.dll"
  • @BetsyRiggins 看起来你是对的,这条线确实有效。我还注意到他在他的帖子中说was_app22_module ,而你的帖子是was_ap24_module 。他的命令中有额外的“p”?
  • "was_app22_module" 永远不会在任何地方工作。我不太相信您在链接指南中阅读的内容。

标签: websphere ibmhttpserver


【解决方案1】:

本指南是为 Linux 编写的,而您使用的是 Windows。此外,该指南在配置文件中有拼写错误。我建议遵循官方文档并运行 PCT/WCT 而不是手动配置所有这些。

【讨论】:

    【解决方案2】:

    只需添加提到的模块:

    [root@172 bin]# 定位 mod_was_ap22_http.so

    前往地点:

    /opt/IBM/HTTPServer/conf

    vim http.conf

    (添加下面提到的模块)

    LoadModule was_ap22_module /opt/IBM/WebSphere/Plugins/bin/64bits/mod_was_ap22_http.so

    ./apachectl -k 开始

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2023-04-06
      • 1970-01-01
      • 2011-10-30
      • 1970-01-01
      • 2015-04-19
      • 2021-05-10
      • 2020-10-16
      相关资源
      最近更新 更多