The opatch minimum version check for patch failed
2016-08-19 16:00
495 查看
今天一个同事打补丁报错(11.2.0.4RAC , 补丁是160719。操作系统版本是redhat 7.1)
从表面看是opatch 版本低的原因,但是查看readme只需要.6以上的补丁程序就ok,不过既然提示低,那就下个新版本。opatch下载更新为.14,报错依旧,查看mos文章
There are several possibilities that can cause this:
1). "opatch auto <UNZIPPED_PATCH_LOCATION>". The directory where patch is unzipped is not supplied as <UNZIPPED_PATCH_LOCATION>
2). patch is downloaded and unzipped into an existing and non-empty directory.
3). opatch executable is not installed and launched from $GRID_HOME/OPatch.
4). $OH/.patch_storage cannot be created.
5). listener is running from DB home
6). "OPatch" directory in DB home is owned by root:oinstall instead of <homeowner>:<oinstall> as required.
7). GI user and RDBMS user are different. workaround is to apply manually (Note: 1210964.1. This is an internal note, please contact Oracle Support to get assistance).
一个一个核对果真第四条比较符合。果断参照下面的4)操作。
1). Make sure the <path> after "opatch auto <path> " is pointed the directory where patch is unzipped.
2). Make sure the patch is downloaded and unzipped into an empty directory.
3). OPatch should be installed in $GRID_HOME/OPatch. It should not be installed outside of $GRID_HOME. Use the syntax given in readme unzip <opatch zipfile> -d $GRID_HOME to install opatch to $GRID_HOME.
Do not launch opatch directly from $GRID_HOME/OPatch. i.e.
cd $GRID_HOME/OPatch
./opatch auto
This will cause an issue fixed in bug: 10009350. Workaround for bug 10009350 is:
As root user:
cd $GRID_HOME/crs/install
./rootcrs.pl -patch
Instead, one should include the $GRID_HOME/OPatch in the path, and launch opatch from the unzipped patch directory.
4). If opatch complain $ORACLE_HOME/.patch_storage cannot be created, manually create .patch_storage and give read-write-execute permission for the normal user (who operates OPatch)
5). Check if there is listener running out of DB home, if so shutdown listener from DB home.
6). For each home to be patched, "OPatch" directory in DB home must be owned by <homeowner>:<oinstall>.
See: Document 1553964.1 "This Patch Is Not Applicable" Encountered
While Using 'opatch auto' Where 'OPatch' Directory is Not Owned by <homeowner>:<oinstall>
If above steps have been examined, but you are still getting "opatch Applicable check failed", please contact Oracle Support.
7). If GRID user and RDBMS user are different, workaround is to apply manually (Note: 1210964.1. This is an internal note, please contact Oracle Support to get assistance). For Oracle Restart environment, one can use note 1089476.1.
补丁顺利完成,总结更改过程
从表面看是opatch 版本低的原因,但是查看readme只需要.6以上的补丁程序就ok,不过既然提示低,那就下个新版本。opatch下载更新为.14,报错依旧,查看mos文章
CAUSE
There are several possibilities that can cause this: 1). "opatch auto <UNZIPPED_PATCH_LOCATION>". The directory where patch is unzipped is not supplied as <UNZIPPED_PATCH_LOCATION>
2). patch is downloaded and unzipped into an existing and non-empty directory.
3). opatch executable is not installed and launched from $GRID_HOME/OPatch.
4). $OH/.patch_storage cannot be created.
5). listener is running from DB home
6). "OPatch" directory in DB home is owned by root:oinstall instead of <homeowner>:<oinstall> as required.
7). GI user and RDBMS user are different. workaround is to apply manually (Note: 1210964.1. This is an internal note, please contact Oracle Support to get assistance).
一个一个核对果真第四条比较符合。果断参照下面的4)操作。
SOLUTION
1). Make sure the <path> after "opatch auto <path> " is pointed the directory where patch is unzipped. 2). Make sure the patch is downloaded and unzipped into an empty directory.
3). OPatch should be installed in $GRID_HOME/OPatch. It should not be installed outside of $GRID_HOME. Use the syntax given in readme unzip <opatch zipfile> -d $GRID_HOME to install opatch to $GRID_HOME.
Do not launch opatch directly from $GRID_HOME/OPatch. i.e.
cd $GRID_HOME/OPatch
./opatch auto
This will cause an issue fixed in bug: 10009350. Workaround for bug 10009350 is:
As root user:
cd $GRID_HOME/crs/install
./rootcrs.pl -patch
Instead, one should include the $GRID_HOME/OPatch in the path, and launch opatch from the unzipped patch directory.
4). If opatch complain $ORACLE_HOME/.patch_storage cannot be created, manually create .patch_storage and give read-write-execute permission for the normal user (who operates OPatch)
5). Check if there is listener running out of DB home, if so shutdown listener from DB home.
6). For each home to be patched, "OPatch" directory in DB home must be owned by <homeowner>:<oinstall>.
See: Document 1553964.1 "This Patch Is Not Applicable" Encountered
While Using 'opatch auto' Where 'OPatch' Directory is Not Owned by <homeowner>:<oinstall>
If above steps have been examined, but you are still getting "opatch Applicable check failed", please contact Oracle Support.
7). If GRID user and RDBMS user are different, workaround is to apply manually (Note: 1210964.1. This is an internal note, please contact Oracle Support to get assistance). For Oracle Restart environment, one can use note 1089476.1.
补丁顺利完成,总结更改过程
相关文章推荐
- ERROR: update the opatch version for the failed homes and retry
- OPatch报错 Prerequisite check CheckMinimumOPatchVersion failed
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use
- MySQL check the manual that corresponds to your MySQL server version for the right syntax错误
- check the manual that corresponds to your MySQL server version for the right syntax to use near '..'
- MySQL check the manual that corresponds to your MySQL server version for the right syntax错误
- MySQL check the manual that corresponds to your MySQL server version for the right syntax错误
- Check for missing files failed:Insufficient permissions to access the file
- linux64位编译php遇到configure: error: GD build test failed. Please check the config.log for details
- loadrunner 连接负载机时"Failed to connect to the load generator.Check the output window for more details"
- check the manual that corresponds to your MySQL server version for the right syntax to use near
- MySQL:check the manual that corresponds to your MySQL server version for the right syntax
- 解决在MySQL中建立存储过程时报出【check the manual that corresponds to your MySQL server version for the right ……】
- Custom tool error: Failed to generate code for the service reference ××××××. Please check other error and warning messages for details.
- MySQL check the manual that corresponds to your MySQL server version for the right syntax错误
- 安装SQL时,提示Checks whether the computer meets minimum operating system version requirements
- check the manual that corresponds to your MySQL server version for the right syntax to use near 'cre
- Check The Os Version For Hotfix And Install
- Custom tool error: Failed to generate code for the service reference ××××××. Please check other erro
- check the manual that corresponds to your MySQL server version for the right syntax