【问题标题】:Performance Center 12.00 - Error on lrd_initialize_dbPerformance Center 12.00 - lrd_initialize_db 上的错误
【发布时间】:2020-05-08 09:22:53
【问题描述】:

我有一个 Vugen 脚本在 lrd_initialize_db 失败并给出以下错误:

Action.c(5): lrd.c/fjInitDB: None of the library combinations specified in section [ORACLE_WINNT] in the "lrd.ini" file could be loaded.  Initializing for ORACLE failed
Action.c(5): lrd_initialize_db: ERROR, return-code=LRDE2015

我在 Performance Center 12.00 上运行此脚本。我已经在 Windows Server 2012(64 位)(控制器和负载生成器)上安装了 Oracle 11g R2。 下面是我设置的环境变量:

ORACLE_HOME: C:\app\<user>\product\11.2.0\dbhome_2

PATH: added C:\app\srvgro-perfmon\product\11.2.0\dbhome_2\BIN

我已验证仅安装了一个 Oracle 客户端。使用 Vugen 运行时,该脚本似乎可以在 lg/controller 服务器上本地运行。

以下是 lrd.ini 文件的内容

[ORACLE_WINNT]
805=lrdo32.dll+ora805.dll
816=lrdo32.dll+oci.dll
815=lrdo32.dll+oraclient8.dll
804=lrdo32.dll+ora804.dll
803=lrdo32.dll+ora803.dll
73=lrdo32.dll+ora73.dll
72=lrdo32.dll+ora72.dll
71=lrdo32.dll+orant71.dll
1100=lrdo32.dll+oraclient11.dll

下面是lrd.log文件

lrd.c (24348):  lrd.c/fjInitDB: Cannot load the ORACLE library (DLL), "ora805.dll", specified after a "+"  in the "805" entry in section [ORACLE_WINNT] in the "lrd.ini" file.  - The specified module could not be found.

Processing continues

lrd.c (24348):  lrd.c/fjInitDB: Cannot load the ORACLE library (DLL), "oci.dll", specified after a "+"  in the "816" entry in section [ORACLE_WINNT] in the "lrd.ini" file.  - (null)Processing continues
lrd.c (24348):  lrd.c/fjInitDB: Cannot load the ORACLE library (DLL), "oraclient8.dll", specified after a "+"  in the "815" entry in section [ORACLE_WINNT] in the "lrd.ini" file.  - The specified module could not be found.

Processing continues
lrd.c (24348):  lrd.c/fjInitDB: Cannot load the ORACLE library (DLL), "ora804.dll", specified after a "+"  in the "804" entry in section [ORACLE_WINNT] in the "lrd.ini" file.  - The specified module could not be found.

Processing continues
lrd.c (24348):  lrd.c/fjInitDB: Cannot load the ORACLE library (DLL), "ora803.dll", specified after a "+"  in the "803" entry in section [ORACLE_WINNT] in the "lrd.ini" file.  - The specified module could not be found.

Processing continues
lrd.c (24348):  lrd.c/fjInitDB: Cannot load the ORACLE library (DLL), "ora73.dll", specified after a "+"  in the "73" entry in section [ORACLE_WINNT] in the "lrd.ini" file.  - The specified module could not be found.

Processing continues
lrd.c (24348):  lrd.c/fjInitDB: Cannot load the ORACLE library (DLL), "ora72.dll", specified after a "+"  in the "72" entry in section [ORACLE_WINNT] in the "lrd.ini" file.  - The specified module could not be found.

Processing continues
lrd.c (24348):  lrd.c/fjInitDB: Cannot load the ORACLE library (DLL), "orant71.dll", specified after a "+"  in the "71" entry in section [ORACLE_WINNT] in the "lrd.ini" file.  - The specified module could not be found.

Processing continues
lrd.c (24348):  lrd.c/fjInitDB: Cannot load the ORACLE library (DLL), "oraclient11.dll", specified after a "+"  in the "1100" entry in section [ORACLE_WINNT] in the "lrd.ini" file.  - (null)Processing continues
lrd.c (24348):  lrd.c/fjInitDB: None of the library combinations specified in section [ORACLE_WINNT] in the "lrd.ini" file could be loaded.  Initializing for ORACLE failed

请帮我解决这个问题

【问题讨论】:

    标签: oracle oracle11g performance-testing loadrunner vugen


    【解决方案1】:

    你安装了什么oracle客户端?

    在我看来是这样的: 1.您没有安装任何客户端或多个客户端 2. 或者你没有合适的(32/64 版本) 3.路径变量中有错误的数据。 (安装了多个客户端)

    您能否回答上述问题并复制/粘贴 ORACLE_HOME 和 Path 变量值?

    您需要从 oracle 安装一个即时客户端: https://www.oracle.com/database/technologies/instant-client/downloads.html 32/64 位版本 11g 或 12c 并添加到路径变量: C:\app\client\yourUserName\product\12.2.0\client_1\bin

    确保您没有安装任何其他客户端,并确保是否必须从环境变量中删除它们。

    【讨论】:

    • 这应该作为评论发布。这不是问题的答案。
    • 我无法直接对帖子发表评论...我没有 50 声望。我试图帮助解决问题,但我需要答案......这是问题的答案,问题是“已安装的客户端”,但为了帮助解决它,我需要额外的数据。
    • Undestoof 但将 cmets 作为答案发布对其他用户来说会适得其反。
    • 考虑到问题的性质,这对我来说似乎是一个完美的答案
    • 我已经用更多细节更新了这个问题。请再过一遍。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-08-31
    • 1970-01-01
    • 1970-01-01
    • 2016-02-01
    • 1970-01-01
    • 2018-07-31
    • 1970-01-01
    相关资源
    最近更新 更多