Autoupgrade Error: UPG-1401, ORA-38760 due to guaranteed restore point



In the middle of 11.2.0.4 upgrade to 19c with auto upgrade i deleted flash back log files due to space constraints. Forgot to include parameter(apx.restoration=no) to instruct autoupgrade utility not to do a guaranteed restore point.


Autoupgrade had following error

upg> 
-------------------------------------------------
Errors in database [APX]
Stage     [DBUPGRADE]
Operation [STOPPED]
Status    [ERROR]
Info    [
Error: UPG-1401
Opening Database APX in upgrade mode failed
Cause: Opening database for upgrade in the target home failed.
For further details, see the log file located at /home/oracle/APX/APX/101/autoupgrade_20200614_user.log]

-------------------------------------------------
Logs: [/home/oracle/APX/APX/101/autoupgrade_20200614_user.log]


autoupgrade_20200614_user.log had this detailed error


2020-06-14 21:02:52.419 ERROR 
DATABASE NAME: APX
         CAUSE: ERROR at Line 8 in [Buffer]
        REASON: ORA-38760: This database instance failed to turn on flashback database
        ACTION: [MANUAL]
        DETAILS: 38760, 00000, "This database instance failed to turn on flashback database"
// *Cause: Database flashback is on but this instance failed to
//         start generating flashback data. Look in alert log for more
//         specific errors.
// *Action: Correct the error or turn off database flashback.

2020-06-14 21:02:52.443 ERROR Database Open Failed for APX ORACLE instance started.
Total System Global Area 1207958960 bytes
Fixed Size                  8895920 bytes
Variable Size             721420288 bytes
Database Buffers          469762048 bytes
Redo Buffers                7880704 bytes
Database mounted.
ORA-38760: This database instance failed to turn on flashback database



2020-06-14 21:02:52.445 ERROR Opening Database APX in upgrade mode failed 
2020-06-14 21:02:52.446 ERROR Exception Error in Database Upgrade [APX] 
2020-06-14 21:02:52.469 ERROR APX Return status is ERROR 
2020-06-14 21:02:52.488 INFO Starting error management routine 
2020-06-14 21:02:52.495 INFO Ended error management routine 
2020-06-14 21:02:52.504 ERROR Error occurred while running the dispatcher for job 101
Cause: Opening database for upgrade in the target home failed. 

First solution came to mind was Turing off flashback database.

started the database to mount mode and ran


Alter database flashback off;

resumed autoupgrade but again it failed with same error. Even i tried with archive log disabling but autoupgrade was always failing with same error.


Finally i had to delete the restore point autoupgrade automatically creates when it starts the upgrade process.

SQL> select name from v$restore_point ;

NAME
--------------------------------------------------------------------------------
AUTOUPGRADE_221145114461854_APX

started the database to mount mode and ran

drop restore point AUTOUPGRADE_221145114461854_APX;

after dropping restore point i resumed autoupgrade and then it was able to continue

upg> resume -job 101

Resuming job: [101][APX]
upg> lsj
+----+-------+---------+---------+-------+--------------+--------+--------+-------+
|Job#|DB_NAME|    STAGE|OPERATION| STATUS|    START_TIME|END_TIME| UPDATED|MESSAGE|
+----+-------+---------+---------+-------+--------------+--------+--------+-------+
| 101|  APX|DBUPGRADE|EXECUTING|RUNNING|20/06/14 15:39|     N/A|04:56:08|Running|
+----+-------+---------+---------+-------+--------------+--------+--------+-------+
Total jobs 1




status -job 101
Progress
-----------------------------------
Start time:      20/06/14 15:39
Elapsed (min):   798
End time:        N/A
Last update:     2020-06-15T04:56:42.531
Stage:           DBUPGRADE
Operation:       EXECUTING
Status:          RUNNING


Comments

Popular posts from this blog

Error processing request - Contact your application administrator apex 20.1

APP-FND-01436: List of Values cannot find any values for you to choose error from concurrent request program parameter (R12 12.1.3)

WEB ADI - issues encountered during initial access