powered by simpleCommunicator - 2.0.61     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / Oracle [игнор отключен] [закрыт для гостей] / GoldenGate pump error OGG-06591, OGG-01031
4 сообщений из 4, страница 1 из 1
GoldenGate pump error OGG-06591, OGG-01031
    #39448234
askkas
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Доброго всем!
Столкнулся с проблемой при настройке Oracle Golden Gate, которая никак не хочет решаться на разных машинах. Перечитал доки Golden Gate Administration Guide , сделал как написано - не помогло.

Суть проблемы:
Все запускается на 1 локальной машинке, дабы найти суть проблемы. (На 2х машинках такая же ситуация)
Windows Server 2008R2 x64

1. Extract Настроен, работает, LT* файлики создаются.
2. Replicat Настроен, работает, RT* файлики собирает и вносит изменения в базу. (Только в том случае, когда копирование LT в RT происходит вручную)
3. PUMP никак не хочет стартовать, выдает одну и ту же ошибку, по которой максимум что советуют в интернете, так это использовать параметр ALLOWOUTPUTDIR , но не
помогает.

Настройки:
Код: plaintext
1.
2.
3.
4.
5.
EXTRACT PUMPPLZ
USERID gg_admin@***, password ***
RMTHOST 10.***.***.*** MGRPORT 7809
RMTTRAIL o:\Oracle\GG\RT
TABLE test.gg_table;


Лог завершается одним и тем же (особенно радует "unknown error."):

Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
Database Language and Character Set:
NLS_LANGUAGE     = "AMERICAN" 
NLS_TERRITORY    = "AMERICA" 
NLS_CHARACTERSET = "CL8MSWIN1251" 

2017-05-03 22:17:58  INFO    OGG-02243  Opened trail file o:\Oracle\GG\LT000000000 at 2017-05-03 22:17:58.281000.

2017-05-03 22:17:58  WARNING OGG-01015  Positioning with begin time: 03.05.2017 22:16:29, waiting for data: at extseqno 0, extrba 0.

2017-05-03 22:18:03  INFO    OGG-01226  Socket buffer size set to 27985 (flush size 27985).

2017-05-03 22:18:03  WARNING OGG-06591  Reading the output trail file o:\Oracle\GG\RT000000 encounters an error from position 0, rescan from the file header to recover.

Source Context :
  SourceModule            : [er.extrout]
 SourceID                : [er/extrout.c]
  SourceFunction          : [complete_tcp_msg]
  SourceLine              : [1945]
  ThreadBacktrace         : [16] elements
                          : [k:\Oracle\product\GG\gglog.dll(??1CContextItem@@UEAA@XZ+0x2a76) [0x000007FEEEE5E986]]
                          : [k:\Oracle\product\GG\gglog.dll(?CreateMessage@CMessageFactory@@QEAAPEAVCMessage@@PEAVCSourceContext@@IZZ+0x561) [0x000007FEEEE5EFD1]]
                          : [k:\Oracle\product\GG\gglog.dll(?_MSG_ERR_ER_REMOTE_COMM_PROBLEM@@YAPEAVCMessage@@PEAVCSourceContext@@PEBDW4MessageDisposition@CMessageFactory@@@Z+0x3d) [0x000007FEEEDFD40D]]
                          : [k:\Oracle\product\GG\extract.exe(<exe) [0x000000013F27C6EB]]
                          : [k:\Oracle\product\GG\extract.exe(<exe) [0x000000013F27CBAE]]
                          : [k:\Oracle\product\GG\extract.exe(ERCALLBACK+0x44882) [0x000000013F2FD2B2]]
                          : [k:\Oracle\product\GG\extract.exe(ERCALLBACK+0x44d61) [0x000000013F2FD791]]
                          : [k:\Oracle\product\GG\extract.exe(ERCALLBACK+0x4678c) [0x000000013F2FF1BC]]
                          : [k:\Oracle\product\GG\extract.exe(ERCALLBACK+0x430cc) [0x000000013F2FBAFC]]
                          : [k:\Oracle\product\GG\extract.exe(_ggTryDebugHook+0xa0c3) [0x000000013F3F6AE3]]
                          : [k:\Oracle\product\GG\extract.exe(_ggTryDebugHook+0x946b) [0x000000013F3F5E8B]]
                          : [k:\Oracle\product\GG\extract.exe(_ggTryDebugHook+0x9f68) [0x000000013F3F6988]]
                          : [k:\Oracle\product\GG\extract.exe(ERCALLBACK+0x4342b) [0x000000013F2FBE5B]]
                          : [k:\Oracle\product\GG\extract.exe(CommonLexerNewSSD+0xef32) [0x000000013F623062]]
                          : [C:\Windows\system32\kernel32.dll(BaseThreadInitThunk+0xd) [0x00000000778C59CD]]
                          : [C:\Windows\SYSTEM32\ntdll.dll(RtlUserThreadStart+0x21) [0x0000000077AFA561]]

