{"id":612,"date":"2011-08-17T09:26:54","date_gmt":"2011-08-17T01:26:54","guid":{"rendered":"http:\/\/j178.mtgbb.com\/?p=612"},"modified":"2011-08-17T09:31:49","modified_gmt":"2011-08-17T01:31:49","slug":"aix-apache-%e7%84%a1%e6%b3%95%e5%81%9c%e7%94%a8","status":"publish","type":"post","link":"https:\/\/j178.mtgbb.com\/?p=612","title":{"rendered":"AIX \u4e3b\u6a5f\u4e0a, apache \u7121\u6cd5\u505c\u7528"},"content":{"rendered":"<p>\u8cc7\u6599\u4f86\u6e90: <a href=\"http:\/\/ebsblog.blog.163.com\/blog\/static\/12794978920109288569752\/\">ebs11i blog<\/a><\/p>\n<p>Adapcctl.Sh: Exiting With Status 1 (Service can not be stopped using this script) [ID 788414.1]<\/p>\n<p>This document is being delivered to you via Oracle Support&#8217;s Rapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.<\/p>\n<p>Applies to:<br \/>\nOracle Applications Technology Stack &#8211; Version: 11.5.10.2<br \/>\nThis problem can occur on any platform.<br \/>\nSymptoms<br \/>\nOn 11.5.10.2 in Production:<br \/>\nWhen attempting to stop Apache using adapcctl.sh, the following error occurs.<\/p>\n<p><span style=\"color: #0000ff;\">ERROR<\/span><br \/>\nService can not be stopped using this script<\/p>\n<p><!--more--><\/p>\n<p><span style=\"color: #0000ff;\">STEPS<\/span><br \/>\nThe issue can be reproduced at will with the following steps:<br \/>\n1. Run adapcctl.sh stop<\/p>\n<p>BUSINESS IMPACT<br \/>\nThe issue has the following business impact:<br \/>\nDue to this issue, unable to stop Apache successfully.<\/p>\n<p><span style=\"color: #0000ff;\">Cause<\/span><br \/>\nThe issue is caused by the following setup:<br \/>\n$IAS_ORACLE_HOME\/Apache\/Apache\/logs\/ directory contained both httpd.pid and<br \/>\napache_runmode.properties<\/p>\n<p>Files httpd.pid and httpd_pls.pid gets created when Apache is started in NORMAL mode.<br \/>\nFile apache_runmode.properties gets created when Apache is started in RESTRICTED mode.<br \/>\nAs both kind of files are present in Logs directory, adapcctl.sh script thinks Apache cannot be<br \/>\nstarted in both modes and fails to stop.<\/p>\n<p><span style=\"color: #0000ff;\">Solution<\/span><br \/>\nTo implement the solution, please execute the following steps:<\/p>\n<p>1. Stop Apache \/ Kill all httpd processes if exists any.<br \/>\n2. Backup $IAS_ORACLE_HOME\/Apache\/Apache\/logs<br \/>\n3. Delete all files under $IAS_ORACLE_HOME\/Apache\/Apache\/logs\/ directory.<br \/>\n4. Re-start Apache.<br \/>\n5. Retest the issue.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8cc7\u6599\u4f86\u6e90: ebs11i blog Adapcctl.Sh: Exiting With Status 1 (S &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[57],"class_list":["post-612","post","type-post","status-publish","format-standard","hentry","category-oracle-erp","tag-oracle-erp"],"_links":{"self":[{"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=\/wp\/v2\/posts\/612","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=612"}],"version-history":[{"count":0,"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=\/wp\/v2\/posts\/612\/revisions"}],"wp:attachment":[{"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=612"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=612"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=612"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}