当前位置: 首页 > 工具软件 > oui > 使用案例 >

解决:OUI-67073:UtilSession failed: Prerequisite check “CheckActiveFilesAndExecutables“ failed.报错

范彭亮
2023-12-01

在升级OPatch时,opatch apply 报错:OUI-67073  代码如下:

[oracle@oracle 33192793]$ /u01/app/oracle/product/19.0/db_1/OPatch/opatch apply
Oracle Interim Patch Installer version 12.2.0.1.27
Copyright (c) 2021, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/oracle/product/19.0/db_1
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/oracle/product/19.0/db_1/oraInst.loc
OPatch version    : 12.2.0.1.27
OUI version       : 12.2.0.7.0
Log file location : /u01/app/oracle/product/19.0/db_1/cfgtoollogs/opatch/opatch2021-12-09_11-26-28AM_1.log

Verifying environment and performing prerequisite checks...
Prerequisite check "CheckActiveFilesAndExecutables" failed.
The details are:


Following active executables are not used by opatch process :

/u01/app/oracle/product/19.0/db_1/bin/oracle


Following active executables are used by opatch process :
/u01/app/oracle/product/19.0/db_1/lib/libclntsh.so.19.1
/u01/app/oracle/product/19.0/db_1/lib/libasmclntsh19.so
/u01/app/oracle/product/19.0/db_1/lib/libclntsh.so.18.1

/u01/app/oracle/product/19.0/db_1/bin/tnslsnr
UtilSession failed: Prerequisite check "CheckActiveFilesAndExecutables" failed.
Log file location: /u01/app/oracle/product/19.0/db_1/cfgtoollogs/opatch/opatch2021-12-09_11-26-28AM_1.log

OPatch failed with error code 73

提示查看日志:/u01/app/oracle/product/19.0/db_1/cfgtoollogs/opatch/opatch2021-12-09_11-26-28AM_1.log   可见“OUI-67073:UtilSession failed: Prerequisite check "CheckActiveFilesAndExecutables" failed.”报错,具体代码如下:

[oracle@oracle 33192793]$ cat /u01/app/oracle/product/19.0/db_1/cfgtoollogs/opatch/opatch2021-12-09_11-00-22AM_1.log
[Dec 9, 2021 11:00:23 AM] [INFO]    CUP_LOG: Trying to load HomeOperations object
[Dec 9, 2021 11:00:23 AM] [INFO]    CUP_LOG: HomeOperations object created. CUP1.0 is enabled
[Dec 9, 2021 11:00:23 AM] [INFO]    OPatch invoked as follows: 'apply -invPtrLoc /u01/app/oracle/product/19.0/db_1/oraInst.loc '
[Dec 9, 2021 11:00:23 AM] [INFO]    Runtime args: [-Xmx3072m, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=/u01/app/oracle/product/19.0/db_1/cfgtoollogs/opatch, -DCommonLog.LOG_SESSION_ID=, -DCommonLog.COMMAND_NAME=apply, -DOPatch.ORACLE_HOME=/u01/app/oracle/produc
t/19.0/db_1, -DOPatch.DEBUG=false, -DOPatch.MAKE=false, -DOPatch.RUNNING_DIR=/u01/app/oracle/product/19.0/db_1/OPatch, -DOPatch.MW_HOME=, -DOPatch.WL_HOME=, -DOPatch.COMMON_COMPONENTS_HOME=, -DOPatch.OUI_LOCATION=/u01/app/oracle/product/19.0/db_1/oui, -DOPatch.FMW_COMPONENT_HOME=, -DOPatch.OPATCH_CLASSPATH=/u01/app/oracle/product/19.0/db_1/JRE:/u01/app/oracle/product/19.0/db_1/jlib:/u01/app/oracle/product/19.0/db_1/rdbms/jlib:/u01/app/oracle/product/19.0/db_1/network/jlib, -DOPatch.WEBLOGIC_CLASSPATH=, -DOPatch.SKIP_OUI_VERSION_CHECK=, -DOPatch.NEXTGEN_HOME_CHECK=false, -DOPatch.PARALLEL_ON_FMW_OH=][Dec 9, 2021 11:00:23 AM] [INFO]    Heap in use : 76 MB
                                    Total memory: 972 MB
                                    Free memory : 895 MB
                                    Max memory  : 2731 MB
