Nagios "Unrecognized character \\x7F; marked by <-- HERE after tatus.cgi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[My first attempt went out without a subject somehow; sorry]

Hi,
I have a fedora27 system with nagios-4.3.4-3.fc27.x86_64 and
httpd-2.4.33-5.fc27.x86_64 and am receiving the following error when
trying to check the status through the web interface. I've even tried
to remove the httpd.conf and nagios.conf config files then
reinstalling httpd and nagios. I don't believe I've made any other
changes from the default system.

[Wed May 09 21:35:55.262659 2018] [:error] [pid 27011:tid
139780870788864] Unrecognized character \\x7F; marked by <-- HERE
after sjson.cgi\n<-- HERE near
column 203 at /usr/lib64/nagios/cgi-bin/statusjson.cgi line 1.\n
[Wed May 09 21:36:06.570915 2018] [:error] [pid 26783:tid
139780742424320] Unrecognized
character \\x7F; marked by <-- HERE after tatus.cgi\n<-- HERE near
column 191 at /usr/lib64/nagios/cgi-bin/status.cgi line 1.\n

[root@arcade ~]# file /usr/lib64/nagios/cgi-bin/status.cgi
/usr/lib64/nagios/cgi-bin/status.cgi: ELF 64-bit LSB shared object,
x86-64, version 1 (SYSV),
 dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for
GNU/Linux 3.2.0,
BuildID[sha1]=98bedfe2b9ae0681f41c9f6c7a6294f644e20cc6, stripped

   [root@arcade ~]# /usr/lib64/nagios/cgi-bin/status.cgi
   getcgivars(): Unsupported REQUEST_METHOD -> ''

   I'm guessing you're trying to execute the CGI from a command line.
   In order to do that, you need to set the REQUEST_METHOD environment
   variable to either "GET", "HEAD", or "POST".  When using the
   GET and HEAD methods, arguments can be passed to the CGI
   by setting the "QUERY_STRING" environment variable.  If you're
   using the POST method, data is read from standard input.  Also of
   note: if you've enabled authentication in the CGIs, you must set the
   "REMOTE_USER" environment variable to be the name of the user you're
   "authenticated" as.

I've done a bit of searching, and it appears apache thinks the cgi
files are scripts and not executables. How can I configure apache to
interpret these files properly?
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux