Hi all when i am configuring nagios for the below command i am getting an error
chcon -R -t httpd_sys_content_t /usr/local/nagios/sbin/
chcon: can’t apply partial context to unlabeled file /usr/local/nagios/sbin/
and NAGIOS,apache is running fine and good but i am not able to access localhost/nagios
Forbidden
You don’t have permission to access /nagios/ on this server.
I checked apache logs and came to know there is issue with permission as follows
[error] [client test] Directory index forbidden by Options directive: /usr/local/nagios/share/
[error] [client test] Directory index forbidden by Options directive: /usr/local/nagios/share/
[notice] caught SIGTERM, shutting down
How to proceed with this issues?