我有一个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 Server2012 (64位)上安装了Oracle11g 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请帮我解决这个问题
发布于 2020-01-22 21:42:02
您安装了什么oracle客户端?
在我看来是这样的: 1.你没有安装任何客户端或多个客户端2.或者你没有正确的客户端(32/64版本) 3.在path变量中有错误的数据。(安装了多个客户端)
您能否回答上面的问题并复制/粘贴ORACLE_HOME和Path变量值?
您需要从oracle安装一个即时客户端:https://www.oracle.com/database/technologies/instant-client/downloads.html一个32/64位版本11g或12c,并添加到path变量: C:\app\client\yourUserName\product\12.2.0\client_1\bin
确保您没有安装任何其他客户端,并确保您是否必须从环境变量中删除它们。
https://stackoverflow.com/questions/59855954
复制相似问题