2017-05-03 22:18:03  ERROR   OGG-01031  There is a problem in network communication, a remote file problem, encryption keys for target and source do not match (if using ENCRYPT) or an unknown error. (Reply received is Output file o:\Oracle\GG\RT000000 is not in any allowed output directories.).



Кто сталкивался с похожей проблемой, прошу помощи, на что обратить внимание ?!
...
Рейтинг: 0 / 0
GoldenGate pump error OGG-06591, OGG-01031
    #39448270
orac_list
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
askkas,

OGG-01031 There is a problem in network communication. Reply received is Output file is not in any allowed output directories. (Doc ID 2095284.1)
...
Рейтинг: 0 / 0
GoldenGate pump error OGG-06591, OGG-01031
    #39448294
orac_list
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
CAUSE

A new parameter is introduced in the Oracle GoldenGate 12.2 version ALLOWOUTPUTDIR. This parameter should be used in the ./GLOBALS parameter file. Failing to use it will encounter the error in the pump process at the Source

2015-12-11 21:48:42 ERROR OGG-01031 There is a problem in network communication, a remote file problem, encryption keys for target and source do not match (if using ENCRYPT) or an unknown error. (Reply received is Output file /orabackup/NEWGG/dirdat/pa000000 is not in any allowed output directories.).

2015-12-11 21:48:42 ERROR OGG-01668 PROCESS ABENDING.

In Oracle GoldenGate 12.2 version, we need to use the parameter ALLOWOUTPUTDIR in the ./GLOBALS parameter file. With this parameter, we can authorize GoldenGate to use the particular directory to store the trail files.
Please check the below document link.,

https://docs.oracle.com/goldengate/c1221/gg-winux/GWURF/gg_parameters007.htm#GWURF1251


SOLUTION

In Oracle GoldenGate 12.2 version, we need to use the parameter ALLOWOUTPUTDIR in the ./GLOBALS parameter file. With this parameter, we can authorize GoldenGate to use the particular directory to store the trail files.
Please check the below document link.,

https://docs.oracle.com/goldengate/c1221/gg-winux/GWURF/gg_parameters007.htm#GWURF1251

Please find the below Action Plan
==========================

1. Stop the Manager, Replicat processes in the target.
2. Edit the ./GLOBALS parameter with the below command

GGSCI> EDIT PARAMS ./GLOBALS

3. Add the parameter ALLOWOUTPUTDIR with path to the output trail file directory and save it.

Example ALLOWOUTPUTDIR [relative_dir_name | absolute_dir_name]


4. Exit from the GGSCI prompt.
5. Enter the GGSCI prompt
6. Login using the dblogin command.
7. Start the Manager and Replicat processes.



This is case sensitive for Windows and driver letter should match exactly as is, for example:

this will not work on windows and same OGG-01031 will happen:

ALLOWOUTPUTDIR C:\ogg_12c

it should be

ALLOWOUTPUTDIR c:\ogg_12c



Note:

The Parameter is also available in 11.2.1.0.31 and above.The Parameter is also available from 12.1.2.1.10 and above.
...
Рейтинг: 0 / 0
GoldenGate pump error OGG-06591, OGG-01031
    #39448605
askkas
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
orac_list
This is case sensitive for Windows and driver letter should match exactly as is, for example:

this will not work on windows and same OGG-01031 will happen:

ALLOWOUTPUTDIR C:\ogg_12c

it should be

ALLOWOUTPUTDIR c:\ogg_12c




Огромное спасибо! Получилось!

Ньюансы следующие:

1. edit params PUMP - в нем директория должна быть прописана маленькими буквами

2. ALLOWOUTPUTDIR C:\ogg_12c - не работает, ALLOWOUTPUTDIR c:\ogg_12c\ - не работает, ALLOWOUTPUTDIR с:\ogg_12c Работает!!! Т.е. без слеша на конце и маленькими буквами
...
Рейтинг: 0 / 0
4 сообщений из 4, страница 1 из 1
Форумы / Oracle [игнор отключен] [закрыт для гостей] / GoldenGate pump error OGG-06591, OGG-01031
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]