{"id":525,"date":"2019-04-16T20:29:00","date_gmt":"2019-04-16T18:29:00","guid":{"rendered":"https:\/\/corsaire-consulting.fr\/blog\/?p=525"},"modified":"2019-04-16T20:37:08","modified_gmt":"2019-04-16T18:37:08","slug":"impossible-de-patcher-les-installations-weblogic-server-12-2-1-3-sous-linux-red-hat-7","status":"publish","type":"post","link":"https:\/\/corsaire-consulting.fr\/blog\/index.php\/2019\/04\/16\/impossible-de-patcher-les-installations-weblogic-server-12-2-1-3-sous-linux-red-hat-7\/","title":{"rendered":"Impossible de patcher WebLogic Server 12.2.1.3 sous Linux Red Hat 7"},"content":{"rendered":"<p>L&rsquo;application de patchs pour WebLogic Server 12.2.1.3 sous Linux Red Hat 7 avec OPatch \u00e9choue syst\u00e9matiquement si la variable d&rsquo;environnement <span id=\"kmPgTpl:r1:ot71\" class=\"kmContent\">OPATCH_NO_FUSER<\/span> n&rsquo;est pas \u00e9gale \u00e0 true.<\/p>\n<p>En effet, l&rsquo;utilitaire Linux \u00ab\u00a0<a href=\"http:\/\/www.linux-france.org\/article\/man-fr\/man1\/fuser-1.html\" target=\"_blank\" rel=\"noopener noreferrer\">fuser<\/a>\u00a0\u00bb est absent de la version 7 du Linux de Red Hat, ce qui pose un probl\u00e8me \u00e0 OPatch qui manifestement en a besoin.<\/p>\n<p>Les sympt\u00f4mes sont le message d&rsquo;erreur et la stack-trace ci-dessous :<\/p>\n<p>[pastacode lang=\u00a0\u00bbjava\u00a0\u00bb manual=\u00a0\u00bb%5BSEVERE%5D%20%20OUI-67073%3AUtilSession%20failed%3A%20Prerequisite%20check%20%22CheckActiveFilesAndExecutables%22%20failed.\u00a0\u00bb message=\u00a0\u00bb\u00a0\u00bb highlight=\u00a0\u00bb\u00a0\u00bb provider=\u00a0\u00bbmanual\u00a0\u00bb\/]<\/p>\n<p>[pastacode lang=\u00a0\u00bbjava\u00a0\u00bb manual=\u00a0\u00bbStack%20Description%3A%20java.lang.RuntimeException%3A%20Prerequisite%20check%20%22CheckActiveFilesAndExecutables%22%20failed.%0A%09at%20oracle.opatch.OPatchSessionHelper.runApplyPrereqs(OPatchSessionHelper.java%3A6700)%0A%09at%20oracle.opatch.opatchutil.NApply.legacy_process(NApply.java%3A994)%0A%09at%20oracle.opatch.opatchutil.NApply.legacy_process(NApply.java%3A366)%0A%09at%20oracle.opatch.opatchutil.NApply.process(NApply.java%3A346)%0A%09at%20oracle.opatch.opatchutil.OUSession.napply(OUSession.java%3A1108)%0A%09at%20sun.reflect.NativeMethodAccessorImpl.invoke0(Native%20Method)%0A%09at%20sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java%3A62)%0A%09at%20sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java%3A43)%0A%09at%20java.lang.reflect.Method.invoke(Method.java%3A498)%0A%09at%20oracle.opatch.UtilSession.process(UtilSession.java%3A359)%0A%09at%20oracle.opatch.OPatchSession.process(OPatchSession.java%3A2634)%0A%09at%20oracle.opatch.OPatch.process(OPatch.java%3A784)%0A%09at%20oracle.opatch.OPatch.main(OPatch.java%3A834)%0ACaused%20by%3A%20java.lang.RuntimeException%3A%20Prerequisite%20check%20%22CheckActiveFilesAndExecutables%22%20failed.%0A%09&#8230;%2013%20more%0ACaused%20by%3A%20oracle.opatch.PrereqFailedException%3A%20Prerequisite%20check%20%22CheckActiveFilesAndExecutables%22%20failed.%0A%09&#8230;%2013%20more\u00a0\u00bb message=\u00a0\u00bb\u00a0\u00bb highlight=\u00a0\u00bb\u00a0\u00bb provider=\u00a0\u00bbmanual\u00a0\u00bb\/]<\/p>\n<p>Valoriser la variable d&rsquo;environnement permet de r\u00e9gler le probl\u00e8me.<\/p>\n<p>[pastacode lang=\u00a0\u00bbbash\u00a0\u00bb manual=\u00a0\u00bbexport%20OPATCH_NO_FUSER%3DTRUE\u00a0\u00bb message=\u00a0\u00bb\u00a0\u00bb highlight=\u00a0\u00bb\u00a0\u00bb provider=\u00a0\u00bbmanual\u00a0\u00bb\/]<\/p>\n<p>Plus d&rsquo;informations dans la note Oracle 2430544.1<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>L&rsquo;application de patchs pour WebLogic Server 12.2.1.3 sous Linux Red Hat 7 avec OPatch \u00e9choue syst\u00e9matiquement si la variable d&rsquo;environnement OPATCH_NO_FUSER n&rsquo;est pas \u00e9gale \u00e0 true. En effet, l&rsquo;utilitaire Linux \u00ab\u00a0fuser\u00a0\u00bb est absent de la version 7 du Linux de Red Hat, ce qui pose un probl\u00e8me \u00e0 OPatch qui manifestement en a besoin. Les [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[4],"tags":[84,83,48,85,8],"class_list":["post-525","post","type-post","status-publish","format-standard","hentry","category-weblogic","tag-linux-red-hat","tag-opatch","tag-oracle","tag-patching","tag-weblogic-server"],"_links":{"self":[{"href":"https:\/\/corsaire-consulting.fr\/blog\/index.php\/wp-json\/wp\/v2\/posts\/525","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/corsaire-consulting.fr\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/corsaire-consulting.fr\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/corsaire-consulting.fr\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/corsaire-consulting.fr\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=525"}],"version-history":[{"count":6,"href":"https:\/\/corsaire-consulting.fr\/blog\/index.php\/wp-json\/wp\/v2\/posts\/525\/revisions"}],"predecessor-version":[{"id":541,"href":"https:\/\/corsaire-consulting.fr\/blog\/index.php\/wp-json\/wp\/v2\/posts\/525\/revisions\/541"}],"wp:attachment":[{"href":"https:\/\/corsaire-consulting.fr\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=525"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/corsaire-consulting.fr\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=525"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/corsaire-consulting.fr\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=525"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}