【问题标题】:Oracle - Apache PL/SQL Gateway Module - mod_owa - access remote serverOracle - Apache PL/SQL 网关模块 - mod_owa - 访问远程服务器
【发布时间】:2014-08-06 15:03:03
【问题描述】:

我有一个使用 Vagrant 创建的 Ubuntu 13.10 虚拟机。这是一个使用 Oracle 11g 和 Oracle Fusion Middleware 11g 的远程应用程序的本地开发环境。

我想要做的是,将应用程序的代码存储库克隆到本地 VM 中,并通过托管应用程序的服务器 (DEV) “路由”在本地 VM 上发出的请求,所以我不需要在本地 VM 上安装数据库及其所有包和过程以及 Oracle 中间件。

我遇到了 Apache PL/SQL 网关模块 (https://oss.oracle.com/projects/mod_owa/dist/documentation/modowa.htm),它是 Oracle 中间件的替代品。

我已经在 VM 上安装并配置了 mod_owa,但是当我重新启动 Apache 时出现以下错误:

apache2: Syntax error on line 234 of /etc/apache2/apache2.conf: 
Syntax error on line 1 of /etc/apache2/conf.d/mod_owa.conf: 
Cannot load /usr/lib/apache2/modules/mod_owa.so into server: libclntsh.so.11.1: 
cannot open shared object file: No such file or directory 
Action 'configtest' failed.
The Apache error log may have more information.
...fail!

上面的错误让我觉得还是需要在VM上安装Oracle 11g。有没有办法绕过该错误并使用远程服务器(DEV)?

【问题讨论】:

    标签: apache plsql oracle11g middleware mod-plsql


    【解决方案1】:

    我迟到了,但是你需要在你的 apache 服务器上安装 Oracle 客户端。

    【讨论】:

      【解决方案2】:

      您需要具有 OCI(基本)的即时客户端:http://www.oracle.com/technetwork/database/features/instant-client/index-100365.html

      然后来简化你的运行环境:

      作为根: 在/etc/ld.so.conf.d下创建一个文件oracle.conf 该文件中的单行引用您的 oracle lib 目录(oracle 客户端主目录/lib)

      运行ldconfig

      你应该很高兴。

      【讨论】:

        猜你喜欢
        • 2017-06-16
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多