OGG-00665权限设置问题


              数据库版本      OGG版本
源端:     11.2.0.1.0            11.2.1.0.1
目标:         11.2.0.3.0          11.2.1.0.1

Program     Status      Group       Lag at Chkpt  Time Since Chkpt

MANAGER     RUNNING                                           
EXTRACT     RUNNING     E1          00:00:00      00:00:07    
EXTRACT     ABENDED     P1          00:00:00      00:14:48   


2016-08-17 13:36:21  INFO    OGG-03500  WARNING: NLS_LANG environment variable does not match database character set, or not set. Using database character set value of AL32UTF8.
rmthost 10.3.4.211, mgrport 7809
rmttrail /opt/ogg/dirdat/bi
table sender.*;

显示NLS_LANG environment variable 与database character set  建议用Using database character set value of AL32UTF8.

SETENV (NLS_LANG="AMERICAN_AMERICA.AL32UTF8")

环境变量.bash_profile
#export NLS_LANG="SIMPLIFIED CHINESE_CHINA".ZHS16GBK
export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
#export  NLS_LANG=american_america.AL32UTF8

数据库的database set :
sys@R2> select * from nls_database_parameters where parameter in ('NLS_LANGUAGE','NLS_TERRITORY','NLS_CHARACTERSET');

PARAMETER                             VALUE
------------------------------------------------------------ ------------------------------
NLS_LANGUAGE                             AMERICAN
NLS_TERRITORY                             AMERICA
NLS_CHARACTERSET                         AL32UTF8


目标端:
.bash_profile
export ORACLE_TERM=vt100
export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
export PATH=$PATH:$ORACLE_HOME/bin:$HOME/bin

数据库:
SQL> set linesize 200
SQL> /

PARAMETER                             VALUE
------------------------------------------------------------ --------------------
NLS_LANGUAGE                             AMERICAN
NLS_TERRITORY                             AMERICA
NLS_CHARACTERSET                         AL32UTF8

也是不一致
2016-08-17 13:45:38  INFO    OGG-03035  Oracle GoldenGate Delivery for Oracle, rep1.prm:  Operating system character set identified as UTF-8. Locale: en_US, LC_ALL:.
2016-08-17 13:45:38  ERROR   OGG-00665  Oracle GoldenGate Delivery for Oracle, rep1.prm:  OCI Error describe for query (status = 942-ORA-00942: table or view does not exist), SQL