[Pkg-nagios-devel] Bug#315755: nagios-common: CGI scripts return Internal Server Error - unrecognized character \x7F

William McKee William McKee <william@knowmad.com>, 315755@bugs.debian.org
Sat, 25 Jun 2005 11:52:15 -0400


Package: nagios-common
Version: 2:1.3-cvs.20050402-2.sarge.1
Severity: important


The package installed fine and properly displays the static html pages such as
starting page, side frame and documentation. When I try to run one of the cgi
scripts I receive an Internal Server Error message. My apache log has the
following:

  [Sat Jun 25 09:09:04 2005] [error] Unrecognized character \\x7F at /usr/lib/cgi-bin/nagios/status.cgi line 1.\n

I am running Nagios under a recompiled apache2 package in order to fix the
suexec_path parameter. I can successfully run a hello world Perl script from
the cgi-bin directory. There is not much information on Google about the above
error.

Thanks for any suggestions,
William

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.26
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages nagios-common depends on:
ii  adduser     3.63                         Add and remove users and groups
ii  apache2-mpm 2.0.54-4                     traditional model for Apache2
ii  coreutils [ 5.2.1-2                      The GNU core utilities
ii  debconf [de 1.4.30.13                    Debian configuration management sy
ii  fileutils   5.2.1-2                      The GNU file management utilities 
ii  mailx       1:8.1.2-0.20040524cvs-4      A simple mail user agent
ii  nagios-pgsq 2:1.3-cvs.20050402-2.sarge.1 A host/service/network monitoring 
ii  nagios-plug 1.4-6                        Plugins for the nagios network mon

-- debconf information:
* nagios/adminpassword: (password omitted)
* nagios/wwwsuid: true
  nagios/upgradefromnetsaint:
* nagios/configapache: Apache2