Install/Deinstall PSU 11.2.0.4.4

Overview

  • After a GRID deinstall you may need to reinstall a former GI PSU
  • If getting an error during srvctl stop home (  like CRS-2529 ) stop the OH with -f ( force )  flag before applying the patch

 

Verify current RAC status

Note the steps below should be run before running any patching commands
[grid@grac41 cfgtoollogs]$   olsnodes -n -i -s -t
grac42    1    192.168.1.187    Active    Unpinned
grac43    2    192.168.1.253    Active    Unpinned
grac41    3    192.168.1.183    Active    Unpinned
--> Unpin any pinned Node ! 

Checking database and Service Status 
[grid@grac41 cfgtoollogs]$  crs | egrep 'NAME|---|db|svc'
NAME                           TARGET     STATE           SERVER       STATE_DETAILS   
-------------------------      ---------- ----------      ------------ ------------------
ora.grac4.db                   ONLINE     ONLINE          grac43       Open 
ora.grac4.db                   ONLINE     ONLINE          grac42       Open 
ora.grac4.db                   ONLINE     ONLINE          grac41       Open 
ora.grac4.grac41.svc           ONLINE     ONLINE          grac41        
ora.grac4.grac43.svc           ONLINE     ONLINE          grac43        
ora.grac4.my_rac_svc.svc       ONLINE     ONLINE          grac41  
--> All cluster nodes/dbs should be up and running 

Verify OUI repository on all nodes
[grid@grac43 ~]$  $GRID_HOME/OPatch/opatch lsinventory
[oracle@grac43 ~]$  $ORACLE_HOME/OPatch/opatch lsinventory

Opatch auto logfiles:
    $GRID_HOME/cfgtoollogs/
    $ORACLE_HOME/cfgtoollogs/

Running Opatch auto and patching both GRID and RAC HOME

Create response file 
[root@grac41 Desktop]#   $GRID_HOME/OPatch/ocm/bin/emocmrsp

Stop all database running out of the to be patched OH
[oracle@grac41 ~]$ srvctl stop home -o /u01/app/oracle/product/11204/racdb -s ./stophome.txt -n grac41 
If getting errors like CRS-2529 run 
[oracle@grac41 ~]$ srvctl stop home -o /u01/app/oracle/product/11204/racdb -s ./stophome.txt -n grac41 -f

Run opatch auto
[root@grac41 Desktop]#   $GRID_HOME/OPatch/opatch auto  /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115 -ocmrf  /tmp/ocm.rsp
Executing /u01/app/11204/grid/perl/bin/perl /u01/app/11204/grid/OPatch/crs/patch11203.pl -patchdir /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64 -patchn 19380115 -ocmrf /tmp/ocm.rsp -paramfile /u01/app/11204/grid/crs/install/crsconfig_params

This is the main log file: /u01/app/11204/grid/cfgtoollogs/opatchauto2014-10-31_13-33-32.log

This file will show your detected configuration and all the steps that opatchauto attempted to do on your system:
/u01/app/11204/grid/cfgtoollogs/opatchauto2014-10-31_13-33-32.report.log

2014-10-31 13:33:32: Starting Clusterware Patch Setup
Using configuration parameter file: /u01/app/11204/grid/crs/install/crsconfig_params

Stopping RAC /u01/app/oracle/product/11204/racdb ...
Stopped RAC /u01/app/oracle/product/11204/racdb successfully

patch /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115/19121551  apply successful for home  /u01/app/oracle/product/11204/racdb 
patch /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115/19121549/custom/server/19121549  apply successful for home  /u01/app/oracle/product/11204/racdb 

Stopping CRS...
Stopped CRS successfully

patch /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115/19121551  apply successful for home  /u01/app/11204/grid 
patch /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115/19121549  apply successful for home  /u01/app/11204/grid 
patch /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115/19121552  apply successful for home  /u01/app/11204/grid 

Starting CRS...
Installing Trace File Analyzer
CRS-4123: Oracle High Availability Services has been started.

Starting RAC /u01/app/oracle/product/11204/racdb ...
Started RAC /u01/app/oracle/product/11204/racdb successfully

 

Applying patches individually for RDBMS_HOME and GRID_HOME for node grac43,gra43

