Opatch报错,OUI-67035,OUI-67073…
来源:互联网 发布:宝宝生长曲线图软件 编辑:程序博客网 时间:2024/06/05 08:30
bash-3.00$ opatch apply
Oracle Interim Patch Installer version 11.2.0.3.5
Copyright (c) 2013, Oracle Corporation.
OracleHome
Central Inventory : /u01/app/oraInventory
OPatchversion
OUIversion
Log file location :/u01/dev/db/tech_st/11.2.0/cfgtoollogs/opatch/18544852_May_06_2014_17_15_34/apply2014-05-06_17-15-34PM_1.log
Applying interim patch '18544852' to OH'/u01/dev/db/tech_st/11.2.0'
Verifying environment and performing prerequisite checks...
[ Error during Oracle Home discovery Phase]. Detail: OPatch failed:ApplySession failed to prepare the system. oracle/cluster/install/InstallException
Log file location:/u01/dev/db/tech_st/11.2.0/cfgtoollogs/opatch/18544852_May_06_2014_17_15_34/apply2014-05-06_17-15-34PM_1.log
Recommended actions: Please make sure no other OPatch or OUIprocesses is running. Try to run $ORACLE_HOME/oui/bin/runInstsaller.
OPatch failed with error code 20
日志显示:
May 6, 2014 5:15:41PM]
[May 6, 2014 5:15:41PM]
[May 6, 2014 5:15:41PM]
[May 6, 2014 5:15:41PM]
[May 6, 2014 5:15:41PM]
[May 6, 2014 5:15:41PM]
[May 6, 2014 5:15:41PM]
[May 6, 2014 5:15:41PM]
[May 6, 2014 5:15:41PM]
[May 6, 2014 5:15:41PM]
[May 6, 2014 5:15:41PM]
[May 6, 2014 5:15:41PM]
[May 6, 2014 5:15:41PM]
[May 6, 2014 5:15:41PM]
[May 6, 2014 5:15:41PM]
[May 6, 2014 5:15:41PM]
[May 6, 2014 5:15:41PM]
[May 6, 2014 5:15:41PM]
bash-3.00$
bash-3.00$
--查找资料,原因如下:
Cause
Opatch is trying to get local and remote node but fails and throwsexception.
The inventory.xml file (in /ContentsXML) has an inconsistentnodelist.
--发现节点信息不对,更新inventory.xml节点信息
bash-3.00$ runInstaller -updateNodeList -local -silentCLUSTER_NODES=uat1,uat2 ORACLE_HOME=/u01/dev/db/tech_st/11.2.0LOCAL_NODE=uat1
You do not have sufficient permissions to access the inventory'/u01/app/oraInventory/oraInstaller.properties'. Installationcannot continue. It is required that the primary group of theinstall user is same as the inventory owner group. Make sure thatthe install user is part of the inventory owner group and restartthe installer.: Permission denied
bash-3.00$ runInstaller -updateNodeList -local -silentCLUSTER_NODES=uat1,uat2 ORACLE_HOME=/u01/dev/db/tech_st/11.2.0LOCAL_NODE=uat1
You do not have sufficient permissions to access the inventory'/u01/app/oraInventory/Contents'. Installation cannot continue. Itis required that the primary group of the install user is same asthe inventory owner group. Make sure that the install user is partof the inventory owner group and restart the installer.: Permissiondenied
--权限不对,修改 inventory.xml文件权限,继续
bash-3.00$ runInstaller -updateNodeList -local -silentCLUSTER_NODES=uat1,uat2 ORACLE_HOME=/u01/dev/db/tech_st/11.2.0LOCAL_NODE=uat1
Starting Oracle Universal Installer...
Checking swap space: must be greater than 500MB.
The inventory pointer is located at/var/opt/oracle/oraInst.loc
The inventory is located at /u01/app/oraInventory
'UpdateNodeList' was successful.
bash-3.00$
--第二个节点执行
$ORACLE_HOME/oui/bin/runInstaller -updateNodeList -local -silentCLUSTER_NODES=uat1,uat2 ORACLE_HOME=/u01/dev/db/tech_st/11.2.0LOCAL_NODE=uat2
--继续
ash-3.00$ opatch apply
Oracle Interim Patch Installer version 11.2.0.3.5
Copyright (c) 2013, Oracle Corporation.
OracleHome
Central Inventory : /u01/app/oraInventory
OPatchversion
OUIversion
Log file location :/u01/dev/db/tech_st/11.2.0/cfgtoollogs/opatch/18544852_May_06_2014_18_23_29/apply2014-05-06_18-23-29PM_1.log
Applying interim patch '18544852' to OH'/u01/dev/db/tech_st/11.2.0'
Verifying environment and performing prerequisite checks...
Prerequisite check "CheckActiveFilesAndExecu
The details are:
Following executables are active :
/u01/dev/db/tech_st/11.2.0/lib/libclntsh.so.11.1
Log file location:/u01/dev/db/tech_st/11.2.0/cfgtoollogs/opatch/18544852_May_06_2014_18_23_29/apply2014-05-06_18-23-29PM_1.log
Recommended actions: OPatch needs to modify files which arebeing used by some processes.
OPatch failed with error code 41
pplying interim patch '18544852' to OH'/u01/dev/db/tech_st/11.2.0'
Verifying environment and performing prerequisite checks...
Prerequisite check "CheckActiveFilesAndExecu
The details are:
Following executables are active :
/u01/dev/db/tech_st/11.2.0/lib/libclntsh.so.11.1
Log file location:/u01/dev/db/tech_st/11.2.0/cfgtoollogs/opatch/18544852_May_06_2014_18_34_15/apply2014-05-06_18-34-14PM_1.log
Recommended actions: OPatch needs to modify files which arebeing used by some processes.
OPatch failed with error code 41
--查找进程,OPatch needs to modify files which are being used by someprocesses.
bash-3.00$ ps -fu oradev
bash-3.00$ kill 2704
bash-3.00$ ps -fu oradev
bash-3.00$ opatch apply
Oracle Interim Patch Installer version 11.2.0.3.5
Copyright (c) 2013, Oracle Corporation.
OracleHome
Central Inventory : /u01/app/oraInventory
OPatchversion
OUIversion
Log file location :/u01/dev/db/tech_st/11.2.0/cfgtoollogs/opatch/18544852_May_06_2014_18_36_09/apply2014-05-06_18-36-09PM_1.log
Applying interim patch '18544852' to OH'/u01/dev/db/tech_st/11.2.0'
Verifying environment and performing prerequisite checks...
All checks passed.
This node is part of an Oracle Real Application Cluster.
Remote nodes: 'uat2'
Local node: 'uat1'
Please shutdown Oracle instances running out of this ORACLE_HOME onthe local system.
(Oracle Home = '/u01/dev/db/tech_st/11.2.0')
Is the local system ready for patching? [y|n]
Applying interim patch '18544852' to OH'/u01/dev/db/tech_st/11.2.0'
Verifying environment and performing prerequisite checks...
All checks passed.
This node is part of an Oracle Real Application Cluster.
Remote nodes: 'uat2'
Local node: 'uat1'
Please shutdown Oracle instances running out of this ORACLE_HOME onthe local system.
(Oracle Home = '/u01/dev/db/tech_st/11.2.0')
Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Patching component oracle.rdbms.rsf, 11.2.0.3.0...
Patching component oracle.rdbms, 11.2.0.3.0...
OPatch found the word "warning" in the stderr of the makecommand.
Please look at this stderr. You can re-run this make command.
Stderr output:
ld: warning: symbol `_start' has differing types:
Verifying the update...
The local system has been patched.
Patching in rolling mode.
The node 'uat2' will be patched next.
Please shutdown Oracle instances running out of this ORACLE_HOME on'uat2'.
(Oracle Home = '/u01/dev/db/tech_st/11.2.0')
Is the node ready for patching? [y|n]
y
User Responded with: Y
Updating nodes 'uat2'
Instantiating the file"/u01/dev/db/tech_st/11.2.0/.patch_storage/18544852_May_5_2014_15_19_11/rac/copy_files.txt.instantiated"by replacing $ORACLE_HOME in"/u01/dev/db/tech_st/11.2.0/.patch_storage/18544852_May_5_2014_15_19_11/rac/copy_files.txt"with actual path.
Propagating files to remote nodes...
OPatch failed to copy files to remote nodes 'uat2'.
Error on node uat2:PRKC-1044 : Failed to check remote commandexecution setup for node uat2 using shells /usr/bin/ssh and/usr/bin/rsh
permission denied]
OPatch failed to copy files to remote nodes 'uat2' .
Do you want to proceed? [y|n]
y
User Responded with: Y
Instantiating the file"/u01/dev/db/tech_st/11.2.0/.patch_storage/18544852_May_5_2014_15_19_11/rac/copy_dirs.txt.instantiated"by replacing $ORACLE_HOME in"/u01/dev/db/tech_st/11.2.0/.patch_storage/18544852_May_5_2014_15_19_11/rac/copy_dirs.txt"with actual path.
Propagating directories to remote nodes...
Instantiating the file"/u01/dev/db/tech_st/11.2.0/.patch_storage/18544852_May_5_2014_15_19_11/rac/make_cmds.txt.instantiated"by replacing $ORACLE_HOME in"/u01/dev/db/tech_st/11.2.0/.patch_storage/18544852_May_5_2014_15_19_11/rac/make_cmds.txt"with actual path.
Running command on remote node 'uat2':
cd /u01/dev/db/tech_st/11.2.0/network/lib; /usr/ccs/bin/make -fins_net_client.mk client_sharedlibORACLE_HOME=/u01/dev/db/tech_st/11.2.0 || echoREMOTE_MAKE_FAILED::>&2
Running command on remote node 'uat2':
cd /u01/dev/db/tech_st/11.2.0/rdbms/lib; /usr/ccs/bin/make -fins_rdbms.mk client_sharedlibORACLE_HOME=/u01/dev/db/tech_st/11.2.0 || echoREMOTE_MAKE_FAILED::>&2
Running command on remote node 'uat2':
cd /u01/dev/db/tech_st/11.2.0/rdbms/lib; /usr/ccs/bin/make -fins_rdbms.mk irenamedg ORACLE_HOME=/u01/dev/db/tech_st/11.2.0 ||echo REMOTE_MAKE_FAILED::>&2
Running command on remote node 'uat2':
cd /u01/dev/db/tech_st/11.2.0/rdbms/lib; /usr/ccs/bin/make -fins_rdbms.mk ioracle ORACLE_HOME=/u01/dev/db/tech_st/11.2.0 || echoREMOTE_MAKE_FAILED::>&2
The node 'uat2' has been patched.
There were relinks on remote nodes.
The following make commands were invoked on remote nodes:
'cd /u01/dev/db/tech_st/11.2.0/network/lib; /usr/ccs/bin/make -fins_net_client.mk client_sharedlibORACLE_HOME=/u01/dev/db/tech_st/11.2.0
cd /u01/dev/db/tech_st/11.2.0/rdbms/lib; /usr/ccs/bin/make -fins_rdbms.mk client_sharedlibORACLE_HOME=/u01/dev/db/tech_st/11.2.0
cd /u01/dev/db/tech_st/11.2.0/rdbms/lib; /usr/ccs/bin/make -fins_rdbms.mk irenamedg ORACLE_HOME=/u01/dev/db/tech_st/11.2.0
cd /u01/dev/db/tech_st/11.2.0/rdbms/lib; /usr/ccs/bin/make -fins_rdbms.mk ioracle ORACLE_HOME=/u01/dev/db/tech_st/11.2.0
'
Patch 18544852 successfully applied
OPatch Session completed with warnings.
Log file location:/u01/dev/db/tech_st/11.2.0/cfgtoollogs/opatch/18544852_May_06_2014_18_36_09/apply2014-05-06_18-36-09PM_1.log
OPatch completed with warnings.
--- OK,总算打上了,Patch 18544852 successfully applied
参考文档:
patch Apply Fails with Error Code 20 during Oracle Home DiscoveryPhase (文档 ID 1631715.1) 转到底部
--------------------------------------------------------------------------------
修改时间:2014-3-25类型:PROBLEM
In this Document
--------------------------------------------------------------------------------
Applies to:
Oracle Database - Enterprise Edition - Version 11.2.0.1 andlater
Information in this document applies to any platform.
Symptoms
opatch apply online -connectStringRACDB1:sys:test:ORACLERAC1,RACDB2:sys:test:ORACLERAC2
Oracle Interim Patch Installer version 11.2.0.3.4
Copyright (c) 2012, Oracle Corporation.
The patch should be applied/rolled back in '-all_nodes' modeonly.
Converting the RAC mode to '-all_nodes' mode.
Applying interim patch '13984324' to OH'/u01/app/oracle/product/11.2.0.3/dbhome_7'
Verifying environment and performing prerequisite checks...
[ Error during Oracle Home discovery Phase]. Detail: OPatchfailed: ApplySession failed to prepare the system.oracle/cluster/install/InstallException
Log file location:/u01/app/oracle/product/11.2.0.3/dbhome_7/cfgtoollogs/opatch/13984324_Feb_03_2014_10_20_26/apply2014-02-03_10-20-26AM_1.log
Recommended actions: Please make sure no other OPatch or OUIprocesses is running. Try to run$ORACLE_HOME/oui/bin/runInstaller.
OPatch failed with error code 20
In Apply log :
[Jan 29, 2014 2:52:01 PM] [ Error during Oracle Home discoveryphase ] Detail: OUI-67073:OPatch failed: ApplySession failed toprepare the system. oracle/cluster/install/InstallException
[Jan 29, 2014 2:52:01 PM] OUI-67035:System is intact, OPatch willnot restore the system
[Jan 29, 2014 2:52:01 PM] Finishing ApplySession at Wed Jan 2914:52:01 GMT 2014
[Jan 29, 2014 2:52:01 PM] Total time spent waiting for user-inputis 0 seconds. Finish at Wed Jan 29 14:52:01 GMT 2014
[Jan 29, 2014 2:52:01 PM] Log file location:/u01/app/oracle/product/11.2.0.3/dbhome_7/cfgtoollogs/opatch/13984324_Jan_29_2014_14_51_55/apply2014-01-29_14-51-55PM_1.log
[Jan 29, 2014 2:52:01 PM] Stack Description:java.lang.RuntimeException: ApplySession failed to prepare thesystem. oracle/cluster/install/InstallException
[Jan 29, 2014 2:52:01 PM] StackTrace:oracle.sysman.oii.oiip.oiipg.OiipgClusterwareInfo.createClusterwareInfo(OiipgClusterwareInfo.java:155)
[Jan 29, 2014 2:52:01 PM] StackTrace:oracle.sysman.oii.oiip.oiipg.OiipgClusterwareInfo.getClusterwareInfo(OiipgClusterwareInfo.java:180)
[Jan 29, 2014 2:52:01 PM] StackTrace:oracle.sysman.oii.oiip.oiipg.OiipgDetectCluster.(OiipgDetectCluster.java:131)
[Jan 29, 2014 2:52:01 PM] StackTrace:oracle.sysman.oii.oiip.oiipg.OiipgDetectCluster.getDetectCluster(OiipgDetectCluster.java:146)
[Jan 29, 2014 2:52:01 PM] StackTrace:oracle.opatch.Rac.getLocalNode(Rac.java:1789)
[Jan 29, 2014 2:52:01 PM] StackTrace:oracle.opatch.Rac.getInstance(Rac.java:1236)
[Jan 29, 2014 2:52:01 PM] StackTrace:oracle.opatch.ApplySession.processLocal(ApplySession.java:3758)
[Jan 29, 2014 2:52:01 PM] StackTrace:oracle.opatch.ApplySession.process(ApplySession.java:5939)
[Jan 29, 2014 2:52:01 PM] StackTrace:oracle.opatch.OPatchSession.main(OPatchSession.java:2063)
[Jan 29, 2014 2:52:01 PM] StackTrace:oracle.opatch.OPatch.main(OPatch.java:613)
Changes
Applying an interim patch on RAC environment.
Cause
Opatch is trying to get local and remote node but fails and throwsexception.
The inventory.xml file (in /ContentsXML) has an inconsistentnodelist.
Solution
Before patch application, the nodelist must be updated to reflectthe correct node names on all RAC nodes.
On a 2 node RAC, update the inventory asfollows:
On Node 1 :
On Node 2 :
- Opatch报错,OUI-67035,OUI-67073…
- windows平台下oracle打补丁报错OUI-67073:UtilSession 失败: Prerequisite check
- oui 报错 i386 libawt.so libXp.so.6
- 【OUI-10151】安装oracle cluster时 的报错
- MySQL报错:ERROR 1045 (28000) (mot de passe: OUI)
- OPatch cannot process overlay patches because of no OUI support
- OUI-25031
- oui 10182
- 安装11.2.0.3时,OUI的log报错:"OUI-10066:Not All The Dependencies For The Component ... Could Be Found"
- 在安装oracle rac 的时候报错误 install/.oui:
- 安装oracle执行runInstaller文件时报错:“……/install/.oui:Permission denied”
- .oui not found问题解决
- OUI PUBLIC LISTING
- OUI-10151错误
- oracle oui异常
- 安装oracle 集群软件的时候报错 Error: OUI cannot be launched because the current working directory
- IEEE OUI and Company_id Assignments
- orcl 安装 RHEL5U2 oui-25031
- 准备考研启动!
- RAC环境使用大内存(SGA>300GB)…
- tensorflow高阶教程:tf.dynamic_rnn
- RAC+Solaris+使用DISM 可能引…
- Caffe: Faster-RCNN Python版本配置 (Windows)
- Opatch报错,OUI-67035,OUI-67073…
- 使用dbms_xplan包查看执行计划
- 深入tornado中的ioLoop
- ASCP刷快照报错 ORA-27477: "SYS.I…
- RandomAccessFile
- RAC 修改字符集 AL32UTF8-->UTF8
- Jquery(二)
- MSCSLD : Error in…
- 可能阻塞接收事务处理器的Module