更新opatch时报错Missing command :fuser
[oracle@localhost soft]$ cd 31537677/ [oracle@localhost 31537677]$ opatch lspatches There are no Interim patches installed in this Oracle Home "/oracle/app/oracle/product/11.2/db". OPatch succeeded.
[oracle@localhost 31537677]$ opatch prereq CheckConflictAgainstOHWithDetail -ph ./ Oracle Interim Patch Installer version 11.2.0.3.32 Copyright (c) 2022, Oracle Corporation. All rights reserved. PREREQ session Oracle Home : /oracle/app/oracle/product/11.2/db Central Inventory : /oracle/app/oracle/oraInventory from : /oracle/app/oracle/product/11.2/db/oraInst.loc OPatch version : 11.2.0.3.32 OUI version : 11.2.0.4.0 Log file location : /oracle/app/oracle/product/11.2/db/cfgtoollogs/opatch/opatch2022-06-30_01-45-47AM_1.log Invoking prereq "checkconflictagainstohwithdetail" Prereq "checkConflictAgainstOHWithDetail" passed. OPatch succeeded.
[oracle@localhost 31537677]$ opatch apply Oracle Interim Patch Installer version 11.2.0.3.32 Copyright (c) 2022, Oracle Corporation. All rights reserved. Oracle Home : /oracle/app/oracle/product/11.2/db Central Inventory : /oracle/app/oracle/oraInventory from : /oracle/app/oracle/product/11.2/db/oraInst.loc OPatch version : 11.2.0.3.32 OUI version : 11.2.0.4.0 Log file location : /oracle/app/oracle/product/11.2/db/cfgtoollogs/opatch/opatch2022-06-30_01-46-05AM_1.log Verifying environment and performing prerequisite checks... Prerequisite check "CheckSystemCommandAvailable" failed. The details are: Missing command :fuser Prerequisite check "CheckSystemCommandAvailable" failed. The details are: Missing command :fuser Prerequisite check "CheckSystemCommandAvailable" failed. The details are: Missing command :fuser Prerequisite check "CheckSystemCommandAvailable" failed. The details are: Missing command :fuser Prerequisite check "CheckSystemCommandAvailable" failed. The details are: Missing command :fuser Prerequisite check "CheckSystemCommandAvailable" failed. The details are: Missing command :fuser Prerequisite check "CheckSystemCommandAvailable" failed. The details are: Missing command :fuser Prerequisite check "CheckSystemCommandAvailable" failed. The details are: Missing command :fuser Prerequisite check "CheckSystemCommandAvailable" failed. The details are: Missing command :fuser Prerequisite check "CheckSystemCommandAvailable" failed. The details are: Missing command :fuser Prerequisite check "CheckSystemCommandAvailable" failed. The details are: Missing command :fuser Prerequisite check "CheckSystemCommandAvailable" failed. The details are: Missing command :fuser Prerequisite check "CheckSystemCommandAvailable" failed. The details are: Missing command :fuser Prerequisite check "CheckSystemCommandAvailable" failed. The details are: Missing command :fuser Prerequisite check "CheckSystemCommandAvailable" failed. The details are: Missing command :fuser Prerequisite check "CheckSystemCommandAvailable" failed. The details are: Missing command :fuser Prerequisite check "CheckSystemCommandAvailable" failed. The details are: Missing command :fuser Prerequisite check "CheckSystemCommandAvailable" failed. The details are: Missing command :fuser Prerequisite check "CheckSystemCommandAvailable" failed. The details are: Missing command :fuser Prerequisite check "CheckSystemCommandAvailable" failed. The details are: Missing command :fuser Prerequisite check "CheckSystemCommandAvailable" failed. The details are: Missing command :fuser Prerequisite check "CheckSystemCommandAvailable" failed. The details are: Missing command :fuser Prerequisite check "CheckSystemCommandAvailable" failed. The details are: Missing command :fuser Prerequisite check "CheckSystemCommandAvailable" failed. The details are: Missing command :fuser Prerequisite check "CheckSystemCommandAvailable" failed. The details are: Missing command :fuser Prerequisite check "CheckSystemCommandAvailable" failed. The details are: Missing command :fuser Prerequisite check "CheckSystemCommandAvailable" failed. The details are: Missing command :fuser Prerequisite check "CheckSystemCommandAvailable" failed. The details are: Missing command :fuser UtilSession failed: Prerequisite check "CheckSystemCommandAvailable" failed. Prerequisite check "CheckSystemCommandAvailable" failed. Prerequisite check "CheckSystemCommandAvailable" failed. Prerequisite check "CheckSystemCommandAvailable" failed. Prerequisite check "CheckSystemCommandAvailable" failed. Prerequisite check "CheckSystemCommandAvailable" failed. Prerequisite check "CheckSystemCommandAvailable" failed. Prerequisite check "CheckSystemCommandAvailable" failed. Prerequisite check "CheckSystemCommandAvailable" failed. Prerequisite check "CheckSystemCommandAvailable" failed. Prerequisite check "CheckSystemCommandAvailable" failed. Prerequisite check "CheckSystemCommandAvailable" failed. Prerequisite check "CheckSystemCommandAvailable" failed. Prerequisite check "CheckSystemCommandAvailable" failed. Prerequisite check "CheckSystemCommandAvailable" failed. Prerequisite check "CheckSystemCommandAvailable" failed. Prerequisite check "CheckSystemCommandAvailable" failed. Prerequisite check "CheckSystemCommandAvailable" failed. Prerequisite check "CheckSystemCommandAvailable" failed. Prerequisite check "CheckSystemCommandAvailable" failed. Prerequisite check "CheckSystemCommandAvailable" failed. Prerequisite check "CheckSystemCommandAvailable" failed. Prerequisite check "CheckSystemCommandAvailable" failed. Prerequisite check "CheckSystemCommandAvailable" failed. Prerequisite check "CheckSystemCommandAvailable" failed. Prerequisite check "CheckSystemCommandAvailable" failed. Prerequisite check "CheckSystemCommandAvailable" failed. Prerequisite check "CheckSystemCommandAvailable" failed. Log file location: /oracle/app/oracle/product/11.2/db/cfgtoollogs/opatch/opatch2022-06-30_01-46-05AM_1.log OPatch failed with error code 73
问题原因: 缺少psmisc包。 解决方案: 安装psmisc。
[root@localhost ~]# yum -y install psmisc Loaded plugins: product-id, search-disabled-repos, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. Resolving Dependencies --> Running transaction check ---> Package psmisc.x86_64 0:22.20-17.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ========================================================================================================================================================== Package Arch Version Repository Size ========================================================================================================================================================== Installing: psmisc x86_64 22.20-17.el7 server_first 141 k Transaction Summary ========================================================================================================================================================== Install 1 Package Total download size: 141 k Installed size: 475 k Downloading packages: psmisc-22.20-17.el7.x86_64.rpm | 141 kB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : psmisc-22.20-17.el7.x86_64 1/1 Verifying : psmisc-22.20-17.el7.x86_64 1/1 Installed: psmisc.x86_64 0:22.20-17.el7 Complete!
重新应用opatch
[oracle@localhost 31537677]$ opatch apply [oracle@localhost 31537677]$ opatch lspatches 31537677;Database Patch Set Update : 11.2.0.4.201020 (31537677) OPatch succeeded.
###chenjuchao 20230207###
