高级复制添加主体站点的时候碰到ORA-23375错误的解决方法

有些时候我们在执行下面命令添加主体站点的时候会碰到ORA-23375错误。

SQL> execute dbms_repcat.add_master_database(gname=>'rep',master=>'orcl2.com',use_existing_objects=>true,copy_rows=>false,propagation_mode=>'synchronous');

ERROR at line 1:
ORA-23375: feature is incompatible with database version at ORCL2.COM
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS.DBMS_REPCAT_MAS", line 2159
ORA-06512: at "SYS.DBMS_REPCAT", line 146
ORA-06512: at line 1

上面的这个错误,通常表示我们在创建repadmin用户的时候缺少了几步授权的命令,按照如下步骤正确创建repadmin用户。

 

create user repadmin identified by repadmin default tablespace users temporary tablespace temp;

execute dbms_defer_sys.register_propagator('repadmin');

grant execute any procedure to repadmin;

execute dbms_repcat_admin.grant_admin_any_repgroup('repadmin');

execute dbms_repcat_admin.grant_admin_any_schema(username => '"REPADMIN"');

grant comment any table to repadmin;

grant lock any table to repadmin;

grant select any dictionary to repadmin;

 

网上的一些其它文档通常缺少的是下面这两步:

 

grant lock any table to repadmin;

grant select any dictionary to repadmin;

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值