[Dec 9, 2021 11:00:23 AM] [INFO]    Oracle Home       : /u01/app/oracle/product/19.0/db_1
                                    Central Inventory : /u01/app/oraInventory
                                       from           : /u01/app/oracle/product/19.0/db_1/oraInst.loc
                                    OPatch version    : 12.2.0.1.27
                                    OUI version       : 12.2.0.7.0
                                    OUI location      : /u01/app/oracle/product/19.0/db_1/oui
                                    Log file location : /u01/app/oracle/product/19.0/db_1/cfgtoollogs/opatch/opatch2021-12-09_11-00-22AM_1.log
[Dec 9, 2021 11:00:23 AM] [INFO]    Patch history file: /u01/app/oracle/product/19.0/db_1/cfgtoollogs/opatch/opatch_history.txt
[Dec 9, 2021 11:00:25 AM] [INFO]    [OPSR-TIME] Loading raw inventory
[Dec 9, 2021 11:00:25 AM] [INFO]    [OPSR-MEMORY] Loaded all components from inventory. Heap memory in use: 101 (MB)
[Dec 9, 2021 11:00:25 AM] [INFO]    [OPSR-MEMORY] Loaded all one offs from inventory. Heap memory in use: 101 (MB)
[Dec 9, 2021 11:00:25 AM] [INFO]    [OPSR-TIME] Raw inventory loaded successfully
[Dec 9, 2021 11:00:25 AM] [INFO]    NApply::no CAS enabled, OPatch runs with legacy process.
[Dec 9, 2021 11:00:25 AM] [INFO]    Verifying environment and performing prerequisite checks...
[Dec 9, 2021 11:00:25 AM] [INFO]    [OPSR-TIME] Running prerequisite checks
[Dec 9, 2021 11:00:25 AM] [INFO]    opatch-external.jar is in /u01/app/oracle/product/19.0/db_1/OPatch/jlib/opatch-external.jar
[Dec 9, 2021 11:00:27 AM] [INFO]    [OPSR-TIME] Loading cooked inventory
[Dec 9, 2021 11:00:27 AM] [INFO]    [OPSR-MEMORY] : Loading cooked one offs. Heap memory used 63 (MB)
[Dec 9, 2021 11:00:27 AM] [INFO]    [OPSR-MEMORY] : Loaded cooked oneoffs. Heap memory used : 83 (MB)
[Dec 9, 2021 11:00:27 AM] [INFO]    [OPSR-TIME] Cooked inventory loaded successfully
[Dec 9, 2021 11:00:30 AM] [INFO]    Checking if Oracle Home has components required by patches...
[Dec 9, 2021 11:00:31 AM] [INFO]    CheckMissingComps: Cached file does not exist or is invalid, re-build prereq result.
[Dec 9, 2021 11:00:31 AM] [INFO]    Checking conflict among patches...
[Dec 9, 2021 11:00:31 AM] [INFO]    Running prereq checkConflictAmongPatchesWithDetail
[Dec 9, 2021 11:00:35 AM] [INFO]    Following patches can be applied:  33192793
[Dec 9, 2021 11:00:35 AM] [INFO]    Following patches are not required:
[Dec 9, 2021 11:00:35 AM] [INFO]    Following patches are auto rollbackable:
[Dec 9, 2021 11:00:35 AM] [INFO]    Finished checking prereq checkConflictAmongPatchesWithDetail
[Dec 9, 2021 11:00:35 AM] [INFO]    Conflict checking amongst patches PASSED
[Dec 9, 2021 11:00:35 AM] [INFO]    Checking conflicts against Oracle Home...
[Dec 9, 2021 11:00:35 AM] [INFO]    Running prereq checkConflictAgainstOHWithDetail
[Dec 9, 2021 11:00:35 AM] [INFO]    CUP_LOG: Found pi CUP 33192793 is a superset of  poh CUP: 29517242
[Dec 9, 2021 11:00:39 AM] [INFO]    Following patches can be applied:  33192793
[Dec 9, 2021 11:00:39 AM] [INFO]    Following patches are not required:
[Dec 9, 2021 11:00:39 AM] [INFO]    Following patches are auto rollbackable:
[Dec 9, 2021 11:00:39 AM] [INFO]    Finished checking prereq checkConflictAgainstOHWithDetail
[Dec 9, 2021 11:00:41 AM] [INFO]    Execution of 'sh /mnt/33192793/custom/scripts/init -apply 33192793 ':
[Dec 9, 2021 11:00:41 AM] [INFO]    Return Code = 0
[Dec 9, 2021 11:00:41 AM] [INFO]    Execution of ' Command and arguments of init script is restricted to be viewed in log file ':
                                    
                                    Return Code = 0
