Performance Center 12.00 — ошибка в lrd_initialize_db

У меня есть скрипт 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. Я установил Oracle 11g R2 на Windows Server 2012 (64-разрядная версия) (как контроллер, так и генератор нагрузки). Ниже приведены переменные среды, которые я установил:

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. Сценарий работает локально на сервере lg/controller при запуске с помощью Vugen.

Ниже приведено содержимое файла 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

Пожалуйста, помогите мне исправить это


person Aayush Pathak    schedule 22.01.2020    source источник


Ответы (1)


Какой клиент оракула у вас установлен?

Мне кажется, что: 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\клиент_1\бин

Убедитесь, что у вас не установлен какой-либо другой клиент, и убедитесь, что вам нужно удалить их из переменных среды.

person FlorinMF    schedule 22.01.2020
comment
Скорее это должно быть опубликовано в виде комментария. Это не ответ на вопрос. - person Jaques; 22.01.2020
comment
Я не могу напрямую комментировать пост... У меня нет репутации 50. Я пытался помочь решить проблему, но мне нужны ответы... и это ответ на вопрос, проблема в установленном клиенте, но чтобы исправить это, мне нужны дополнительные данные. - person FlorinMF; 22.01.2020
comment
Undestoof, но другим пользователям нецелесообразно публиковать комментарии в качестве ответов. - person Jaques; 22.01.2020
comment
Кажется, это прекрасный ответ для меня, учитывая характер вопроса - person James Pulley; 22.01.2020
comment
Я обновил вопрос с более подробной информацией. Пожалуйста, пройдите еще раз. - person Aayush Pathak; 11.02.2020
comment
Привет. Можете ли вы скопировать и вставить сюда все значения переменной пути? - person FlorinMF; 12.02.2020
comment
Вот все записи PATH: C:\app\srvgro-perfmon\product\11.2.0\dbhome_2\bin;C:\Program Files\EMC NetWorker\nsr\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\PCHost\bin; - person Aayush Pathak; 13.02.2020
comment
вы можете изменить это C:\app\srvgro-perfmon\product\11.2.0\dbhome_2\bin на это: C:\app\srvgro-perfmon\product\11.2.0\dbhome_1\bin - person FlorinMF; 14.02.2020
comment
Приложение не находит dll, потому что один из путей неверный. Вы должны точно проверить путь клиента и скопировать и вставить его как в PATH, так и в ORACLE_HOME, чтобы они были одинаковыми. Сколько раз вы устанавливали Oracle? в пути я вижу, что у вас есть dbhome_2, и это означает, что вы установили его дважды? измените переменную пути, чтобы она указывала на dbhome_2, и то же самое с домашней переменной оракула. - person FlorinMF; 18.02.2020
comment
dbhome_1 была более ранней установкой Oracle, которая была удалена (папка больше не существует). Я попытался изменить все переменные dbhome_2 (ORACLE_HOME и PATH), и это не решило проблему. Поправлю вопрос (где написано dbhome_1). - person Aayush Pathak; 19.02.2020