[Tue Dec 07 14:51:22 2010] [error] [client 127.0.0.1] client denied by server configuration: /usr/local/nagios/shareindex.php
[Tue Dec 07 14:51:22 2010] [error] [client 127.0.0.1] client denied by server configuration: /usr/local/nagios/shareindex.phtml
[Tue Dec 07 14:51:22 2010] [error] [client 127.0.0.1] client denied by server configuration: /usr/local/nagios/shareindex.shtml
[Tue Dec 07 14:51:22 2010] [error] [client 127.0.0.1] client denied by server configuration: /usr/local/nagios/shareindex.html
[Tue Dec 07 14:51:22 2010] [error] [client 127.0.0.1] client denied by server configuration: /usr/local/nagios/shareindex.html.var
[Tue Dec 07 14:51:22 2010] [error] [client 127.0.0.1] client denied by server configuration: /usr/local/nagios/shareindex.cgi
[Tue Dec 07 14:51:22 2010] [error] [client 127.0.0.1] client denied by server configuration: /usr/local/nagios/shareindex.pl
[Tue Dec 07 14:51:22 2010] [error] [client 127.0.0.1] client denied by server configuration: /usr/local/nagios/shareindex.htm
[Tue Dec 07 14:51:22 2010] [error] [client 127.0.0.1] client denied by server configuration: /usr/local/nagios/shareDefault.htm
[Tue Dec 07 14:51:22 2010] [error] [client 127.0.0.1] client denied by server configuration: /usr/local/nagios/sharedefault.htm
[Tue Dec 07 14:51:22 2010] [error] [client 127.0.0.1] client denied by server configuration: /usr/local/nagios/shareindex.xml
I don’t understand what this error means and how to solve this.
I checked all the conf files. Everything seems to correct for me.
I did not find SELinux on my system. if at all it should be there, can you tell me its location.
And one more thing, I do not fine the files that the error log mentions in the location specified by it.
i.e i cannot find shareindex.php, shareindex.phtml etc. in the location /usr/local/nagios
Is there any issue regarding the path of these files? If yes, how to change the path and where they have to be exactly?
i checked the various files and they all don’t have a trailing slash in the directory definitions (which i thought they had).
So there’s little help there to be found.
I checked my own nagios directory and i have waaay less stuff in there.
drwxr-sr-x 11 root staff 4096 20 nov 2009 .
drwxrwsr-x 13 root staff 4096 2 feb 2010 ..
drwxrwsr-x 2 nagios nagios 4096 5 nov 09:27 bin
drwxrwsr-x 3 nagios nagios 4096 16 nov 17:19 etc
drwxr-sr-x 2 root staff 4096 19 nov 2009 include
drwxr-sr-x 2 root staff 4096 21 nov 2009 lib
drwxrwsr-x 2 nagios nagios 4096 5 nov 09:30 libexec
drwxr-sr-x 4 nagios nagios 4096 1 dic 2009 nagiosgraph
drwxrwsr-x 2 nagios nagios 4096 5 nov 09:27 sbin
drwxrwsr-x 10 nagios nagios 4096 5 nov 09:27 share
drwxrwsr-x 5 nagios nagios 4096 11 dic 09:52 var
Did you install on top of an rpm install?
I’d recommend you start from scratch and check the output of every step so there are no strange error messages.
Sorry for the delayed reply. I did a fresh install of nagios on Ubuntu server based on the installation instructions.
It worked out fine. Everything is running up and working fine.
Thanks a lot for all the support.
I suppose the problem that i faced with nagios installation on Mandriva is may be because of the Mandriva operation system.
I din’t do anything different while installing on both of these operating systems. I followed the respective installation guides.