Install RDBMS patch 
[root@grac42 ~]#    $GRID_HOME/OPatch/opatch auto  /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115 
                     -oh  /u01/app/oracle/product/11204/racdb -ocmrf  /tmp/ocm.rsp
Executing /u01/app/11204/grid/perl/bin/perl /u01/app/11204/grid/OPatch/crs/patch11203.pl -patchdir /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64 -patchn 19380115 -oh /u01/app/oracle/product/11204/racdb -ocmrf /tmp/ocm.rsp -paramfile /u01/app/11204/grid/crs/install/crsconfig_params

This is the main log file: /u01/app/11204/grid/cfgtoollogs/opatchauto2014-10-31_16-14-13.log

This file will show your detected configuration and all the steps that opatchauto attempted to do on your system:
/u01/app/11204/grid/cfgtoollogs/opatchauto2014-10-31_16-14-13.report.log

2014-10-31 16:14:13: Starting Clusterware Patch Setup
Using configuration parameter file: /u01/app/11204/grid/crs/install/crsconfig_params

Stopping RAC /u01/app/oracle/product/11204/racdb ...
Stopped RAC /u01/app/oracle/product/11204/racdb successfully

patch /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115/19121551  apply successful for home  /u01/app/oracle/product/11204/racdb 
patch /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115/19121549/custom/server/19121549  apply successful for home  /u01/app/oracle/product/11204/racdb 

Starting RAC /u01/app/oracle/product/11204/racdb ...
Started RAC /u01/app/oracle/product/11204/racdb successfully

opatch auto succeeded

Verify patch installation 
[oracle@grac42 ~]$ $ORACLE_HOME/OPatch/opatch lsinventory
..
Interim patches (2) :
Patch  19121549     : applied on Fri Oct 31 16:20:07 CET 2014
Unique Patch ID:  18065664
Patch description:  "OCW Patch Set Update : 11.2.0.4.4 (19121549)"
..
Patch  19121551     : applied on Fri Oct 31 16:18:01 CET 2014
Unique Patch ID:  17949166
Patch description:  "Database Patch Set Update : 11.2.0.4.4 (19121551)"
   Created on 6 Oct 2014, 10:07:57 hrs PST8PDT
Sub-patch  18522509; "Database Patch Set Update : 11.2.0.4.3 (18522509)"
Sub-patch  18031668; "Database Patch Set Update : 11.2.0.4.2 (18031668)"
Sub-patch  17478514; "Database Patch Set Update : 11.2.0.4.1 (17478514)"

Install GRID patch   $GRID_HOME/OPatch/opatch auto  /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115
   -oh  /u01/app/11204/grid  -ocmrf  /tmp/ocm.rsp
Executing /u01/app/11204/grid/perl/bin/perl /u01/app/11204/grid/OPatch/crs/patch11203.pl -patchdir /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64 -patchn 19380115 -oh /u01/app/11204/grid -ocmrf /tmp/ocm.rsp -paramfile /u01/app/11204/grid/crs/install/crsconfig_params

This is the main log file: /u01/app/11204/grid/cfgtoollogs/opatchauto2014-10-31_16-27-34.log

This file will show your detected configuration and all the steps that opatchauto attempted to do on your system:
/u01/app/11204/grid/cfgtoollogs/opatchauto2014-10-31_16-27-34.report.log

2014-10-31 16:27:34: Starting Clusterware Patch Setup
Using configuration parameter file: /u01/app/11204/grid/crs/install/crsconfig_params

Stopping CRS...
Stopped CRS successfully

patch /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115/19121551  apply successful for home  /u01/app/11204/grid 
patch /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115/19121549  apply successful for home  /u01/app/11204/grid 
patch /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115/19121552  apply successful for home  /u01/app/11204/grid 

Starting CRS...
Installing Trace File Analyzer
CRS-4123: Oracle High Availability Services has been started.
opatch auto succeeded.