[Dec 9, 2021 11:00:43 AM] [INFO]    Running prerequisite checks...
[Dec 9, 2021 11:00:43 AM] [INFO]    Space Needed : 5941.26MB
[Dec 9, 2021 11:00:46 AM] [INFO]    Prereq checkPatchApplicableOnCurrentPlatform Passed for patch : 33192793
[Dec 9, 2021 11:00:48 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/ctx/bin/ctxhx at Thu Dec 09 11:00:48 CST 2021
[Dec 9, 2021 11:00:48 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/ctx/bin/ctxhx at Thu Dec 09 11:00:48 CST 2021
[Dec 9, 2021 11:00:48 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/lib/libclntsh.so.19.1 at Thu Dec 09 11:00:48 CST 2021
[Dec 9, 2021 11:00:49 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/lib/libclntsh.so.19.1 at Thu Dec 09 11:00:49 CST 2021
[Dec 9, 2021 11:00:49 AM] [INFO]    Files in use by a process: /u01/app/oracle/product/19.0/db_1/lib/libclntsh.so.19.1 PID( 49179 )
[Dec 9, 2021 11:00:49 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/lib/libasmclntsh19.so at Thu Dec 09 11:00:49 CST 2021
[Dec 9, 2021 11:00:49 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/lib/libasmclntsh19.so at Thu Dec 09 11:00:49 CST 2021
[Dec 9, 2021 11:00:49 AM] [INFO]    Files in use by a process: /u01/app/oracle/product/19.0/db_1/lib/libasmclntsh19.so PID( 49179 )
[Dec 9, 2021 11:00:49 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/lib/libagtsh.so.1.0 at Thu Dec 09 11:00:49 CST 2021
[Dec 9, 2021 11:00:49 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/lib/libagtsh.so.1.0 at Thu Dec 09 11:00:49 CST 2021
[Dec 9, 2021 11:00:49 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/lib/libsqlplus.so at Thu Dec 09 11:00:49 CST 2021
[Dec 9, 2021 11:00:49 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/lib/libsqlplus.so at Thu Dec 09 11:00:49 CST 2021
[Dec 9, 2021 11:00:49 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/lib/libclntsh.so.18.1 at Thu Dec 09 11:00:49 CST 2021
[Dec 9, 2021 11:00:49 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/lib/libclntsh.so.18.1 at Thu Dec 09 11:00:49 CST 2021
[Dec 9, 2021 11:00:49 AM] [INFO]    Files in use by a process: /u01/app/oracle/product/19.0/db_1/lib/libclntsh.so.18.1 PID( 49179 )
[Dec 9, 2021 11:00:49 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/sdk/proc at Thu Dec 09 11:00:49 CST 2021
[Dec 9, 2021 11:00:49 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/sdk/proc at Thu Dec 09 11:00:49 CST 2021
[Dec 9, 2021 11:00:49 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/sdk/procob at Thu Dec 09 11:00:49 CST 2021
[Dec 9, 2021 11:00:49 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/sdk/procob at Thu Dec 09 11:00:49 CST 2021
[Dec 9, 2021 11:00:49 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/oracle at Thu Dec 09 11:00:49 CST 2021
[Dec 9, 2021 11:00:50 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/oracle at Thu Dec 09 11:00:50 CST 2021
[Dec 9, 2021 11:00:50 AM] [INFO]    Files in use by a process: /u01/app/oracle/product/19.0/db_1/bin/oracle PID( 467  2361  2413  3762  3764  3766  3785  3789  3792  3796  3799  3801  3804  3806  3821  3823  3825  3827  3829  3831  3833  3835  3837  3839  3841  3843  38
48  3851  3853  3855  3857  3859  3863  3880  3900  3925  3948  4272  4328  5620  5622  5694  5696  5698  5700  5703  5705  5708  5729  6119  6136  6158  6178  6180  6198  6222  6242  6264  6285  6308  6328  6352  6378  6401  6421  6441  6461  6489  6511  6532  6553  6573  6597  6617  6637  6657  6677  6699  6724  6744  6764  6785  6806  6828  6854  6875  6904  6925  6947  6967  6997  7016  7036  7056  7077  7097  7122  7149  7169  7192  7212  7236  7256  7273  7296  7316  7337  7359  7382  7405  7429  7458  7484  7509  7534  7557  7930  7983  7985  8013  8027  8038  8042  8044  8048  8105  9853  9857 11693 11889 13122 13716 14535 15504 15524 15959 17647 17705 19450 19506 21263 23086 23150 24903 24959 26704 26760 28684 28740 30209 30804 31777 32606 33102 34406 34472 36212 36284 50967 51048 52794 52858 54660 56406 58277 58334 60187 60269 61597 62068 63119 63882 64533 )[Dec 9, 2021 11:00:50 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/rman at Thu Dec 09 11:00:50 CST 2021
[Dec 9, 2021 11:00:50 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/rman at Thu Dec 09 11:00:50 CST 2021
[Dec 9, 2021 11:00:50 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/wrc at Thu Dec 09 11:00:50 CST 2021
[Dec 9, 2021 11:00:50 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/wrc at Thu Dec 09 11:00:50 CST 2021
[Dec 9, 2021 11:00:50 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/renamedg at Thu Dec 09 11:00:50 CST 2021
[Dec 9, 2021 11:00:50 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/renamedg at Thu Dec 09 11:00:50 CST 2021
[Dec 9, 2021 11:00:50 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/extjob at Thu Dec 09 11:00:50 CST 2021
[Dec 9, 2021 11:00:50 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/extjob at Thu Dec 09 11:00:50 CST 2021
[Dec 9, 2021 11:00:50 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/extjobo at Thu Dec 09 11:00:50 CST 2021
[Dec 9, 2021 11:00:50 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/extjobo at Thu Dec 09 11:00:50 CST 2021
[Dec 9, 2021 11:00:50 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/setasmgid at Thu Dec 09 11:00:50 CST 2021
[Dec 9, 2021 11:00:51 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/setasmgid at Thu Dec 09 11:00:51 CST 2021
[Dec 9, 2021 11:00:51 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/orapwd at Thu Dec 09 11:00:51 CST 2021
[Dec 9, 2021 11:00:51 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/orapwd at Thu Dec 09 11:00:51 CST 2021
[Dec 9, 2021 11:00:51 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/kfod at Thu Dec 09 11:00:51 CST 2021
[Dec 9, 2021 11:00:51 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/kfod at Thu Dec 09 11:00:51 CST 2021
[Dec 9, 2021 11:00:51 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/wrap at Thu Dec 09 11:00:51 CST 2021
[Dec 9, 2021 11:00:51 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/wrap at Thu Dec 09 11:00:51 CST 2021
[Dec 9, 2021 11:00:51 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/amdu at Thu Dec 09 11:00:51 CST 2021
[Dec 9, 2021 11:00:51 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/amdu at Thu Dec 09 11:00:51 CST 2021
[Dec 9, 2021 11:00:51 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/kfed at Thu Dec 09 11:00:51 CST 2021
[Dec 9, 2021 11:00:51 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/kfed at Thu Dec 09 11:00:51 CST 2021
[Dec 9, 2021 11:00:51 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/orion at Thu Dec 09 11:00:51 CST 2021
[Dec 9, 2021 11:00:51 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/orion at Thu Dec 09 11:00:51 CST 2021
[Dec 9, 2021 11:00:51 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/plshprof at Thu Dec 09 11:00:51 CST 2021
[Dec 9, 2021 11:00:52 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/plshprof at Thu Dec 09 11:00:52 CST 2021
[Dec 9, 2021 11:00:52 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/procob at Thu Dec 09 11:00:52 CST 2021
[Dec 9, 2021 11:00:52 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/procob at Thu Dec 09 11:00:52 CST 2021
[Dec 9, 2021 11:00:52 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/lsnrctl at Thu Dec 09 11:00:52 CST 2021
[Dec 9, 2021 11:00:52 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/lsnrctl at Thu Dec 09 11:00:52 CST 2021
[Dec 9, 2021 11:00:52 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/tnslsnr at Thu Dec 09 11:00:52 CST 2021
[Dec 9, 2021 11:00:52 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/tnslsnr at Thu Dec 09 11:00:52 CST 2021
[Dec 9, 2021 11:00:52 AM] [INFO]    Files in use by a process: /u01/app/oracle/product/19.0/db_1/bin/tnslsnr PID( 49179 )
[Dec 9, 2021 11:00:52 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/sqlldr at Thu Dec 09 11:00:52 CST 2021
[Dec 9, 2021 11:00:52 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/sqlldr at Thu Dec 09 11:00:52 CST 2021
[Dec 9, 2021 11:00:52 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/expdp at Thu Dec 09 11:00:52 CST 2021
[Dec 9, 2021 11:00:52 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/expdp at Thu Dec 09 11:00:52 CST 2021
[Dec 9, 2021 11:00:52 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/impdp at Thu Dec 09 11:00:52 CST 2021
[Dec 9, 2021 11:00:52 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/impdp at Thu Dec 09 11:00:52 CST 2021
[Dec 9, 2021 11:00:52 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/ctxkbtc at Thu Dec 09 11:00:52 CST 2021
[Dec 9, 2021 11:00:53 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/ctxkbtc at Thu Dec 09 11:00:53 CST 2021
[Dec 9, 2021 11:00:53 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/ctxlc at Thu Dec 09 11:00:53 CST 2021
[Dec 9, 2021 11:00:53 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/ctxlc at Thu Dec 09 11:00:53 CST 2021
[Dec 9, 2021 11:00:53 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/ctxload at Thu Dec 09 11:00:53 CST 2021
[Dec 9, 2021 11:00:53 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/ctxload at Thu Dec 09 11:00:53 CST 2021
[Dec 9, 2021 11:00:53 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/ldapsearch at Thu Dec 09 11:00:53 CST 2021
[Dec 9, 2021 11:00:53 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/ldapsearch at Thu Dec 09 11:00:53 CST 2021
[Dec 9, 2021 11:00:53 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/dgmgrl at Thu Dec 09 11:00:53 CST 2021
[Dec 9, 2021 11:00:53 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/dgmgrl at Thu Dec 09 11:00:53 CST 2021
[Dec 9, 2021 11:00:53 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/dg4pwd at Thu Dec 09 11:00:53 CST 2021
[Dec 9, 2021 11:00:53 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/dg4pwd at Thu Dec 09 11:00:53 CST 2021
[Dec 9, 2021 11:00:53 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/trcldr at Thu Dec 09 11:00:53 CST 2021
[Dec 9, 2021 11:00:53 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/trcldr at Thu Dec 09 11:00:53 CST 2021
[Dec 9, 2021 11:00:53 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/kgmgr at Thu Dec 09 11:00:53 CST 2021
[Dec 9, 2021 11:00:54 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/kgmgr at Thu Dec 09 11:00:54 CST 2021
[Dec 9, 2021 11:00:54 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/tkprof at Thu Dec 09 11:00:54 CST 2021
[Dec 9, 2021 11:00:54 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/tkprof at Thu Dec 09 11:00:54 CST 2021
[Dec 9, 2021 11:00:54 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/tnsping at Thu Dec 09 11:00:54 CST 2021
[Dec 9, 2021 11:00:54 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/tnsping at Thu Dec 09 11:00:54 CST 2021
[Dec 9, 2021 11:00:54 AM] [INFO]    Start fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/tstshm at Thu Dec 09 11:00:54 CST 2021
[Dec 9, 2021 11:00:54 AM] [INFO]    Finish fuser command /sbin/fuser /u01/app/oracle/product/19.0/db_1/bin/tstshm at Thu Dec 09 11:00:54 CST 2021
[Dec 9, 2021 11:00:56 AM] [INFO]    Following active executables are not used by opatch process :
                                    
                                    
                                    
                                    /u01/app/oracle/product/19.0/db_1/bin/oracle
                                    
                                    
                                    Following active executables are used by opatch process :
                                    /u01/app/oracle/product/19.0/db_1/lib/libclntsh.so.19.1
                                    /u01/app/oracle/product/19.0/db_1/lib/libasmclntsh19.so
                                    /u01/app/oracle/product/19.0/db_1/lib/libclntsh.so.18.1
                                    
                                    /u01/app/oracle/product/19.0/db_1/bin/tnslsnr
[Dec 9, 2021 11:00:56 AM] [INFO]    Prerequisite check "CheckActiveFilesAndExecutables" failed.
                                    The details are:
                                    
                                    
                                    Following active executables are not used by opatch process :
                                    
                                    
                                    
                                    /u01/app/oracle/product/19.0/db_1/bin/oracle
                                    
                                    
                                    Following active executables are used by opatch process :
                                    /u01/app/oracle/product/19.0/db_1/lib/libclntsh.so.19.1
                                    /u01/app/oracle/product/19.0/db_1/lib/libasmclntsh19.so
                                    /u01/app/oracle/product/19.0/db_1/lib/libclntsh.so.18.1
                                    
                                    /u01/app/oracle/product/19.0/db_1/bin/tnslsnr
[Dec 9, 2021 11:00:56 AM] [SEVERE]  OUI-67073:UtilSession failed: Prerequisite check "CheckActiveFilesAndExecutables" failed.
[Dec 9, 2021 11:00:56 AM] [INFO]    Finishing UtilSession at Thu Dec 09 11:00:56 CST 2021
[Dec 9, 2021 11:00:56 AM] [INFO]    Log file location: /u01/app/oracle/product/19.0/db_1/cfgtoollogs/opatch/opatch2021-12-09_11-00-22AM_1.log
[Dec 9, 2021 11:00:56 AM] [INFO]    Stack Description: java.lang.RuntimeException: Prerequisite check "CheckActiveFilesAndExecutables" failed.
                                    	at oracle.opatch.OPatchSessionHelper.runApplyPrereqs(OPatchSessionHelper.java:6805)
                                    	at oracle.opatch.opatchutil.NApply.legacy_process(NApply.java:1002)
                                    	at oracle.opatch.opatchutil.NApply.legacy_process(NApply.java:372)
                                    	at oracle.opatch.opatchutil.NApply.process(NApply.java:352)
                                    	at oracle.opatch.opatchutil.OUSession.napply(OUSession.java:1136)
                                    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                                    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                                    	at java.lang.reflect.Method.invoke(Method.java:498)
                                    	at oracle.opatch.UtilSession.process(UtilSession.java:355)
                                    	at oracle.opatch.OPatchSession.process(OPatchSession.java:2660)
                                    	at oracle.opatch.OPatch.process(OPatch.java:853)
                                    	at oracle.opatch.OPatch.main(OPatch.java:910)
                                    Caused by: java.lang.RuntimeException: Prerequisite check "CheckActiveFilesAndExecutables" failed.
                                    	... 13 more
                                    Caused by: oracle.opatch.PrereqFailedException: Prerequisite check "CheckActiveFilesAndExecutables" failed.
                                    	... 13 more

                          
                                    
问题原因未关闭数据库 和 未关闭监听,关闭后再次执行正常:

shutdown immediate;

lsnrctl stop
 

 类似资料: