Xymon Mailing List Archive search

Problem viewing "Critical Systems"

list Tom D. Bullers
Mon, 11 Dec 2006 17:07:58 -0500
Message-Id: <user-b11b3eec1bd8@xymon.invalid>

I'm getting a segmentation fault when running the hobbit-nkview.sh
script.

I looked at the file that hobbit is generating when I select the
"Critical Systems" file menu option.

This is the content.

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
 user-c9dc537f1ffb@xymon.invalid and inform them of

This si the error in Apache:

[Mon Dec 11 16:42:42 2006] [error] [client 10.11.14.60] Premature end of
script headers: hobbit-nkview.sh, referer:
http://localhost:10001/s-hob-cgi/bb-eventlog.sh


When I try to execute the cgi script from the command line I get a
segmentation fault:

[s-hob1 at saomb60 cgi-bin]$
/home/s-hob1/hobbit/server/bin/hobbit-nkview.cgi
Content-type: text/html

Segmentation fault
[s-hob1 at saomb60 cgi-bin]$

I did a standard compile under RedHat on a Compaq DL380 server.  I don't
know what else I can do to resolve this.

Any Ideas?  Thanks.


-tom


~~~~~~~~~~~~~~~~~~~~~~
Tom Bullers
Systems Administrator
Phone: (XXX)XXX-XXXX
mailto:user-5dfc2160a848@xymon.invalid 
-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Sent: Monday, December 11, 2006 11:36 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Problem viewing "Critical Systems"

On Mon, Dec 11, 2006 at 11:20:43AM -0500, Bullers, Tom D. wrote:
I get the the same error, but with this browser it's a bit more > descriptive - "The file hobbit-nkview.sh" is of type application/x-sh, > and Mozilla does not know how to handle this file type.  The file is > lcoated at: http://hostname:1000
What should Mozilla do with this file?"
It seems that Apache is trying to send the .sh file instead of executing it and forwarding the output.
What's the full URL for that link you're clicking on ?
"http://hostname:1000"; doesn't look right, there must be something more than that.

Check your Apache setup for the ScriptAlias settings. The results you get indicate that the directory with the hobbit-nkview.sh is considered a normal document directory by Apache, instead of a script (CGI) directory.


Regards,
Henrik