[grid@grac42 ~]$ $GRID_HOME/OPatch/opatch lsinventory
Installed Top-level Products (1): 
Oracle Grid Infrastructure 11g                                       11.2.0.4.0
There are 1 product(s) installed in this Oracle Home.
Interim patches (3) :
Patch  19121552     : applied on Fri Oct 31 16:45:44 CET 2014
Unique Patch ID:  18065664
Patch description:  "ACFS PATCH SET UPDATE : 11.2.0.4.4 (19121552)"
..
Patch  19121549     : applied on Fri Oct 31 16:38:19 CET 2014
Unique Patch ID:  18065664
Patch description:  "OCW Patch Set Update : 11.2.0.4.4 (19121549)"
   Created on 6 Oct 2014, 03:27:01 hrs PST8PDT
...
Patch  19121551     : applied on Fri Oct 31 16:33:38 CET 2014
Unique Patch ID:  17949166
Patch description:  "Database Patch Set Update : 11.2.0.4.4 (19121551)"
   Created on 6 Oct 2014, 10:07:57 hrs PST8PDT

...

Run post patch procedure and verify patch installation

SQL> connect / as sysdba
Connected.
SQL>  @catbundle.sql psu apply

SQL> select * from dba_registry_history;
ACTION_TIME               ACTION                  NAMESPACE              VERSION
------------------------------ ------------------------------ ------------------------------ ------------------------------
    ID BUNDLE_SERIES          COMMENTS
---------- ------------------------------ ----------------------------------------
24-AUG-13 12.03.45.119862 PM   APPLY                  SERVER                 11.2.0.4
     0 PSU                  Patchset 11.2.0.2.0

14-SEP-13 11.30.05.916505 AM   APPLY                  SERVER                 11.2.0.4
     0 PSU                  Patchset 11.2.0.2.0

04-MAY-14 01.34.44.559387 PM   APPLY                  SERVER                 11.2.0.4
     2 PSU                  PSU 11.2.0.4.2

01-NOV-14 07.13.59.111392 AM   APPLY                  SERVER                 11.2.0.4
     4 PSU                  PSU 11.2.0.4.4

 

Deinstall PSU 11.2.0.4.4


Issue 1   
    When Trace File Analyzer (TFA) is patched as part of a PSU, any rollback of the PSU will not roll back any patch applied to TFA. 
    This is intended behavior, but if there are any issues with patching TFA itself, then manual steps will be required to recover.
    If a PSU has been rolled back and due to some issue with patching TFA it has to be reinstalled, then you should:
        Remove TFA by executing the following command on each node as the root user:
        GIHOME/tfa/<nodename>/tfa_home/bin/uninstalltfa.sh -local
        Reinstall the previous TFA version by executing the following command on each node as the root user:
        GIHOME/crs/install/tfa_setup.sh -crshome <path to GIHOME> -silent
    If a PSU is installed but not rolled back and there are issues with TFA, then contact Oracle Support to help resolve the TFA issues.

Issue 2   
    After rolling back using opatch auto from the Oracle Grid infrastructure Patch Set Update 11.2.0.4.4, database and listener resources are going to be offline.
    You should start the database and listener resources using the srvctl command.

Deinstall TFA to avoid any issue - TFA will be reinstalled during patch rollback automatically
[root@grac41]# $GRID_HOME/tfa/grac41/tfa_home/bin/uninstalltfa.sh -local
[root@grac42]# $GRID_HOME/tfa/grac42/tfa_home/bin/uninstalltfa.sh -local
[root@grac43]# $GRID_HOME/tfa/grac43/tfa_home/bin/uninstalltfa.sh -local

Verify that services + databases are online 
[root@grac43 ~]#  crs | egrep 'NAME|---|db|svc'
NAME                           TARGET     STATE           SERVER       STATE_DETAILS   
-------------------------      ---------- ----------      ------------ ------------------
ora.grac4.db                   ONLINE     ONLINE          grac43       Open 
ora.grac4.db                   ONLINE     ONLINE          grac42       Open 
ora.grac4.db                   ONLINE     ONLINE          grac41       Open 
ora.grac4.grac41.svc           ONLINE     ONLINE          grac41        
ora.grac4.grac43.svc           ONLINE     ONLINE          grac43        
ora.grac4.my_rac_svc.svc       ONLINE     ONLINE          grac41      

