Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Replication API error
did you try connect as repadmin and select
select sysdate from dual_at_masterb
"Xyerp" <Xyerp_at_hotmail.com> wrote in message
news:3d7bc779.0208210330.6a05c685_at_posting.google.com...
> Hi,
>
> Just running through the tutorial on using the replcation API, but
> seem to have hit a brick wall. Everything runs smooooothly until I get
> to this part:
>
> SQL> connect repadmin/repadmin_at_MASTERA
> Connected
> SQL> BEGIN
> 2 DBMS_REPCAT.ADD_MASTER_DATABASE (
> gname => 'SCOTT_MG',
> master => 'MASTERB',
> use_existing_objects => TRUE,
> copy_rows => TRUE,
> propagation_mode => 'ASYNCHRONOUS');
> 3 END;
> 4 /
> BEGIN
> *
> ERROR:
> ORA-04054: database link MASTERB does not exist
> ORA-06512: at "SYS.DBMS_REPCAT_UTL", line 3671
> ORA-06512: at "SYS.DBMS_REPCAT_MAS", line 1896
> ORA-06512: at "SYS.DBMS_REPCAT", line 121
> ORA-06512: at line 2
>
> Hm. So I do a little check:
>
> SQL> select * from DBA_DB_LINKS;
>
> OWNER
> ------------------------------
> DB_LINK
> --------------------------------------------------------------------------
![]() |
![]() |