Hi,
Sometimes You can get “ORA-39700: database must be opened with UPGRADE option ” error.
Details of error are as follows.
ORA-39700: database must be opened with UPGRADE option
Cause: A normal database open was attempted, but the database has not been upgraded to the current server version.
Action: Use the UPGRADE option when opening the database to run catupgrd.sql (for database upgrade), or to run catalog.sql and catproc.sql (after initial database creation).
SQL> startup; ORACLE instance started. Total System Global Area 1954160640 bytes Fixed Size 2227752 bytes Variable Size 1325400536 bytes Database Buffers 620756992 bytes Redo Buffers 5775360 bytes Database mounted. ORA-01092: ORACLE instance terminated. Disconnection forced ORA-00704: bootstrap process failure ORA-39700: database must be opened with UPGRADE option Process ID: 22861 Session ID: 1705 Serial number: 5
This error is related with the database that was recently upgraded from 11.2.0.1 to 11.2.0.2
To solve this error, you should correct the environment variables to point to the correct ORACLE_HOME, PATH ( Oracle 12c ) etc and rerun catupgrd.sql as follows.
nohup $ORACLE_HOME/perl/bin/perl $ORACLE_HOME/rdbms/admin/catctl.pl -d $ORACLE_HOME/rdbms/admin -l /home/oracle/ -n 8 catupgrd.sql &
oracle@MehmetSalih ~DEVECI(/home/oracle)$ nohup $ORACLE_HOME/perl/bin/perl $ORACLE_HOME/rdbms/admin/catctl.pl -d $ORACLE_HOME/rdbms/admin -l /home/oracle/ -n 8 catupgrd.sql & Argument list for [/oracle/app/oracle/product/12.2.0/db_1/rdbms/admin/catctl.pl] For Oracle internal use only A = 0 Run in c = 0
Read the following post to learn detailed how to upgrade any database.
https://ittutorial.org/manual-upgrade-oracle-database-from-11-2-0-4-to-12-2-0-1-without-dbua/
Do you want to learn Oracle Database for Beginners, then read the following articles.
https://ittutorial.org/oracle-database-19c-tutorials-for-beginners/