TR: Problems with the web interface of Nagios
REMY Julien
julien.remy at ohs.asso.fr
Mon Jun 19 17:04:33 CEST 2006
I tried to delete the rpm of nagios and all files of the rpm to install nagios2.4.tar.
I followed official documentation on the site of Nagios.
No error message during the reboot of httpd but when I reboot Nagios, the message is : starting network monitor: nagios.
If I do ps -ef | grep nagios, Nagiosn isn't start.
When I connect me on http://localhost/nagios, the message is Internal Server Error.
-----Message d'origine-----
De : nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Carl Friend
Envoyé : lundi 19 juin 2006 13:19
À : nagios-users at lists.sourceforge.net
Objet : Re: [Nagios-users] TR: Problems with the web interface of Nagios
Good morning,
> chown nagios:nagios cgi/*
> chmod 777 cgi/*
Just a heads-up, but 777 is *way* too much permission for those
files. 755, or even 711 if the files are owned by the nagios user,
is vastly safer; you don't want the world to be able to
modify those executable files.
> But there is always the same message.
Here's a stupid question: "After putting the proper stanzas into
your httpd.conf file did you restart your Apache server?"
Just as an FYI, here's the "business end" of my httpd.conf file:
-----
ScriptAlias /nagios/cgi-bin/ "/usr/local/nagios/sbin/"
<Directory "/usr/local/nagios/sbin/">
AllowOverride AuthConfig
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
Alias /nagios/ "/usr/local/nagios/share/"
<Directory "/usr/local/apache/htdocs/manual">
Options Indexes FollowSymlinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Directory "/usr/local/nagios/share">
Options None
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>
-----
If your web server is returning odd results, you may find some
tantalysing hints in the server logs.
+----------------------------------------------+-----------------------+
| Carl Richard Friend (UNIX Sysadmin) | Natick, Massachusetts |
| Minicomputer Collector / Enthusiast | 01760-2098 |
| mailto:carl_friend at mathworks.com +-----------------------+
| http://users.rcn.com/crfriend/museum | ICBM: 42:18N 71:21W |
+----------------------------------------------+-----------------------+
_______________________________________________
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
_______________________________________________
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