
{"id":897,"date":"2019-07-21T12:15:00","date_gmt":"2019-07-21T15:15:00","guid":{"rendered":"http:\/\/rodrigosilvaesilva.com.br\/?p=897"},"modified":"2019-07-21T12:15:00","modified_gmt":"2019-07-21T15:15:00","slug":"oracle-error-prerequisite-check-checkactivefilesandexecutables-failed","status":"publish","type":"post","link":"https:\/\/rodrigosilvaesilva.com.br\/index.php\/2019\/07\/21\/oracle-error-prerequisite-check-checkactivefilesandexecutables-failed\/","title":{"rendered":"Oracle error Prerequisite check &#8220;CheckActiveFilesAndExecutables&#8221; failed."},"content":{"rendered":"<p>Me deparei com o seguinte erro: Prerequisite check &#8220;CheckActiveFilesAndExecutables&#8221; failed. ao aplicar Patch no Oracle 12.2.0.1<\/p>\n<h1>An\u00e1lise<\/h1>\n<pre class=\"lang:sh decode:true\">[oracle@bdora-01 27105253]$  $ORACLE_HOME\/OPatch\/opatch apply\nOracle Interim Patch Installer version 12.2.0.1.12\nCopyright (c) 2019, Oracle Corporation.  All rights reserved.\n\n\nOracle Home       : \/u01\/oracle\/product\/12.2.0\/dbhome_1\nCentral Inventory : \/u01\/oraInventory\n   from           : \/u01\/oracle\/product\/12.2.0\/dbhome_1\/oraInst.loc\nOPatch version    : 12.2.0.1.12\nOUI version       : 12.2.0.1.4\nLog file location : \/u01\/oracle\/product\/12.2.0\/dbhome_1\/cfgtoollogs\/opatch\/opatch2019-07-21_10-56-55AM_1.log\n\nVerifying environment and performing prerequisite checks...\nPrerequisite check \"CheckActiveFilesAndExecutables\" failed.\nThe details are:\n\n\nFollowing executables are active :\n\/u01\/oracle\/product\/12.2.0\/dbhome_1\/lib\/libclntsh.so.12.1\nUtilSession failed: Prerequisite check \"CheckActiveFilesAndExecutables\" failed.\nLog file location: \/u01\/oracle\/product\/12.2.0\/dbhome_1\/cfgtoollogs\/opatch\/opatch2019-07-21_10-56-55AM_1.log\n\nOPatch failed with error code 73\n<\/pre>\n<h1>Causa<\/h1>\n<p>Processo utilizando a libclntsh.so.12.1<\/p>\n<pre class=\"lang:sh decode:true\">Following executables are active :\n\/u01\/oracle\/product\/12.2.0\/dbhome_1\/lib\/libclntsh.so.12.1<\/pre>\n<p>Identificando pid do processo que est\u00e1 utilizando a libclntsh.so.12.1<\/p>\n<pre class=\"lang:sh decode:true \">[oracle@bdora-01 27105253]$ fuser \/u01\/oracle\/product\/12.2.0\/dbhome_1\/lib\/libclntsh.so.12.1\n\/u01\/oracle\/product\/12.2.0\/dbhome_1\/lib\/libclntsh.so.12.1:  8947m<\/pre>\n<p>Identificando no linux<\/p>\n<pre class=\"lang:sh decode:true\">[oracle@bdora-01 27105253]$ ps -ef |grep 8947\noracle    8947  8919  0 Jul20 pts\/1    00:00:01 rman target \/\n<\/pre>\n<h1>Solu\u00e7\u00e3o<\/h1>\n<pre class=\"lang:sh decode:true\">[oracle@bdora-01 27105253]$ kill -9 8947<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Me deparei com o seguinte erro: Prerequisite check &#8220;CheckActiveFilesAndExecutables&#8221; failed. ao aplicar Patch no Oracle 12.2.0.1 An\u00e1lise [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&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[57,143,171,172,295],"class_list":["post-897","post","type-post","status-publish","format-standard","hentry","category-oracle","tag-checkactivefilesandexecutables","tag-fuser","tag-libclntsh","tag-libclntsh-so-12-1","tag-prerequisite-check-checkactivefilesandexecutables-failed"],"_links":{"self":[{"href":"https:\/\/rodrigosilvaesilva.com.br\/index.php\/wp-json\/wp\/v2\/posts\/897","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rodrigosilvaesilva.com.br\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rodrigosilvaesilva.com.br\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rodrigosilvaesilva.com.br\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rodrigosilvaesilva.com.br\/index.php\/wp-json\/wp\/v2\/comments?post=897"}],"version-history":[{"count":0,"href":"https:\/\/rodrigosilvaesilva.com.br\/index.php\/wp-json\/wp\/v2\/posts\/897\/revisions"}],"wp:attachment":[{"href":"https:\/\/rodrigosilvaesilva.com.br\/index.php\/wp-json\/wp\/v2\/media?parent=897"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rodrigosilvaesilva.com.br\/index.php\/wp-json\/wp\/v2\/categories?post=897"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rodrigosilvaesilva.com.br\/index.php\/wp-json\/wp\/v2\/tags?post=897"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}