[hobbit] Premature end of script headers: bb-hostsvc.sh, referer: ...
I did add it, plus the debug statement. I click on any of the objects and get basically the same messages...
006-02-10 10:48:50 Transport setup is: 2006-02-10 10:48:50 bbdportnumber = 1984 2006-02-10 10:48:50 bbdispproxyhost = NONE 2006-02-10 10:48:50 bbdispproxyport = 0 2006-02-10 10:48:50 Recipient listed as '172.16.225.84' 2006-02-10 10:48:50 Standard BB protocol on port 1984 2006-02-10 10:48:50 Will connect to address 172.16.225.84 port 1984 2006-02-10 10:48:50 Connect status is 0 2006-02-10 10:48:50 Sent 20 bytes 2006-02-10 10:48:50 Read 228 bytes 2006-02-10 10:48:50 Closing connection Content-type: text/html
2006-02-10 10:48:50 Trying header/footer file '/home/bb/server/web/hostsvc_header' --neil
ManTech DeCA Operations Systems Administrator (804) 734-8353 neil.camp at deca.mil
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Friday, February 10, 2006 9:09 AM To: hobbit at hswn.dk Subject: Re: [hobbit] Premature end of script headers: bb-hostsvc.sh, referer: ...
On Thu, Feb 09, 2006 at 01:36:34PM -0500, Camp, Neil D. (ManTech) CTR wrote:
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...
Could it be runtime libraries that cannot be found when you run it via CGI ? Wouldn't be the first time that happened.
The hobbitsvc.cgi program needs the PCRE runtime library. Where do you have that installed ? Look for libpcre3.so* ...
In the bb-hostsvc.sh put
LD_LIBRARY_PATH=/directory/with/libpcre3*.so*/ export LD_LIBRARY_PATH
before the call to hobbitsvc.cgi .
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
On Fri, Feb 10, 2006 at 10:50:03AM -0500, Camp, Neil D. (ManTech) CTR wrote:
I did add it, plus the debug statement. I click on any of the objects and get basically the same messages...
006-02-10 10:48:50 Transport setup is: 2006-02-10 10:48:50 bbdportnumber = 1984 2006-02-10 10:48:50 bbdispproxyhost = NONE 2006-02-10 10:48:50 bbdispproxyport = 0 2006-02-10 10:48:50 Recipient listed as '172.16.225.84' 2006-02-10 10:48:50 Standard BB protocol on port 1984 2006-02-10 10:48:50 Will connect to address 172.16.225.84 port 1984 2006-02-10 10:48:50 Connect status is 0 2006-02-10 10:48:50 Sent 20 bytes 2006-02-10 10:48:50 Read 228 bytes 2006-02-10 10:48:50 Closing connection Content-type: text/html
2006-02-10 10:48:50 Trying header/footer file '/home/bb/server/web/hostsvc_header'
Well, it definitely runs and is does get a status back from the server. Then it dies while generating the HTML page.
Could you send me your ~hobbit/server/etc/bb-hosts, ~hobbit/data/tmp/hobbitd.chk and ~hobbit/server/web/hostsvc_header files, please ? Mail them directly to me at henrik at hswn.dk - no need to drop them on the mailing list.
Henrik
participants (2)
-
henrik@hswn.dk
-
neil.camp@deca.mil