Showing posts with label Adapcctl.Sh: Exiting With Status 1. Show all posts
Showing posts with label Adapcctl.Sh: Exiting With Status 1. Show all posts

Tuesday, June 26, 2012

unable to stop apache, adapcctl.sh: exiting with status 1


Adapcctl.Sh: Exiting With Status 1

Applies to:

Oracle Applications Technology Stack - Version: 11.5.10.2

Description:

When attempting to stop Apache using adapcctl.sh, the following error occurs:

ERROR
Service can not be stopped using this script

After doing some research work I found that the issue is caused by the following setup:
$IAS_ORACLE_HOME/Apache/Apache/logs/ directory contained both httpd.pid and
apache_runmode.properties
Files httpd.pid and httpd_pls.pid gets created when Apache is started in NORMAL mode.
File apache_runmode.properties gets created when Apache is started in RESTRICTED mode.
As both kind of files are present in Logs directory, adapcctl.sh script thinks Apache cannot be
started in both modes and fails to stop.

Solution:

To implement the solution, please execute the following steps:

1. Stop Apache / Kill all httpd processes if exists any.
2. Backup $IAS_ORACLE_HOME/Apache/Apache/logs
3. Delete all files under $IAS_ORACLE_HOME/Apache/Apache/logs/ directory.
4. Re-start Apache.
5. Retest the issue.


Your comments, especially which will help us improve the functionality, will be greatly appreciated :)

How to Extend Swap space on LVM Disk Linux

How to Extend Swap space on LVM Disk Linux   Applies to:             Oracle Database 12.2             Oracle Linux 7 Description: ...