A problem encountered with a OGG 12.2.0.1, configured goldengate synchronization according to the previous Ogg configuration method, but encountered the following problems:
After the pump process starts Abend, the error is as follows:
2016-07-12 11:02:38 INFO OGG-00993 Oracle goldengate Capture for Oracle, Pmp_tc.prm:EXTRACT PMP_TC.
2016-07-12 11:02:40 INFO OGG-00987 Oracle goldengate command interpreter for ORACLE:GGSCI command (Oracle): INFO AL L.
2016-07-12 11:02:42 INFO OGG-00987 Oracle goldengate command interpreter for ORACLE:GGSCI command (Oracle): INFO AL L.
2016-07-12 11:02:43 INFO OGG-00987 Oracle goldengate command interpreter for ORACLE:GGSCI command (Oracle): INFO AL L.
2016-07-12 11:02:43 INFO OGG-01226 Oracle goldengate Capture for Oracle, pmp_tc.prm:Socket buffer size set to 27985 (Flush size 27985).
2016-07-12 11:02:43 WARNING OGG-06591 Oracle goldengate Capture for Oracle, pmp_tc.prm:Reading the output trail file/ opt/app/goldengate/dirdat/ld000000 encounters an error from position 0, rescan from the file header to recover.
2016-07-12 11:02:43 ERROR OGG-01031 Oracle goldengate Capture for Oracle, Pmp_tc.prm:There are a problem in Network C Ommunication, a remote file problem, encryption keys for target and source does not match (if using ENCRYPT) or a unknown E Rror. (Reply received is output file/opt/app/goldengate/dirdat/rd000000 isn't in any allowed Output directories.).
2016-07-12 11:02:43 ERROR OGG-01668 Oracle goldengate Capture for Oracle, Pmp_tc.prm:PROCESS abending.
It was later found that this is also 12.2 of the new features caused by the use of directories other than Dirdat, you need to add a parameter in the Globals file, 12.2 new parameters Allowoutputdir.
But there is a doubt, I use here is the Dirdat directory, why also not. A little puzzled, the previous 12.2 of the environmental configuration did not find this problem, looking for a long time also did not find the reason, can only be summed up as a bug, hope that the future can be doubts
After adding the following parameters to the Golbals file
allowoutputdir/opt/app/goldengate/dirdat/
Restart the target side Mgr, restart the source-side pump process, the synchronization is back to normal.