{"id":1909,"date":"2015-11-25T10:58:21","date_gmt":"2015-11-25T12:58:21","guid":{"rendered":"http:\/\/www.dbarj.com.br\/?p=1909"},"modified":"2015-11-25T10:58:21","modified_gmt":"2015-11-25T12:58:21","slug":"aplicar-patch-via-em-falhando-prereq-checkactivefilesandexecutables-not-executed","status":"publish","type":"post","link":"https:\/\/www.dbarj.com.br\/pt-br\/2015\/11\/aplicar-patch-via-em-falhando-prereq-checkactivefilesandexecutables-not-executed\/","title":{"rendered":"Aplicar Patch via EM falhando: Prereq &#8220;checkActiveFilesAndExecutables&#8221; is not executed"},"content":{"rendered":"<p>Esses dias, ao tentar aplicar patches de banco de dados usando o Oracle Enterprise Manager 12c, eu estava recebendo um erro: <strong>Prereq &#8220;checkActiveFilesAndExecutables&#8221; is not executed<\/strong>.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">Invoking prereq \"checkactivefilesandexecutables\"\r\n\r\nPrereq \"checkActiveFilesAndExecutables\" is not executed.\r\n\r\nThe details are:\r\nNo patch location specified.\r\n\r\nOPatch failed with error code 2\r\n \r\nERROR: Failed to invoke 'opatch prereq checkActiveFilesAndExecutables' \r\nERROR: Some processes are still running.<\/pre>\n<p>O \u00faltimo erro disse algo sobre &#8220;processos ainda est\u00e3o em execu\u00e7\u00e3o&#8221;. No entanto, verificando com o &#8220;ps&#8221;, n\u00e3o havia qualquer processo oracle execu\u00e7\u00e3o. O BD j\u00e1 estava baixado.<\/p>\n<p>Ao verificar o arquivo de log gerado dentro do servidor BD ( <strong>$ORACLE_HOME\/cfgtoollogs\/opatch<\/strong> ), as coisas come\u00e7aram a ficar ainda mais estranhas:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">[Nov 24, 2015 4:01:30 PM]    PREREQ session\r\n[Nov 24, 2015 4:01:31 PM]    OPatch invoked as follows: 'prereq checkActiveFilesAndExecutables -phBaseFile \/tmp\/JOB_254C3E1748426EDAE053DE3FDD0A00B7\/ChkProcess_PatchList_ciocopbddrjs002 -invPtrLoc \/u01\/app\/oracle\/product\/12.1.2\/dbhome_1\/oraInst.loc '\r\n[Nov 24, 2015 4:01:31 PM]    Could not get central inventory using NGOUI; oracle.sysman.nextgen.utils.NextGenInventoryUtil\r\n[Nov 24, 2015 4:01:31 PM]    OUI-67077:\r\n                             Oracle Home       : \/u01\/app\/oracle\/product\/12.1.2\/dbhome_1\r\n                             Central Inventory : \/u01\/app\/oraInventory\r\n                                from           : \/u01\/app\/oracle\/product\/12.1.2\/dbhome_1\/oraInst.loc\r\n                             OPatch version    : 12.1.0.1.10\r\n                             OUI version       : 12.1.0.2.0\r\n                             OUI location      : \/u01\/app\/oracle\/product\/12.1.2\/dbhome_1\/oui\r\n                             Log file location : \/u01\/app\/oracle\/product\/12.1.2\/dbhome_1\/cfgtoollogs\/opatch\/opatch2015-11-24_16-01-30PM_1.log\r\n[Nov 24, 2015 4:01:31 PM]    Patch history file: \/u01\/app\/oracle\/product\/12.1.2\/dbhome_1\/cfgtoollogs\/opatch\/opatch_history.txt\r\n[Nov 24, 2015 4:01:31 PM]    Invoking prereq \"checkactivefilesandexecutables\"\r\n[Nov 24, 2015 4:01:31 PM]    Prereq \"checkActiveFilesAndExecutables\" is not executed.\r\n[Nov 24, 2015 4:01:31 PM]    The details are:\r\n                             No patch location specified.\r\n[Nov 24, 2015 4:01:31 PM]    Finishing PrereqSession at Tue Nov 24 16:01:31 BRST 2015<\/pre>\n<p>Ent\u00e3o, na verdade, o erro era &#8220;<strong>No patch location specified<\/strong>&#8220;. Cheiro de bug no ar.<\/p>\n<p>Depois de pesquisar no MOS, minha conclus\u00f5es tornaram-se reais: Bug 21469024 &#8211; Prereq checkActiveFilesAndExecutables fails with &#8220;No patch location specified&#8221;<\/p>\n<p>Tamb\u00e9m tinha um documento no MOS falando sobre isso:\u00a0<a href=\"https:\/\/support.oracle.com\/epmos\/faces\/DocumentDisplay?id=2077727.1\" target=\"_blank\">Patching a Database Using Cloud Control With In place Patching Fails At Step &#8220;Check If All Processes Are Shut Down&#8221; (Doc ID 2077727.1)<\/a><\/p>\n<p>A solu\u00e7\u00e3o para este bug \u00e9 basicamente aplicar o bundle patch\u00a0<span style=\"text-decoration: underline;\"><strong>EM-DB-BP 12.1.0.8.4<\/strong><\/span>. Voc\u00ea pode encontr\u00e1-lo para download no <a href=\"https:\/\/support.oracle.com\/epmos\/faces\/DocumentDisplay?id=2039331.1\" target=\"_blank\">Doc ID 2039331.1<\/a>.<\/p>\n<p>Na verdade, os bundles s\u00e3o patches cumulativos mensais. Ou seja, o pacote mais recente ir\u00e1 conter todas as corre\u00e7\u00f5es de meses anteriores., Voc\u00ea pode baixar uma mais recente se houver. Aplique tanto o &#8220;OMS-Side System&#8221; quanto o &#8220;Agent-Side-Monitoring&#8221;.<\/p>\n<p>Ent\u00e3o \u00e9 isso. Mais um bug resolvido pra listinha.<\/p>\n<b>Gostou? N\u00e3o deixe de comentar ou deixar um \ud83d\udc4d!<\/b>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style2 like-1909 jlk' href='javascript:void(0)' data-task='like' data-post_id='1909' data-nonce='de4404f630' rel='nofollow'><img class='wti-pixel' src='https:\/\/www.dbarj.com.br\/wp-content\/plugins\/wti-like-post\/images\/pixel.gif' title='Like' \/><span class='lc-1909 lc'>0<\/span><\/a><\/div><\/div> <div class='status-1909 status align-left'><\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>Esses dias, ao tentar aplicar patches de banco de dados usando o Oracle Enterprise Manager 12c, eu estava recebendo um erro: Prereq &#8220;checkActiveFilesAndExecutables&#8221; is not executed. Invoking prereq &#8220;checkactivefilesandexecutables&#8221; Prereq &#8220;checkActiveFilesAndExecutables&#8221; is not executed. The details are: No patch location specified. OPatch failed with error code 2 ERROR: Failed to invoke &#8216;opatch prereq checkActiveFilesAndExecutables&#8217; ERROR: &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"https:\/\/www.dbarj.com.br\/pt-br\/2015\/11\/aplicar-patch-via-em-falhando-prereq-checkactivefilesandexecutables-not-executed\/\">Continue lendo<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1909","post","type-post","status-publish","format-standard","hentry","category-oem12c","item-wrap"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Aplicar Patch via EM falhando: Prereq &quot;checkActiveFilesAndExecutables&quot; is not executed - DBA - Rodrigo Jorge - Oracle Tips and Guides<\/title>\n<meta name=\"description\" content=\"Como resolver o problema de Prereq &quot;checkActiveFilesAndExecutables&quot; is not executed\u00a0ao tentar aplicar um patch no\u00a0Oracle Enterprise\u00a0Manager Cloud.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbarj.com.br\/pt-br\/2015\/11\/aplicar-patch-via-em-falhando-prereq-checkactivefilesandexecutables-not-executed\/\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"DBA RJ\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. tempo de leitura\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/2015\\\/11\\\/aplicar-patch-via-em-falhando-prereq-checkactivefilesandexecutables-not-executed\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/2015\\\/11\\\/aplicar-patch-via-em-falhando-prereq-checkactivefilesandexecutables-not-executed\\\/\"},\"author\":{\"name\":\"DBA RJ\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/#\\\/schema\\\/person\\\/28a44ca3a6633fe4156ad1ea209d40a9\"},\"headline\":\"Aplicar Patch via EM falhando: Prereq &#8220;checkActiveFilesAndExecutables&#8221; is not executed\",\"datePublished\":\"2015-11-25T12:58:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/2015\\\/11\\\/aplicar-patch-via-em-falhando-prereq-checkactivefilesandexecutables-not-executed\\\/\"},\"wordCount\":234,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/#\\\/schema\\\/person\\\/28a44ca3a6633fe4156ad1ea209d40a9\"},\"articleSection\":[\"Enterprise Manager 12c\"],\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/2015\\\/11\\\/aplicar-patch-via-em-falhando-prereq-checkactivefilesandexecutables-not-executed\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/2015\\\/11\\\/aplicar-patch-via-em-falhando-prereq-checkactivefilesandexecutables-not-executed\\\/\",\"url\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/2015\\\/11\\\/aplicar-patch-via-em-falhando-prereq-checkactivefilesandexecutables-not-executed\\\/\",\"name\":\"Aplicar Patch via EM falhando: Prereq \\\"checkActiveFilesAndExecutables\\\" is not executed - DBA - Rodrigo Jorge - Oracle Tips and Guides\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/#website\"},\"datePublished\":\"2015-11-25T12:58:21+00:00\",\"description\":\"Como resolver o problema de Prereq \\\"checkActiveFilesAndExecutables\\\" is not executed\u00a0ao tentar aplicar um patch no\u00a0Oracle Enterprise\u00a0Manager Cloud.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/2015\\\/11\\\/aplicar-patch-via-em-falhando-prereq-checkactivefilesandexecutables-not-executed\\\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/2015\\\/11\\\/aplicar-patch-via-em-falhando-prereq-checkactivefilesandexecutables-not-executed\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/2015\\\/11\\\/aplicar-patch-via-em-falhando-prereq-checkactivefilesandexecutables-not-executed\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Aplicar Patch via EM falhando: Prereq \\\"checkActiveFilesAndExecutables\\\" is not executed\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/#website\",\"url\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/\",\"name\":\"DBA - Rodrigo Jorge - Oracle Tips and Guides\",\"description\":\"Blog about Databases, Security and High Availability\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/#\\\/schema\\\/person\\\/28a44ca3a6633fe4156ad1ea209d40a9\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/#\\\/schema\\\/person\\\/28a44ca3a6633fe4156ad1ea209d40a9\",\"name\":\"DBA RJ\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/RodrigoJorgePOUG19.png\",\"url\":\"https:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/RodrigoJorgePOUG19.png\",\"contentUrl\":\"https:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/RodrigoJorgePOUG19.png\",\"width\":712,\"height\":712,\"caption\":\"DBA RJ\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/RodrigoJorgePOUG19.png\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Aplicar Patch via EM falhando: Prereq \"checkActiveFilesAndExecutables\" is not executed - DBA - Rodrigo Jorge - Oracle Tips and Guides","description":"Como resolver o problema de Prereq \"checkActiveFilesAndExecutables\" is not executed\u00a0ao tentar aplicar um patch no\u00a0Oracle Enterprise\u00a0Manager Cloud.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbarj.com.br\/pt-br\/2015\/11\/aplicar-patch-via-em-falhando-prereq-checkactivefilesandexecutables-not-executed\/","twitter_misc":{"Escrito por":"DBA RJ","Est. tempo de leitura":"2 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbarj.com.br\/pt-br\/2015\/11\/aplicar-patch-via-em-falhando-prereq-checkactivefilesandexecutables-not-executed\/#article","isPartOf":{"@id":"https:\/\/www.dbarj.com.br\/pt-br\/2015\/11\/aplicar-patch-via-em-falhando-prereq-checkactivefilesandexecutables-not-executed\/"},"author":{"name":"DBA RJ","@id":"https:\/\/www.dbarj.com.br\/pt-br\/#\/schema\/person\/28a44ca3a6633fe4156ad1ea209d40a9"},"headline":"Aplicar Patch via EM falhando: Prereq &#8220;checkActiveFilesAndExecutables&#8221; is not executed","datePublished":"2015-11-25T12:58:21+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbarj.com.br\/pt-br\/2015\/11\/aplicar-patch-via-em-falhando-prereq-checkactivefilesandexecutables-not-executed\/"},"wordCount":234,"commentCount":0,"publisher":{"@id":"https:\/\/www.dbarj.com.br\/pt-br\/#\/schema\/person\/28a44ca3a6633fe4156ad1ea209d40a9"},"articleSection":["Enterprise Manager 12c"],"inLanguage":"pt-BR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbarj.com.br\/pt-br\/2015\/11\/aplicar-patch-via-em-falhando-prereq-checkactivefilesandexecutables-not-executed\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbarj.com.br\/pt-br\/2015\/11\/aplicar-patch-via-em-falhando-prereq-checkactivefilesandexecutables-not-executed\/","url":"https:\/\/www.dbarj.com.br\/pt-br\/2015\/11\/aplicar-patch-via-em-falhando-prereq-checkactivefilesandexecutables-not-executed\/","name":"Aplicar Patch via EM falhando: Prereq \"checkActiveFilesAndExecutables\" is not executed - DBA - Rodrigo Jorge - Oracle Tips and Guides","isPartOf":{"@id":"https:\/\/www.dbarj.com.br\/pt-br\/#website"},"datePublished":"2015-11-25T12:58:21+00:00","description":"Como resolver o problema de Prereq \"checkActiveFilesAndExecutables\" is not executed\u00a0ao tentar aplicar um patch no\u00a0Oracle Enterprise\u00a0Manager Cloud.","breadcrumb":{"@id":"https:\/\/www.dbarj.com.br\/pt-br\/2015\/11\/aplicar-patch-via-em-falhando-prereq-checkactivefilesandexecutables-not-executed\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbarj.com.br\/pt-br\/2015\/11\/aplicar-patch-via-em-falhando-prereq-checkactivefilesandexecutables-not-executed\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbarj.com.br\/pt-br\/2015\/11\/aplicar-patch-via-em-falhando-prereq-checkactivefilesandexecutables-not-executed\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dbarj.com.br\/pt-br\/"},{"@type":"ListItem","position":2,"name":"Aplicar Patch via EM falhando: Prereq \"checkActiveFilesAndExecutables\" is not executed"}]},{"@type":"WebSite","@id":"https:\/\/www.dbarj.com.br\/pt-br\/#website","url":"https:\/\/www.dbarj.com.br\/pt-br\/","name":"DBA - Rodrigo Jorge - Oracle Tips and Guides","description":"Blog about Databases, Security and High Availability","publisher":{"@id":"https:\/\/www.dbarj.com.br\/pt-br\/#\/schema\/person\/28a44ca3a6633fe4156ad1ea209d40a9"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbarj.com.br\/pt-br\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":["Person","Organization"],"@id":"https:\/\/www.dbarj.com.br\/pt-br\/#\/schema\/person\/28a44ca3a6633fe4156ad1ea209d40a9","name":"DBA RJ","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2019\/09\/RodrigoJorgePOUG19.png","url":"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2019\/09\/RodrigoJorgePOUG19.png","contentUrl":"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2019\/09\/RodrigoJorgePOUG19.png","width":712,"height":712,"caption":"DBA RJ"},"logo":{"@id":"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2019\/09\/RodrigoJorgePOUG19.png"}}]}},"_links":{"self":[{"href":"https:\/\/www.dbarj.com.br\/pt-br\/wp-json\/wp\/v2\/posts\/1909","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbarj.com.br\/pt-br\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbarj.com.br\/pt-br\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbarj.com.br\/pt-br\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbarj.com.br\/pt-br\/wp-json\/wp\/v2\/comments?post=1909"}],"version-history":[{"count":0,"href":"https:\/\/www.dbarj.com.br\/pt-br\/wp-json\/wp\/v2\/posts\/1909\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dbarj.com.br\/pt-br\/wp-json\/wp\/v2\/media?parent=1909"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbarj.com.br\/pt-br\/wp-json\/wp\/v2\/categories?post=1909"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbarj.com.br\/pt-br\/wp-json\/wp\/v2\/tags?post=1909"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}