求generations from exile tribe 空百度云的“空”的完整版音源百度云网盘

版本发布OGG报错问题
今天进行了系统版本发布,对后台表结构进行了修改。发布前停源端与目标端OGG服务,发布完成后起OGG两端服务。结果遇到目标端复制进程ABENDED,报错如下:&
20:28:14 ERROR OGG-01161 Oracle GoldenGate Delivery
for Oracle, mocs.prm: Bad column index (24) specified for table
MPAC.D_DEV_ALLOC, max columns = 24.&
20:28:14 ERROR OGG-01668 Oracle GoldenGate Delivery
for Oracle, mocs.prm: PROCESS ABENDING.&
一、尝试起复制进程,仍然立刻被ABENDED,日志如下:&
20:34:41 INFO OGG-00987 Oracle GoldenGate Command
Interpreter for Oracle: GGSCI command (oracle): start
20:34:41 INFO OGG-00963 Oracle GoldenGate Manager
for Oracle, mgr.prm: Command received from GGSCI on host jlscdbcs17
(START REPLICAT MOCS ).&
20:34:41 INFO OGG-00975 Oracle GoldenGate Manager
for Oracle, mgr.prm: REPLICAT MOCS
starting.&
20:34:41 INFO OGG-00995 Oracle GoldenGate Delivery
for Oracle, mocs.prm: REPLICAT MOCS
starting.&
20:34:41 INFO OGG-03035 Oracle GoldenGate Delivery
for Oracle, mocs.prm: Operating system character set identified as
UTF-8. Locale: en_US, LC_ALL:.&
20:34:42 INFO OGG-01815 Oracle GoldenGate Delivery
for Oracle, mocs.prm: Virtual Memory Facilities for:
& anon alloc: mmap(MAP_ANON)
&anon free: munmap&
& file alloc: mmap(MAP_SHARED) file free:
& target directories:&
/oracle/oggs/dirtmp.&
20:34:42 INFO OGG-00996 Oracle GoldenGate Delivery
for Oracle, mocs.prm: REPLICAT MOCS started.
20:34:42 ERROR OGG-01161 Oracle GoldenGate Delivery
for Oracle, mocs.prm: Bad column index (24) specified for table
MPAC.D_DEV_ALLOC, max columns = 24.&
20:34:42 ERROR OGG-01668 Oracle GoldenGate Delivery
for Oracle, mocs.prm: PROCESS ABENDING.&
二、将目标端复制进程参数配置中该表注释,复制进程启动成功。但第二天早上检查时发现,目标端复制进程又因同样的原因ABENDED,日志如下:&
07:20:45 ERROR OGG-01161 Oracle GoldenGate Delivery
for Oracle, mocs.prm: Bad column index (168) specified for table
MPAC.T_DETECT_MET_RSLT, max columns = 168.&
07:20:45 ERROR OGG-01668 Oracle GoldenGate Delivery
for Oracle, mocs.prm: PROCESS ABENDING. Retrieving definition for
MPAC.T_DETECT_TASK&
三、查询此类问题的解决方案为:停掉目标端OGG进程,在源端重新生成defgen.def并覆盖到目标端。在源端生成defgen.def
10:13:56 ERROR OGG-00669 OCI error (100-ORA-01403:
no data found) retrieving precision info of a NUMBER column (table:
'MPAC.T_METER_SITECHK', column: 'COS?).&
Source Context :
SourceModule : [ggdb.ora.sess]&
SourceID :
[/scratch/aime1/adestore/views/aime1_staxk12/oggcore/OpenSys/src/gglib/ggdbora/ocisess.c]
SourceFunction : [OCISESS_context_def::oci_try(int, const char *,
SourceLine : [652]&
10:13:56 ERROR OGG-00663 OCI Error retrieving bind
info for query (status = 100), SQL& 10:13:56 &ERROR
& OGG-01668 &PROCESS
四、从报错日志分析得出,此表中有一个列名因为字符集不同无法解析出来。查询源端传输进程参数文件,并修改字符集:
[oracle@jlscdb02 /ogg/dirprm]$ vi mocs.prm
[oracle@jlscdb02/ogg/dirprm]$ export NLS_LANG="SIMPLIFIED
CHINESE_CHINA.AL32UTF8"
[oracle@jlscdb02 /ogg/dirprm]$ echo $LANG
[oracle@jlscdb02 /ogg/dirprm]$ echo $NLS_LANG
SIMPLIFIED CHINESE_CHINA.AL32UTF8
[oracle@jlscdb02 /ogg/dirprm]$ export LANG="SIMPLIFIED
CHINESE_CHINA.AL32UTF8"
五、再次尝试生成defgen.def文件,成功!
[oracle@jlscdb02 /ogg]$ ./defgen paramfile
./dirprm/defgen.prm
Definitions generated for 198 tables in
./dirdef/defgen.def
六、将defgen.def复制到目标端,目标端成功运行,监控一天仍然复制进程正常。问题解决
Ps:大学毕业后已经工作一年了,我在日常工作中也逐渐明白了文档机制的重要性。因为一个人的记忆力是有限的,不可能记住所有实验和问题的解决方法,所以梳理好工作文档是必修课。同时,我也希望通过这个博客记录我的成长历程。
以上网友发言只代表其个人观点,不代表新浪网的观点或立场。

我要回帖

更多关于 exile tribe百度百科 的文章

 

随机推荐