{"id":1274,"date":"2009-07-21T11:46:29","date_gmt":"2009-07-21T15:46:29","guid":{"rendered":"http:\/\/onlineappsdba.com\/index.php\/2009\/07\/21\/adapcctlsh-exiting-with-status-150-204-apache-logs-in-r12\/"},"modified":"2009-07-21T11:46:29","modified_gmt":"2009-07-21T15:46:29","slug":"adapcctlsh-exiting-with-status-150-204-apache-logs-in-r12","status":"publish","type":"post","link":"https:\/\/onlineappsdba.com\/index.php\/2009\/07\/21\/adapcctlsh-exiting-with-status-150-204-apache-logs-in-r12\/","title":{"rendered":"ADAPCCTL.SH : EXITING WITH STATUS 150 , 204 : Apache Logs in R12"},"content":{"rendered":"<p>This article covers how to troubleshoot <strong>Oracle HTTP Server<\/strong> (OHS aka Oracle Apache, Apache or Web Server) in Oracle E-Business Suite R12.<\/p>\n<p><strong>Web Server background in Oracle Apps R12 : <\/strong>Web Server (OHS)\u00a0is built on Apache and part of Application Server 10g R3 (10.1.3) in Oracle Apps R12 ( in Oracle\u00a0Apps 11i version is 9iAS or 1.0.2.2.2 )<\/p>\n<p><strong>Configuration file<\/strong>: $ORA_CONFIG_HOME\/ 10.1.3\/ Apache\/ Apache\/ conf\/ <strong>httpd.conf <\/strong>(or $INST_TOP\/ ora\/ 10.1.3\/ Apache\/ Apache\/ conf\/ <strong>httpd.conf<\/strong>)<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 For successful start of Apache, <strong>adapcctl.sh<\/strong> exit code should be <strong>0<\/strong> , If this value is non zero i.e. 150 or 204 then identify root cause of non zero exit code (check logs)<\/p>\n<p>.<br \/>\n<u><strong>Where to look for Apache logs in EBS ?<\/strong>\u00a0<br \/>\n<\/u><strong>1.<\/strong>First check Apache startup log which is at <strong>$LOG_HOME\/ appl\/ admin\/ log\/ adapcctl.txt<\/strong> (If no issues go to step 2)<br \/>\n<strong>2.<\/strong> Next check <strong>$LOG_HOME\/ ora\/ 10.1.3\/ opmn\/<\/strong> <strong>HTTP_Server~1 <\/strong>(If no issues go to step 3)<br \/>\n<strong>3. <\/strong>Next check <strong>$LOG_HOME\/ ora\/ 10.1.3\/ Apache\/<\/strong> <strong>error_log<\/strong>.[number] &amp; <strong>access_log<\/strong>.[number] (with latest timestamp)<\/p>\n<p>.<br \/>\n<strong><u>Startup sequence : <\/u><\/strong><br \/>\n<strong>1.<\/strong> <strong>adapcctl.sh<\/strong>is main script to start Apache (adstrtal.sh calls adapcctl.sh to start Apache)<br \/>\n$ADMIN_SCRIPTS_HOME\/ adapcctl.sh [option]<br \/>\n<strong>2.<\/strong> This script can take three options <strong>start<\/strong>, <strong>stop<\/strong>,<strong> status<\/strong><br \/>\n<strong>3.<\/strong> This script will set environment variable pointing to <strong>10.1.3 ORACLE_HOME<\/strong> by running\u00a0 <strong>$INST_TOP\/ ora\/ 10.1.3\/ $CONTEXT_NAME.env<\/strong><br \/>\n<strong>4. <\/strong>adapcctl.sh will run $INST_TOP\/ ora\/ 10.1.3\/ opmn\/ bin\/ <strong>opmnctl start<\/strong>(This command will start opmn)<br \/>\n<strong>5.<\/strong>On successfull start of opmn , script will issue $INST_TOP\/ ora\/ 10.1.3\/ opmn\/ bin\/ <strong>opmnctl startproc type=ohs<\/strong>\u00a0\u00a0 (OHS stands for Oracle HTTP Server)<\/p>\n<p>To know more about <strong>OPMN<\/strong> <a target=\"_blank\" href=\"http:\/\/download.oracle.com\/docs\/cd\/B31017_01\/core.1013\/b28944\/intro.htm#ASPMN0018\">click here<\/a><\/p>\n<p>To know more about startup services in R12 <a target=\"_blank\" href=\"https:\/\/onlineappsdba.com\/index.php\/2007\/06\/10\/start-up-shutdown-scripts-in-oracle-apps-r12\/\">check here<\/a>\u00a0 or Metalink Note <strong>743518.1<\/strong><\/p>\n<p>.<\/p>\n<p><strong><u>Related\/References<\/u><\/strong><\/p>\n<ul>\n<li>743518.1\u00a0 Starting up AS10g services in an EBusiness Suite Release 12 environment<\/li>\n<li>751390.1\u00a0 adapcctl.sh: &#8216;Exiting With Status 204&#8217; After Shutdown As User ROOT<\/li>\n<li>730982.1\u00a0 Starting R12 Apache errors with status 204 after Cloning SSO enabled E-Business Suite Instance<\/li>\n<li>419839.1\u00a0 How to enable Apache, OC4J and OPMN logging in Oracle Applications R12<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This article covers how to troubleshoot Oracle HTTP Server (OHS aka Oracle Apache, Apache or Web Server) in Oracle E-Business [&hellip;]<\/p>\n","protected":false},"author":115,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[42],"tags":[],"class_list":["post-1274","post","type-post","status-publish","format-standard","hentry","category-troubleshooting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>ADAPCCTL.SH : EXITING WITH STATUS 150 , 204 : Apache Logs in R12  -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/onlineappsdba.com\/index.php\/2009\/07\/21\/adapcctlsh-exiting-with-status-150-204-apache-logs-in-r12\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ADAPCCTL.SH : EXITING WITH STATUS 150 , 204 : Apache Logs in R12  -\" \/>\n<meta property=\"og:description\" content=\"This article covers how to troubleshoot Oracle HTTP Server (OHS aka Oracle Apache, Apache or Web Server) in Oracle E-Business [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/onlineappsdba.com\/index.php\/2009\/07\/21\/adapcctlsh-exiting-with-status-150-204-apache-logs-in-r12\/\" \/>\n<meta property=\"article:published_time\" content=\"2009-07-21T15:46:29+00:00\" \/>\n<meta name=\"author\" content=\"Masroof Ahmad\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Masroof Ahmad\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2009\/07\/21\/adapcctlsh-exiting-with-status-150-204-apache-logs-in-r12\/\",\"url\":\"https:\/\/onlineappsdba.com\/index.php\/2009\/07\/21\/adapcctlsh-exiting-with-status-150-204-apache-logs-in-r12\/\",\"name\":\"ADAPCCTL.SH : EXITING WITH STATUS 150 , 204 : Apache Logs in R12 -\",\"isPartOf\":{\"@id\":\"https:\/\/onlineappsdba.com\/#website\"},\"datePublished\":\"2009-07-21T15:46:29+00:00\",\"author\":{\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\"},\"breadcrumb\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2009\/07\/21\/adapcctlsh-exiting-with-status-150-204-apache-logs-in-r12\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/onlineappsdba.com\/index.php\/2009\/07\/21\/adapcctlsh-exiting-with-status-150-204-apache-logs-in-r12\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2009\/07\/21\/adapcctlsh-exiting-with-status-150-204-apache-logs-in-r12\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/onlineappsdba.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ADAPCCTL.SH : EXITING WITH STATUS 150 , 204 : Apache Logs in R12\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/onlineappsdba.com\/#website\",\"url\":\"https:\/\/onlineappsdba.com\/\",\"name\":\"\",\"description\":\"Oracle Implementation &amp; Training Experts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/onlineappsdba.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\",\"name\":\"Masroof Ahmad\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"caption\":\"Masroof Ahmad\"},\"url\":\"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ADAPCCTL.SH : EXITING WITH STATUS 150 , 204 : Apache Logs in R12  -","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:\/\/onlineappsdba.com\/index.php\/2009\/07\/21\/adapcctlsh-exiting-with-status-150-204-apache-logs-in-r12\/","og_locale":"en_US","og_type":"article","og_title":"ADAPCCTL.SH : EXITING WITH STATUS 150 , 204 : Apache Logs in R12  -","og_description":"This article covers how to troubleshoot Oracle HTTP Server (OHS aka Oracle Apache, Apache or Web Server) in Oracle E-Business [&hellip;]","og_url":"https:\/\/onlineappsdba.com\/index.php\/2009\/07\/21\/adapcctlsh-exiting-with-status-150-204-apache-logs-in-r12\/","article_published_time":"2009-07-21T15:46:29+00:00","author":"Masroof Ahmad","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Masroof Ahmad","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/onlineappsdba.com\/index.php\/2009\/07\/21\/adapcctlsh-exiting-with-status-150-204-apache-logs-in-r12\/","url":"https:\/\/onlineappsdba.com\/index.php\/2009\/07\/21\/adapcctlsh-exiting-with-status-150-204-apache-logs-in-r12\/","name":"ADAPCCTL.SH : EXITING WITH STATUS 150 , 204 : Apache Logs in R12 -","isPartOf":{"@id":"https:\/\/onlineappsdba.com\/#website"},"datePublished":"2009-07-21T15:46:29+00:00","author":{"@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb"},"breadcrumb":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2009\/07\/21\/adapcctlsh-exiting-with-status-150-204-apache-logs-in-r12\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/onlineappsdba.com\/index.php\/2009\/07\/21\/adapcctlsh-exiting-with-status-150-204-apache-logs-in-r12\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/onlineappsdba.com\/index.php\/2009\/07\/21\/adapcctlsh-exiting-with-status-150-204-apache-logs-in-r12\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/onlineappsdba.com\/"},{"@type":"ListItem","position":2,"name":"ADAPCCTL.SH : EXITING WITH STATUS 150 , 204 : Apache Logs in R12"}]},{"@type":"WebSite","@id":"https:\/\/onlineappsdba.com\/#website","url":"https:\/\/onlineappsdba.com\/","name":"","description":"Oracle Implementation &amp; Training Experts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/onlineappsdba.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb","name":"Masroof Ahmad","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","caption":"Masroof Ahmad"},"url":"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/"}]}},"_links":{"self":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/1274","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/users\/115"}],"replies":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/comments?post=1274"}],"version-history":[{"count":0,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/1274\/revisions"}],"wp:attachment":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/media?parent=1274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/categories?post=1274"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/tags?post=1274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}