ADOP cutover failing

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

ADOP cutover failing

janardan_ad
Hi Erman,

Faicng an issue while performing cutover , we are in the middle of cross platform migration , as prt of source preparation while running final phase of cutover post applying all required patches we are facing below issue while running cutover. It would be helpful for me if you can check and provide feedback asap :)

Performing database cutover.
    Log: @ADZDSHOWLOG.sql "2024/12/14 11:45:42"
 
Statement Handler Error Code: 20001
Statement Handler Error Message: ORA-20001: Error while calling ad_zd_adop.cutover.ORA-20001: Cutover can only be run from the Patch Edition.
ORA-06512: at line 8 (DBD ERROR: OCIStmtExecute)
Reference of statement-handler is valid, not attempting database reconnect.
Failed to execute SQL statement:
                        declare
                          result varchar2(10);
                        begin
                          ad_zd_adop.cutover;
                        exception when others then
                          ad_zd_adop.update_session_status_failed(27);
                          commit;
                          raise_application_error(-20001,'Error while calling ad_zd_adop.cutover.' || sqlerrm);
                        end;
 
Error Message:
ORA-20001: Error while calling ad_zd_adop.cutover.ORA-20001: Cutover can only be run from the Patch Edition.
ORA-06512: at line 8 (DBD ERROR: OCIStmtExecute)    [UNEXPECTED]Error occurred while performing database cutover.
    [UNEXPECTED]Cutover phase has failed.
Reply | Threaded
Open this post in threaded view
|

Re: ADOP cutover failing

janardan_ad
Belo is details of editions

GRANTEE              OWNER                TABLE_NAME                GRANTOR              PRIVILEGE  GRA HIE COM TYPE                     INH
-------------------- -------------------- ------------------------- -------------------- ---------- --- --- --- ------------------------ ---
APPS                 SYS                  V_20201118_1257           SYS                  USE        YES NO  NO  EDITION                  NO
PUBLIC               SYS                  V_20201118_1257           APPS                 USE        NO  NO  NO  EDITION                  NO
APPS                 SYS                  V_20201120_1259           SYS                  USE        YES NO  NO  EDITION                  NO
PUBLIC               SYS                  V_20201120_1259           APPS                 USE        NO  NO  NO  EDITION                  NO
APPS                 SYS                  V_20201121_1423           SYS                  USE        YES NO  NO  EDITION                  NO
PUBLIC               SYS                  V_20201121_1423           APPS                 USE        NO  NO  NO  EDITION                  NO
APPS                 SYS                  V_20211010_1713           SYS                  USE        YES NO  NO  EDITION                  NO
PUBLIC               SYS                  V_20211010_1713           APPS                 USE        NO  NO  NO  EDITION                  NO
PUBLIC               SYS                  ORA$BASE                  SYS                  USE        NO  NO  NO  EDITION                  NO
SYSTEM               SYS                  ORA$BASE                  SYS                  USE        YES NO  NO  EDITION                  NO
APPS                 SYS                  V_20201121_0905           SYS                  USE        YES NO  NO  EDITION                  NO
PUBLIC               SYS                  V_20201121_0905           APPS                 USE        NO  NO  NO  EDITION                  NO
APPS                 SYS                  V_20201120_1442           SYS                  USE        YES NO  NO  EDITION                  NO
PUBLIC               SYS                  V_20201120_1442           APPS                 USE        NO  NO  NO  EDITION                  NO
APPS                 SYS                  V_20210204_0707           SYS                  USE        YES NO  NO  EDITION                  NO
PUBLIC               SYS                  V_20210204_0707           APPS                 USE        NO  NO  NO  EDITION                  NO
APPS                 SYS                  V_20210204_0946           SYS                  USE        YES NO  NO  EDITION                  NO
PUBLIC               SYS                  V_20210204_0946           APPS                 USE        NO  NO  NO  EDITION                  NO
APPS                 SYS                  V_20241206_1345           SYS                  USE        YES NO  NO  EDITION                  NO
PUBLIC               SYS                  V_20241206_1345           APPS                 USE        NO  NO  NO  EDITION                  NO
APPS                 SYS                  V_20220102_1504           SYS                  USE        YES NO  NO  EDITION                  NO
PUBLIC               SYS                  V_20220102_1504           APPS                 USE        NO  NO  NO  EDITION                  NO
APPS                 SYS                  V_20201118_1141           SYS                  USE        YES NO  NO  EDITION                  NO
PUBLIC               SYS                  V_20201118_1141           APPS                 USE        NO  NO  NO  EDITION                  NO
 
Reply | Threaded
Open this post in threaded view
|

Re: ADOP cutover failing

ErmanArslansOracleBlog
Administrator
You got -> "ORA-20001: Cutover can only be run from the Patch Edition."

This is unexpected and not documented at all, no known issues.

Review your approach, it seems cutover is doing something wrong.. Environment variables may be the cause.. A manual approach could be followed (connecting to patch edition and executing that PLSQL) , but this would be an unsupported move.
I think you have some foundational misconfigurations in your config file or env variables.

But most probably, your environment where you execute this cutover phase is wrong.. Check your shell env accordingly, and also ask this to Oracle Support in parallel.