首页 > 代码库 > oracle goldengate报错解决之OGG-00446

oracle goldengate报错解决之OGG-00446

OGG测试:无法启动ext进程,报错OGG-00446


报错日志【截取重要部分】

2016-10-28 16:51:40  ERROR   OGG-00446  Missing filename opening checkpoint file.

2016-10-28 16:51:40  ERROR   OGG-01668  PROCESS ABENDING.


日志意思很明显:在打开checkpoint file 时缺少文件名


查看参数:

oracle@a-test30 dirprm]$ more ext1.prm 

UserId ogg, Password ogg

ExtTrail ./dirdat/eo

GetTruncates

TranLogOptions ExcludeUser ogg 

--DDL Include All

DDL &

INCLUDE MAPPED OBJTYPE ‘table‘ &

INCLUDE MAPPED OBJTYPE ‘index‘ &

EXCLUDE OPTYPE COMMENT

DDLOptions AddTranData Retryop Retrydelay 10 Maxretries 10

Table TMP.test1;

Table TMP.test2;

Table TMP.test3

[oracle@a-test30 dirprm]$ more pump1.prm 

Extract pump1

PassThru

RmtHost 192.168.10.61, MgrPort 7809

RmtTrail ./dirdat/go


Table TMP.test1;

Table TMP.test2;

Table TMP.test3;


发现ext1.prm没有文件头名

加上Extract ext1

GGSCI (a-test30 as ogg@qatest30) 27> view params ext1

Extract ext1

UserId ogg, Password ogg

ExtTrail ./dirdat/eo

GetTruncates

TranLogOptions ExcludeUser ogg 

--DDL Include All

DDL &

INCLUDE MAPPED OBJTYPE ‘table‘ &

INCLUDE MAPPED OBJTYPE ‘index‘ &

EXCLUDE OPTYPE COMMENT

DDLOptions AddTranData Retryop Retrydelay 10 Maxretries 10

Table TMP.test1;

Table TMP.test2;

Table TMP.test3;


再去启动OK了。

本文出自 “lichdiamand” 博客,请务必保留此出处http://lichdiamond.blog.51cto.com/12111063/1870729

oracle goldengate报错解决之OGG-00446