From Tom_D._Bullers@omb.eop.gov Wed Jun 24 08:13:39 2026 From: Tom_D._Bullers@omb.eop.gov To: xymon@xymon.com Subject: [hobbit] Problem viewing "Critical Systems" Date: Mon, 11 Dec 2006 17:07:58 -0500 Message-ID: <4530EDD601359147A848C0815381638F01161DFD@SMOMB02EVS.eopds.eop.gov> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2235224945687369400==" --===============2235224945687369400== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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. 500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

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 > > > > --===============2235224945687369400==--