Oneoffs Patch 与目录有关?

请看下面步骤:

$ cd henry
$ ls
5376770 p5376770_10203_SOLARIS64.zip

$ opatch apply
Invoking OPatch 10.2.0.5.0

Oracle Interim Patch Installer version 10.2.0.5.0
Copyright (c) 2010, Oracle Corporation. All rights reserved.


Oracle Home : /opt/app/oracle/product/10.2.0/db_1
Central Inventory : /opt/app/oracle/oraInventory
from : /var/opt/oracle/oraInst.loc
OPatch version : 10.2.0.5.0
OUI version : 10.2.0.3.0
OUI location : /opt/app/oracle/product/10.2.0/db_1/oui
Log file location : /opt/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2010-08-09_01-36-54AM.log

Patch history file: /opt/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch_history.txt

Failed to load the patch object. Possible causes are:
The specified path is not an interim Patch shiphome
Meta-data files are missing from the patch area
Patch location = /export/home/oracle
Details = PatchObject constructor: Input file "/export/home/oracle/etc/config/actions" or "/export/home/oracle/etc/config/inventory" does not exist.

ApplySession failed: PatchObject constructor: Input file "/export/home/oracle/etc/config/actions" or "/export/home/oracle/etc/config/inventory" does not exist.
System intact, OPatch will not attempt to restore the system

OPatch failed with error code 73

$ cd henry
$ ls
5376770 p5376770_10203_SOLARIS64.zip
$ mv 5376770 /tmp
$ ls
p5376770_10203_SOLARIS64.zip
$ cd /tmp
$ ls
5376770 disktacct.0805 hsperfdata_noaccess hsperfdata_root
disktacct.0729 env.log hsperfdata_oracle opatch_debug.log
$ cd 5*
$ opatch apply
Invoking OPatch 10.2.0.5.0

Oracle Interim Patch Installer version 10.2.0.5.0
Copyright (c) 2010, Oracle Corporation. All rights reserved.


Oracle Home : /opt/app/oracle/product/10.2.0/db_1
Central Inventory : /opt/app/oracle/oraInventory
from : /var/opt/oracle/oraInst.loc
OPatch version : 10.2.0.5.0
OUI version : 10.2.0.3.0
OUI location : /opt/app/oracle/product/10.2.0/db_1/oui
Log file location : /opt/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2010-08-09_02-00-54AM.log

Patch history file: /opt/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch_history.txt

ApplySession applying interim patch '5376770' to OH '/opt/app/oracle/product/10.2.0/db_1'
Interim patch 5376770 conflict with patch(es) [ 5375583 ] in the Oracle Home

Patch [ 5376770 ] conflict with patch(es) [ 5375583 ] in the Oracle Home.

To resolve patch conflicts please contact Oracle Support Services.
If you continue, patch(es) [ 5375583 ] will be rolled back and the new Patch [ 5376770 ] will be installed.


Do you want to proceed? [y|n]
y
User Responded with: Y

Running prerequisite checks...
Provide your email address to be informed of security issues, install and
initiate Oracle Configuration Manager. Easier for you if you use your My
Oracle Support Email address/User Name.
Visit http://www.oracle.com/support/policies.html for details.
Email address/User Name:

You have not provided an email address for notification of security issues.
Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]: Y

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: 'tst-rac02-ud-us-eqx'
Local node: 'tst-rac01-ud-us-eqx'
Please shut down Oracle instances running out of this ORACLE_HOME on all the nodes.
(Oracle Home = '/opt/app/oracle/product/10.2.0/db_1')


Are all the nodes 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 '5376770' for restore. This might take a while...
Backing up files affected by the patch '5375583' for restore. This might take a while...
ApplySession rolling back interim patch '5375583' from OH '/opt/app/oracle/product/10.2.0/db_1'

Patching component oracle.rdbms, 10.2.0.3.0...
Updating archive file "/opt/app/oracle/product/10.2.0/db_1/lib/libserver10.a" with "lib/libserver10.a/kcl.o"
Updating archive file "/opt/app/oracle/product/10.2.0/db_1/lib/libserver10.a" with "lib/libserver10.a/kjbm.o"
RollbackSession removing interim patch '5375583' from inventory


OPatch back to application of the patch '5376770' after auto-rollback.

Backing up files affected by the patch '5376770' for rollback. This might take a while...

Patching component oracle.rdbms, 10.2.0.3.0...
Updating archive file "/opt/app/oracle/product/10.2.0/db_1/lib/libserver10.a" with "lib/libserver10.a/kcl.o"
Updating archive file "/opt/app/oracle/product/10.2.0/db_1/lib/libserver10.a" with "lib/libserver10.a/kjbm.o"
Running make for target ioracle
ApplySession adding interim patch '5376770' to inventory

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

Patching in all-node mode.

