Using Streams From A Logical Standby Database Gives Error Ora-1031 Insufficient Privileges Using 10.2.0.4 or Earlier versions (Doc ID 315403.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 9.2.0.1 to 10.2.0.4 [Release 9.2 to 10.2]
Information in this document applies to any platform.
***Checked for relevance on 24-Sep-2013***

Symptoms

Trying to propagate changes from a logical standby database to another database using Streams gives the error -

SQL>     BEGIN
          2       DBMS_STREAMS_ADM.ADD_TABLE_PROPAGATION_RULES(
          3        table_name => 'SCOTT.DEPT',
          4        streams_name => 'STRMADMIN_PROPAGATE',
          5        source_queue_name => 'STRMADMIN.STREAMS_QUEUE',
          6     destination_queue_name => 'STRMADMIN.STREAMS_QUEUE@dblink',
          7        include_dml => true,
          8        include_ddl => true,
          9        source_database => 'XYZ'); --> the source db should be current db
         10      END;
         11  /
            BEGIN
        *
        ERROR at line 1:
        ORA-01031: insufficient privileges
        ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 798
        ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 730
        ORA-06512: at line 2

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms