OGG-01668: PROCESS ABENDING:新增DataPump程式時的一個錯誤
這種情況發生在,先使用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.
相關文章
- 新增redo日誌的時候,錯誤新增了一個節點的redo,怎麼辦?
- 編寫 SQL 程式碼時常犯的九個錯誤SQL
- 一個拖拉且錯誤的猜數字程式
- 測試程式碼時你會犯的 11 個錯誤
- 程式出錯時如何找到錯誤?
- 使用jstl時出現的一個錯誤,請指教!JS
- 第一個錯誤的版本
- mysql 一個錯誤MySql
- 程式設計師準備面試時常犯的10個錯誤程式設計師面試
- Go:錯誤 could not launch process: EOF 解決Go
- 配置Java環境變數時的一個常見錯誤Java變數
- Java程式設計師在寫SQL程式時候常犯的10個錯誤Java程式設計師SQL
- 上一個日誌的錯誤
- 22、listener的幾個錯誤程式碼
- SAP CRM中介軟體下載equipment時遇到的一個錯誤UI
- SAP Fiori應用發生超時錯誤的一個可能原因
- 學習用 Python 程式設計時要避免的 3 個錯誤Python程式設計
- Process Hacker一款功能強大的系統偵錯程式
- 使用Python時常見的9個錯誤Python
- 使用 Vue 3 時應避免的 10 個錯誤Vue
- 分享一個有意思的錯誤
- 一個ORA-604錯誤的分析
- EditableProTable 新增一行時,報錯“EditableProTable 新增一行時,報錯 Uncaught (in promise) Error: 請設定 recordCreatorProps.record 並返回一個唯一的key”PromiseError
- 一個debug應用程式出現執行時診測錯誤assert的問題 (轉)
- 在vue生命週期裡呼叫函式時犯的一個錯誤Vue函式
- windows上使用telnet時遇到的兩個錯誤Windows
- 程式設計師準備面試時常犯11個錯誤,切記!程式設計師面試
- 一個 ExpressionChangedAfterItHasBeenCheckedError 錯誤的解決過程ExpressError
- Redhat防火牆引起的一個NDB錯誤。Redhat防火牆
- samba一個錯誤的解決辦法!Samba
- leedcode-第一個錯誤的版本
- C++在寫靜態變數時容易犯的一個小錯誤C++變數
- 張小龍:用停留時長衡量一個APP的好壞是錯誤的!APP
- 使用代理時常見的錯誤程式碼有哪些?
- 正確理解PHP程式編譯時的錯誤資訊PHP編譯
- 記錄一次錯誤的使用當前時間new Date()引發的錯誤
- 程式設計開發中最浪費時間和資源的7個錯誤程式設計
- Java程式設計師常犯的10個錯誤Java程式設計師