暂无图片
Oracle 18c RAC 打补丁时报错,求解。
我来答
分享
阿雷
2024-09-16
Oracle 18c RAC 打补丁时报错,求解。

###### 问题遇到的现象和发生背景
Oracle 18c RAC 打补丁时报错,
###### 操作环境、软件版本等信息
Oracle 18c RAC Version 18.3.0.0.0,更新p27769234_183000DBRU_Linux-x86-64
报错信息如下:
Oracle Interim Patch Installer version 12.2.0.1.43
Copyright (c) 2024, Oracle Corporation. All rights reserved.


Oracle Home : /u01/app/18c/grid
Central Inventory : /u01/app/oraInventory
from : /u01/app/18c/grid/oraInst.loc
OPatch version : 12.2.0.1.43
OUI version : 12.2.0.4.0
Log file location : /u01/app/18c/grid/cfgtoollogs/opatch/opatch2024-09-16_02-53-10AM_1.log

Verifying environment and performing prerequisite checks...
OPatch continues with these patches: 27769234

Do you want to proceed? [y|n]
y
User Responded with: Y
All checks passed.

Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/u01/app/18c/grid')


Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Applying interim patch '27769234' to OH '/u01/app/18c/grid'

Patching component oracle.rdbms, 18.0.0.0.0...

The following actions have failed:
Archive not applied /tmp/27769234/files/lib/libserver18.a/kjak.o to /u01/app/18c/grid/lib/libserver18.a... ''


Do you want to proceed? [y|n]
n
User Responded with: N
ApplySession failed in system modification phase... 'ApplySession::apply failed: Archive not applied /tmp/27769234/files/lib/libserver18.a/kjak.o to /u01/app/18c/grid/lib/libserver18.a... ''
'

Restoring "/u01/app/18c/grid" to the state prior to running NApply...
Checking if OPatch needs to invoke 'make' to restore some binaries...
OPatch was able to restore your system. Look at log file and timestamp of each file to make sure your system is in the state prior to applying the patch.

NApply restored the home. Please check your ORACLE_HOME to make sure:
- files are restored properly.
- binaries are re-linked correctly.
(use restore.[sh,bat] and make.txt (Unix only) as a reference. They are located under
"/u01/app/18c/grid/.patch_storage/NApply/2024-09-16_02-53-10AM"

UtilSession failed: ApplySession failed in system modification phase... 'ApplySession::apply failed: Archive not applied /tmp/27769234/files/lib/libserver18.a/kjak.o to /u01/app/18c/grid/lib/libserver18.a... ''
'
Log file location: /u01/app/18c/grid/cfgtoollogs/opatch/opatch2024-09-16_02-53-10AM_1.log

OPatch failed with error code 73


###### 尝试过的解决方法
修改目前权限

我来答
添加附件
收藏
分享
问题补充
1条回答
默认
最新
吾亦可往

一、检查文件权限


正如你已经尝试过修改权限,可以确保以下目录和文件具有正确的权限:


  1. Oracle Home 目录(/u01/app/18c/grid)及其子目录和文件应该由 Oracle 用户和相关组拥有,并具有适当的读写权限。
  2. 临时目录(/tmp/27769234)也需要确保有足够的权限让补丁安装程序访问和写入。


二、检查磁盘空间


确保安装补丁的节点上有足够的磁盘空间。如果磁盘空间不足,可能会导致补丁安装失败。可以检查以下位置的磁盘空间:


  1. Oracle Home 所在的磁盘分区。
  2. 临时文件目录(/tmp)所在的磁盘分区。


三、检查环境变量


  1. 确认 ORACLE_HOMEPATH 等环境变量设置正确。确保 ORACLE_HOME 指向正确的 Oracle 18c RAC 安装目录。
  2. 检查是否有其他可能影响补丁安装的环境变量设置。


四、检查 Oracle 实例状态


  1. 再次确认所有 Oracle 实例都已正确关闭。可以使用 crsctl status resource -t 命令检查资源状态,确保没有 Oracle 实例在运行。
  2. 检查数据库监听和其他相关服务是否已停止。


五、重新尝试安装


  1. 在确保上述问题都已解决后,可以尝试重新运行补丁安装程序。
  2. 按照安装向导的提示逐步进行操作,确保在每个步骤都正确响应。


六、查看日志文件


仔细分析 /u01/app/18c/grid/cfgtoollogs/opatch/opatch2024-09-16_02-53-10AM_1.log 日志文件,查找更多关于错误的详细信息。日志文件中可能包含其他错误消息或线索,有助于确定问题的根本原因。

暂无图片 评论
暂无图片 有用 0
回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
暂无图片墨值悬赏