转 ogg issue
1.http://www.dbdream.com.cn/2013/05/17/ogg-00446%E9%94%99%E8%AF%AF%E8%A7%A3%E5%86%B3/
OGG-00446错误解决
部署OGG的时候,REPLICAT进程启动失败。
1 |
GGSCI (tsycodsdb) 16> info all |
2 |
3 |
Program Status Group Lag Time Since Chkpt |
4 |
MANAGER RUNNING |
5 |
REPLICAT RUNNING REPJJ 00:00:00 00:00:09 |
6 |
REPLICAT RUNNING REPYY 00:00:00 00:00:04 |
7 |
REPLICAT STOPPED TREPLVC 00:00:00 00:04:37 |
经查看,发现遇到OGG-00446错误。
1 |
2013-04-28 19:53:12 ERROR OGG-00446 Could not open checkpoint file /app/oracle/product/10.2.0/ogg/dirchk/TREPLVA.cpr, mode 1 (error 2, No such file or directory). |
2 |
3 |
2013-04-28 19:53:12 ERROR OGG-01668 PROCESS ABENDING. |
4 |
2013-04-28 19:53:11 INFO OGG-00987 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): start TREPLVC aftercsn 12335663166653. |
5 |
2013-04-28 19:53:11 INFO OGG-00963 Oracle GoldenGate Manager for Oracle, mgr.prm: Command received from GGSCI on host 10.157.165.241 (START REPLICAT TREPLVC AFTERCSN 12335663166653). |
6 |
2013-04-28 19:53:11 INFO OGG-00975 Oracle GoldenGate Manager for Oracle, mgr.prm: REPLICAT TREPLVC starting. |
7 |
2013-04-28 19:53:12 INFO OGG-00995 Oracle GoldenGate Delivery for Oracle, treplvc.prm: REPLICAT TREPLVC starting. |
8 |
2013-04-28 19:53:12 ERROR OGG-00446 Oracle GoldenGate Delivery for Oracle, treplvc.prm: Could not open checkpoint file /app/oracle/product/10.2.0/ogg/dirchk/TREPLVA.cpr, mode 1 (error 2, No such file or directory). |
9 |
2013-04-28 19:53:12 ERROR OGG-01668 Oracle GoldenGate Delivery for Oracle, treplvc.prm: PROCESS ABENDING. |
查看TREPLVC进程,明明使用的是/app/oracle/product/10.2.0/ogg/dirpcs/TREPLVC.pcr文件,为什么提示TREPLVA.pcr文件未找到呢?
01 |
GGSCI (tsycodsdb) 17> info TREPLVC DETAIL |
02 |
03 |
REPLICAT TREPLVC Initialized 2013-04-28 19:51 Status STOPPED |
04 |
Checkpoint Lag 00:00:00 (updated 00:05:33 ago) |
05 |
Log Read Checkpoint File ./dirdat/VC000000 |
06 |
First Record RBA 0 |
07 |
Extract Source Begin End |
08 |
./dirdat/VC000000 * Initialized * First Record |
09 |
Report file /app/oracle/product/10.2.0/ogg/dirrpt/TREPLVC.rpt |
10 |
Parameter file /app/oracle/product/10.2.0/ogg/dirprm/treplvc.prm |
11 |
Checkpoint file /app/oracle/product/10.2.0/ogg/dirchk/TREPLVC.cpr |
12 |
Process file /app/oracle/product/10.2.0/ogg/dirpcs/TREPLVC.pcr |
13 |
Stdout file /app/oracle/product/10.2.0/ogg/dirout/TREPLVC.out |
14 |
Error log /app/oracle/product/10.2.0/ogg/ggserr.log |
以上信息说明在ADD REPLICAT的时候指定的进程名字是TREPLVC,那么有可能是在TREPLVC进程的配置文件中,写错了进程的名字,经排查,的确如此。
01 |
GGSCI (tsycodsdb) 18> edit params treplvc |
02 |
REPLICAT TREPLVA |
03 |
SETENV (NLS_LANG=AMERICAN_AMERICA.ZHS16GBK) |
04 |
SETENV (ORACLE_SID=yyjc) |
05 |
USERID ogguser, PASSWORD ogguser |
06 |
HANDLECOLLISIONS |
07 |
SOURCEDEFS ./dirdef/sdcw.def |
08 |
SETENV (NLS_LANG=AMERICAN_AMERICA.ZHS16GBK) |
09 |
SETENV (ORACLE_SID=yyjc) |
10 |
USERID ogguser, PASSWORD ogguser |
11 |
HANDLECOLLISIONS |
12 |
SOURCEDEFS ./dirdef/sdcw.def |
原来是进程名字写错了,修改成正确的名字TREPLVC后,问题解决。
01 |
GGSCI (tsycodsdb) 1> start treplva aftercsn 12354995266226 |
02 |
03 |
Sending START request to MANAGER ... |
04 |
REPLICAT TREPLVA starting |
05 |
GGSCI (tsycodsdb) 2> info all |
06 |
Program Status Group Lag Time Since Chkpt |
07 |
MANAGER RUNNING |
08 |
REPLICAT RUNNING REPJJ 00:00:00 00:00:09 |
09 |
REPLICAT RUNNING REPYY 00:00:00 00:00:04 |
10 |
|
2.http://blog.itpub.net/31485142/viewspace-2151879/
ogg之colmap映射
转 ogg issue的更多相关文章
- Android Weekly Notes Issue #233
Android Weekly Issue #233 November 27th, 2016 Android Weekly Issue #233 本期内容包括: 用Mockito做RxJava的单元测试 ...
- OGG同构(ORACLE-ORACLE)、异构(ORACLE-MYSQL)同步配置及错误解析
环境:11.2.0.3(已安装数据库实例)+OEL5.7 192.168.1.55 zlm sid:zlm11g 192.168.1.60 zlm2 sid:zlm11g 一.安装软件,配置环境,创建 ...
- OGG FAQ
Q1:oracle_关于参数.ENABLE_GOLDENGATE_REPLICATION A: So, in order to use OGG, on Oracle 11.2.0.4, or Or ...
- Oracle 11g 测试ogg中断之后,重新同步操作
测试ogg中断之后,重新同步操作 2018-06-07 17:11 779 1 原创 GoldenGate 本文链接:https://www.cndba.cn/leo1990/article/2839 ...
- Goldengate OGG常见问题与错误列表
Goldengate OGG常见问题与错误列表 以下列出了OGG一些常见的问题与错误及其解答: Note: 966211.1 How To Resync A Single Table With ...
- OGG生成数据定义文件的参数NOEXTATTR
./defgen paramfile ./dirprm/jzjj.prm NOEXTATTR In OGG 11.2, there is a new parameter NOEXTATTR. This ...
- ogg高版本到低版本同步
源端ogg版本: [oracle@rac1 ogg]$ ggsci -v Oracle GoldenGate Command Interpreter for Oracle Version 11.2.1 ...
- 【OGG 故障处理】 丢失归档恢复
OGG 有两天由于某种原因没有启动,而这段时间的备份文件缺失了一部分归档.恢复过程记录如下: GGSCI (xxxx) > info all Program Status Group Lag a ...
- OGG投递进程报错无法open文件,无法正常投递
1.1现象 之前有个客户遇到一个问题,OGG同步数据链路,突然有一天网络出现问题,导致OGG投递进程无法正常投递,无法写入目标端的该文件. 猜测是由于网络丢包等原因导致文件损坏,无法正常open,re ...
随机推荐
- Arduino Wire.h(IIC)库函数详解
此库中包含 1 Wire.begin() 2 Wire.requestFrom() 3 Wire.beginTransmission() 4 Wire.endTransmission() 5 Wire ...
- NIO、AIO
- c++ 类中模版成员函数
C++函数模版与类模版. template <class T> void SwapFunction(T &first, T &second){ }//函数模版 templa ...
- input与字符串格式化
# Auther: Aaron Fan #字符转格式化: name = input("Enter your name: ")age = int(input("Enter ...
- 2013蓝桥杯JavaA组T10 大臣的旅费(树的直径)
大臣的旅费 时间限制:1.0s 内存限制:256.0MB 问题描述 很久以前,T王国空前繁荣.为了更好地管理国家,王国修建了大量的快速路,用于连接首都和王国内的各大城市. 为节省经费,T国的大 ...
- Windows下启动redis错误1067:进程意外中止
已解决: 在redis-64.3.0.503文件夹下新建一个空文件夹,命名为logs,如下图所示: 最后成功了 开启服务:redis-server --service-start
- 读取txt里面的数据进行计算
双在论坛上找到一个问题,有关读取txt里面的数据进行计算的问题. 尝试解决这个问题,获取每一行的X和Y的浮点数据即可.读取文本文件每一行,判断是否为空行,是否符以分隔符号(,)分隔的两个数值.每个数值 ...
- 人工智能热门图书(深度学习、TensorFlow)免费送!
欢迎访问网易云社区,了解更多网易技术产品运营经验. 这个双十一,人工智能市场火爆,从智能音箱到智能分拣机器人,人工智能已逐渐渗透到我们的生活的方方面面.网易云社区联合博文视点为大家带来人工智能热门图书 ...
- Python列表知识补充
1.import this Python之禅,圣经. >>> import this The Zen of Python, by Tim Peters Beautiful is b ...
- anularjs前端分页
var dataList = []; $scope.page = { page:1, pageSize:15, numPerPageOpt:[15,30,50,100], totalNum:0, to ...