Rollback the patch
[root@grac41 Desktop]#  $GRID_HOME/OPatch/opatch auto -rollback /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115 -ocmrf  /tmp/ocm.rsp
..
Stopping RAC /u01/app/oracle/product/11204/racdb ...
Failed to stop resources from  database home /u01/app/oracle/product/11204/racdb
ERROR: Refer log file for more details.
..
CH-1000 : Failed to stop resources running from Oracle home /u01/app/oracle/product/11204/racdb
 PRCR-1132 : Failed to stop resources using a filter
 CRS-2529: Unable to act on 'ora.grac4.db' because that would require stopping or relocating 'ora.grac4.grac41.svc', but the force option was not specified
 CRS-2529: Unable to act on 'ora.grac4.db' because that would require stopping or relocating 'ora.grac4.grac41.svc', but the force option was not specified

Try manually run that command 
[oracle@grac41 ~]$ srvctl stop home -o /u01/app/oracle/product/11204/racdb -s /tmp/stophome.txt -n grac41 
PRCH-1000 : Failed to stop resources running from Oracle home /u01/app/oracle/product/11204/racdb
PRCR-1132 : Failed to stop resources using a filter
CRS-2529: Unable to act on 'ora.grac4.db' because that would require stopping or relocating 'ora.grac4.grac41.svc', but the force option was not specified
CRS-2529: Unable to act on 'ora.grac4.db' because that would require stopping or relocating 'ora.grac4.grac41.svc', but the force option was not specified

Stop home on grac41 with force flag -f 
[oracle@grac41 ~]$ srvctl stop home -o /u01/app/oracle/product/11204/racdb -s ./stophome.txt -n grac41 -f
[oracle@grac41 ~]$  crs | egrep 'NAME|---|db|svc'
NAME                           TARGET     STATE           SERVER       STATE_DETAILS   
-------------------------      ---------- ----------      ------------ ------------------
ora.grac4.db                   ONLINE     ONLINE          grac43       Open 
ora.grac4.db                   ONLINE     ONLINE          grac42       Open 
ora.grac4.db                   OFFLINE    OFFLINE                      Instance Shutdown 
ora.grac4.grac41.svc           OFFLINE    OFFLINE                       
ora.grac4.grac43.svc           ONLINE     ONLINE          grac43        
ora.grac4.my_rac_svc.svc       OFFLINE    OFFLINE              

Deinstall the patch  on grac41
root@grac41 Desktop]#  $GRID_HOME/OPatch/opatch auto -rollback /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115 -ocmrf  /tmp/ocm.rsp
Executing /u01/app/11204/grid/perl/bin/perl /u01/app/11204/grid/OPatch/crs/patch11203.pl -rollback -patchdir /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64 -patchn 19380115 -ocmrf /tmp/ocm.rsp -paramfile /u01/app/11204/grid/crs/install/crsconfig_params
This is the main log file: /u01/app/11204/grid/cfgtoollogs/opatchauto2014-11-01_07-43-10.log
This file will show your detected configuration and all the steps that opatchauto attempted to do on your system:
/u01/app/11204/grid/cfgtoollogs/opatchauto2014-11-01_07-43-10.report.log
2014-11-01 07:43:10: Starting Clusterware Patch Setup
Using configuration parameter file: /u01/app/11204/grid/crs/install/crsconfig_params
Stopping RAC /u01/app/oracle/product/11204/racdb ...
Stopped RAC /u01/app/oracle/product/11204/racdb successfully
patch 19121551  rollback successful for home /u01/app/oracle/product/11204/racdb
patch 19121549  rollback successful for home /u01/app/oracle/product/11204/racdb
Stopping CRS...
Stopped CRS successfully
patch 19121551  rollback successful for home /u01/app/11204/grid
patch 19121549  rollback successful for home /u01/app/11204/grid
patch 19121552  rollback successful for home /u01/app/11204/grid
Starting CRS...
Using configuration parameter file: /u01/app/11204/grid/crs/install/crsconfig_params
Installing Trace File Analyzer
CRS-4123: Oracle High Availability Services has been started.
Starting RAC /u01/app/oracle/product/11204/racdb ...
Started RAC /u01/app/oracle/product/11204/racdb successfully
opatch auto succeeded.