Updating nodes 'tst-rac02-ud-us-eqx'
Apply-related files are:
FP = "/opt/app/oracle/product/10.2.0/db_1/.patch_storage/5376770_Mar_29_2008_07_38_24/rac/copy_files.txt"
DP = "/opt/app/oracle/product/10.2.0/db_1/.patch_storage/5376770_Mar_29_2008_07_38_24/rac/copy_dirs.txt"
MP = "/opt/app/oracle/product/10.2.0/db_1/.patch_storage/5376770_Mar_29_2008_07_38_24/rac/make_cmds.txt"
RC = "/opt/app/oracle/product/10.2.0/db_1/.patch_storage/5376770_Mar_29_2008_07_38_24/rac/remote_cmds.txt"

Auto-Rollback-related files are:
FR = "/opt/app/oracle/product/10.2.0/db_1/.patch_storage/5376770_Mar_29_2008_07_38_24/rac/remove_files.txt"
DR = "/opt/app/oracle/product/10.2.0/db_1/.patch_storage/5376770_Mar_29_2008_07_38_24/rac/remove_dirs.txt"

Instantiating the file "/opt/app/oracle/product/10.2.0/db_1/.patch_storage/5376770_Mar_29_2008_07_38_24/rac/remove_dirs.txt.instantiated" by replacing $ORACLE_HOME in "/opt/app/oracle/product/10.2.0/db_1/.patch_storage/5376770_Mar_29_2008_07_38_24/rac/remove_dirs.txt" with actual path.
Removing directories on remote nodes...
Instantiating the file "/opt/app/oracle/product/10.2.0/db_1/.patch_storage/5376770_Mar_29_2008_07_38_24/rac/copy_files.txt.instantiated" by replacing $ORACLE_HOME in "/opt/app/oracle/product/10.2.0/db_1/.patch_storage/5376770_Mar_29_2008_07_38_24/rac/copy_files.txt" with actual path.
Propagating files to remote nodes...
Instantiating the file "/opt/app/oracle/product/10.2.0/db_1/.patch_storage/5376770_Mar_29_2008_07_38_24/rac/copy_dirs.txt.instantiated" by replacing $ORACLE_HOME in "/opt/app/oracle/product/10.2.0/db_1/.patch_storage/5376770_Mar_29_2008_07_38_24/rac/copy_dirs.txt" with actual path.
Propagating directories to remote nodes...
Instantiating the file "/opt/app/oracle/product/10.2.0/db_1/.patch_storage/5376770_Mar_29_2008_07_38_24/rac/make_cmds.txt.instantiated" by replacing $ORACLE_HOME in "/opt/app/oracle/product/10.2.0/db_1/.patch_storage/5376770_Mar_29_2008_07_38_24/rac/make_cmds.txt" with actual path.
Running command on remote node 'tst-rac02-ud-us-eqx':
cd /opt/app/oracle/product/10.2.0/db_1/rdbms/lib; /usr/ccs/bin/make -f ins_rdbms.mk ioracle ORACLE_HOME=/opt/app/oracle/product/10.2.0/db_1 || echo REMOTE_MAKE_FAILED::>&2

All nodes have been patched. You may start Oracle instances on the local system and nodes 'tst-rac02-ud-us-eqx'

There were relinks on remote nodes. Remember to check the binary size and timestamp on the nodes 'tst-rac02-ud-us-eqx' .
The following make commands were invoked on remote nodes:
'cd /opt/app/oracle/product/10.2.0/db_1/rdbms/lib; /usr/ccs/bin/make -f ins_rdbms.mk ioracle ORACLE_HOME=/opt/app/oracle/product/10.2.0/db_1
'

--------------------------------------------------------------------------------
The following warnings have occurred during OPatch execution:
1) OUI-67619:Interim patch 5376770 conflict with patch(es) [ 5375583 ] in the Oracle Home
--------------------------------------------------------------------------------
OPatch Session completed with warnings.

OPatch completed with warnings.
$ $ opatch lsinventory
Invoking OPatch 10.2.0.5.0

Oracle Interim Patch Installer version 10.2.0.5.0
Copyright (c) 2010, Oracle Corporation. All rights reserved.


Oracle Home : /opt/app/oracle/product/10.2.0/db_1
Central Inventory : /opt/app/oracle/oraInventory
from : /var/opt/oracle/oraInst.loc
OPatch version : 10.2.0.5.0
OUI version : 10.2.0.3.0
OUI location : /opt/app/oracle/product/10.2.0/db_1/oui
Log file location : /opt/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2010-08-09_02-07-57AM.log

Patch history file: /opt/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch_history.txt

Lsinventory Output file location : /opt/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/lsinv/lsinventory2010-08-09_02-07-57AM.txt

--------------------------------------------------------------------------------
Installed Top-level Products (2):

Oracle Database 10g 10.2.0.1.0
Oracle Database 10g Release 2 Patch Set 2 10.2.0.3.0
There are 2 products installed in this Oracle Home.


Interim patches (44) :

Patch 5376770 : applied on Mon Aug 09 02:05:06 EDT 2010
Created on 29 Mar 2008, 07:38:24 hrs PST8PDT
Bugs fixed:
5376770

Patch 5961454 : applied on Tue Oct 21 04:32:52 EDT 2008
Created on 8 Oct 2007, 23:25:52 hrs PST8PDT
Bugs fixed:
5961454

你可能感兴趣的:(one)