[hobbit] Problem viewing "Critical Systems"

Bullers, Tom D. Tom_D._Bullers at omb.eop.gov
Mon Dec 11 23:07:58 CET 2006


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,
 you at example.com 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: (202)395-5678
mailto:tom_bullers at omb.eop.gov 

> -----Original Message-----
> From: Henrik Stoerner [mailto:henrik at hswn.dk] 
> Sent: Monday, December 11, 2006 11:36 AM
> To: hobbit at hswn.dk
> 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
> 
> 
> To unsubscribe from the hobbit list, send an e-mail to 
> hobbit-unsubscribe at hswn.dk
> 
> 
> 
> 



More information about the Xymon mailing list