[grid@grac41 ~]$  $GRID_HOME/OPatch/opatch lsinventory
..
Installed Top-level Products (1): 
Oracle Grid Infrastructure 11g                                       11.2.0.4.0
There are 1 product(s) installed in this Oracle Home.
Interim patches (1) :
Patch  18031668     : applied on Sun May 04 11:55:27 CEST 2014
Unique Patch ID:  17255543
Patch description:  "Database Patch Set Update : 11.2.0.4.2 (18031668)"
   Created on 20 Feb 2014, 05:15:58 hrs PST8PDT
Sub-patch  17478514; "Database Patch Set Update : 11.2.0.4.1 (17478514)"

--> 11.2.0.4.2 GRID patches are missing you need to reapply  patch GI PSU 11.2.0.4.2
[grid@grac41 ~]$  crs  | egrep 'OFFLINE|--|NAME'
NAME                           TARGET     STATE           SERVER       STATE_DETAILS   
-------------------------      ---------- ----------      ------------ ------------------
ora.gsd                        OFFLINE    OFFLINE         grac41        
ora.gsd                        OFFLINE    OFFLINE         grac42        
ora.gsd                        OFFLINE    OFFLINE         grac43        
ora.grac4.db                   OFFLINE    OFFLINE         grac41       Instance Shutdown
ora.grac4.grac41.svc           OFFLINE    OFFLINE         grac41        
ora.grac4.my_rac_svc.svc       OFFLINE    OFFLINE         grac41     

Start listener/DBs manually 
[oracle@grac41 admin]$   svrctl start database -d grac4
[oracle@grac41 admin]$  crs  | egrep 'OFFLINE|--|NAME'
NAME                           TARGET     STATE           SERVER       STATE_DETAILS   
-------------------------      ---------- ----------      ------------ ------------------
ora.gsd                        OFFLINE    OFFLINE         grac41        
ora.gsd                        OFFLINE    OFFLINE         grac42        
ora.gsd                        OFFLINE    OFFLINE         grac43   

Repeat the above  on the remaining Nodes grac43,grac42

Run postpatch action  
cd $ORACLE_HOME/rdbms/admin
sqlplus /nolog
SQL> CONNECT / AS SYSDBA
SQL> STARTUP
SQL> @catbundle_PSU_GRAC4_ROLLBACK.sql

Steps generated from opatch auto installing PSU 11.2.0.4.4

