ORA-23313  - DBMS_REPCAT.CREATE_MASTER_REPGROUP

Hi
I have a DEV database (db_name=DEV, instance_name = DEV, global_names=TRUE ) which was created from the backup of the database PROD. I am trying to implement replication between DEV and another database TEST.
When I try creating the master group at DEV :
BEGIN
DBMS_REPCAT.CREATE_MVIEW_REPGROUP (
gname => 'REPG',
master => 'DEV',
propagation_mode => 'ASYNCHRONOUS');
END;
I receive the following error :
===========================
BEGIN
ERROR at line 1:
ORA-23313: object group "PUBLIC"."REPG" is not mastered at PROD.WORLD
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.DBMS_REPCAT_UTL", line 2893
ORA-06512: at "SYS.DBMS_DEFER_REPCAT", line 344
ORA-06512: at "SYS.DBMS_REPCAT_MAS", line 834
ORA-06512: at "SYS.DBMS_REPCAT", line 548
ORA-06512: at line 2
=======================================
Any insight into the cause of this error would be much appreciated.
Thanks,
TM

Unless this is a very old version of Oracle do not use so-called "Advanced Replication."
Use either Streams or Data Guard.

Similar Messages

  • ORA-23313 Error

    Hi, I am trying to set up a replication scheme between two databases and I have run into a problem when trying to set up my master group at my materialized view site. I am getting an ORA-23313 error.
    ORA-23313: object group "PUBLIC"."QD_DYLAN_REPG" is not mastered at DYLAN.REGRESS.RDBMS.DEV.US.ORACLE
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 1690
    ORA-06512: at "SYS.DBMS_REPCAT_SNA", line 64
    ORA-06512: at "SYS.DBMS_REPCAT", line 1262
    ORA-06512: at line 2
    I don't understand why it is complaining that the group qd_dylan_repg is not mastered at dylan.regress.rdbms.dev.us.oracle. When I do the following check on the master site,
    COLUMN GNAME HEADING 'Master Group' FORMAT A20
    COLUMN DBLINK HEADING 'Sites' FORMAT A25
    COLUMN MASTERDEF HEADING 'Master|Definition|Site?' FORMAT A10
    SELECT GNAME, DBLINK, MASTERDEF
    FROM DBA_REPSITES
    WHERE MASTER = 'Y'
    AND GNAME NOT IN (SELECT GNAME FROM DBA_REPSITES WHERE SNAPMASTER = 'Y')
    ORDER BY GNAME;
    This is the response I get:
    Master
    Definition
    Master Group Sites Site?
    QD_DYLAN_REPG DYLAN.REGRESS.RDBMS.DEV.US.ORACLE.COM Y
    Can anyone provide me any clue as to why I am getting an ORA-23313 error eventhough it looks like the master group qd_dylan_repg is being mastered at dylan.regress.rdbms.dev.us.oracle.com as the above query which is executed at the master site suggests?
    I would appreciate any help or suggestion i can get at this point.
    Beniam

    Hi,
    ORA-23313:
         object group "string"."string" is not mastered at string
    Cause:      The group name is null, the group name is misspelled, the invocation database is not a master, or the invocation database does not believe the given database is a master.
    Action:      If the given group name was correct, connect to a current master and retry the request, make the invocation database a master with add_master_database, or use switch_mview_master if the invocation database is a materialized view site.
    Regards,
    Tom

  • DROP_MASTER_REPGROUP ORA-23313

    I try to drop a master repgroup and get this error. I need to drop this repgroup because i create other and i want to use the other repgorup. My other chance will change the status of the repgorup that i dont want to use from NORMAL to QUIESCED. How can i do that??
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select SNAME, MASTER, STATUS, GNAME, OWNER from dba_repgroup;
    SNAME M STATUS GNAME
    OWNER
    GRUPO_CADASTROS01 Y QUIESCED GRUPO_CADASTROS01
    PUBLIC
    GRUPO_CAD01 Y NORMAL GRUPO_CAD01
    PUBLIC
    GRUPO_CADASTRO01 Y QUIESCED GRUPO_CADASTRO01
    PUBLIC
    SQL> conn repadmin
    Enter password:
    Connected.
    SQL> BEGIN
    DBMS_REPCAT.DROP_MASTER_REPGROUP (
    gname => 'GRUPO_CAD01',
    drop_contents => false,
    all_sites => false);
    END;
    / 2 3 4 5 6 7
    BEGIN
    ERROR at line 1:
    ORA-23313: object group "PUBLIC"."GRUPO_CAD01" is not mastered at TESTE
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_REPCAT_UTL4", line 2867
    ORA-06512: at "SYS.DBMS_REPCAT_MAS", line 2660
    ORA-06512: at "SYS.DBMS_REPCAT", line 635
    ORA-06512: at line 2
    I can use all_sites => TRUE, i have other database on this server taht have the same name of this group.
    1 site
    instance_name=prod ---- repgroup_name=GROUP_CAD01
    instance_name=teste ---- repgroup_name=GROUP_CADASTRO01
    2 site
    instance_name=prod ---- repgroup_name=GROUP_CAD01
    instance_name=teste ---- repgroup_name=GROUP_CADASTRO01
    Any help on how to change the status or drop the repgroup that i dont want to use?
    Tks,
    Elber

    Hi,
    ORA-23313:
         object group "string"."string" is not mastered at string
    Cause:      The group name is null, the group name is misspelled, the invocation database is not a master, or the invocation database does not believe the given database is a master.
    Action:      If the given group name was correct, connect to a current master and retry the request, make the invocation database a master with add_master_database, or use switch_mview_master if the invocation database is a materialized view site.
    Regards,
    Tom

  • ORA-23313: object group "PUBLIC".

    i have a probleme whene in like drop a master group
    exec DBMS_REPCAT.DROP_MASTER_REPGROUP ('BASE_REPG');
    BEGIN DBMS_REPCAT.DROP_MASTER_REPGROUP ('BASE_REPG'); END;
    ERROR at line 1:
    ORA-23313: object group "PUBLIC"."BASE_REPG" is not mastered at OLBTEST.WORLD
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_REPCAT_UTL4", line 2860
    ORA-06512: at "SYS.DBMS_REPCAT_MAS", line 2660
    ORA-06512: at "SYS.DBMS_REPCAT", line 635
    ORA-06512: at line 1
    Tanks for your help.

    Hi,
    ORA-23313:
         object group "string"."string" is not mastered at string
    Cause:      The group name is null, the group name is misspelled, the invocation database is not a master, or the invocation database does not believe the given database is a master.
    Action:      If the given group name was correct, connect to a current master and retry the request, make the invocation database a master with add_master_database, or use switch_mview_master if the invocation database is a materialized view site.
    Regards,
    Tom

  • ORA-23309: object UMESH.PRODUCT_MASTER of type TABLE exists

    Hi,
    I have two schema on the two servers for replication replication is working fine.
    i export one schema to another so all the tables exists at both the sites.
    I am adding objects in the replication group using oracle enterprise manager
    console.
    some of the tables added fine.
    but some gives me error like.
    ORA-23309: object UMESH.PRODUCT_MASTER of type TABLE exists
    before adding this objects in the group i do like
    SQL> SELECT oname FROM DBA_REPOBJECT ;
    ONAME
    AC_ACCOUNT
    AC_ACCOUNT$RP
    AC_ACCOUNT$RP
    AC_ACCOUNT_MASTER
    AC_ACCOUNT_MASTER$RP
    AC_ACCOUNT_MASTER$RP
    6 rows selected.
    at both the sites.
    when i add product_master in the group then entries becomes like
    SQL> SELECT oname FROM DBA_REPOBJECT ;
    ONAME
    AC_ACCOUNT
    AC_ACCOUNT$RP
    AC_ACCOUNT$RP
    AC_ACCOUNT_MASTER
    AC_ACCOUNT_MASTER$RP
    AC_ACCOUNT_MASTER$RP
    PRODUCT_MASTER
    7 rows selected.
    but with the error in
    and when generate replication support.
    SQL> select  status,request,message,oname from dba_repcatlog;
    STATUS         REQUEST
    MESSAGE
    ONAME
    ERROR          CREATE_MASTER_REPOBJECT
    ORA-23309: object UMESH.PRODUCT_MASTER of type TABLE exists
    PRODUCT_MASTER
    ERROR          CREATE_MASTER_REPOBJECT
    ORA-23309: object UMESH.PRODUCT_MASTER of type TABLE exists
    PRODUCT_MASTER
    STATUS         REQUEST
    MESSAGE
    ONAME
    ERROR          GENERATE_INTERNAL_PKG_SUPPORT
    ORA-23308: object UMESH.PRODUCT_MASTER does not exist or is invalid
    PRODUCT_MASTER
    ERROR          GENERATE_INTERNAL_PKG_SUPPORT
    ORA-23308: object UMESH.PRODUCT_MASTER does not exist or is invalid
    STATUS         REQUEST
    MESSAGE
    ONAME
    PRODUCT_MASTER
    ERROR          GENERATE_INTERNAL_PKG_SUPPORT
    ORA-23308: object UMESH.PRODUCT_MASTER does not exist or is invalid
    PRODUCT_MASTER
    but in the same situation other objects are working fine.i am fed up with this error.
    any help will be appreciated.
    Thanks
    Umesh
    null

    thanks hament
    I have two schema my master definition site have all the objects but second master
    site. have no object.
    i use these command like
    this is at master definition site.
    SQL> BEGIN
      2     DBMS_REPCAT.CREATE_MASTER_REPGROUP(
      3       gname => '"AA"',
      4       qualifier => '',
      5       group_comment => '');
      6  END;
      7  /
    PL/SQL procedure successfully completed.
    SQL> ed
    Wrote file afiedt.buf
      1  BEGIN
      2     DBMS_REPCAT.CREATE_MASTER_REPOBJECT(
      3       gname => '"AA"',
      4       type => 'TABLE',
      5       oname => '"PRODUCT_MASTER"',
      6       sname => '"UMESH"',
      7       copy_rows => TRUE,
      8       use_existing_object => FALSE);
      9* END;
    SQL> /
    PL/SQL procedure successfully completed.
    SQL> commit;
    Commit complete.
    SQL> BEGIN
      2     DBMS_REPCAT.ADD_MASTER_DATABASE (
      3        gname => 'AA',
      4        master => 'neo.world',
      5        use_existing_objects => FALSE,
      6        copy_rows => TRUE,
      7        propagation_mode => 'ASYNCHRONOUS');
      8  END;
      9  /
    PL/SQL procedure successfully completed.
    SQL> COMMIT;
    SQL> select source, status, master,sname, request, oname, type, message from dba_repcatlog;
    SOURCE
    STATUS
    MASTER
    SNAME                          REQUEST
    ONAME                          TYPE
    MESSAGE
    LOCAL.WORLD
    SOURCE
    STATUS
    MASTER
    SNAME                          REQUEST
    ONAME                          TYPE
    MESSAGE
    ERROR
    SOURCE
    STATUS
    MASTER
    SNAME                          REQUEST
    ONAME                          TYPE
    MESSAGE
    NEO.WORLD
    SOURCE
    STATUS
    MASTER
    SNAME                          REQUEST
    ONAME                          TYPE
    MESSAGE
    UMESH                          CREATE_MASTER_REPOBJECT
    SOURCE
    STATUS
    MASTER
    SNAME                          REQUEST
    ONAME                          TYPE
    MESSAGE
    PRODUCT_MASTER                 TABLE
    SOURCE
    STATUS
    MASTER
    SNAME                          REQUEST
    ONAME                          TYPE
    MESSAGE
    ORA-00942: table or view does not exist
    SOURCE
    STATUS
    MASTER
    SNAME                          REQUEST
    ONAME                          TYPE
    MESSAGE
    but according to me this table must be created at the second master site.
    which is main issue i am facing.
    and if i made product_master at second master site manually
    then execute this at master defination site.
    SQL> BEGIN
      2     DBMS_REPCAT.CREATE_MASTER_REPOBJECT(
      3       gname => '"AA"',
      4       type => 'TABLE',
      5       oname => '"PRODUCT_MASTER"',
      6       sname => '"UMESH"',
      7       copy_rows => TRUE,
      8       use_existing_object => TRUE);
      9  END;
    10  /
    BEGIN
    ERROR at line 1:
    ORA-23309: object "UMESH"."PRODUCT_MASTER" of type TABLE exists
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_REPCAT_MAS", line 2552
    ORA-06512: at "SYS.DBMS_REPCAT", line 562
    ORA-06512: at line 2
    SQL> /
    PL/SQL procedure successfully completed.This is very strange if the table exists then error and if
    it doesn't then error.
    Thanks
    Message was edited by:
    Umesh Sharma

  • ORA-04052: error occurred when looking up remote object

    Hi, Basically I want to setup Replication between two servers, 'ZEN2K7' & 'DB' (Advanced master-to-master replication, Sync).
    This is what i had done so far.(Both server having ver 10.1.0.2.0)
    At Server 'ZEN2K7'
    CONNECT system/manager@ZEN2K7
    CREATE USER repadmin IDENTIFIED BY repadmin;
    ALTER USER repadmin DEFAULT TABLESPACE POOL_DATA;
    ALTER USER repadmin TEMPORARY TABLESPACE TEMP;
    GRANT connect, resource TO repadmin;
    EXECUTE dbms_repcat_admin.grant_admin_any_schema('repadmin');
    GRANT comment any table TO repadmin;
    GRANT lock any table TO repadmin;
    EXECUTE dbms_defer_sys.register_propagator('repadmin');
    GRANT execute any procedure TO repadmin;
    CREATE PUBLIC DATABASE LINK DB USING 'DB';
    CONNECT repadmin/repadmin@ZEN2K7
    CREATE DATABASE LINK DB CONNECT TO repadmin IDENTIFIED BY repadmin;
    At Server 'DB'
    CONNECT system/manager@DB
    CREATE USER repadmin IDENTIFIED BY repadmin;
    ALTER USER repadmin DEFAULT TABLESPACE POOL_DATA;
    ALTER USER repadmin TEMPORARY TABLESPACE TEMP;
    GRANT connect, resource TO repadmin;
    EXECUTE dbms_repcat_admin.grant_admin_any_schema('repadmin');
    GRANT comment any table TO repadmin;
    GRANT lock any table TO repadmin;
    EXECUTE dbms_defer_sys.register_propagator('repadmin');
    GRANT execute any procedure TO repadmin;
    CREATE PUBLIC DATABASE LINK ZEN2K7 USING 'ZEN2K7';
    CONNECT repadmin/repadmin@DB
    CREATE DATABASE LINK ZEN2K7 CONNECT TO repadmin IDENTIFIED BY repadmin;
    After this, Create master replication group on ZEN2K7
    CONNECT repadmin/repadmin@ZEN2K7
    BEGIN
    DBMS_REPCAT.CREATE_MASTER_REPGROUP(
    gname => '"REPTEST"',
    qualifier => '',
    group_comment => '');
    END;
    Then at 'ZEN2K7', when i executing
    BEGIN
    DBMS_REPCAT.ADD_MASTER_DATABASE(
    gname => '"REPTEST"',
    master => 'DB',
    use_existing_objects => TRUE ,
    copy_rows => TRUE ,
    propagation_mode =>'SYNCHRONOUS');
    END;
    I got following error
    ORA-04052: error occurred when looking up remote object REPADMIN.SYS@DB
    ORA-00604: error occurred at recursive SQL level 2
    ORA-12154: TNS:could not resolve the connect identifier specified
    ORA-06512: at "SYS.DBMS_REPCAT_UTL", line 4262
    ORA-06512: at "SYS.DBMS_REPCAT_MAS", line 2156
    ORA-06512: at "SYS.DBMS_REPCAT", line 146
    ORA-06512: at line 2
    I had already execute the 'catrpc.sql' on both server.
    I had already check the connection at 'ZEN2K7' side, means I can connect to 'DB' within SQL* Plus at 'ZEN2K7' side.
    What else need to do???
    Thanks.
    Gurpreet S. Gill

    ORA-12154: TNS:could not resolve the connect identifier specified
    This means that you server is unable to resolve DB alias.
    Check you SQL*Net settings.
    On ZEN2K7 try tnsping db. If tnsping return error that add db alias to tnsnames.ora if you use tnsnames as one of resolving mechanism (check sqlnet.ora for NAMES.DIRECTORY_PATH)

  • Problem_in_CREATE_MVIEW_REPGROUP

    hi all,
    i have 2 databases, master HBFP, and its materialized view HBFM. i have created the master group but mv_repgroup is giving me problems. the copy of the spool is as below:
    SQL> conn mvadmin/mvadmin@hbfm
    Connected.
    SQL> BEGIN
    2 DBMS_REPCAT.CREATE_MVIEW_REPGROUP (
    3 gname => 'hamza_repg',
    4 master => 'hbfp',
    5 propagation_mode => 'ASYNCHRONOUS' );
    6 END;
    7 /
    BEGIN
    ERROR at line 1:
    ORA-23313: object group "PUBLIC"."HAMZA_REPG" is not mastered at HBFP.REGRESS.RDBMS.DEV.US.ORACLE.COM
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 2456
    ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 1779
    ORA-06512: at "SYS.DBMS_REPCAT_SNA", line 64
    ORA-06512: at "SYS.DBMS_REPCAT", line 1262
    ORA-06512: at line 2
    SQL> CONN HAMZA/HAMZA@HBFP
    Connected.
    SQL> ED
    Wrote file afiedt.buf
    1 BEGIN
    2 DBMS_REPCAT.CREATE_MASTER_REPGROUP (
    3 gname => 'hamza_repg' );
    4* END;
    SQL> /
    BEGIN
    ERROR at line 1:
    ORA-23374: object group "PUBLIC"."HAMZA_REPG" already exists
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.DBMS_REPCAT_MAS", line 798
    ORA-06512: at "SYS.DBMS_REPCAT", line 548
    ORA-06512: at line 2
    so at master hamza_repg already exists if i try to recreate it but at mv_site when i reference it via CREATE_MVIEW_REPGROUP. it says that hamza_repg is not mastered. i consulted Database Error Messages 10g but i couldnt understand:
    ORA-23313: object group "string"."string" is not mastered at string
    Cause: The group name is null, the group name is misspelled, the invocation
    database is not a master, or the invocation database does not believe the given
    database is a master.
    Action: If the given group name was correct, connect to a current master and retry
    the request, make the invocation database a master with add_master_database, or
    use switch_mview_master if the invocation database is a materialized view site.
    please help me at this...
    i use Release 10.2.0.1.0
    regards

    hello Karsten
    thanks for your consideration.
    After create a Windows file system Repository,I create the index as the fowllowing step.
    1) go to the page System Administration=>Knowledge Managment=>Index Administration and click Create button for creating index, then a form appeared.
    2) fill in the for specified value, then press Create Index button to create index
    3) click on DataSource link, in the Datasource Tab, click the Add button, then I could see all of folders on the screen( such as documents,calendar,etc), but I can not found the Windows File system Entry that just I created.
    I can not create a index for the Windows File System
    what is the wrong with it?
    thanks

  • Debug steps

    Folks,
    I am hitting the classic:
    ERROR at line 1:
    ORA-23313: object group "PUBLIC"."MY_REPGROUP" is not mastered at MASTERDB
    error when I try and execute
    BEGIN DBMS_REPCAT.CREATE_MVIEW_REPGROUP( gname => 'MY_REPGROUP',
    master => 'MASTERDB',
    propagation_mode => 'ASYNCHRONOUS',
    gowner => 'PUBLIC');
    END;
    at the REMOTE site (using repadmin@REMOTEDB). Yet I know I have run ....
    EXECUTE DBMS_REPCAT.CREATE_MASTER_REPGROUP( -
    gname => 'MY_REPGROUP', -
    qualifier => '', -
    group_comment => '');
    when logged on as repadmin@MASTERDB because
    SELECT * FROM DBA_REPCAT;
    shows the group.
    I have been over my scripts for a number of days and am stumped as to where my problem lies.
    I have tried all the suggestions in the Error Guide for ORA-23313 but to no avail.
    All my dblinks work and I can happily CONNECT to either database (which are running on two separate machines connected via the internet).
    Can anyone suggest a logical set of steps to try and discover what the problem is?
    regards
    S

    Success!
    I don't know what it was that I did. I think it might have been the move to global_names and that I might not have fully cleared out the dba_rep* objects before doing so.
    Anyway, it now works except for one little thing that I didn't think would matter.
    execute dbms_repcat.create_mview_repobject( sname => 'ROADOCCS', oname => 'TBL_OPLINC_CLOSURE', type => 'SNAPSHOT', gowner => 'PUBLIC', gname => 'OPLINC_MASTER_REPGROUP', min_communication => TRUE );
    is producing...
    ERROR at line 1:
    ORA-23306: schema ROADOCCS does not exist
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 2840
    ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 773
    ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 5570
    ORA-06512: at "SYS.DBMS_REPCAT_SNA", line 82
    ORA-06512: at "SYS.DBMS_REPCAT", line 1332
    ORA-06512: at line 1
    Looking at the Oracle PL/SQL packages documentation for this function it says about sname:
    "Name of the schema in which the object is located. The schema must be same as the schema that owns the master table or master materialized view on which this materialized view is based."
    So, it appears to be the case that the MASTER (table) schema and the REMOTE (UMV) schemas have to have the same name for Advanced UMV Replication. Wonder why? Seems a bit limiting.
    Oh, well, I moved to create a user on the UMV site that was the same as the one on the master (it has the same privs as the master one) and then constructed ordinary views onto the schema which the application updating the UMVs accesses.
    Thanks for your perseverence in this task. I am glad I have it done as now I have a single PL/SQL script which I can use as a template with other customers. I have also learned quite a bit about replication and global_naming of databases!
    regards
    S
    Still, I am not complaining!

  • Error while creating MV replication group object

    Hi,
    I am getting error while creating replication group object. I tried to create using OEM and SQLPlus
    OEM error
    This error while creating M.V. rep. group object
    There is a table or view named SCOTT.EMP.
    It must be dropped before a materialized view can be created.
    In SQLPLUS
    SQL> CONNECT MVIEWADMIN/MVIEWADMIN@SWEET
    Connected.
    SQL>
    SQL> BEGIN
    2 DBMS_REPCAT.CREATE_MVIEW_REPOBJECT (
    3 gname => 'SCOTT',
    4 sname => 'KARTHIK',
    5 oname => 'emp_mv',
    6 type => 'SNAPSHOT',
    7 min_communication => TRUE);
    8 END;
    9 /
    BEGIN
    ERROR at line 1:
    ORA-23306: schema KARTHIK does not exist
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 2840
    ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 773
    ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 5570
    ORA-06512: at "SYS.DBMS_REPCAT_SNA", line 82
    ORA-06512: at "SYS.DBMS_REPCAT", line 1332
    ORA-06512: at line 2
    Please not already I have created KARTHIK schema.

    Arthik,
    I think I know what may have happened.
    As I can see you are trying to create support for an updateable materialized view.
    You have to make sure the name of the schema that owns the materialized view is the same as the schema owner of the master table (at master site).
    From the code you have shown, I bet the owner of table EMP is SCOTT.
    From the other hand, you want to create materialized view EMP_MV under schema KARTHIK that refers to table SCOTT.EMP at master site.
    According to the documentation, the schema name used in DBMS_REPCAT.CREATE_MVIEW_REPOBJECT must be same as the schema that owns the master table.
    Please check the documentation at the link below
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14227/rarrcatpac.htm#i109228
    I tried to reproduce your example in my environment, and I got exactly the same error which actually confirms my assumption that the reason for the error is the fact that you tried to create the materialized view in a schema with different name than the one where master table exists.
    I'll skip some of the steps that I used to create the replication environment.
    I have two databases, DB1.world and DB2.world
    On DB2.world I will generate replication support for table EMP which belongs to user SCOTT
    SQL> conn scott/*****@DB2.world
    Connected.
    SQL>create materialized view log on EMP with primary key;
    Materialized view log created.
    SQL>
    SQL>conn repadmin/*****@DB2.world
    Connected.
    SQL>BEGIN
      2       DBMS_REPCAT.CREATE_MASTER_REPGROUP(
      3         gname => 'GROUPA',
      4         qualifier => '',
      5         group_comment => '');
      6*   END;
    PL/SQL procedure successfully completed.
    SQL>BEGIN
      2       DBMS_REPCAT.CREATE_MASTER_REPOBJECT(
      3         gname => 'GROUPA',
      4         type => 'TABLE',
      5         oname => 'EMP',
      6         sname => 'SCOTT',
      7         copy_rows => TRUE,
      8         use_existing_object => TRUE);
      9*   END;
    10  /
    PL/SQL procedure successfully completed.
    SQL> BEGIN
      2       DBMS_REPCAT.GENERATE_REPLICATION_SUPPORT(
      3         sname => 'SCOTT',
      4         oname => 'EMP',
      5         type => 'TABLE',
      6         min_communication => TRUE);
      7    END;
      8  /
    PL/SQL procedure successfully completed.
    SQL>execute DBMS_REPCAT.RESUME_MASTER_ACTIVITY(gname => 'GROUPA');
    PL/SQL procedure successfully completed.
    SQL> select status from dba_repgroup;
    STATUS                                                                         
    NORMAL                                                                          Now let's create updateable materialized view at DB1. Before that I want to let you know that I created one sample in DB1 user named MYUSER. MVIEWADMIN is Materialized View administrator.
    SQL>conn mviewadmin/****@DB1.world
    Connected.
    SQL>   BEGIN
      2       DBMS_REFRESH.MAKE(
      3         name => 'MVIEWADMIN.MV_REFRESH_GROUPA',
      4         list => '',
      5         next_date => SYSDATE,
      6         interval => '/*1:Hr*/ sysdate + 1/24',
      7         push_deferred_rpc => TRUE,
      8         refresh_after_errors => TRUE,
      9         parallelism => 1);
    10    END;
    11  /
    PL/SQL procedure successfully completed.
    SQL>   BEGIN
      3       DBMS_REPCAT.CREATE_SNAPSHOT_REPGROUP(
      5         gname => 'GROUPA',
      7         master => 'DB2.wolrd',
      9         propagation_mode => 'ASYNCHRONOUS');
    11    END;
    12  /
    PL/SQL procedure successfully completed.
    SQL>conn myuser/*****@DB1.world
    Connected.
    SQL>CREATE MATERIALIZED VIEW MYUSER.EMP_MV
      2    REFRESH FAST
      3    FOR UPDATE
      4    AS SELECT EMPNO, ENAME, JOB, MGR, SAL, COMM, DEPTNO, HIREDATE
      5*      FROM   [email protected];
    Materialized view created.
    SQL>conn mviewadmin/******@DB1.world
    Connected.
    SQL> BEGIN
      2       DBMS_REFRESH.ADD(
      3         name => 'MVIEWADMIN.MV_REFRESH_GROUPA',
      4         list => 'MYUSER.EMP_MV',
      5         lax => TRUE);
      6    END;
      7  /
    PL/SQL procedure successfully completed.And now lets run CREATE_MVIEW_REPOBJECT.
    SQL>   BEGIN
      2       DBMS_REPCAT.CREATE_MVIEW_REPOBJECT(
      3         gname => 'GROUPA',
      4         sname => 'MYUSER',
      5         oname => 'EMP_MV',
      6         type => 'SNAPSHOT',
      7         min_communication => TRUE);
      8    END;
      9  /
      BEGIN
    ERROR at line 1:
    ORA-23306: schema MYUSER does not exist
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 2840
    ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 773
    ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 5570
    ORA-06512: at "SYS.DBMS_REPCAT_SNA", line 82
    ORA-06512: at "SYS.DBMS_REPCAT", line 1332
    ORA-06512: at line 3 I reproduced exactly the same error message.
    So the problem is clearly in the schema name that owns the materialized view.
    Now lets see if what would happen if I create the MV under schema SCOTT which has the same name as the schema on DB2.world where the master table exists.
    SQL>conn scott/****@DB1.world
    Connected.
    SQL>CREATE MATERIALIZED VIEW SCOTT.EMP_MV
      2    REFRESH FAST
      3    FOR UPDATE
      4    AS SELECT EMPNO, ENAME, JOB, MGR, SAL, COMM, DEPTNO, HIREDATE
      5*      FROM   [email protected];
    Materialized view created.
    SQL>conn mviewadmin/******@DB1.world
    Connected.
    SQL> BEGIN
      2       DBMS_REFRESH.ADD(
      3         name => 'MVIEWADMIN.MV_REFRESH_GROUPA',
      4         list => 'SCOTT.EMP_MV',
      5         lax => TRUE);
      6    END;
      7  /
    PL/SQL procedure successfully completed.And now lets run CREATE_MVIEW_REPOBJECT.
    SQL>   BEGIN
      2       DBMS_REPCAT.CREATE_MVIEW_REPOBJECT(
      3         gname => 'GROUPA',
      4         sname => 'SCOTT',
      5         oname => 'EMP_MV',
      6         type => 'SNAPSHOT',
      7         min_communication => TRUE);
      8    END;
    PL/SQL procedure successfully completed.As you can see everything works fine when the name of the schema owner of the MV at DB1.world is the same as the schema owner of the master table at DB2.world .
    -- Mihajlo
    Message was edited by:
    tekicora

  • Error when creating master group

    I am trying to set up a replication environment with only one master site. I do
    it by running SQL script using SQLPlus (rather than using the Wizard). The
    following is the script I used to create the master site:
    create user REPADMIN identified by REPADMIN;
    BEGIN
    DBMS_REPCAT_ADMIN.GRANT_ADMIN_ANY_REPGROUP(
    userid => 'REPADMIN');
    END;
    grant comment any table to REPADMIN;
    grant lock any table to REPADMIN;
    grant execute any procedure to REPADMIN;
    All lines completed successfully. Then I connect as "repadmin" and try to
    create a master group. The following is the screen capture when I ran the
    SQLPlus:
    Connected to:
    Oracle7 Server Release 7.3.4.4.1 - Production
    With the distributed, replication and parallel query options
    PL/SQL Release 2.3.4.4.1 - Production
    SQL> BEGIN
    DBMS_REPCAT.CREATE_MASTER_REPGROUP(
    gname => 'REPGRP01',
    qualifier => '',
    group_comment => '');
    END;
    2 3 4 5 6 7 BEGIN
    ERROR at line 1:
    ORA-01403: no data found
    ORA-06512: at "SYS.DBMS_REPCAT_UTL", line 2121
    ORA-06512: at "SYS.DBMS_REPCAT_MAS", line 420
    ORA-06512: at "SYS.DBMS_REPCAT", line 45
    ORA-06512: at line 2
    I have no idea on the error message and even don't how to trace the error.
    Is there anything I missed when creating the replication administrator
    'repadmin'? Or anything I have to set up as well before I can create a master
    group?
    p.s.
    1) The version of the Database is 7.3.4.4.1
    2) I did try to create a master group using the Wizard in DBA studio, but
    same error messages appeared.
    Thanks in advance.
    Kae

    Hi,
    Before creating new purchasing groups- 1st check your user ID is authorized to purchasing groups create in t.code: OME4.
    In development system you can creates new purchasing groups with USER ID and telephone numbers, upon saving system will create a transport request. Later you can transfer related transport request to quality system for your testing.
    For example: You can creates new purchasing groups with USER ID and telephone numbers
    Purchasing groups-------------USER ID ---------------Telephone numbers
    Z01-----------------------------------USR01------------------232569875
    Z02-----------------------------------USR02------------------232589876
    Regards,
    Biju K

  • Add_master_database fails

    Hi Everybody,
    thanks in advance for your help. I'm trying to configure and run replication. I have two PC's running as Oracle servers, having both of them the same configuration:
    - Windows XP Pro
    - Oracle 11g Enterprise Edition
    First server is called Oracle1, and database name is orcl1. Second server name is Oracle2 and database name is orcl2
    I'm running the following code:
    SYSTEM/oracle1
    alter system set global_names=true;
    alter system set job_queue_processes=100;
    ALTER DATABASE RENAME global_name TO orcl1.world;
    SYSTEM/oracle2
    alter system set global_names=true;
    alter system set job_queue_processes=100;
    ALTER DATABASE RENAME global_name TO orcl2.world;
    SYSTEM/oracle1
    CREATE PUBLIC DATABASE LINK orcl2.world USING '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(Host=Oracle2)(Port=1521)))(CONNECT_DATA=(SID=orcl2.world)))';
    CREATE USER repadmin IDENTIFIED BY clave
    DEFAULT TABLESPACE users
    TEMPORARY TABLESPACE temp
    QUOTA UNLIMITED ON users;
    EXECUTE Dbms_Defer_Sys.Register_Propagator(username=>'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 LOCK ANY TABLE TO repadmin;
    GRANT COMMENT ANY TABLE TO repadmin;
    SYSTEM/oracle2
    CREATE PUBLIC DATABASE LINK orcl1.world USING '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(Host=Oracle1)(Port=1521)))(CONNECT_DATA=(SID=orcl1.world)))';
    CREATE USER repadmin IDENTIFIED BY clave
    DEFAULT TABLESPACE users
    TEMPORARY TABLESPACE temp
    QUOTA UNLIMITED ON users;
    EXECUTE Dbms_Defer_Sys.Register_Propagator(username=>'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 LOCK ANY TABLE TO repadmin;
    GRANT COMMENT ANY TABLE TO repadmin;
    REPADMIN/oracle1
    CREATE DATABASE LINK orcl2.world CONNECT TO repadmin IDENTIFIED BY clave USING '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(Host=Oracle2)(Port=1521)))(CONNECT_DATA=(SID=orcl2.world)))';
    EXECUTE Dbms_Defer_Sys.Schedule_Push(destination => 'orcl2.world', interval => 'sysdate+1/24/60', next_date => sysdate+1/24/60, stop_on_error => FALSE, delay_seconds => 0, parallelism => 1);
    EXECUTE Dbms_Defer_Sys.Schedule_Purge(next_date => sysdate+1/24, interval => 'sysdate+1/24');
    REPADMIN/oracle2
    CREATE DATABASE LINK orcl1.world CONNECT TO repadmin IDENTIFIED BY clave USING
    '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(Host=Oracle1)(Port=1521)))(CONNECT_DATA=(SID=orcl1.world)))';
    EXECUTE Dbms_Defer_Sys.Schedule_Push(destination => 'orcl1.world',interval => 'sysdate+1/24/60', next_date => sysdate+1/24/60, stop_on_error => FALSE, delay_seconds => 0, parallelism => 1);
    EXECUTE Dbms_Defer_Sys.Schedule_Purge(next_date => sysdate+1/24, interval => 'sysdate+1/24');
    REPADMIN/oracle1
    EXECUTE Dbms_Repcat.Create_Master_Repgroup('REP_01');
    SELECT * FROM dba_repsites WHERE gname = 'REP_01';
    EXECUTE Dbms_Repcat.Add_Master_Database(gname => 'REP_01', master => 'orcl2.world', propagation_mode => 'SYNCHRONOUS');
    At this point I got the following error message:
    ORA-04052: error occurred when looking up remote object [email protected]
    ORA-00604: error occurred at recursive SQL level 2
    ORA-12505: TNS:listener does not currently know of SID given in connect descriptor
    ORA-06512: at "SYS.DBMS_REPCAT_UTL", line 4279
    ORA-06512: at "SYS.DBMS_REPCAT_MAS", line 2156
    ORA-06512: at "SYS.DBMS_REPCAT", line 146
    ORA-06512: at line 1
    It looks like database orcl1 can't access orcl2. Any Idea?
    Thanks

    It looks like the connect descriptor you used when creating database links is not valid.
    You should be focused on resolving
    ORA-12505: TNS:listener does not currently know of SID given in connect descriptor
    http://forums.oracle.com/forums/search.jspa?objID=c18&q=ORA-12505%3A+TNS%3Alistener+does+not+currently+know+of+SID+given+in+connect+descriptor
    PayoRanger wrote:
    alter system set global_names=true;
    ALTER DATABASE RENAME global_name TO orcl1.world;
    SYSTEM/oracle2
    ALTER DATABASE RENAME global_name TO orcl2.world;
    With the above commands you renamed your database global name. Note that the database global name is not the same thing as database SID that you have used in the connect descriptor.
    >
    CREATE PUBLIC DATABASE LINK orcl2.world USING '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(Host=Oracle2)(Port=1521)))(CONNECT_DATA=(SID=orcl2.world)))';
    SYSTEM/oracle2
    CREATE PUBLIC DATABASE LINK orcl1.world USING '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(Host=Oracle1)(Port=1521)))(CONNECT_DATA=(SID=orcl1.world)))';
    When you created your database links, in the connect descripor you indicated that your are going to use the database SID, however, instead of the SID, you have set the value of the database global name.
    You have two options:
    - Check your database's sid name and use that value in the connect descriptor (CONNECT_DATA=(SID=SID NAME HERE))
    - Check what is the service name used to register your db the listener and use it in the connect descriptor (CONNECT_DATA=(SERVICE_NAME=DB Service Name))
    To check your db service name, see what is the value of the initialization parameter SERVICE_NAMES.
    In order to check whether your database link works fine, you can try to query some data using the link. If that works that DBMS_REPCAT.ADD_MASTER_DATABASE should work too.
    >
    EXECUTE Dbms_Repcat.Add_Master_Database(gname => 'REP_01', master => 'orcl2.world', propagation_mode => 'SYNCHRONOUS');
    At this point I got the following error message:
    ORA-04052: error occurred when looking up remote object [email protected]
    ORA-00604: error occurred at recursive SQL level 2
    ORA-12505: TNS:listener does not currently know of SID given in connect descriptor
    ORA-06512: at "SYS.DBMS_REPCAT_UTL", line 4279
    ORA-06512: at "SYS.DBMS_REPCAT_MAS", line 2156
    ORA-06512: at "SYS.DBMS_REPCAT", line 146
    ORA-06512: at line 1
    Useful resources:
    http://68.142.116.68/docs/cd/B28359_01/network.111/b28316/naming.htm#NETAG253
    http://68.142.116.68/docs/cd/B28359_01/network.111/b28316/advcfg.htm#NETAG332
    http://68.142.116.68/docs/cd/B28359_01/server.111/b28310/ds_admin002.htm#ADMIN12150
    Cheers,
    Mihajlo

  • Rebuild Read-only Materialized view refresh with rowid

    Hi,
    I have a 6gb table which there is no primary key. I need to rebuild the read-only mv but i can't use the prebuilt option.
    Try with the offline instantiation from official doc, but encountered ORA-23308. Not sure what i've missed.
    master siteexec dbms_repcat.create_master_repgroup('snap1')
    exec dbms_repcat.create_master_repobject('scott', 'emp1', 'TABLE', gname=>'snap1');
    exec dbms_repcat.generate_replication_support('scott', 'emp1','TABLE', min_communication=>false);But there is an error ORA-23308
    Appreciate any help. Thanks

    that option is only support primary key and not rowid.WHAT option ?
    And, in any case, you can build a Primary Key on an imported table.
    Hemant K Chitale

  • HOW TO DELETE A MASTER GROUP

    Hi,
    I 'm trying to delete or drop a master group that I have created in a 10g database. I run the following code:
    begin
    DBMS_REPCAT.DROP_MASTER_REPGROUP (
    gname => 'MASTER_DIMAYOR',
    drop_contents => false,
    all_sites => false);
    END;
    and this error appears:
    begin
    ERROR en línea 1:
    ORA-23313: el grupo de objetos "PUBLIC"."MASTER_DIMAYOR" no está llamando a una base de datos maestra en TRUE.REGRESS.RDBMS.DEV.US.ORACLE.COM
    ORA-06512: en "SYS.DBMS_SYS_ERROR", línea 105
    ORA-06512: en "SYS.DBMS_REPCAT_UTL4", línea 2867
    ORA-06512: en "SYS.DBMS_REPCAT_MAS", línea 2660
    ORA-06512: en "SYS.DBMS_REPCAT", línea 635
    ORA-06512: en línea 2
    thanks

    It is probably best to do a full Restore on the iPod or at least use the Erase all content option in the Settings area.

  • Replication problem

    when i run the following:
    BEGIN
    DBMS_DEFER_SYS.SCHEDULE_PURGE (
    next_date => SYSDATE,
    interval => 'SYSDATE + 1/24',
    delay_seconds => 0);
    END;
    it returns:
    ORA-23421: job number 48 is not a job in the job queue
    then i run the following:
    select job, log_user, what from dba_jobs;
    it returns:
    JOB LOG_USER
    WHAT
    1 SYS
    wksys.wk_job.invoke(1,1);
    2 SYS
    wksys.wk_job.invoke(1,2);
    47 BAJU
    declare rc binary_integer; begin rc := sys.dbms_defer_sys.push(destination=>'MAS
    TECH118', stop_on_error=>FALSE, delay_seconds=>0, parallelism=>1); end;
    JOB LOG_USER
    WHAT
    21 SYSMAN
    EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS();
    48 BAJU
    declare rc binary_integer; begin rc := sys.dbms_defer_sys.purge; end;
    49 BAJU
    dbms_repcat.do_deferred_repcat_admin('"BAJUMASTECHGRP"', FALSE);
    plz help me.

    i am trying to replicate between 2 dbs.
    i have successfully ended all these steps but replication is not started.
    plz help me.
    here is my script:
    ---Setting PARSKY as mater site in replication environment
    1) CREATE USER repadmin IDENTIFIED BY repadmin;
    2) EXEC DBMS_REPCAT_ADMIN.GRANT_ADMIN_ANY_SCHEMA (username => 'repadmin');
    3) GRANT COMMENT ANY TABLE TO repadmin;
    GRANT LOCK ANY TABLE TO repadmin;
    GRANT SELECT ANY DICTIONARY TO repadmin;
    4) EXEC DBMS_DEFER_SYS.REGISTER_PROPAGATOR (username => 'repadmin');
    5) EXEC DBMS_REPCAT_ADMIN.REGISTER_USER_REPGROUP (username => 'repadmin',privilege_type => 'receiver',list_of_gnames => NULL);
    6) CONNECT repadmin/repadmin@parsky
    EXEC DBMS_DEFER_SYS.SCHEDULE_PURGE (next_date => SYSDATE,interval => 'SYSDATE + 1',delay_seconds => 0);
    ---Setting SKYDUMMY as mater site in replication environment
    1) CONNECT sys/sys@skydummy as sysdba
    CREATE USER repadmin IDENTIFIED BY repadmin;
    2) EXEC DBMS_REPCAT_ADMIN.GRANT_ADMIN_ANY_SCHEMA (username => 'repadmin');
    3) GRANT COMMENT ANY TABLE TO repadmin;
    GRANT LOCK ANY TABLE TO repadmin;
    GRANT SELECT ANY DICTIONARY TO repadmin;
    4) EXEC DBMS_DEFER_SYS.REGISTER_PROPAGATOR (username => 'repadmin');
    5) EXEC DBMS_REPCAT_ADMIN.REGISTER_USER_REPGROUP (username => 'repadmin',privilege_type => 'receiver',list_of_gnames => NULL);
    6) CONNECT repadmin/repadmin@skydummy
    EXEC DBMS_DEFER_SYS.SCHEDULE_PURGE (next_date => SYSDATE,interval => 'SYSDATE + 1',delay_seconds => 0);
    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
    Creating Scheduled Links Between the Master Sites
    ---fOR PARSKY SITE
    1) CONNECT sys@parsky as sysdba
    CREATE PUBLIC DATABASE LINK SKYDUMMY USING 'SKYDUMMY';
    2) CREATE DATABASE LINK SKYDUMMY CONNECT TO repadmin IDENTIFIED BY repadmin;
    ---fOR SKYDUMMY SITE
    1) CONNECT sys/SYS@skyDUMMY as sysdba
    CREATE PUBLIC DATABASE LINK PARSKY USING 'PARSKY';
    2) CREATE DATABASE LINK PARSKY CONNECT TO repadmin IDENTIFIED BY repadmin;
    ----Define a schedule for each database link to create scheduled links.
    ---For PARSKY site
    1) CONNECT repadmin/repadmin@parsky
    EXEC DBMS_DEFER_SYS.SCHEDULE_PUSH (destination => 'SKYDUMMY',interval => 'sysdate+1/24/60',next_date => sysdate+1/24/60,stop_on_error => FALSE,parallelism => 1,delay_seconds => 1200);
    2) CONNECT repadmin/repadmin@skydummy
    EXEC DBMS_DEFER_SYS.SCHEDULE_PUSH (destination => 'PARSKY',interval => 'sysdate+1/24/60',next_date => sysdate+1/24/60,stop_on_error => FALSE,parallelism => 1,delay_seconds => 1200);
    Chapter 2
    Creating a Master Group
    --- For parsky
    1) CONNECT repadmin/repadmin@parsky
    EXEC DBMS_REPCAT.CREATE_MASTER_REPGROUP (gname => 'hr_repg');
    2) EXEC DBMS_REPCAT.CREATE_MASTER_REPOBJECT (gname => 'hr_repg',type => 'TABLE',oname => 'countries',sname => 'hr',use_existing_object => TRUE,copy_rows => TRUE);
    3) Add additional master sites.
    a) exec DBMS_REPCAT.ADD_MASTER_DATABASE (gname => 'hr_repg',master => 'skydummy',use_existing_objects => TRUE,copy_rows => TRUE,propagation_mode => 'ASYNCHRONOUS');
    4) If conflicts are possible, then configure conflict resolution methods.
    a) exec DBMS_REPCAT.GENERATE_REPLICATION_SUPPORT (sname => 'hr',oname => 'countries',type => 'TABLE',min_communication => TRUE);
    5) Resume replication.
    DBMS_REPCAT.RESUME_MASTER_ACTIVITY (gname => 'hr_repg');

  • Problem in implementing "Multi-Master Replication"

    Hi,
    I am trying to implement "Multi-Master Replication", where both sites will try to act as Master, when Site1 is down the other site will take control and data will be updated at Site2 and vice-versa.
    I have created REPADMIN user at both the site.
    create user repadmin identified by repadmin;
    grant connect, resource to repadmin;
    execute dbms_repcat_admin.grant_admin_any_schema(‘repadmin');
    grant comment any table to repadmin;
    grant lock any table to repadmin;
    execute dbms_defer_sys.register_propagator(‘repadmin');
    Then I have created DBLink at both sites:
    connect repadmin/[email protected]
    create database link MYDB.WORLD
    connect to repadmin identified by repadmin
    using 'MYDB.WORLD';
    connect repadmin/[email protected]
    create private database link NAVDB.WORLD
    connect to repadmin identified by repadmin using 'NAVDB.WORLD';
    Then created schedules for Push and Perge jobs.
    -- Add jobs to NAVDB
    connect repadmin/repadmin@navdb
    begin
    dbms_defer_sys.schedule_push(
    destination => 'MYDB.WORLD',
    interval => 'SYSDATE + 1/(60*24)',
    next_date => sysdate,
    stop_on_error => FALSE,
    delay_seconds => 0,
    parallelism => 1);
    end;
    begin
    dbms_defer_sys.schedule_purge(
    next_date => sysdate,
    interval => 'sysdate + 1/24',
    delay_seconds => 0,
    rollback_segment => '');
    end;
    -- Add jobs to MYDB
    connect repadmin/repadmin@mydb
    begin
    dbms_defer_sys.schedule_push(
    destination => 'NAVDB.WORLD',
    interval => 'SYSDATE + 1/(60*24)',
    next_date => sysdate,
    stop_on_error => FALSE,
    delay_seconds => 0,
    parallelism => 1);
    end;
    begin
    dbms_defer_sys.schedule_purge(
    next_date => sysdate,
    interval => 'sysdate + 1/24',
    delay_seconds => 0,
    rollback_segment => '');
    end;
    Then created "Master Group Site" at Site1:
    connect repadmin/repadmin@navdb
    BEGIN
    DBMS_REPCAT.CREATE_MASTER_REPGROUP(
    gname => '"GROUP1"',
    qualifier => '',
    group_comment => '');
    END;
    Add desired table object for Replication:
    BEGIN
    DBMS_REPCAT.CREATE_MASTER_REPOBJECT(
    gname => '"GROUP1"',
    type => 'TABLE',
    oname => '"AUTHOR"',
    sname => '"PUBS"');
    END;
    Set Primary Key column:
    BEGIN
    DBMS_REPCAT.SET_COLUMNS(
    sname => '"PUBS"',
    oname => '"AUTHOR"',
    column_list => '"AUTHOR_KEY"');
    END;
    Resume Master Activity at Site1:
    BEGIN
    DBMS_REPCAT.RESUME_MASTER_ACTIVITY(
    gname => '"GROUP1"');
    END;
    Add another Master Site as Site2:
    connect repadmin/repadmin@navdb
    BEGIN
    DBMS_REPCAT.SUSPEND_MASTER_ACTIVITY(
    gname => '"GROUP1"');
    END;
    BEGIN
    DBMS_REPCAT.ADD_MASTER_DATABASE(
    gname => '"GROUP1"', master => ‘MYDB.WORLD');
    END;
    BEGIN
    DBMS_REPCAT.RESUME_MASTER_ACTIVITY(
    gname => '"GROUP1"');
    END;
    I have executed above steps as shown in attached PDF file. Now I am trying to update one row in "Author" table and it is giving error like:
    ORA-23326: object group "PUBLIC"."GROUP1" is quiesced
    As per the description given for error in some help file, I am trying to suspend the activity, then it is give me same error like:
    SQL> BEGIN
    2 DBMS_REPCAT.SUSPEND_MASTER_ACTIVITY(
    3 gname => '"GROUP1"');
    4 END;
    5 /
    BEGIN
    ERROR at line 1:
    ORA-23326: object group "PUBLIC"."GROUP1" is quiesced
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.DBMS_REPCAT_MAS", line 4195
    ORA-06512: at "SYS.DBMS_REPCAT", line 946
    ORA-06512: at line 2
    Here I am stuck up and cannot perform any DML operation on the Replicated object.
    Look into the matter and suggest something if anyone can.
    Thanks,
    Tapan Trivedi

    You're probably going to have to rethink this.
    Even if your replication agreements are not encrypted, it is likely that your userPassword attributes are hashed. If they're not, you could just ask either master for the cleartext userPassword anyways, and no need to try to sniff it out of replication traffic.

Maybe you are looking for

  • Memory Limits while running Windows

    Anyone know if the new MacPro tower can utilize more of the RAM when running Windows XP in BootCamp?

  • Duplicate calendar entries - but not related to any kind of sync

    I went on holiday for 3 weeks and during that time my iPod touch discharged completely. When I came back and charged it up again I saw that it had reset its date back to what I presume is the factory default of 01 January 1970. I set the date and tim

  • OBS not working after Installation

    Hi All, I am having a had time to make OSB 10.3.0.3 x64 working on my Dell 1850 x64 machine with Windcows Server 2008 x64 on it. OK, I've done is: I do have a SCSI card attached to this server and a tape drive. All system is up to date with all lates

  • IDoc adapter inbound channel: Error Connection err

    Hi, We are trying to push an IDoc from R3, it's status is green in WE02. However, the IDoc is not reaching PI. In tcode SM58 in R3 we are getting an error "IDoc adapter inbound channel: Error Connection err". I have gone through the SAP note 940313 b

  • Cannot Connect using Enterprise Manager

    The details of the Oracle 9i Server 9.2.0.1.0 are as follows: IP: 172.25.22.78 SID: MSPD Port 1521 I am trying to connect to this server using enterprise manager but i get the "ORA-12543: TNS:destination host unreachable" Error. However I am able to