RDBMS 12.2.0.1
redhad 7.6
PSU 200714
在安装PSU的时候,提示有个小错误:
OPatch found the word "error" in the stderr of the make command.
Please look at this stderr. You can re-run this make command.
Stderr output:
chmod: changing permissions of ?u01/app/oracle/product/12.2.0/dbhome_1/bin/extjobO? Operation not permitted
make: [iextjob] Error 1 (ignored)
Patch 31312468 successfully applied.
Sub-set patch [29314339] has become inactive due to the application of a super-set patch [31312468].
Please refer to Doc ID 2161861.1 for any possible further required actions.
OPatch Session completed with warnings.
Log file location: /u01/app/oracle/product/12.2.0/dbhome_1/cfgtoollogs/opatch/opatch2020-09-02_14-10-19PM_1.log
OPatch completed with warnings.
[oracle@wls10306-01 31312468]$
查看该文件的权限:
[oracle@wls10306-01 bin]$ ll ext*
-rwxr-xr-x 1 oracle oinstall 2241520 Sep 2 14:15 extjob
-rwx------ 1 oracle oinstall 2241520 Sep 2 14:15 extjobo
-rwsr-x--- 1 root oinstall 2241464 Jan 17 2020 extjobO
-rw------- 1 oracle oinstall 2241464 Jan 17 2020 extjoboO
-rwxr-x--x 1 oracle oinstall 199128 Sep 2 14:15 extproc
-rw------- 1 oracle oinstall 199128 Jul 30 08:28 extprocO
-rwxr-x--- 1 oracle oinstall 361 Jan 17 2020 extusrupgrade
查询MOS:这是一个bug,可以忽略
安装Proactive Bundle / PSU Patch报错 "chmod: changing permissions of `$ORACLE_HOME/bin/extjobO': Operation not permitted" (Doc ID 2668094.1)
原因
这是由于一个内部Bug导致的。
解决方案
这个问题/警告"chmod: changing permissions of '$ORACLE_HOME/bin/extjobO'': Operation not permitted" 可以被安全的忽略。
这点在Proactive Bundle Patches 的readme中也有提及,如下
ReadMe: (of Patch 24968615 - Database Proactive Bundle Patch 12.1.0.2.170117) 的第3部分 Known Issues
https://updates.oracle.com/Orion/Services/download?type=readme&aru=20775452
或者,
在RDBMS HOME 上执行root.sh脚本来解决权限问题。
当你运行root.sh extjob,可执行程序的权限会被改成root。
---
另外,在安装补丁的时候,提示Doc ID 2161861.1
对应中文版为:Opatch:从Opatch 12.2.0.1.5 和 11.2.0.3.14 版本开始的行为改变 (Doc ID 2331528.1)
从 Opatch 12.2.0.1.7 和 11.2.0.3.15 版本开始,会返回如下消息
在应用过程中禁用子集补丁之后:
Sub-set patch [22674709] has become inactive due to the application of a super-set patch [23177536].
Please refer to Doc ID 2161861.1 for any possible further required actions.
在回滚过程中重新激活子集补丁之后:
Inactive sub-set patch [22674709] has become active due to the rolling back of a super-set patch [23177536].
Please refer to Doc ID 2161861.1 for any possible further required actions.
另外,新版本的Opatch,可以通过 ./opatch lsinv -inactive命令,列出所有被超级取代,并禁用的补丁。
Local Machine Information::
Hostname: wls10306-01
ARU platform id: 226
ARU platform description:: Linux x86-64
Installed Top-level Products (1):
Oracle Database 12c 12.2.0.1.0
There are 1 products installed in this Oracle Home.
Inactive patches (1) :
Patch 29314339 : applied on Thu Jul 30 08:28:34 CST 2020
Unique Patch ID: 22821655
Patch description: "Database Apr 2019 Release Update : 12.2.0.1.190416 (29314339)"
Created on 24 Mar 2019, 03:28:52 hrs PST8PDT
Bugs fixed:
END