OGG OGG-01496 OGG-01028

简介: 今天由于没有正常的先关闭源端的PUMP进程而直接关闭了备库的replicat和MGR进程。 导致PUMP进程启动不了报错如下:OGG-01496  Oracle GoldenGate Capture for Oracle, py169.
今天由于没有正常的先关闭源端的PUMP进程而直接关闭了备库的replicat和MGR进程。
导致PUMP进程启动不了报错如下:
OGG-01496  Oracle GoldenGate Capture for Oracle, py169.prm:  Failed to open target trail file ./dirdat/tb000183, at RBA 4434691.

我对PUMP提示使用下一个trail文件
alter extract py169, ETROLLOVER


然后重新启动报错如下:


2014-07-07 14:20:05  INFO    OGG-01478  Oracle GoldenGate Capture for Oracle, py169.prm:  Output file ./dirdat/tb is using format RELEASE 11.2.
2014-07-07 14:20:05  INFO    OGG-01026  Oracle GoldenGate Capture for Oracle, py169.prm:  Rolling over remote file ./dirdat/tb000184.
2014-07-07 14:20:26  ERROR   OGG-01028  Oracle GoldenGate Capture for Oracle, py169.prm:  Incompatible record (101) in ./dirdat/sb000182, rba 48681981 (getting header)
同时我记录了replicat进程的最后SCN
Current Checkpoint Detail:


Read Checkpoint #1


  GGS Log Trail


  Startup Checkpoint (starting position in the data source):
    Sequence #: 182
    RBA: 48681981
    Timestamp: 2014-07-07 10:33:08.815143
    Extract Trail: ./dirdat/tb


  Current Checkpoint (position of last record read in the data source):
    Sequence #: 182
    RBA: 48681981
    Timestamp: Not Available
    Extract Trail: ./dirdat/tb


CSN state information:
  CRC: 7B-3D-9C-FA
  Latest CSN: 1019744288
  Latest TXN: 15.4.220038
  Latest CSN of finished TXNs: 1019744288
  Completed TXNs: 15.4.220038
  
  
可以发现应该是sb000182出现的问题,然后进行metalink




METALINK文档如下:
ADD EXTRACT py169, EXTTRAILSOURCE ./dirdat/sb
add  rmttrail ./dirdat/tb,extract py169
ALTER EXTRACT py169, EXTSEQNO 182, EXTRBA 48681981


ALTER EXTRACT py169, EXTSEQNO 182, EXTRBA 48681710 


If a trail is not corrupt, a pump or replicat can be restarted by noting the point of failure (trail number and RBA) indicated in the report and discard file. Please do not attempt this if you are not familiar with reading these reports.


This should be done on transaction boundaries or with RESTARTCOLLISIONS enabled. If you do not understand this, do not do this yourself; please have support assist you.


 


>logdump
logdump> log to mycase.txt
logdump> open (/ggtrail/GGODSCF/dirdat/cf000325)   logdump> ghdr on
logdump> pos (RBA 19018)                                       logdump> n
  this will give you a bad header message


logdump> sfh prev
  this gives you the header of the previous record start,write down the RBA value  

logdump> count
  if this finishes Ok and gives you a count of tables and records, the trail is OK and you can use the RBA we saved for the alter later
  the trail is known to be undamaged
  if this does not finish with the count, you have a bad trail and must use another recovery method, contact support.
logdump> exit


You now have a history of what you did in file mycase.txt and a written record of the RBA to use to ALTER the extract data pump or replicat


ggsci> alter
相关文章
|
存储 Oracle 关系型数据库
牛刀小试Oracle GoldenGate--OGG介绍(零)
1.Oracle GoldenGate 介绍 1.1 Oracle GoldenGate处理方法和支持的数据库 Oracle GoldenGate在多样和异构的基础IT平台中,可以在事务级别上进行数据交换和数据操作。
1801 0
|
存储 编解码 Go
[译]Ogg bitstream overview
Ogg编解码器将原始压缩数据放入数据包中。数据包是八位字节有效载荷,其中包含单个解压缩单元(例如一个视频帧)所需的数据。数据包没有最大大小,长度可能为零。它们通常没有任何框架信息。串在一起的未成帧的数据包形成没有内部界标的编解码器数据的逻辑比特流。
137 0
|
存储 编解码 网络协议
[译]ogg logical bitstream framing
Vorbis将短时间的PCM数据块编码为位打包数据的原始数据包。这些原始数据包可以由提供自己的成帧和数据包分离机制(例如UDP数据报)的传输机制直接使用。对于基于流的存储(例如文件)和传输(例如TCP流或管道),Vorbis使用Ogg比特流格式提供成帧/同步,错误后同步重新捕获,搜索期间的地标以及足够的信息以将数据正确分离回原始分组边界处的所有分组,而无需依靠解码来找到分组边界。
90 0
[ogg四] ogg Source Trail的理解
[ogg四] ogg Source Trail的理解
|
Oracle 关系型数据库
【ogg一】入门OGG(oracle golden date)详细部署 Oracle 11g
【ogg一】入门OGG(oracle golden date)详细部署 Oracle 11g
234 0
|
Oracle 关系型数据库 Linux
【ogg二】Oracle GoldenGate(ogg)安装经验大汇总,采坑总结,绝对干货!
【ogg二】Oracle GoldenGate(ogg)安装经验大汇总,采坑总结,绝对干货!
189 0
OGG启动报错OGG-00014处理
OGG启动报错OGG-00014处理
347 0
OGG启动报错OGG-00014处理
|
SQL 监控
OGG配置
OGG配置
3753 0
|
Oracle MySQL 关系型数据库
OGG-01161的解决
问题描述: 我的goldengate是从oracle同步到mysql,报错如下: ERROR OGG-01161 Oracle GoldenGate Delivery for MySQL, repacc.
2360 0
|
关系型数据库 MySQL 数据库
OGG-00769的解决
错误描述: WARNING OGG-00769 MySQL Login failed: . SQL error (2002). Can't connect to local MySQL server through socket '/tmp/mysql.
1526 0