{"id":27537,"date":"2023-08-29T15:51:15","date_gmt":"2023-08-29T13:51:15","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/?p=27537"},"modified":"2024-09-10T17:16:12","modified_gmt":"2024-09-10T15:16:12","slug":"unable-to-start-weblogic-admin-server-during-host-reconfiguration","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/unable-to-start-weblogic-admin-server-during-host-reconfiguration\/","title":{"rendered":"Unable to start WebLogic Admin Server during host reconfiguration"},"content":{"rendered":"\n<p>In my previous blog named &#8220;<a href=\"https:\/\/www.dbi-services.com\/blog\/changing-fusion-middleware-repository-database\/\">Changing Fusion Middleware repository database<\/a>&#8220;, I explained how to move a Fusion Middleware repository database from one host to a new host. During the run of this exercise, I came over an issue with the chghost.sh script failing to start the WebLogic Administration Server with the following error:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Aug 10, 2023 3:53:47 AM oracle.glcm.fmw.chghost.framework.plugin.impl.t2p.T2PPluginExecutorImpl startAdminServer\nINFO: \/u02\/weblogic\/config\/12c\/domains\/fr-domain  ias_admin  password : *** srv-linux-wls1.it.dbi-services.com  7001  \/u00\/app\/weblogic\/12cR4\/Middleware\njava.io.IOException: Cannot run program \"\/tmp\/CLONINGCLIENT2006552337794141616\/coredb_start_script1691632427319.sh\": error=13, Permission denied\n        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)\n        at java.lang.Runtime.exec(Runtime.java:593)\n        at java.lang.Runtime.exec(Runtime.java:423)\n        at java.lang.Runtime.exec(Runtime.java:320)\n        at oracle.as.t2p.sdk.util.CommandInvokationUtil$ThreadDaemon.run(CommandInvokationUtil.java:259)\n        at java.lang.Thread.run(Thread.java:750)\nCaused by: java.io.IOException: error=13, Permission denied\n        at java.lang.UNIXProcess.forkAndExec(Native Method)\n        at java.lang.UNIXProcess.&lt;init&gt;(UNIXProcess.java:247)\n        at java.lang.ProcessImpl.start(ProcessImpl.java:134)\n        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)\n        ... 5 more\njava.io.IOException: Cannot run program \"\/tmp\/CLONINGCLIENT2006552337794141616\/coredb_admin_pid_script1691632427336.sh\": error=13, Permission denied\n        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)\n        at java.lang.Runtime.exec(Runtime.java:593)\n        at java.lang.Runtime.exec(Runtime.java:423)\n        at java.lang.Runtime.exec(Runtime.java:320)\n        at oracle.as.t2p.sdk.util.CommandInvokationUtil$ThreadDaemon.run(CommandInvokationUtil.java:259)\n        at java.lang.Thread.run(Thread.java:750)\nCaused by: java.io.IOException: error=13, Permission denied\n        at java.lang.UNIXProcess.forkAndExec(Native Method)\n        at java.lang.UNIXProcess.&lt;init&gt;(UNIXProcess.java:247)\n        at java.lang.ProcessImpl.start(ProcessImpl.java:134)\n        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)\n        ... 5 more<\/code><\/pre>\n\n\n\n<p>Investigating on the error, I find out that the chghost.sh script writes some scripts in the \/tmp folder and execute them to start the WebLogic Administration Server. This fails because the tmp file system was mounted with the noexec flag for security reasons. When it comes to security reasons, it is very difficult to change the systems configuration. I took me some time to found the solution  and thought it would be helpful for others if I publish it in a blog.<\/p>\n\n\n\n<p>The workaround is to set the &#8220;java.io.tmpdir&#8221; in the chghost.sh environment as follow:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>export CHGHOST_JAVA_OPTIONS=\"-Djava.io.tmpdir=\/u01\/app\/oracle\/tmp\/\u201d  <\/code><\/pre>\n\n\n\n<p>After setting this variable, the chghost tool will use the new tmp directory to run the scripts generated to start the WebLogic Admin Server.<\/p>\n\n\n\n<p>The other problem encountered was that the chghost tool was not able to connect to an SSL enabled port. I had to enable the http port 7001 during the run of the tool.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In my previous blog named &#8220;Changing Fusion Middleware repository database&#8220;, I explained how to move a Fusion Middleware repository database from one host to a new host. During the run of this exercise, I came over an issue with the chghost.sh script failing to start the WebLogic Administration Server with the following error: Investigating on [&hellip;]<\/p>\n","protected":false},"author":40,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[197,2748],"tags":[3095,490,3094],"type_dbi":[],"class_list":["post-27537","post","type-post","status-publish","format-standard","hentry","category-application-integration-middleware","category-weblogic","tag-chghost-sh","tag-oracle-fusion-middleware","tag-reconfiguration"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Unable to start WebLogic Admin Server during host reconfiguration - dbi Blog<\/title>\n<meta name=\"description\" content=\"During the reconfiguration of the Fusion Middleware after the move a Fusion Middleware repository database from one host to a new host. The chghost.sh script fails to start the WebLogic Administration Server\" \/>\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.dbi-services.com\/blog\/unable-to-start-weblogic-admin-server-during-host-reconfiguration\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Unable to start WebLogic Admin Server during host reconfiguration\" \/>\n<meta property=\"og:description\" content=\"During the reconfiguration of the Fusion Middleware after the move a Fusion Middleware repository database from one host to a new host. The chghost.sh script fails to start the WebLogic Administration Server\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/unable-to-start-weblogic-admin-server-during-host-reconfiguration\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-29T13:51:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-10T15:16:12+00:00\" \/>\n<meta name=\"author\" content=\"Middleware Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Middleware Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/unable-to-start-weblogic-admin-server-during-host-reconfiguration\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/unable-to-start-weblogic-admin-server-during-host-reconfiguration\/\"},\"author\":{\"name\":\"Middleware Team\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1\"},\"headline\":\"Unable to start WebLogic Admin Server during host reconfiguration\",\"datePublished\":\"2023-08-29T13:51:15+00:00\",\"dateModified\":\"2024-09-10T15:16:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/unable-to-start-weblogic-admin-server-during-host-reconfiguration\/\"},\"wordCount\":218,\"commentCount\":0,\"keywords\":[\"chghost.sh\",\"Oracle Fusion Middleware\",\"Reconfiguration\"],\"articleSection\":[\"Application integration &amp; Middleware\",\"WebLogic\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/unable-to-start-weblogic-admin-server-during-host-reconfiguration\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/unable-to-start-weblogic-admin-server-during-host-reconfiguration\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/unable-to-start-weblogic-admin-server-during-host-reconfiguration\/\",\"name\":\"Unable to start WebLogic Admin Server during host reconfiguration - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"datePublished\":\"2023-08-29T13:51:15+00:00\",\"dateModified\":\"2024-09-10T15:16:12+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1\"},\"description\":\"During the reconfiguration of the Fusion Middleware after the move a Fusion Middleware repository database from one host to a new host. The chghost.sh script fails to start the WebLogic Administration Server\",\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/unable-to-start-weblogic-admin-server-during-host-reconfiguration\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/unable-to-start-weblogic-admin-server-during-host-reconfiguration\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/unable-to-start-weblogic-admin-server-during-host-reconfiguration\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Unable to start WebLogic Admin Server during host reconfiguration\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1\",\"name\":\"Middleware Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g\",\"caption\":\"Middleware Team\"},\"url\":\"https:\/\/www.dbi-services.com\/blog\/author\/middleware-team\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Unable to start WebLogic Admin Server during host reconfiguration - dbi Blog","description":"During the reconfiguration of the Fusion Middleware after the move a Fusion Middleware repository database from one host to a new host. The chghost.sh script fails to start the WebLogic Administration Server","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.dbi-services.com\/blog\/unable-to-start-weblogic-admin-server-during-host-reconfiguration\/","og_locale":"en_US","og_type":"article","og_title":"Unable to start WebLogic Admin Server during host reconfiguration","og_description":"During the reconfiguration of the Fusion Middleware after the move a Fusion Middleware repository database from one host to a new host. The chghost.sh script fails to start the WebLogic Administration Server","og_url":"https:\/\/www.dbi-services.com\/blog\/unable-to-start-weblogic-admin-server-during-host-reconfiguration\/","og_site_name":"dbi Blog","article_published_time":"2023-08-29T13:51:15+00:00","article_modified_time":"2024-09-10T15:16:12+00:00","author":"Middleware Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Middleware Team","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/unable-to-start-weblogic-admin-server-during-host-reconfiguration\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/unable-to-start-weblogic-admin-server-during-host-reconfiguration\/"},"author":{"name":"Middleware Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1"},"headline":"Unable to start WebLogic Admin Server during host reconfiguration","datePublished":"2023-08-29T13:51:15+00:00","dateModified":"2024-09-10T15:16:12+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/unable-to-start-weblogic-admin-server-during-host-reconfiguration\/"},"wordCount":218,"commentCount":0,"keywords":["chghost.sh","Oracle Fusion Middleware","Reconfiguration"],"articleSection":["Application integration &amp; Middleware","WebLogic"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/unable-to-start-weblogic-admin-server-during-host-reconfiguration\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/unable-to-start-weblogic-admin-server-during-host-reconfiguration\/","url":"https:\/\/www.dbi-services.com\/blog\/unable-to-start-weblogic-admin-server-during-host-reconfiguration\/","name":"Unable to start WebLogic Admin Server during host reconfiguration - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"datePublished":"2023-08-29T13:51:15+00:00","dateModified":"2024-09-10T15:16:12+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1"},"description":"During the reconfiguration of the Fusion Middleware after the move a Fusion Middleware repository database from one host to a new host. The chghost.sh script fails to start the WebLogic Administration Server","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/unable-to-start-weblogic-admin-server-during-host-reconfiguration\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/unable-to-start-weblogic-admin-server-during-host-reconfiguration\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/unable-to-start-weblogic-admin-server-during-host-reconfiguration\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Unable to start WebLogic Admin Server during host reconfiguration"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1","name":"Middleware Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g","caption":"Middleware Team"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/middleware-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/27537","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=27537"}],"version-history":[{"count":5,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/27537\/revisions"}],"predecessor-version":[{"id":34676,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/27537\/revisions\/34676"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=27537"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=27537"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=27537"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=27537"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}