OGG-01668: PROCESS ABENDING:新增DataPump程序時的一個錯誤
阿新 • • 發佈:2019-02-19
這種情況發生在,先使用EXTRACT不使用資料泵直接同步資料到目標庫,進行一些DML操作後,
再新增DataPump程序,此時重新啟動PUMP和EXTRACT程序後,EXTRACT掛起。
GGSCI (bys001.oel.com) 2> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
EXTRACT RUNNING EXT1 00:00:00 00:00:01
EXTRACT ABENDED EXT3 00:00:00 00:08:29
EXTRACT RUNNING PUMP3 00:00:00 00:00:09
REPLICAT RUNNING REP2 00:00:00 00:00:02
GGSCI (bys001.oel.com) 3> exit
[oracle@bys001 ogg]$ tail -n 50 ggserr.log
2013-08-29 19:36:17 INFO OGG-00993 Oracle GoldenGate Capture for Oracle, ext3.prm: EXTRACT EXT3 started.
2013-08-29 19:36:17 ERROR OGG-01496 Oracle GoldenGate Capture for Oracle, ext3.prm:Failed to open target trail file /u01/ogg/dirdat/bt000000, at RBA 1271. ----無法鎖定檔案
2013-08-29 19:36:17 ERROR OGG-01668 Oracle GoldenGate Capture for Oracle, ext3.prm:PROCESS ABENDING. -----程序掛起
############################
從目標庫上將 /u01/ogg/dirdat/bt*複製到主庫,
[oracle@bys2 dirdat]$ scp bt00000* 192.168.1.211:/u01/ogg/dirdat/
重新啟動PUMP和EXTRACT程序後狀態及日誌:
[oracle@bys001 ogg]$ cd dirdat
[oracle@bys001 dirdat]$ ls -al bt00000*
-rw-r--r-- 1 oracle oinstall 1271 Aug 29 19:42 bt000000
-rw-r--r-- 1 oracle oinstall 1429 Aug 29 19:42 bt000001
[oracle@bys001 dirdat]$ cd ..
[oracle@bys001 ogg]$ ./ggsci
GGSCI (bys001.oel.com) 1> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
EXTRACT RUNNING EXT1 00:00:00 00:00:09
EXTRACT ABENDED EXT3 00:00:00 00:10:32
EXTRACT RUNNING PUMP3 00:00:00 00:00:01
REPLICAT RUNNING REP2 00:00:00 00:00:08
GGSCI (bys001.oel.com) 2> start ext3
Sending START request to MANAGER ...
EXTRACT EXT3 starting
GGSCI (bys001.oel.com) 3> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
EXTRACT RUNNING EXT1 00:00:00 00:00:05
EXTRACT RUNNING EXT3 00:10:53 00:00:01
EXTRACT RUNNING PUMP3 00:00:00 00:00:08
REPLICAT RUNNING REP2 00:00:00 00:00:05
日誌:
2013-08-29 19:42:10 INFO OGG-01054 Oracle GoldenGate Capture for Oracle, pump3.prm: Recovery completed for target file /u01/ogg/dirdat/bt000001, at RBA 1429, CSN 1357929.
2013-08-29 19:42:10 INFO OGG-01057 Oracle GoldenGate Capture for Oracle, pump3.prm: Recovery completed for all targets.
2013-08-29 19:43:09 INFO OGG-00987 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): start ext3.
2013-08-29 19:43:09 INFO OGG-00963 Oracle GoldenGate Manager for Oracle, mgr.prm: Command received from GGSCI on host bys001.oel.com (START EXTRACT EXT3 ).
2013-08-29 19:43:09 INFO OGG-00975 Oracle GoldenGate Manager for Oracle, mgr.prm: EXTRACT EXT3 starting.
2013-08-29 19:43:09 INFO OGG-00992 Oracle GoldenGate Capture for Oracle, ext3.prm: EXTRACT EXT3 starting.
2013-08-29 19:43:09 INFO OGG-03035 Oracle GoldenGate Capture for Oracle, ext3.prm: Operating system character set identified as UTF-8. Locale: en_US, LC_ALL:.
2013-08-29 19:43:09 INFO OGG-03500 Oracle GoldenGate Capture for Oracle, ext3.prm: WARNING: NLS_LANG environment variable does not match database character set, or not set. Using database character set value of AL32UTF8.
2013-08-29 19:43:09 INFO OGG-01815 Oracle GoldenGate Capture for Oracle, ext3.prm: Virtual Memory Facilities for: BR
anon alloc: mmap(MAP_ANON) anon free: munmap
file alloc: mmap(MAP_SHARED) file free: munmap
target directories:
/u01/ogg/BR/EXT3.
2013-08-29 19:43:09 INFO OGG-01815 Oracle GoldenGate Capture for Oracle, ext3.prm: Virtual Memory Facilities for: COM
anon alloc: mmap(MAP_ANON) anon free: munmap
file alloc: mmap(MAP_SHARED) file free: munmap
target directories:
/u01/ogg/dirtmp.
2013-08-29 19:43:10 INFO OGG-01513 Oracle GoldenGate Capture for Oracle, ext3.prm: Positioning to Sequence 30, RBA 28416528, SCN 0.1364598.
2013-08-29 19:43:10 INFO OGG-01516 Oracle GoldenGate Capture for Oracle, ext3.prm: Positioned to Sequence 30, RBA 28416528, SCN 0.1364598, Aug 29, 2013 7:32:11 PM.
2013-08-29 19:43:10 INFO OGG-00993 Oracle GoldenGate Capture for Oracle, ext3.prm: EXTRACT EXT3 started.
2013-08-29 19:43:10 INFO OGG-01056 Oracle GoldenGate Capture for Oracle, ext3.prm:Recovery initialization completed for target file /u01/ogg/dirdat/bt000001, at RBA 1429, CSN 1357929.
2013-08-29 19:43:10 INFO OGG-01478 Oracle GoldenGate Capture for Oracle, ext3.prm: Output file /u01/ogg/dirdat/bt is using format RELEASE 11.2.
2013-08-29 19:43:10 INFO OGG-01026 Oracle GoldenGate Capture for Oracle, ext3.prm: Rolling over remote file /u01/ogg/dirdat/bt000001.
2013-08-29 19:43:10 INFO OGG-01517 Oracle GoldenGate Capture for Oracle, ext3.prm: Position of first record processed Sequence 30, RBA 28416528, SCN 0.1364598, Aug 29, 2013 7:32:11 PM.
再新增DataPump程序,此時重新啟動PUMP和EXTRACT程序後,EXTRACT掛起。
GGSCI (bys001.oel.com) 2> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
EXTRACT RUNNING EXT1 00:00:00 00:00:01
EXTRACT ABENDED EXT3 00:00:00 00:08:29
EXTRACT RUNNING PUMP3 00:00:00 00:00:09
REPLICAT RUNNING REP2 00:00:00 00:00:02
GGSCI (bys001.oel.com) 3> exit
[oracle@bys001 ogg]$ tail -n 50 ggserr.log
2013-08-29 19:36:17 INFO OGG-00993 Oracle GoldenGate Capture for Oracle, ext3.prm: EXTRACT EXT3 started.
2013-08-29 19:36:17 ERROR OGG-01496 Oracle GoldenGate Capture for Oracle, ext3.prm:Failed to open target trail file /u01/ogg/dirdat/bt000000, at RBA 1271.
2013-08-29 19:36:17 ERROR OGG-01668 Oracle GoldenGate Capture for Oracle, ext3.prm:PROCESS ABENDING. -----程序掛起
############################
從目標庫上將 /u01/ogg/dirdat/bt*複製到主庫,
[oracle@bys2 dirdat]$ scp bt00000* 192.168.1.211:/u01/ogg/dirdat/
重新啟動PUMP和EXTRACT程序後狀態及日誌:
[oracle@bys001 ogg]$ cd dirdat
[oracle@bys001 dirdat]$ ls -al bt00000*
-rw-r--r-- 1 oracle oinstall 1271 Aug 29 19:42 bt000000
-rw-r--r-- 1 oracle oinstall 1429 Aug 29 19:42 bt000001
[oracle@bys001 dirdat]$ cd ..
[oracle@bys001 ogg]$ ./ggsci
GGSCI (bys001.oel.com) 1> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
EXTRACT RUNNING EXT1 00:00:00 00:00:09
EXTRACT ABENDED EXT3 00:00:00 00:10:32
EXTRACT RUNNING PUMP3 00:00:00 00:00:01
REPLICAT RUNNING REP2 00:00:00 00:00:08
GGSCI (bys001.oel.com) 2> start ext3
Sending START request to MANAGER ...
EXTRACT EXT3 starting
GGSCI (bys001.oel.com) 3> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
EXTRACT RUNNING EXT1 00:00:00 00:00:05
EXTRACT RUNNING EXT3 00:10:53 00:00:01
EXTRACT RUNNING PUMP3 00:00:00 00:00:08
REPLICAT RUNNING REP2 00:00:00 00:00:05
日誌:
2013-08-29 19:42:10 INFO OGG-01054 Oracle GoldenGate Capture for Oracle, pump3.prm: Recovery completed for target file /u01/ogg/dirdat/bt000001, at RBA 1429, CSN 1357929.
2013-08-29 19:42:10 INFO OGG-01057 Oracle GoldenGate Capture for Oracle, pump3.prm: Recovery completed for all targets.
2013-08-29 19:43:09 INFO OGG-00987 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): start ext3.
2013-08-29 19:43:09 INFO OGG-00963 Oracle GoldenGate Manager for Oracle, mgr.prm: Command received from GGSCI on host bys001.oel.com (START EXTRACT EXT3 ).
2013-08-29 19:43:09 INFO OGG-00975 Oracle GoldenGate Manager for Oracle, mgr.prm: EXTRACT EXT3 starting.
2013-08-29 19:43:09 INFO OGG-00992 Oracle GoldenGate Capture for Oracle, ext3.prm: EXTRACT EXT3 starting.
2013-08-29 19:43:09 INFO OGG-03035 Oracle GoldenGate Capture for Oracle, ext3.prm: Operating system character set identified as UTF-8. Locale: en_US, LC_ALL:.
2013-08-29 19:43:09 INFO OGG-03500 Oracle GoldenGate Capture for Oracle, ext3.prm: WARNING: NLS_LANG environment variable does not match database character set, or not set. Using database character set value of AL32UTF8.
2013-08-29 19:43:09 INFO OGG-01815 Oracle GoldenGate Capture for Oracle, ext3.prm: Virtual Memory Facilities for: BR
anon alloc: mmap(MAP_ANON) anon free: munmap
file alloc: mmap(MAP_SHARED) file free: munmap
target directories:
/u01/ogg/BR/EXT3.
2013-08-29 19:43:09 INFO OGG-01815 Oracle GoldenGate Capture for Oracle, ext3.prm: Virtual Memory Facilities for: COM
anon alloc: mmap(MAP_ANON) anon free: munmap
file alloc: mmap(MAP_SHARED) file free: munmap
target directories:
/u01/ogg/dirtmp.
2013-08-29 19:43:10 INFO OGG-01513 Oracle GoldenGate Capture for Oracle, ext3.prm: Positioning to Sequence 30, RBA 28416528, SCN 0.1364598.
2013-08-29 19:43:10 INFO OGG-01516 Oracle GoldenGate Capture for Oracle, ext3.prm: Positioned to Sequence 30, RBA 28416528, SCN 0.1364598, Aug 29, 2013 7:32:11 PM.
2013-08-29 19:43:10 INFO OGG-00993 Oracle GoldenGate Capture for Oracle, ext3.prm: EXTRACT EXT3 started.
2013-08-29 19:43:10 INFO OGG-01056 Oracle GoldenGate Capture for Oracle, ext3.prm:Recovery initialization completed for target file /u01/ogg/dirdat/bt000001, at RBA 1429, CSN 1357929.
2013-08-29 19:43:10 INFO OGG-01478 Oracle GoldenGate Capture for Oracle, ext3.prm: Output file /u01/ogg/dirdat/bt is using format RELEASE 11.2.
2013-08-29 19:43:10 INFO OGG-01026 Oracle GoldenGate Capture for Oracle, ext3.prm: Rolling over remote file /u01/ogg/dirdat/bt000001.
2013-08-29 19:43:10 INFO OGG-01517 Oracle GoldenGate Capture for Oracle, ext3.prm: Position of first record processed Sequence 30, RBA 28416528, SCN 0.1364598, Aug 29, 2013 7:32:11 PM.