Stopping failed DBMS_STREAMS_ADM.MAINTAIN_SCHEMAS [message #346580] |
Mon, 08 September 2008 23:38 |
Dipali Vithalani
Messages: 278 Registered: March 2007 Location: India
|
Senior Member |
|
|
Hi Friends,
I am trying to configure Stream replication on my databases.
I completed all prerequisites for it like stream admin creation , archive log mode, db link creation etc.
After that when i executed procedure DBMS_STREAMS_ADM.MAINTAIN_SCHEMAS, I got an error.
I solved the thing which was causing the problem , and then again gave the command to execute procedure DBMS_STREAMS_ADM.MAINTAIN_SCHEMAS.
But this time i am getting error like :
ERROR at line 1:
ORA-23622: Operation SYS.DBMS_STREAMS_ADM.MAINTAIN_SCHEMAS is in progress.
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.DBMS_STREAMS_MT", line 2334
ORA-06512: at "SYS.DBMS_STREAMS_MT", line 7451
ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 2624
ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 2685
ORA-06512: at line 2
Please tell me how to stop this..
Regards,
Dipali..
|
|
|
Re: Stopping failed DBMS_STREAMS_ADM.MAINTAIN_SCHEMAS [message #346591 is a reply to message #346580] |
Tue, 09 September 2008 01:28 |
Dipali Vithalani
Messages: 278 Registered: March 2007 Location: India
|
Senior Member |
|
|
Hello Friends,
I Got the Solution..
Putting here so that other can have instant help..
we have to query
select * from DBA_RECOVERABLE_SCRIPT ;
From here we will get script_id..
Then, we can recover from the error using following procedure..
exec DBMS_STREAMS_ADM.RECOVER_OPERATION('<script_id>','ROLLBACK');
...
Then executed DBMS_STREAMS_ADM.MAINTAIN_SCHEMAS with corrected situation and parameter and everything is just fine like God
Regards,
Dipali..
[Updated on: Tue, 09 September 2008 07:24] by Moderator Report message to a moderator
|
|
|
|
Re: Stopping failed DBMS_STREAMS_ADM.MAINTAIN_SCHEMAS [message #346692 is a reply to message #346603] |
Tue, 09 September 2008 06:56 |
Dipali Vithalani
Messages: 278 Registered: March 2007 Location: India
|
Senior Member |
|
|
Welcome, GentalBabu,
While i was stucked with the problem , and busy with my office work, i took time to post the solution so that other persons facing same problem can have solution.. While doing this in hurry, i forget to format the post.. Otherwise you can see my other posts.. Anywasy.. if my "sorry" can satisfy you, then "SORRY"...
Regards,
Dipali..
[Updated on: Tue, 09 September 2008 07:56] Report message to a moderator
|
|
|
|
|