Wednesday, 13 June 2012

Adapcctl.Sh: Exiting With Status 1 (Service can not be stopped using this script) [ID 788414.1]

On in Production:
When attempting to stop Apache using, the following error occurs.

Service can not be stopped using this script

The issue can be reproduced at will with the following steps:
1. Run stop

The issue has the following business impact:
Due to this issue, unable to stop Apache successfully.



The issue is caused by the following setup:
$IAS_ORACLE_HOME/Apache/Apache/logs/ directory contained both and

Files and gets created when Apache is started in NORMAL mode.
File gets created when Apache is started in RESTRICTED mode.
As both kind of files are present in Logs directory, script thinks Apache cannot be
started in both modes and fails to stop.



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.

No comments:

Post a Comment

Number of Visitors