解决:OUI-67073:UtilSession failed: Prerequisite check “CheckActiveFilesAndExecutables“ failed.报错
在升级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/oraInventoryfrom : /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.logVerifying 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/oracleFollowing 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.logOPatch 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 MBTotal memory: 972 MBFree memory : 895 MBMax memory : 2731 MB
[Dec 9, 2021 11:00:23 AM] [INFO] Oracle Home : /u01/app/oracle/product/19.0/db_1Central Inventory : /u01/app/oraInventoryfrom : /u01/app/oracle/product/19.0/db_1/oraInst.locOPatch version : 12.2.0.1.27OUI version : 12.2.0.7.0OUI location : /u01/app/oracle/product/19.0/db_1/ouiLog 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/oracleFollowing 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/oracleFollowing 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 moreCaused by: oracle.opatch.PrereqFailedException: Prerequisite check "CheckActiveFilesAndExecutables" failed.... 13 more
问题原因未关闭数据库 和 未关闭监听,关闭后再次执行正常:
shutdown immediate;
lsnrctl stop
解决:OUI-67073:UtilSession failed: Prerequisite check “CheckActiveFilesAndExecutables“ failed.报错相关推荐
- Oracle打Patch报错Prerequisite check CheckActiveFilesAndExecutables failed.
晚上给几个测试库打补丁,停完监听和实例后查看已经没有Oracle的进程了,于是执行opatch apply.但执行报如下错误: $ opatch apply Oracle Interim Patch ...
- UtilSession failed: Prerequisite check CheckSystemSpace space(22288172004) is not availa
如果你在使用OPatch打11.2 GI/CRS上的PSU时遇到了如上错误信息"UtilSession failed: Prerequisite check "CheckSyste ...
- no identity found Command /usr/bin/codesign failed with exit code 1 报错解决方法
no identity found Command /usr/bin/codesign failed with exit code 1 报错解决方法 参考文章: (1)no identity foun ...
- 解决win10使用GPU跑程序遇到的一系列报错
解决win10使用GPU跑程序遇到的一系列报错 安装cupy包 使用cupy包的时候报错 ImportError: DLL load failed: 找不到指定的模块. 卸载cuda11.5.安装cu ...
- 解决idea集成maven在使用骨架构建项目报错问题
解决idea集成maven在使用骨架构建项目报错问题 错误信息如下: [WARNING] Could not transfer metadata org.apache.maven.archetypes ...
- 解决红米 10X手机USB安装apk时AS报错提示:INSTALL_FAILED_USER_RESTRICTED: Invalid apk
解决红米 10X手机USB安装apk时AS报错提示: INSTALL_FAILED_USER_RESTRICTED: Invalid apk 我先不说多,直接说吧 1.把工程下面三个目录的文件删除 删 ...
- Centos6.X升级glibc解决“libc.so.6 version GLIBC_2.14 not found”报错问题
Centos6.X升级glibc解决"libc.so.6 version GLIBC_2.14 not found"报错问题 参考文章: (1)Centos6.X升级glibc解决 ...
- mysql主从skip1677_解决字符集不同引起的主从同步异常1677报错问题
之前的一篇文章中,我们遇到了主从同步的一个问题,错误代码:1236,详细请看 今天,突然发现测试环境的主从同步关系断开了,报错代码:1677 一.问题错误信息 Last_SQL_Errno: 1677 ...
- 解决idea的html代码中使用es6语法报错的问题
解决idea的html代码中使用es6语法报错的问题 参考文章: (1)解决idea的html代码中使用es6语法报错的问题 (2)https://www.cnblogs.com/mayiaction ...
最新文章
- 【Ubuntu】ping: unknown host www.baidu.com
- linux 下得到进程的启动时间
- 查询出来时间不对_2020年一级、二级建造师执业资格考试成绩可查询!
- 在二维离散傅里叶变换中进行频谱平移(MATLAB::fft2shift)的作用
- nginx main user
- 北京东二环——东四联通机房
- MATLAB中移动平均滤波器smooth函数的用法
- mysql 8 sql server_终于将 SQL Server 成功迁移至 MySQL8.0 啦!!!
- add函数python怎么用_Python add()函数是如何使用呢?
- Linux 常见命令操作(杀死全部screen)
- SQLPro Studio mac如何链接MYSQL?
- 今天遇到的一个诡异的core和解决 std::sort
- adb工具包_如何使用命令刷机 ADB与FASTBOOT工具使用教程
- 啦啦外卖独立版配送小程序(黑色UI风格)
- Ubuntu环境下远程调试Android手机设备
- matlab潮流计算ppt,matlab潮流计算.doc
- 计算机的次要功能,FRM考试时所用计算器的操作指南
- 淼淼Kruskal算法
- leetcode-841-钥匙和房间 题解
- 【洛谷】NOIP提高组模拟赛Day2【动态开节点/树状数组】【双头链表模拟】