当前位置: 首页 > article >正文

oracle19c单机应用补丁-缺少包导致失败

安装oracle19c单机没有显示缺少包,但应用补丁时导致失败,

1、缺少fuser命令

orcl:@db> opatch apply
Oracle Interim Patch Installer version 12.2.0.1.40
Copyright (c) 2023, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/oracle/product/19.3.0/db_1
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/oracle/product/19.3.0/db_1/oraInst.loc
OPatch version    : 12.2.0.1.40
OUI version       : 12.2.0.7.0
Log file location : /u01/app/oracle/product/19.3.0/db_1/cfgtoollogs/opatch/opatch2023-11-01_00-10-08AM_1.log

Verifying environment and performing prerequisite checks...
Prerequisite check "CheckSystemCommandAvailable" failed.
The details are:
Missing command :fuser
UtilSession failed:
Prerequisite check "CheckSystemCommandAvailable" failed.
Log file location: /u01/app/oracle/product/19.3.0/db_1/cfgtoollogs/opatch/opatch2023-11-01_00-10-08AM_1.log

OPatch failed with error code 73
orcl:@db>@db>

处理办法:#yum -y install psmisc

2、缺少perl

orcl:@db> opatch apply
Oracle Interim Patch Installer version 12.2.0.1.40
Copyright (c) 2023, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/oracle/product/19.3.0/db_1
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/oracle/product/19.3.0/db_1/oraInst.loc
OPatch version    : 12.2.0.1.40
OUI version       : 12.2.0.7.0
Log file location : /u01/app/oracle/product/19.3.0/db_1/cfgtoollogs/opatch/opatch2023-11-01_00-27-08AM_1.log

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

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/oracle/product/19.3.0/db_1')


Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Applying interim patch '35648XXX' to OH '/u01/app/oracle/product/19.3.0/db_1'

Patching component oracle.javavm.server, 19.0.0.0.0...

Patching component oracle.javavm.server.core, 19.0.0.0.0...

Patching component oracle.rdbms.dbscripts, 19.0.0.0.0...

Patching component oracle.rdbms, 19.0.0.0.0...

Patching component oracle.javavm.client, 19.0.0.0.0...
Make failed to invoke "/usr/bin/make -f ins_rdbms.mk javavm_refresh ORACLE_HOME=/u01/app/oracle/product/19.3.0/db_1 OPATCH_SESSION=apply"....'make: perl: Command not found
make: *** [javavm_refresh] Error 127
'

The following make actions have failed :

Re-link fails on target "javavm_refresh".


Do you want to proceed? [y|n]
y
User Responded with: Y
Patch 35648110 successfully applied.
OPatch Session completed with warnings.
Log file location: /u01/app/oracle/product/19.3.0/db_1/cfgtoollogs/opatch/opatch2023-11-0100-27-08AM_1.log

OPatch completed with warnings.

处理办法:#yum -y install perl


http://www.kler.cn/a/131873.html

相关文章:

  • 大数据HCIE成神之路之数学(1)——基础数学
  • linux rsyslog日志采集格式设定五
  • Java源码分析:Guava之不可变集合ImmutableMap的源码分析
  • Linux 之 journalctl 查看系统与 kernel 日志
  • Pytorch torch.dot、torch.mv、torch.mm、torch.norm的用法详解
  • labview运行速度太慢
  • 学习笔记6——垃圾回收
  • Apache Airflow (十) :SSHOperator及调度远程Shell脚本
  • uniapp 手动调用form表单submit事件
  • vue3+vite+ts 发布自定义组件到npm
  • 竞赛选题 深度学习驾驶行为状态检测系统(疲劳 抽烟 喝水 玩手机) - opencv python
  • C#的MessagePack(unity)--02
  • Spring Boot - devtools 热部署
  • 【python】Conda强大的包/环境管理工具
  • MyBatis #{} 和 ${} 的区别
  • Diagrams——制作短小精悍的流程图
  • 数据结构与算法之美学习笔记:20 | 散列表(下):为什么散列表和链表经常会一起使用?
  • 【Android】导入三方jar包/系统的framework.jar
  • JavaScript对象
  • 每日OJ题_剑指offer数组篇