[Nagiosplug-help] Nagios Web interface serves 500 error
Steve Woods
steve at onsightit.com
Sat Sep 27 23:11:12 CEST 2008
Thanks for everyone's feedback. It was suexec after all. Once I moved
nagios up two more directory levels to /var/www/vhosts/default/nagios and
got the owner of the sbin content to match the owner of the virtual host
directory it worked.
-----Original Message-----
From: Jon Angliss [mailto:jon at netdork.net]
Sent: Saturday, September 27, 2008 1:58 PM
To: nagiosplug-help at lists.sourceforge.net
Subject: Re: [Nagiosplug-help] Nagios Web interface serves 500 error
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Fri, 26 Sep 2008 01:05:15 -0600, "Steve Woods" <steve-
Cga1X1son1zby3iVrkZq2A at public.gmane.org> wrote:
>I just installed 3.0.3 on a Fedora C5 box with Plesk 8.6 and everything
went
>smooth. I can get to the web interface but as soon as I click on any of the
>cgi's I get a 500 error. The web log says "Premature end of script
headers:
>status.cgi." and in my suexec_log I get "command not in docroot
>(/var/www/nagios/sbin/status.cgi)".
You should probably try reading the documentation for SuEXEC, which is
causing the issue, and not nagios.
>I have googled this to no end and noticed many folks with the same issue,
>but all "solutions" come up empty. As of my last attempt to fix the
>problem, I have moved everything from /usr/local/nagios to /var/www/nagios
>and updated the /etc/httpd/conf.d/nagios.conf to reflect the new location.
>This was in an attempt to satisfy suexec. Still no solution though.
>Anyone else have this problem and more importantly, have a solution?
I vaguely remember seeing a posting on the nagios-users list recently
on the same issue, try searching on the archives [1] there
[1]:
http://search.gmane.org/?query=suexec&group=gmane.network.nagios.user
- --
Jon Angliss
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32) - GPGshell v3.64
iEYEARECAAYFAkjekEIACgkQK4PoFPj9H3M5XQCfVwbs0T/J0XxvO30Yr5GCKS/V
cZYAoNp2AZKbYOdvQ917fwLKVkG43q+B
=GQUs
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Help
mailing list