oracle 11.2.0.4 ogg 12.3.0.1.0備庫rep程式啟動報錯OGG-00446
主備作業系統:rhel 6.6
資料庫版本:oracle 11.2.0.4
ogg版本:12.3.0.1.0
今天教一新手使用oracle 11.2.0.4 ogg 12.3.0.1.0做資料同步,其部署過程不規範,備庫未對goldengate使用者做checkpoint表,導致備庫的引用程式啟動不了。
備庫rep_hr程式的引數及狀態如下:
rep_hr的引數:
GGSCI (ZB as goldengate@ora) 50> view param rep_hr
--eplicat group --
replicat rep_hr
SETENV (NLS_LANG=AMERICAN_AMERICA.ZHS16GBK)
--source and target definitions
ASSUMETARGETDEFS
HANDLECOLLISIONS
--target database login --
userid GOLDENGATE, password oracle
--file for dicarded transaction --
discardfile /u01/app/oracle/OGG/product/dirdat/rep_hr_discard.txt, append, megabytes 10
--ddl support DDL--
DDL INCLUDE ALL
DDLERROR DEFAULT IGNORE RETRYOP
--Specify table mapping ---
MAP hr.*,TARGET hr.t;
rep_hr的狀態
GGSCI (ZB as goldengate@ora) 43> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
REPLICAT STOPPED REP_HR 00:00:00 00:11:10
GGSCI (ZB as goldengate@ora) 26> info rep_hr
REPLICAT REP_HR Initialized 2017-10-29 19:18 Status STOPPED
Checkpoint Lag 00:00:00 (updated 00:09:29 ago)
Log Read Checkpoint File /u01/app/oracle/OGG/product/dirdat/et000000000
First Record RBA 0
GGSCI (ZB as goldengate@ora) 27>
rep_hr啟動報錯資訊如下:
2017-10-29T19:40:39.927+0800 INFO OGG-00987 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): start rep_hr.
2017-10-29T19:40:39.931+0800 INFO OGG-00963 Oracle GoldenGate Manager for Oracle, mgr.prm: Command received from GGSCI on host [192.168.21.129]:27254 (START REPLICAT REP_HR ).
2017-10-29T19:40:39.933+0800 INFO OGG-00975 Oracle GoldenGate Manager for Oracle, mgr.prm: REPLICAT REP_HR starting.
2017-10-29T19:40:40.275+0800 INFO OGG-00995 Oracle GoldenGate Delivery for Oracle, rep_hr.prm: REPLICAT REP_HR starting.
2017-10-29T19:40:40.280+0800 WARNING OGG-02904 Oracle GoldenGate Delivery for Oracle, rep_hr.prm: Replication of PARTIAL XML containing NCHAR/NVARCHAR/NCLOB data may cause divergence.
2017-10-29T19:40:40.280+0800 INFO OGG-03059 Oracle GoldenGate Delivery for Oracle, rep_hr.prm: Operating system character set identified as US-ASCII.
2017-10-29T19:40:40.282+0800 INFO OGG-02695 Oracle GoldenGate Delivery for Oracle, rep_hr.prm: ANSI SQL parameter syntax is used for parameter parsing.
2017-10-29T19:40:40.284+0800 INFO OGG-02095 Oracle GoldenGate Delivery for Oracle, rep_hr.prm: Successfully set environment variable NLS_LANG=AMERICAN_AMERICA.ZHS16GBK.
2017-10-29T19:40:41.443+0800 INFO OGG-06451 Oracle GoldenGate Delivery for Oracle, rep_hr.prm: Triggers will be suppressed by default.
2017-10-29T19:40:41.466+0800 INFO OGG-01815 Oracle GoldenGate Delivery for Oracle, rep_hr.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/app/oracle/OGG/product/dirtmp.
2017-10-29T19:40:41.490+0800 INFO OGG-06604 Oracle GoldenGate Delivery for Oracle, rep_hr.prm: Database ORA CPU info: CPU Count 4, CPU Core Count 4, CPU Socket Count 2.
2017-10-29T19:40:41.511+0800 ERROR OGG-00446 Oracle GoldenGate Delivery for Oracle, rep_hr.prm: Checkpoint table GOLDENGATE.checkpoint does not exist. Create this table with the ADD CHECKPOINTTABLE command.
2017-10-29T19:40:41.511+0800 ERROR OGG-01668 Oracle GoldenGate Delivery for Oracle, rep_hr.prm: PROCESS ABENDING.
2017-10-29T19:41:23.633+0800 INFO OGG-00987 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): ADD CHECKPOINTTABLE.
2017-10-29T19:48:16.623+0800 INFO OGG-00987 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): ADD CHECKPOINTTABLE goldengate.checkpoint.
2017-10-29T19:48:33.225+0800 INFO OGG-00987 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): start rep_hr.
2017-10-29T19:48:33.239+0800 INFO OGG-00963 Oracle GoldenGate Manager for Oracle, mgr.prm: Command received from GGSCI on host [192.168.21.129]:27445 (START REPLICAT REP_HR ).
ERROR OGG-00446在初始化中出現的解決方法報錯資訊已經提到,處理過程如下:
GGSCI (ZB as goldengate@ora) 45> start rep_hr
Sending START request to MANAGER ...
REPLICAT REP_HR starting
GGSCI (ZB as goldengate@ora) 46> ADD CHECKPOINTTABLE
ERROR: Missing checkpoint table specification.
GGSCI (ZB as goldengate@ora) 47> ADD CHECKPOINTTABLE goldengate.checkpoint
Successfully created checkpoint table goldengate.checkpoint.
GGSCI (ZB as goldengate@ora) 48> start rep_hr
Sending START request to MANAGER ...
REPLICAT REP_HR starting
GGSCI (ZB as goldengate@ora) 49> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
REPLICAT RUNNING REP_HR 00:00:00 00:00:00
GGSCI (ZB as goldengate@ora) 50>
GGSCI (ZB as goldengate@ora) 45> start rep_hr
Sending START request to MANAGER ...
REPLICAT REP_HR starting
GGSCI (ZB as goldengate@ora) 46> ADD CHECKPOINTTABLE
ERROR: Missing checkpoint table specification.
GGSCI (ZB as goldengate@ora) 47> ADD CHECKPOINTTABLE goldengate.checkpoint
Successfully created checkpoint table goldengate.checkpoint.
GGSCI (ZB as goldengate@ora) 48> start rep_hr
Sending START request to MANAGER ...
REPLICAT REP_HR starting
GGSCI (ZB as goldengate@ora) 49> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
REPLICAT RUNNING REP_HR 00:00:00 00:00:00
GGSCI (ZB as goldengate@ora) 50>
GGSCI (ZB as goldengate@ora) 51> info rep_hr
REPLICAT REP_HR Last Started 2017-10-29 19:48 Status RUNNING
Checkpoint Lag 00:00:00 (updated 00:00:02 ago)
Process ID 12507
Log Read Checkpoint File /u01/app/oracle/OGG/product/dirdat/et000000000
First Record RBA 1409
GGSCI (ZB as goldengate@ora) 52>
GGSCI (ZB as goldengate@ora) 45> start rep_hr
Sending START request to MANAGER ...
REPLICAT REP_HR starting
GGSCI (ZB as goldengate@ora) 46> ADD CHECKPOINTTABLE
ERROR: Missing checkpoint table specification.
GGSCI (ZB as goldengate@ora) 47> ADD CHECKPOINTTABLE goldengate.checkpoint
Successfully created checkpoint table goldengate.checkpoint.
GGSCI (ZB as goldengate@ora) 48> start rep_hr
Sending START request to MANAGER ...
REPLICAT REP_HR starting
GGSCI (ZB as goldengate@ora) 49> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
REPLICAT RUNNING REP_HR 00:00:00 00:00:00
GGSCI (ZB as goldengate@ora) 50>
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29357786/viewspace-2146567/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- OGG-00446 ,ORA-26947 抽取程式啟動失敗
- Oracle 12c DG備庫啟動報錯standby database requires recoveryOracleDatabaseUI
- 【故障解決】OGG-00446 錯誤解決
- oracle 11.2.0.4 path 26925576 報錯Oracle
- REP-3000: 啟動 Oracle Toolkit 時發生內部錯誤.Oracle
- 惡意程式造成資料庫啟動報錯資料庫
- OGG-00446 ERROR: Could not find archived logErrorHive
- OGG-00446的一次解決
- Oracle 11g R2 DG 備庫啟動報錯,需要恢復日誌處理措施Oracle
- ORACLE 18C啟動資料庫報錯ORA-04031Oracle資料庫
- Oracle備庫當機啟動解決方案Oracle
- 【Oracle】Oracle 11.2.0.4版本Grid無法隨機啟動Oracle隨機
- mongodb 啟動報錯MongoDB
- php啟動報錯PHP
- OGG抽取程式報錯ORA-06512
- 解決 Rust WebAssembly 啟動 Web 程式報錯RustWeb
- oracle時間格式記錄異常導致OGG複製程式報錯Oracle
- 啟動oracle資料庫的時候報ORA-00205錯誤:Oracle資料庫
- ERROR OGG-00446 Missing filename opening checkpoint file.Error
- ORACLE RAC 11.2.0.4 FOR LINUX TO ORACLE 11.2.0.3 OGG部署巨坑集錦OracleLinux
- myeclipse啟動報錯Eclipse
- 本地nacos啟動報錯
- 啟動/關閉與冷備份Oracle資料庫Oracle資料庫
- MySQL 5.7啟動資料庫報錯'does not exist or is not executable'MySql資料庫
- Oracle資料庫 11.2.0.4 EMON程式持續消耗CPUOracle資料庫
- OGG-00446 goldengate 抽取程式找不到相應的歸檔日誌的解Go
- OGG Director報錯 Connection FAILEDAI
- redhat 6.5 oracle 11.2.0.4 gi oracle asm在作業系統重啟cssd程式無法自動重啟簡析RedhatOracleASM作業系統CSS
- 資料庫啟動在mount狀態,無任何報錯資料庫
- Homestead 啟動 elasticsearch 報錯Elasticsearch
- apache啟動報錯:httpd: aprApachehttpd
- laravel sail 首次啟動報錯LaravelAI
- sqlplus 啟動報錯SQL
- 啟動ASM 例項報錯ASM
- 【ASM】Oracle RAC css啟動報錯"Duplicate voting file found"ASMOracleCSS
- oracle 12C RAC 啟動報錯 ORA-00845Oracle
- rsync 守護程式備份報錯
- 水煮oracle24---- oracle em 啟動報錯 相關問題解決Oracle