Me deparei com o seguinte erro: Prerequisite check “CheckActiveFilesAndExecutables” failed. ao aplicar Patch no Oracle 12.2.0.1 Análise
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
[oracle@bdora-01 27105253]$ $ORACLE_HOME/OPatch/opatch apply Oracle Interim Patch Installer version 12.2.0.1.12 Copyright (c) 2019, Oracle Corporation. All rights reserved. Oracle Home : /u01/oracle/product/12.2.0/dbhome_1 Central Inventory : /u01/oraInventory from : /u01/oracle/product/12.2.0/dbhome_1/oraInst.loc OPatch version : 12.2.0.1.12 OUI version : 12.2.0.1.4 Log file location : /u01/oracle/product/12.2.0/dbhome_1/cfgtoollogs/opatch/opatch2019-07-21_10-56-55AM_1.log Verifying environment and performing prerequisite checks... Prerequisite check "CheckActiveFilesAndExecutables" failed. The details are: Following executables are active : /u01/oracle/product/12.2.0/dbhome_1/lib/libclntsh.so.12.1 UtilSession failed: Prerequisite check "CheckActiveFilesAndExecutables" failed. Log file location: /u01/oracle/product/12.2.0/dbhome_1/cfgtoollogs/opatch/opatch2019-07-21_10-56-55AM_1.log OPatch failed with error code 73 |
Causa Processo utilizando a libclntsh.so.12.1
1 2 |
Following executables are active : /u01/oracle/product/12.2.0/dbhome_1/lib/libclntsh.so.12.1 |
Identificando pid do processo que está utilizando a libclntsh.so.12.1
1 2 |
[oracle@bdora-01 27105253]$ fuser /u01/oracle/product/12.2.0/dbhome_1/lib/libclntsh.so.12.1 /u01/oracle/product/12.2.0/dbhome_1/lib/libclntsh.so.12.1: 8947m |
Identificando no linux
1 2 |
[oracle@bdora-01 27105253]$ ps -ef |grep 8947 oracle 8947 8919 0 Jul20 pts/1 00:00:01 rman target / |
Solução
1 |
[oracle@bdora-01 27105253]$ kill -9 8947 |