错误出现的环境 64位 cpu 64位操作系统 安装32位oracle11g R2
解决方法如下:打补丁p8670579_112010_LINUX
打补丁的方法:
1、把补丁上上传到服务器,然后解压
2、在解压后的目录下
[oracle@haozg 8670579]$ ls -al
total 24
drwxrwxr-x 4 oracle oinstall 4096 Feb 25 2010 .
drwxr-xr-x 5 root root 4096 May 31 05:22 ..
drwxr-xr-x 4 oracle oinstall 4096 Feb 25 2010 etc
drwxr-xr-x 3 oracle oinstall 4096 Feb 25 2010 files
-rw-r--r-- 1 oracle oinstall 5163 Feb 25 2010 README.txt
[oracle@haozg 8670579]$ /oracle/product/11.2.0/OPatch/opatch apply
Invoking OPatch 11.1.0.6.6
total 24
drwxrwxr-x 4 oracle oinstall 4096 Feb 25 2010 .
drwxr-xr-x 5 root root 4096 May 31 05:22 ..
drwxr-xr-x 4 oracle oinstall 4096 Feb 25 2010 etc
drwxr-xr-x 3 oracle oinstall 4096 Feb 25 2010 files
-rw-r--r-- 1 oracle oinstall 5163 Feb 25 2010 README.txt
[oracle@haozg 8670579]$ /oracle/product/11.2.0/OPatch/opatch apply
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.
Copyright (c) 2009, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/product/11.2.0
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 : /oracle/product/11.2.0/oui
Log file location : /oracle/product/11.2.0/cfgtoollogs/opatch/opatch2012-06-05_08-19-44AM.log
Patch history file: /oracle/product/11.2.0/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 '/oracle/product/11.2.0'
Running prerequisite checks...
OPatch detected non-cluster Oracle Home from the inventory and will patch the local system only.
Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/oracle/product/11.2.0')
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 "/oracle/product/11.2.0/lib/libnnz11.a" with "lib/libnnz11.a/ahseteco.o"
Updating archive file "/oracle/product/11.2.0/lib/libnnz11.a" with "lib/libnnz11.a/am11rkg.o"
Updating archive file "/oracle/product/11.2.0/lib/libnnz11.a" with "lib/libnnz11.a/amsha.o"
Updating archive file "/oracle/product/11.2.0/lib/libnnz11.a" with "lib/libnnz11.a/cpui32.o"
Updating archive file "/oracle/product/11.2.0/lib/libnnz11.a" with "lib/libnnz11.a/sha.o"
Updating archive file "/oracle/product/11.2.0/lib/libnnz11.a" with "lib/libnnz11.a/x931rand.o"
Updating archive file "/oracle/product/11.2.0/lib/libnnz11.a" with "lib/libnnz11.a/am11dkg.o"
Updating archive file "/oracle/product/11.2.0/lib/libnnz11.a" with "lib/libnnz11.a/am931rnd.o"
Updating archive file "/oracle/product/11.2.0/lib/libnnz11.a" with "lib/libnnz11.a/amsharnd.o"
Updating archive file "/oracle/product/11.2.0/lib/libnnz11.a" with "lib/libnnz11.a/ghash.o"
Updating archive file "/oracle/product/11.2.0/lib/libnnz11.a" with "lib/libnnz11.a/shacomm.o"
Copying file to "/oracle/product/11.2.0/lib/libnnz11.so"
ApplySession adding interim patch '8670579' to inventory
Updating archive file "/oracle/product/11.2.0/lib/libnnz11.a" with "lib/libnnz11.a/ahseteco.o"
Updating archive file "/oracle/product/11.2.0/lib/libnnz11.a" with "lib/libnnz11.a/am11rkg.o"
Updating archive file "/oracle/product/11.2.0/lib/libnnz11.a" with "lib/libnnz11.a/amsha.o"
Updating archive file "/oracle/product/11.2.0/lib/libnnz11.a" with "lib/libnnz11.a/cpui32.o"
Updating archive file "/oracle/product/11.2.0/lib/libnnz11.a" with "lib/libnnz11.a/sha.o"
Updating archive file "/oracle/product/11.2.0/lib/libnnz11.a" with "lib/libnnz11.a/x931rand.o"
Updating archive file "/oracle/product/11.2.0/lib/libnnz11.a" with "lib/libnnz11.a/am11dkg.o"
Updating archive file "/oracle/product/11.2.0/lib/libnnz11.a" with "lib/libnnz11.a/am931rnd.o"
Updating archive file "/oracle/product/11.2.0/lib/libnnz11.a" with "lib/libnnz11.a/amsharnd.o"
Updating archive file "/oracle/product/11.2.0/lib/libnnz11.a" with "lib/libnnz11.a/ghash.o"
Updating archive file "/oracle/product/11.2.0/lib/libnnz11.a" with "lib/libnnz11.a/shacomm.o"
Copying file to "/oracle/product/11.2.0/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.
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 and can be restarted.
OPatch succeeded.
[oracle@haozg 8670579]$
注意: /oracle/product/11.2.0/OPatch/opatch 主要是这个目录要找正确。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/23062014/viewspace-736346/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/23062014/viewspace-736346/