PSU的GI升级,ERROR: This patch is not applicable to GI home.
对 grid 和 oracle 的 $ORACLE_HOME/.patch_storage 目录进行赋权,否则可能会报错:
ERROR: This patch is not applicable to GI home.
解决:
分别对 oracle 和 grid 用户的目录进行赋权:
chmod -R 777 $ORACLE_HOME/.patch_storage
ll -d $ORACLE_HOME/.patch_storage
[root@raclhr-11gR2-N2 OPatch]# ll -d $ORACLE_HOME/.patch_storage
drwxrwxrwx 2 grid oinstall 4096 Oct 30 15:54 /u01/app/11.2.0/grid/.patch_storage
[oracle@raclhr-11gR2-N2 ~]$ ll -d $ORACLE_HOME/.patch_storage
drwxrwxrwx 9 oracle oinstall 4096 Oct 30 16:06 /u01/app/oracle/product/11.2.0/dbhome_1/.patch_storage
今天升级Oracle Rac 一个11.2.0.4.0 到 11.2.0.4.1
系统为:HP-UX 11.31 IA64
首先的语句为:
./opatch auto /oracle/software/11.2.0.4.1 -oh /oracle/app/oracle/product/11.2.0/dbhome_1,/oracle/app/grid -ocmrf ocm.rsp
同时对ORACLE_HOME,GI_HOME同时升级
对ORACLE_HOME的升级,成功了。
但是对GI_HOME升级,却报了failed!
首先怀疑 补丁目录以及其所属文件的属主,属组 是否是 grid:oinstall ,检查结果却是一切正常
很奇怪,再次单独对GI_HOME进行升级
./opatch auto /oracle/software/11.2.0.4.1 -oh /oracle/app/grid -ocmrf ocm.rsp
之后报错ERROR: This patch is not applicable to GI home.
从字面理解,我瞬间傻了,我之前对RHEL系统操作的时候,是可以的呀,难道对HP-UX有什么特别设置么?
而且11gR2的PSU(不再分ORACLE_HOME的PSU,以及GI的PSU)只有一个,对GI和ORACLE目录都适用
检索metalink。发现了一篇文档 1580746.1
SYMPTOMS
Opatch failed with the following error:
The patch is not applicable for /opt/oracle/app/oracle/product/11.2.0/grid_2
patch /var/opt/data/patch/16619898 apply failed for home /opt/oracle/app/oracle/product/11.2.0/grid_2
The /opt/oracle/app/oracle/product/11.2.0/grid_2 is GI_HOME.
The same error can occur when a patch is getting applied to the RDBMS_HOME. The error message will point to the RDBMS_HOME in that case.
CAUSE
The opatch log shows
[Aug 30, 2013 11:21:37 AM] OPatch was not able to create .patch_storage directory
Unable to get Environent variables for Stand Alone home
[Aug 30, 2013 11:21:37 AM] Please delete .patch_storage directory ONLY IF NO PATCH IS APPLIED
This is because OPatch was not able to delete this directory which
was only created to run script for getting environment variables
No manual deletion may result in OPatch wrongly detecting irregular inventory for future invocation.
The same opatch log also shows the following error after above error:
[Aug 30, 2013 11:21:37 AM] /opt//oracle/app/oracle/product/11.2.0/grid_2/OPatch/jlib/etc/config path does not exist or is not a directory
[Aug 30, 2013 11:21:37 AM] OUI-67075: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 = /opt/oracle/app/oracle/product/11.2.0/grid_2/OPatch/jlib
Details = Input metadata files are missing.
[Aug 30, 2013 11:21:37 AM] Stack Description: java.lang.RuntimeException: Patch Location "/opt//oracle/app/oracle/product/11.2.0/grid_2/OPatch/jlib" doesn't point to a valid patch area.
SOLUTION
Check GI_HOME/.patch_storage directory or ORACLE_HOME/.patch_storage directory.
1) if the patch is getting applied to RDBMS_HOME, make sure ORACLE_HOME/.patch_storage directory is readable, writable, and accessible by the user who is applying the patch
2) if the patch is getting applied to GRID_HOME, make sure GI_HOME/.patch_storage directory is owned by the owner of GI HOME
我查看两个目录的.patch_storage
发现权限都为drwx------ ,说明 除了属主以外,其他任何人都不能对这个目录进行操作。
而Opatch auto 却是使用root 账户来执行的,我抱着试试的想法
对目录的权限进行了修改(ORACLE_HOME,GI_HOME下的这个目录都修改了)
chmod -R 777 .patch_storage
之后再次执行./opatch auto /oracle/software/11.2.0.4.1 -oh /oracle/app/grid -ocmrf ocm.rsp
结果为:
Stopping CRS... Stopped CRS successfullypatch /oracle/software/11.2.0.4.1/17478514 apply successful for home /oracle/app/grid Starting CRS... CRS-4123: Oracle High Availability Services has been started.opatch auto succeeded. #
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26736162/viewspace-2218104/,如需转载,请注明出处,否则将追究法律责任。
PSU的GI升级,ERROR: This patch is not applicable to GI home.相关推荐
- GI OPatch升级 The opatch Component check failed. This patch is not applicable for...
Oracle11gr2RAC(11204)打补丁11.2.0.4.8,系统为:SuSE11sp3 X86_64 通过/u01/app/11.2.0/grid/OPatch/opatch auto /t ...
- linux中升级软件补丁,系统补丁升级软件(ManageEngine Patch Manager Plus)
ManageEngine Patch Manager Plus是一款能够为windows.MAC.和Linux提供补丁下载.补丁升级.补丁管理的软件,利用ManageEngine Patch Mana ...
- oracle 11升级补丁,ORACLE 11g 升级补丁(Patch)
Oracle11g的补丁层出不穷.下面将其罗列,方便大家下载. 从 Oracle 官方网站下载需要使用 Metalink 帐号,下面的下载链接可以直接使用迅雷来下载,对于没 Metalink 帐号的用 ...
- Linux7安装gi报错,Redhat 7.6安装11G RAC GI时遇到此类报错
环境:Redhat Linux 7.6 + Oracle 11.2.0.4 RAC 现象:图像化安装过程中,按照提示执行root.sh脚本,报错中断. 1. 具体现象 [root@mm1903 ~]# ...
- 打Oracle PSU时碰到的一些问题处理
一.1 安装程序错误 UtilSession failed: Prerequisite check "CheckPatchApplicableOnCurrentPlatform&qu ...
- oracle数据库gi,Oracle_RAC数据库GI的PSU升级(11.2.0.4.0到11.2.0.4.8)
Oracle_RAC数据库GI的PSU升级(11.2.0.4.0到11.2.0.4.8) 本次演示为升级oracle rac数据库,用GI的psu升级,从11.2.0.4.0升级到11.2.0.4.8 ...
- 【mos 1494646.1】Patch Installation and Deinstallation For 11.2.0.3.x GI PSU
Readme - Patch Installation and Deinstallation For 11.2.0.3.x GI PSU (文档 ID 1494646.1) Oracle® Datab ...
- Applying 11G R2 GI PSU 11.2.0.2.3
GI PSU 11.2.0.2.3在最近的一次CPU July中被释出,该Patch Set Update包含了最新的CPU,且GI和Database PSU的都包含在其中,可以直接从<Patc ...
- oracle oui gi是什么,Oracle 11g RAC手动打GI PSU补丁(11.2.0.4.8)
一.准备工作 1,数据库环境 操作系统版本 : Redhat 6.5 x64 数据库版本 : Oracle 11.2.0.4 x64 RAC Grid : 11.2.0 ...
最新文章
- 计算机网络 | 传输层 :UDP与TCP协议详解
- .NET6又出新版本,新增这几个大杀器!
- Java后台直接生成二维码介绍
- 微信公众号(静默授权和分享)
- 【语音处理】基于matlab GUI声音信号频谱分析仪【含Matlab源码 325期】
- SQLSERVER的递归
- Qt中用QLabel显示图片
- 小电流接地系统配电线路弧光高阻接地故障电压特征分析ATP-EMTP仿真建模
- 麻省理工18年春软件构造课程阅读03“测试”
- linux USB无线网卡(RTL8188EUS)驱动
- PageHelper.startPage();的使用
- 联想 计算机无线网络设置方法,联想笔记本无线网络开关,教您联想笔记本无线网络开关...
- 上传vip专享资源,瓜分奖金池
- java斜体_Java可以指示字体是否为斜体字
- iOS基础:获取资源文件的方法
- widowns上从chrome上抓取图片
- Python3 心路历程
- CSS齿轮转动加载动画
- Windows服务器C盘越来越大的原因
- AZ-204认证考试攻略