Xymon Mailing List Archive search

new install issue

list Japheth Cleaver
Sat, 9 Aug 2014 16:46:47 -0700
Message-Id: <user-a00446883dd2@xymon.invalid>

Could be a result of the '.sh' extension not being considered a valid
cgi-script. RH/Fedora used to be that way; not sure if Ubuntu still is...

Adding "AddHandler cgi-script .sh$" somewhere into your apache config
might fix it.

HTH,

-jc


On Wed, August 6, 2014 11:41 pm, Phil Crooker wrote:
Try su'ing as the user account apache uses, then try running the programs
with the exact path being reported.

cheers, Phil

From: Kris Springer
Sent: Thursday, 7 August 2014 4:05 PM
To: Josh Luthman; Phil Crooker
Cc: xymon at xymon.com
Subject: Re: [Xymon] new install issue

I've looked in apache logs and xymon logs and I don't see anything wrong.
The permissions all look the same on both the working and nonworking
servers.  I'm just missing something simple I'm sure but I don't know
where to look.


Thank you.


Kris Springer


On 8/6/2014 6:45 PM, Josh Luthman wrote:

Apache isn't executing it, I'd guess the config wasn't included.  Might
also check the httpd logs.

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

On Aug 6, 2014 8:36 PM, "Phil Crooker"
<user-e8e31cd73303@xymon.invalid<mailto:user-e8e31cd73303@xymon.invalid>> wrote:
Check the ownership of the files - I had a similar issue and the web
server couldn't execute the cgi.

cheers, Phil

From: Xymon on behalf of Kris Springer
Sent: Thursday, 7 August 2014 8:35 AM
To: Xymon MailingList
Subject: [Xymon] new install issue

I've got a stable server hosted on AWS and I'm trying to build a new
server on my ESXi VM server hosted elsewhere.  Both are using Xymon 4.3.17
and both are build on Ubuntu 14.04.  I've got Xymon2 up and supposedly
configured the same as Xymon1.  It's displaying the basic colored webpage
with alerts functioning.  My problem is that when I click any colored icon
to view the drilldown info I get this message.

#!/bin/sh
# This is a wrapper for the Xymon svcstatus.cgi script
. /usr/lib/xymon/server/etc/cgioptions.cfg exec
/usr/lib/xymon/server/bin/svcstatus.cgi $CGI_SVC_OPTS

I tend to think this is an apache2 issue but I can't figure out what it
is.  I'm comparing Xymon1 and Xymon2 config files and I'm not seeing
anything wrong.  Anybody have a clue for me?


Thank you.


Kris Springer