[root@grac41 cfgtoollogs]# cat  opatchauto2014-10-31_13-33-32.report.log
***********  Configuration Data  ***********
* It shows only those targets that will be patched in this session *
crs_home=/u01/app/11204/grid    version=11.2.0.4.0    owner=grid      opatch_ver=11.2.0.3.6
rac_home=/u01/app/oracle/product/11204/racdb    version=11.2.0.4.0    owner=oracle      opatch_ver=11.2.0.3.6
*********** Steps to be executed as owner unless specified as root ***********
1: /u01/app/oracle/product/11204/racdb/OPatch/opatch prereq CheckComponents -ph /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115/19121551 -oh /u01/app/oracle/product/11204/racdb
2: /u01/app/oracle/product/11204/racdb/OPatch/opatch prereq CheckComponents -ph /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115/19121549/custom/server/19121549 -oh /u01/app/oracle/product/11204/racdb
3: /u01/app/oracle/product/11204/racdb/OPatch/opatch prereq CheckConflictAgainstOH -ph /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115/19121551 -oh /u01/app/oracle/product/11204/racdb
4: /u01/app/oracle/product/11204/racdb/OPatch/opatch prereq CheckConflictAgainstOH -ph /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115/19121549/custom/server/19121549 -oh /u01/app/oracle/product/11204/racdb
5: /u01/app/11204/grid/OPatch/opatch prereq CheckComponents -ph /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115/19121551 -oh /u01/app/11204/grid
6: /u01/app/11204/grid/OPatch/opatch prereq CheckComponents -ph /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115/19121549 -oh /u01/app/11204/grid
7: /u01/app/11204/grid/OPatch/opatch prereq CheckComponents -ph /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115/19121552 -oh /u01/app/11204/grid
8: /u01/app/11204/grid/OPatch/opatch prereq CheckConflictAgainstOH -ph /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115/19121551 -oh /u01/app/11204/grid
9: /u01/app/11204/grid/OPatch/opatch prereq CheckConflictAgainstOH -ph /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115/19121549 -oh /u01/app/11204/grid
10: /u01/app/11204/grid/OPatch/opatch prereq CheckConflictAgainstOH -ph /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115/19121552 -oh /u01/app/11204/grid
11: /u01/app/oracle/product/11204/racdb/bin/emctl stop dbconsole
12: /u01/app/oracle/product/11204/racdb/bin/emctl stop agent
13: /u01/app/oracle/product/11204/racdb/OPatch/opatch prereq CheckApplicable -ph /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115/19121551 -oh /u01/app/oracle/product/11204/racdb
14: /u01/app/oracle/product/11204/racdb/OPatch/opatch prereq CheckApplicable -ph /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115/19121549/custom/server/19121549 -oh /u01/app/oracle/product/11204/racdb
15: /u01/app/oracle/product/11204/racdb/bin/srvctl stop home -o /u01/app/oracle/product/11204/racdb -s /u01/app/oracle/product/11204/racdb/srvm/admin/stophome.txt -n grac41
16: /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115/19121549/custom/server/19121549/custom/scripts/prepatch.sh -dbhome /u01/app/oracle/product/11204/racdb
17: /u01/app/oracle/product/11204/racdb/OPatch/opatch napply /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115/19121551 -local -silent -ocmrf /tmp/ocm.rsp -oh /u01/app/oracle/product/11204/racdb -invPtrLoc /u01/app/oracle/product/11204/racdb/oraInst.loc
18: /u01/app/oracle/product/11204/racdb/OPatch/opatch napply /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115/19121549/custom/server/19121549 -local -silent -ocmrf /tmp/ocm.rsp -oh /u01/app/oracle/product/11204/racdb -invPtrLoc /u01/app/oracle/product/11204/racdb/oraInst.loc
19: /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115/19121549/custom/server/19121549/custom/scripts/postpatch.sh -dbhome /u01/app/oracle/product/11204/racdb
20: /u01/app/11204/grid/crs/install/rootcrs.pl -unlock : run as root
21: /sbin/fuser -k /u01/app/11204/grid/bin/crsctl.bin : run as root
22: /u01/app/11204/grid/OPatch/opatch prereq CheckApplicable -ph /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115/19121551 -oh /u01/app/11204/grid
23: /u01/app/11204/grid/OPatch/opatch prereq CheckApplicable -ph /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115/19121549 -oh /u01/app/11204/grid
24: /u01/app/11204/grid/OPatch/opatch prereq CheckApplicable -ph /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115/19121552 -oh /u01/app/11204/grid
25: /u01/app/11204/grid/OPatch/opatch napply /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115/19121551 -local -silent -ocmrf /tmp/ocm.rsp -oh /u01/app/11204/grid -invPtrLoc /u01/app/11204/grid/oraInst.loc
26: /u01/app/11204/grid/OPatch/opatch napply /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115/19121549 -local -silent -ocmrf /tmp/ocm.rsp -oh /u01/app/11204/grid -invPtrLoc /u01/app/11204/grid/oraInst.loc
27: /u01/app/11204/grid/OPatch/opatch napply /media/sf_kits/patches/112044/p19380115_112040_Linux-x86-64/19380115/19121552 -local -silent -ocmrf /tmp/ocm.rsp -oh /u01/app/11204/grid -invPtrLoc /u01/app/11204/grid/oraInst.loc
28: /u01/app/11204/grid/bin/emctl start dbconsole
29: /u01/app/11204/grid/rdbms/install/rootadd_rdbms.sh : run as root
30: /u01/app/11204/grid/crs/install/rootcrs.pl -patch : run as root
31: /u01/app/oracle/product/11204/racdb/bin/emctl start dbconsole
32: /u01/app/oracle/product/11204/racdb/bin/emctl start agent
33: /u01/app/oracle/product/11204/racdb/bin/srvctl start home -o /u01/app/oracle/product/11204/racdb -s /u01/app/oracle/product/11204/racdb/srvm/admin/stophome.txt -n grac41

 

Reference

  • Bug 19537406 : INCLUDE ‘-FORCE’ IN ‘SRVCTL STOP HOME’ COMMANDS  (this is an unpublished BUG for 12c )

Leave a Reply

Your email address will not be published. Required fields are marked *