Check for any uncompiled or wrongly compiled objects that might cause problems during installation. Look at article Compilation of objects to see how to do this.
Install new versions of OPatch and MOPatch by replacing binaries. Actual versions should be included inside the patch so you can just extract them to $ORACLE_HOME. Example of UNIX commands:
rm -Rf $ORACLE_HOME/OPatch
rm -Rf $ORACLE_HOME/MOPatch
unzip -qd $ORACLE_HOME /oracle/stage/SAP_102048_201107_HPUXIA64.zip 'SAP_102048_201107/OPatch/*'
unzip -qd $ORACLE_HOME /oracle/stage/SAP_102048_201107_HPUXIA64.zip 'SAP_102048_201107/MOPatch/*'
Stop all SAP and Oracle processes. Example of UNIX commands:
Install SAP bundle patch with MOPatch tool. Example of UNIX commands:
/bin/sh $ORACLE_HOME/MOPatch/mopatch.sh -v -s SAP_102048_201107_HPUXIA64.zip
Startup database by running following SQL command:
Execute SQL script catsbp.sql which was delivered with database binaries by running following SQL command:
Run catbundle.sql. While executing this step “_*_SPARE_PARAMETER” parameters MUST NOT be set. Example of SQL command:
@?/rdbms/admin/catbundle.sql psu apply
If any issues are detected during compilation try to resolve them and rerun the script afterwards.
Run compilation precheck script by running following SQL command:
Start database in UPGRADE mode by executing following commands:
Execute recompile script by running following SQL command:
Startup database in NORMAL mode by running following commands:
Run utlrp.sql script one more time by running following SQL commands:
Run catsbp.sql script one more time by running following SQL command:
Now you should see all steps in “COMPLETED” status.
Relink the database binaries with following UNIX command:
Start database by executing following SQL command:
Then start listener. Example of UNIX command:
Test DB connection with following UNIX command:
Start SAP wit following UNIX command: