$ sqlplus
SQL*Plus: Release 11.2.0.4.0 Production on Sat Oct 18 03:36:30 2014
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Enter user-name: /as sysdba
Connected to an idle instance.
SQL> startup upgrade
pfile='/ora_backup/amit/restore_test/initAMIT.ora'
ORACLE instance started.
Total System Global Area 1060585472 bytes
Fixed Size
2260000 bytes
Variable Size 633340896
bytes
Database Buffers 402653184 bytes
Redo Buffers
22331392 bytes
Database mounted.
Database opened.
SQL>
SQL> @?/rdbms/admin/catupgrd.sql
DOC>#######################################################################
DOC>#######################################################################
DOC>
DOC> The first time this script is run, there should be
no error messages
DOC> generated; all normal upgrade error messages are
suppressed.
DOC>
DOC> If this script is being re-run after correcting
some problem, then
DOC> expect the following error which is not
automatically suppressed:
DOC>
DOC> ORA-00001: unique constraint
(<constraint_name>) violated
DOC> possibly
in conjunction with
DOC> ORA-06512: at "<procedure/function
name>", line NN
DOC>
DOC> These errors will automatically be suppressed by
the Database Upgrade
DOC> Assistant (DBUA) when it re-runs an upgrade.
DOC>
DOC>#######################################################################
DOC>#######################################################################
DOC>#
DOC>######################################################################
DOC>######################################################################
DOC> The following statement will cause an
"ORA-01722: invalid number"
DOC> error if the user running this script is not
SYS. Disconnect
DOC> and reconnect with AS SYSDBA.
DOC>######################################################################
DOC>######################################################################
DOC>#
no rows selected
DOC>######################################################################
DOC>######################################################################
DOC> The following statement will cause an
"ORA-01722: invalid number"
DOC> error if the database server version is not
correct for this script.
DOC> Perform "ALTER SYSTEM CHECKPOINT"
prior to "SHUTDOWN ABORT", and use
DOC> a different script or a different server.
DOC>######################################################################
DOC>######################################################################
DOC>#
no rows selected
..
.
.
..
.
Oracle Database 11.2 Post-Upgrade Status Tool
10-18-2014 04:38:30
.
Component
Current
Version Elapsed Time
Name
Status
Number HH:MM:SS
.
Oracle Server
.
VALID 11.2.0.4.0 00:44:37
Oracle Real Application Clusters
.
INVALID
11.2.0.4.0 00:00:04
Oracle Workspace Manager
.
VALID 11.2.0.4.0 00:00:50
Final Actions
.
00:00:01
Total Upgrade Time: 00:45:35
PL/SQL procedure successfully completed.
SQL>
SQL> SET SERVEROUTPUT OFF
SQL> SET VERIFY ON
SQL> commit;
Commit complete.
SQL>
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL>
SQL>
SQL> DOC
DOC>#######################################################################
DOC>#######################################################################
DOC>
DOC> The above sql script is the final step of the
upgrade. Please
DOC> review any errors in the spool log file. If there
are any errors in
DOC> the spool file, consult the Oracle Database Upgrade
Guide for
DOC> troubleshooting recommendations.
DOC>
DOC> Next restart for normal operation, and then run
utlrp.sql to
DOC> recompile any invalid application objects.
DOC>
DOC> If the source database had an older time zone
version prior to
DOC> upgrade, then please run the DBMS_DST package.
DBMS_DST will upgrade
DOC> TIMESTAMP WITH TIME ZONE data to use the latest
time zone file shipped
DOC> with Oracle.
DOC>
DOC>#######################################################################
DOC>#######################################################################
DOC>#
SQL>
SQL> Rem Set errorlogging off
SQL> SET ERRORLOGGING OFF;
SQL>
SQL> REM END OF CATUPGRD.SQL
SQL>
SQL> REM bug 12337546 - Exit current sqlplus session at end of
catupgrd.sql.
SQL> REM
This forces user to start a new sqlplus session in order
SQL> REM
to connect to the upgraded db.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release
11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application
Testing options
This script will run for almost an hour. kindly wait for script to complete.