
环境:oracle linux 6.9+oracle 11.2.0.4
补丁:p31718723_112040_Linux-x86-64
opatch版本:11.2.0.3.25
补丁要求opatch版本:
You must use the OPatch utility version 11.2.0.3.23 or later to apply this patch.
这个版本不需要配置ocm,直接opatch auto安装
但是用root用户进行补丁安装时报错
检查了权限貌似无问题,以下是错误日志,提示需要升级opatch版本?
ZOP-50: The patch location is not valid because it may not exist (or) current user has no permission to access it. Please check the same.
Argument(s) Error… Patch Location not valid
Please check the arguments and try again.
OPatch failed with error code 135
2021-04-05 21:45:12: Status of opatch version check for /u01/app/oracle/product/11.2.0.4/db_home is 0
2021-04-05 21:45:12: Opatch version check failed for oracle home /u01/app/oracle/product/11.2.0.4/db_home
2021-04-05 21:45:12: Processing oracle home /u01/app/11.2.0.4/grid
2021-04-05 21:45:12: Oracle user for /u01/app/11.2.0.4/grid is grid
2021-04-05 21:45:12: Oracle user for /u01/app/11.2.0.4/grid is grid
2021-04-05 21:45:12: Running as user grid: /u01/app/11.2.0.4/grid/OPatch/opatch version -oh /u01/app/11.2.0.4/grid
2021-04-05 21:45:12: s_run_as_user2: Running /bin/su grid -c ’ /u01/app/11.2.0.4/grid/OPatch/opatch version -oh /u01/app/11.2.0.4/grid ’
2021-04-05 21:45:12: Removing file /tmp/file89vVQx
2021-04-05 21:45:12: Successfully removed file: /tmp/file89vVQx
2021-04-05 21:45:12: /bin/su successfully executed
2021-04-05 21:45:12: opatch version in oracle home /u01/app/11.2.0.4/grid is 11.2.0.3.25
2021-04-05 21:45:12: Running as user grid: /u01/app/11.2.0.4/grid/OPatch/opatch util checkMinimumOPatchVersion -ph /home/grid/31718723/29938455 -version 11.2.0.3.25 -oh /u01/app/11.2.0.4/grid
2021-04-05 21:45:12: s_run_as_user2: Running /bin/su grid -c ’ /u01/app/11.2.0.4/grid/OPatch/opatch util checkMinimumOPatchVersion -ph /home/grid/31718723/29938455 -version 11.2.0.3.25 -oh /u01/app/11.2.0.4/grid ’
2021-04-05 21:45:15: Removing file /tmp/fileHZp7tH
2021-04-05 21:45:15: Successfully removed file: /tmp/fileHZp7tH
2021-04-05 21:45:15: /bin/su successfully executed
2021-04-05 21:45:15: Running as user grid: /u01/app/11.2.0.4/grid/OPatch/opatch util checkMinimumOPatchVersion -ph /home/grid/31718723/31537677 -version 11.2.0.3.25 -oh /u01/app/11.2.0.4/grid
2021-04-05 21:45:15: s_run_as_user2: Running /bin/su grid -c ’ /u01/app/11.2.0.4/grid/OPatch/opatch util checkMinimumOPatchVersion -ph /home/grid/31718723/31537677 -version 11.2.0.3.25 -oh /u01/app/11.2.0.4/grid ’
2021-04-05 21:45:18: Removing file /tmp/fileY7vDi0
2021-04-05 21:45:18: Successfully removed file: /tmp/fileY7vDi0
2021-04-05 21:45:18: /bin/su successfully executed
2021-04-05 21:45:18: Running as user grid: /u01/app/11.2.0.4/grid/OPatch/opatch util checkMinimumOPatchVersion -ph /home/grid/31718723/29509309 -version 11.2.0.3.25 -oh /u01/app/11.2.0.4/grid
2021-04-05 21:45:18: s_run_as_user2: Running /bin/su grid -c ’ /u01/app/11.2.0.4/grid/OPatch/opatch util checkMinimumOPatchVersion -ph /home/grid/31718723/29509309 -version 11.2.0.3.25 -oh /u01/app/11.2.0.4/gr
id ’
2021-04-05 21:45:21: Removing file /tmp/filex7IQ8s
2021-04-05 21:45:21: Successfully removed file: /tmp/filex7IQ8s
2021-04-05 21:45:21: /bin/su successfully executed
2021-04-05 21:45:21: Status of opatch version check for /u01/app/11.2.0.4/grid is 1
2021-04-05 21:45:21: Opatch version check passed for oracle home /u01/app/11.2.0.4/grid
2021-04-05 21:45:21: Opatch version check failed
2021-04-05 21:45:21: ERROR: update the opatch version for the failed homes and retry