Premature end of script headers: bb-hostsvc.sh, referer: ...
Hello all. I finally got everything compiled and installed on an HP-UX server. I have added the recommended lines to my httpd.conf, but now every time I try to drill down on any of the tests I get and error 500 page and the following error in my webserver log... Premature end of script headers: bb-hostsvc.sh, referer: https://odin...... It seems like only a few times this has popped up in the past due to a bug. I was wondering if anyone could give me some pointers since I have probably mis-configured something.
--neil
ManTech DeCA Operations Systems Administrator (804) 734-8353 neil.camp at deca.mil
-----Original Message----- From: Chris Wopat [mailto:chrisw at supranet.net] Sent: Wednesday, February 08, 2006 12:21 PM To: hobbit at hswn.dk Subject: [hobbit] Hobbit Sensitivity lowered?
Hello,
I switched from BB to hobbit about a month ago and have been generally happy. One thing that's "different" is that Hobbit seems to be more sensitive to services timing out, such as during an http check.
I don't see anything in bb-services related to this, is there any global
setting somwhere to permit me to allow a check to take a few more ms to respond before it's considered "red"? My bb2.html file is frequently red
due to this, although it only lasts a few seconds.
Is there an appropriate way to do this without hacking code and finding the timeout period?
Thanks, --Chris
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
On Wednesday 08 February 2006 21:58, Camp, Neil D. (ManTech) CTR wrote:
Hello all. I finally got everything compiled and installed on an HP-UX server. I have added the recommended lines to my httpd.conf, but now every time I try to drill down on any of the tests I get and error 500 page and the following error in my webserver log... Premature end of script headers: bb-hostsvc.sh, referer: https://odin...... It seems like only a few times this has popped up in the past due to a bug. I was wondering if anyone could give me some pointers since I have probably mis-configured something. What if you execute hobbitsvc.cgi from the command line? This is the output on my server:
/home/users/hobbit/server/bin/hobbitsvc.cgi Content-type: text/html
<html><head><title>Invalid request</title></head>
Stef
On Wed, Feb 08, 2006 at 03:58:50PM -0500, Camp, Neil D. (ManTech) CTR wrote:
Hello all. I finally got everything compiled and installed on an HP-UX server. I have added the recommended lines to my httpd.conf, but now every time I try to drill down on any of the tests I get and error 500 page and the following error in my webserver log... Premature end of script headers: bb-hostsvc.sh, referer: https://odin......
What happens if you do it like this (from a command line):
REQUEST_METHOD=GET
REQUEST_URI=""
QUERY_STRING="HOSTSVC=yourserver,deca,mil.conn"
~hobbit/cgi-bin/bb-hostsvc.sh
(note the use of commas in the hostname instead of dots).
I would expect you to get some sort of error message ...
Henrik
Henrik Stoerner a écrit :
On Wed, Feb 08, 2006 at 03:58:50PM -0500, Camp, Neil D. (ManTech) CTR wrote:
Hello all. I finally got everything compiled and installed on an HP-UX server. I have added the recommended lines to my httpd.conf, but now every time I try to drill down on any of the tests I get and error 500 page and the following error in my webserver log... Premature end of script headers: bb-hostsvc.sh, referer: https://odin......
What happens if you do it like this (from a command line):
REQUEST_METHOD=GET
REQUEST_URI=""
QUERY_STRING="HOSTSVC=yourserver,deca,mil.conn"
~hobbit/cgi-bin/bb-hostsvc.sh(note the use of commas in the hostname instead of dots).
I would expect you to get some sort of error message ...
Hi Henrik
I'm having the same problem on my test system with Hobbit 4.2-pre from 02/09 snapshot (snapshot from 01/31 works fine) :
$ REQUEST_METHOD=GET REQUEST_URI=""
QUERY_STRING="HOSTSVC=hades.disk" /BB/hobbit/cgi-bin/bb-hostsvc.sh
Content-type: text/html
<html><head><title>Invalid request</title></head> <body>Invalid request</body></html>
It works fine using the BB client :
$ ./bb localhost "hobbitdboard hades.disk" hades|disk|green||1139480848|1139481095|1139482895|0|0|10.50.80.10|-1|green Thu Feb 9 11:31:29 CET 2006 - Disk partitions on hades OK
--
Frédéric Mangeant
Steria EDC Sophia-Antipolis
On Thu, Feb 09, 2006 at 11:33:06AM +0100, Frédéric Mangeant wrote:
I'm having the same problem on my test system with Hobbit 4.2-pre from 02/09 snapshot (snapshot from 01/31 works fine) :
$ REQUEST_METHOD=GET REQUEST_URI=""
QUERY_STRING="HOSTSVC=hades.disk" /BB/hobbit/cgi-bin/bb-hostsvc.sh Content-type: text/html<html><head><title>Invalid request</title></head> <body>Invalid request</body></html>
The input parameters for the hobbitsvc CGI are being changed,
so how does it work if you run
$ REQUEST_METHOD=GET REQUEST_URI="" QUERY_STRING="HOST=hades&SERVICE=disk"
/BB/hobbit/cgi-bin/bb-hostsvc.sh
(the "HOSTSVC" combo was disgusting because it required you to do the make-hostname-dots-into-commas dancing around for BB's sake).
But if you run the entire snapshot - i.e. you did a full "make install" of the snapshot - then it should generate the correct URL's for you.
Henrik
Henrik Stoerner a écrit :
The input parameters for the hobbitsvc CGI are being changed, so how does it work if you run $ REQUEST_METHOD=GET REQUEST_URI="" QUERY_STRING="HOST=hades&SERVICE=disk"
/BB/hobbit/cgi-bin/bb-hostsvc.sh(the "HOSTSVC" combo was disgusting because it required you to do the make-hostname-dots-into-commas dancing around for BB's sake).
But if you run the entire snapshot - i.e. you did a full "make install" of the snapshot - then it should generate the correct URL's for you.
I did a "make install", but the error is still here. I went back to 01/31 snapshot.
--
Frédéric Mangeant
Steria EDC Sophia-Antipolis
participants (4)
-
frederic.mangeant@steria.com
-
henrik@hswn.dk
-
neil.camp@deca.mil
-
stef.coene@docum.org