Xymon Mailing List Archive search

Premature end of script headers: bb-hostsvc.sh, referer: ...

list Neil D. ManTech Ctr Camp
Thu, 9 Feb 2006 13:36:34 -0500
Message-Id: <user-57e5c9be5023@xymon.invalid>

I have tried running it from the command line with no go. And now I am
convinced that it is not apache. I can run a whole lot of other cgi's
like the avail report and the event log report, but just not the
bb-hostsvc.sh. It just makes no sense that mostly everything else works,
but that...

--neil
 
ManTech
DeCA Operations Systems Administrator
(XXX) XXX-XXXX
user-22a6a1b96d9d@xymon.invalid
 

-----Original Message-----
From: lars ebeling [mailto:user-1fecd3eafd52@xymon.invalid] 
Sent: Thursday, February 09, 2006 1:19 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Premature end of script headers: bb-hostsvc.sh,
referer: ...

Have you done the changes in Apache configfile according to hobbit 
installation?
I have some other stuff in my configfile, but if you want I could send
it 
directly to you.

Lars

----- Original Message ----- 
From: "Camp, Neil D. (ManTech) CTR" <user-22a6a1b96d9d@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Thursday, February 09, 2006 6:53 PM
Subject: RE: [hobbit] Premature end of script headers: bb-hostsvc.sh, 
referer: ...


I have narrowed down the problem to the fact that the webserver will not
run

exec /home/bb/server/bin/hobbitsvc.cgi $CGI_SVC_OPTS

I put in some echos before it and an exit and it worked. Once the echo
and exit came after that line, the error 500 returned. I am not too
familiar with apache, but it seems to be configured correctly. Is
someone willing to pass on their config of apache for comparison? I have
used the generic config file that HP has with its version of apache.

--neil

ManTech
DeCA Operations Systems Administrator
(XXX) XXX-XXXX
user-22a6a1b96d9d@xymon.invalid


-----Original Message-----
From: Camp, Neil D. (ManTech) CTR
Sent: Thursday, February 09, 2006 11:16 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Premature end of script headers: bb-hostsvc.sh,
referer: ...

I have even done a fresh install using a snapshot from last night. The
webpage shows general status of my hosts, but when I drill down, still
get the same message, arggg, any ideas?

--neil

ManTech
DeCA Operations Systems Administrator
(XXX) XXX-XXXX
user-22a6a1b96d9d@xymon.invalid


-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Thursday, February 09, 2006 9:12 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Premature end of script headers: bb-hostsvc.sh,
referer: ...

On Thu, Feb 09, 2006 at 08:53:33AM -0500, Camp, Neil D. (ManTech) CTR
wrote:
The files are world readable, and just for good measure, I su'd to www
and opened bb-hosts file to be sure. I must have missed something
really
simple.
There are more config files than just bb-hosts - hobbitserver.cfg,
hobbitgraph.cfg etc.

What about all of the directories leading to the Hobbit etc directory ?
Are they all mode 755 ? Or at least they must have world-execute
permission set.

If all else fails, go to the hobbit cgi-bin directory, and modify the
bb-hostsvc.sh file so the last line reads

 exec /usr/lib/hobbit/server/bin/hobbitsvc.cgi $CGI_SVC_OPTS --debug
2>&1 1>/tmp/cgi.log

This will cause the application to write all output - including debug
output - to the file /tmp/cgi.log


Regards,
Henrik