[Nagiosplug-help] Nagios Web interface serves 500 error

Jon Angliss jon at netdork.net
Sat Sep 27 21:58:10 CEST 2008


-----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-----





More information about the Help mailing list