In /var/log/httpd/error_log : [Fri Jun 16 11:23:37 2006] [error] [client 127.0.0.1] (13)Permission denied: exec of '/usr/lib/nagios/cgi/tac.cgi' failed, referer: http://localhost/nagios/side.html [Fri Jun 16 11:23:37 2006] [error] [client 127.0.0.1] Premature end of script headers: tac.cgi, referer: http://localhost/nagios/side.html [Fri Jun 16 11:23:38 2006] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
Thanks -----Message d'origine----- De : Friedrich Clausen [mailto:[EMAIL PROTECTED] Envoyé : vendredi 16 juin 2006 11:15 À : REMY Julien Cc : [email protected] Objet : Re: [Nagios-users] Problems with the web interface of Nagios Hello all, Voigt Thomas wrote: > Hi! > > REMY Julien wrote: > >> Yes, I checked my Nagios configuration (nagios -v nagios.cfg) >> and it does not have errors. But if I restart Nagios now, a >> message is posted : Starting Network Monitor: nagios. >> Moreover, if I want to connect me in the web interface, I >> have menus on the left but next to I have a message : >> Internal Server Error. In addition to Thomas' suggestions, I would also look at the Apache error log, usually /var/log/httpd/error_log on Red Hat, check httpd.conf for the ErrorLog statement to be sure of the location. It may have some more detailed messages. > > This looks like the nagios process isn't running. > Please check, if it is running with 'ps -ef | grep nagios'! > The output should look like this: > > lx0004:~ # ps -ef | grep nagios > nagios 8300 1 0 Jun06 ? 00:08:26 > /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > > Note that nagios is running under the user 'nagios' (see first column). > Check also, if the user nagios is the owner and has the appropriate > rights to the config files. > > Maybe you're checking under 'root' and there is all o.k. and nagios > starts under another account, which hasn't the rights to read/write the > nagios files... Regards, Fred. _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
