Total Pageviews

Monday, October 17, 2016

ohs restart error .apachectl


/ohs/bin/.apachectl: Permission denied


check the permission of user who is running the command.   file .apachectl priviliges should be like

chown root .apachectl
chmod 6750 .apachectl


if after these permission you are still getting above error than change permission to
chmod 7770 .apachect

it should resolve the issue.

if you want to debug the issues further do the following

1. Take a backup/copy of the directory <instace_home>\diagnostics\logs\OHS\ohs1\
2. Delete all the log files under <instace_home>\diagnostics\logs\OHS\ohs1\
3. Take a backup and delete State directory

The "states" directory is located in $ORACLE_INSTANCE/config/OPMN/opmn

4. Take a backup and delete all the log files under ORACLE_INSTANCE/diagnostics/logs/OPMN/opmn/*

5.
a) Backup and edit ORACLE_INSTANCE/config/OPMN/opmn/opmn.xml
b) Change the following lines

<debug comp="" rotation-size="1500000"/>

to

<debug comp="internal;ons;pm" rotation-size="1500000"/>


6. Please start opmn from instance_home and collect the logs.


No comments:

Post a Comment