Hi,
When you start Pump process of Goldengate, you can get ” 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 “.
Details of error are as follows.
Source Context : SourceModule : [er.extrout] SourceID : [/scratch/jkrath/view_storage/jkrath_ogg12fbo/oggcore/OpenSys/src/app/er/extrout.c] SourceFunction : [complete_tcp_msg] SourceLine : [1957] 2020-01-23 09:31:18 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 /ggateb01/goldengate/product/19.1.0.0.4/dirdat/MSD/c1000000 is not in any allowed output directories.). 2020-01-23 09:31:18 ERROR OGG-01668 PROCESS ABENDING.
To solve this problem, add ALLOWOUTPUTDIR parameter to the GLOBALS file like following.
ALLOWOUTPUTDIR /ggateb01/goldengate/product/19.1.0.0.4/dirdat
GGSCI (SOURCE as GGS_ADMIN@SOURCEDB) 224> view params ./GLOBALS GGSCHEMA GGS_ADMIN19C ALLOWNONVALIDATEDKEYS ALLOWOUTPUTDIR /ggateb01/goldengate/product/19.1.0.0.4/dirdat
refresh or restart manager process, then problem will be solved.
GGSCI (SOURCE as GGS_ADMIN@SOURCEDB) 224> refresh mgr
Do you want to learn Oracle Goldengate, then read the following articles.
https://ittutorial.org/goldengate-tutorials-oracle-for-beginners/