Problems with the web interface of Nagios
Friedrich Clausen
fred at derf.nl
Fri Jun 16 11:15:03 CEST 2006
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
Nagios-users at lists.sourceforge.net
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
More information about the Users
mailing list