重庆思庄Oracle、Redhat认证学习论坛

标题: 找不到ggMessage [打印本页]

作者: 郑全    时间: 2015-11-6 17:37
标题: 找不到ggMessage
问题:
在.bash_profile中把/ogg加到path中后,在哪里执行都可以了,
[oracle@RAC1 ~]$ echo $PATH
/u01/app/oracle/product/11.2.0/db_1/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/oracle/bin:/ogg

[oracle@RAC1 ~]$ pwd
/home/oracle
[oracle@RAC1 ~]$ ggsci
Oracle GoldenGate Command Interpreter for Oracle
Version 11.2.1.0.1 OGGCORE_11.2.1.0.1_PLATFORMS_120423.0230_FBO
Linux, x64, 64bit (optimized), Oracle 11g on Apr 23 2012 08:32:14
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.

GGSCI (RAC1) 1>

GGSCI (RAC1) 1> info all
Program     Status      Group       Lag at Chkpt  Time Since Chkpt
MANAGER     STOPPED                                          

但编辑参数,就报错了:


GGSCI (RAC1) 2> edit mgr  
Cannot load ICU resource bundle 'ggMessage', error code 2 - No such file or directory
Cannot load ICU resource bundle 'ggMessage', error code 2 - No such file or directory
Aborted (core dumped)

之后,就直接退出到操作系统上了。

解决办法:

    该问题,只有进入 ogg的home目录去执行 ggsci,才行。

[oracle@RAC1 ogg]$ cd /ogg
[oracle@RAC1 ogg]$ pwd
/ogg
[oracle@RAC1 ogg]$ ggsci
Oracle GoldenGate Command Interpreter for Oracle
Version 11.2.1.0.1 OGGCORE_11.2.1.0.1_PLATFORMS_120423.0230_FBO
Linux, x64, 64bit (optimized), Oracle 11g on Apr 23 2012 08:32:14
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.


GGSCI (RAC1) 2> edit param mgr
port 7809
purgeoldextracts *, usecheckpoints, minkeepfiles 1



到此,问题解决。





欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2