安裝oracle 11g RAC時打8670579?補丁

darren__chan發表於2015-03-15

安裝oracle 11g RAC時 root.s Failed to create or upgrade OLR   ,要打p 8670579補丁
第一次打不成功時目錄許可權沒賦好,重新賦權就可以了

[grid@rac01 OPatch]$ ./opatch apply /tmp/i686a/8670579

Invoking OPatch 11.1.0.6.6


Oracle Interim Patch Installer version 11.1.0.6.6
Copyright (c) 2009, Oracle Corporation.  All rights reserved.

Oracle Home       : /u01/11.2.0.3/grid
Central Inventory : /u01/app/oraInventory
   from           : /etc/oraInst.loc
OPatch version    : 11.1.0.6.6
OUI version       : 11.2.0.1.0
OUI location      : /u01/11.2.0.3/grid/oui
Log file location : /u01/11.2.0.3/grid/cfgtoollogs/opatch/opatch2015-03-15_20-56-06PM.log


Patch history file: /u01/11.2.0.3/grid/cfgtoollogs/opatch/opatch_history.txt




--------------------------------------------------------------------------------
The patch has more than one Archive Action but there is no Make Action.
--------------------------------------------------------------------------------
ApplySession applying interim patch '8670579' to OH '/u01/11.2.0.3/grid'
ApplySession failed: ApplySession failed to prepare the system. ApplySession was not able to create the patch_storage area: /u01/11.2.0.3/grid/.patch_storage/8670579_Feb_25_2010_09_55_12
System intact, OPatch will not attempt to restore the system


OPatch failed with error code 73

-----------------------------------------------------------------------------------------------------------------------------------

[grid@rac01 /]$ ls -l
drwxr-xr-x   4 root oinstall  4096 Mar 15 16:30 u01


[root@rac01 ~]# chown -R grid:oinstall /u01/11.2.0.3/grid
[root@rac01 ~]# chmod -R 775 /u01/11.2.0.3/grid


-----------------------------------------------------------------------------------------------------------------------------------
[grid@rac01 OPatch]$ ./opatch apply /tmp/i686a/8670579
Invoking OPatch 11.1.0.6.6


Oracle Interim Patch Installer version 11.1.0.6.6
Copyright (c) 2009, Oracle Corporation.  All rights reserved.




Oracle Home       : /u01/11.2.0.3/grid
Central Inventory : /u01/app/oraInventory
   from           : /etc/oraInst.loc
OPatch version    : 11.1.0.6.6
OUI version       : 11.2.0.1.0
OUI location      : /u01/11.2.0.3/grid/oui
Log file location : /u01/11.2.0.3/grid/cfgtoollogs/opatch/opatch2015-03-15_21-08-50PM.log


Patch history file: /u01/11.2.0.3/grid/cfgtoollogs/opatch/opatch_history.txt




--------------------------------------------------------------------------------
The patch has more than one Archive Action but there is no Make Action.
--------------------------------------------------------------------------------
ApplySession applying interim patch '8670579' to OH '/u01/11.2.0.3/grid'


Running prerequisite checks...


OPatch detected the node list and the local node from the inventory.  OPatch will patch the local system then propagate the patch to the remote nodes.




This node is part of an Oracle Real Application Cluster.
Remote nodes: 'rac02' 
Local node: 'rac01'
Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/u01/11.2.0.3/grid')




Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files and inventory (not for auto-rollback) for the Oracle Home
Backing up files affected by the patch '8670579' for restore. This might take a while...
Backing up files affected by the patch '8670579' for rollback. This might take a while...


Patching component oracle.network.rsf, 11.2.0.1.0...
Updating archive file "/u01/11.2.0.3/grid/lib/libnnz11.a"  with "lib/libnnz11.a/ahseteco.o"
Updating archive file "/u01/11.2.0.3/grid/lib/libnnz11.a"  with "lib/libnnz11.a/am11rkg.o"
Updating archive file "/u01/11.2.0.3/grid/lib/libnnz11.a"  with "lib/libnnz11.a/amsha.o"
Updating archive file "/u01/11.2.0.3/grid/lib/libnnz11.a"  with "lib/libnnz11.a/cpui32.o"
Updating archive file "/u01/11.2.0.3/grid/lib/libnnz11.a"  with "lib/libnnz11.a/sha.o"
Updating archive file "/u01/11.2.0.3/grid/lib/libnnz11.a"  with "lib/libnnz11.a/x931rand.o"
Updating archive file "/u01/11.2.0.3/grid/lib/libnnz11.a"  with "lib/libnnz11.a/am11dkg.o"
Updating archive file "/u01/11.2.0.3/grid/lib/libnnz11.a"  with "lib/libnnz11.a/am931rnd.o"
Updating archive file "/u01/11.2.0.3/grid/lib/libnnz11.a"  with "lib/libnnz11.a/amsharnd.o"
Updating archive file "/u01/11.2.0.3/grid/lib/libnnz11.a"  with "lib/libnnz11.a/ghash.o"
Updating archive file "/u01/11.2.0.3/grid/lib/libnnz11.a"  with "lib/libnnz11.a/shacomm.o"
Copying file to "/u01/11.2.0.3/grid/lib/libnnz11.so"
ApplySession adding interim patch '8670579' to inventory


Verifying the update...
Inventory check OK: Patch ID 8670579 is registered in Oracle Home inventory with proper meta-data.
Files check OK: Files from Patch ID 8670579 are present in Oracle Home.


The local system has been patched.  You can restart Oracle instances on it.




Patching in rolling mode.




The node 'rac02' will be patched next.




Please shutdown Oracle instances running out of this ORACLE_HOME on 'rac02'.
(Oracle Home = '/u01/11.2.0.3/grid')


Is the node ready for patching? [y|n]
y
User Responded with: Y
Updating nodes 'rac02' 
   Apply-related files are:
     FP = "/u01/11.2.0.3/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/copy_files.txt"
     DP = "/u01/11.2.0.3/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/copy_dirs.txt"
     MP = "/u01/11.2.0.3/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/make_cmds.txt"
     RC = "/u01/11.2.0.3/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/remote_cmds.txt"


Instantiating the file "/u01/11.2.0.3/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/copy_files.txt.instantiated" by replacing $ORACLE_HOME in "/u01/11.2.0.3/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/copy_files.txt" with actual path.
Propagating files to remote nodes...


OPatch failed to copy files to remote nodes 'rac02' .  Detail: Error while copying files inside directory '/u01/11.2.0.3/grid' based on listed file '/u01/11.2.0.3/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/copy_files.txt.instantiated' to nodes 'rac02'. [PRKC-1073 : Failed to transfer directory "/u01/11.2.0.3/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/copy_files.txt.instantiated" to any of the given nodes "rac02 ". 
Error on node rac02:null]


OPatch failed to copy files to remote nodes 'rac02' .
Do you want to proceed? [y|n]
y
User Responded with: Y
Instantiating the file "/u01/11.2.0.3/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/copy_dirs.txt.instantiated" by replacing $ORACLE_HOME in "/u01/11.2.0.3/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/copy_dirs.txt" with actual path.
Propagating directories to remote nodes...




來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29863023/viewspace-1460688/,如需轉載,請註明出處,否則將追究法律責任。

相關文章