[hobbit] Premature end of script headers: bb-hostsvc.sh, referer: ...
This is what I have for output from /tmp/cgi.log when I click on a few objects...
2006-02-09 13:38:06 CGI: Request method='GET', data='HOST=odin&SERVICE=disk' 2006-02-09 13:38:22 load_all_links() 2006-02-09 13:38:22 load_links(/home/bb/server/www/notes, /hobbit/notes) 2006-02-09 13:38:22 init_link(., /hobbit/notes) 2006-02-09 13:38:22 init_link(.., /hobbit/notes) 2006-02-09 13:38:22 load_links(/home/bb/server/www/help, /hobbit/help) 2006-02-09 13:38:22 init_link(., /hobbit/help) 2006-02-09 13:38:22 init_link(.., /hobbit/help) 2006-02-09 13:38:22 init_link(manpages, /hobbit/help) 2006-02-09 13:38:22 init_link(about.html, /hobbit/help) 2006-02-09 13:38:22 init_link(bb-to-hobbit.html, /hobbit/help) 2006-02-09 13:38:22 init_link(hobbit-alerts.html, /hobbit/help) 2006-02-09 13:38:22 init_link(hobbit-config.html, /hobbit/help) 2006-02-09 13:38:22 init_link(hobbit-mrtg.html, /hobbit/help) 2006-02-09 13:38:22 init_link(hobbit-tips.html, /hobbit/help) 2006-02-09 13:38:22 init_link(install.html, /hobbit/help) 2006-02-09 13:38:22 init_link(known-issues.html, /hobbit/help) 2006-02-09 13:38:22 init_link(configure.txt, /hobbit/help) 2006-02-09 13:38:22 init_link(hobbit-apacheconf.txt, /hobbit/help) 2006-02-09 13:38:22 init_link(hobbit-bbhosts.png, /hobbit/help) 2006-02-09 13:38:22 init_link(hobbit-clients.png, /hobbit/help) 2006-02-09 13:38:22 init_link(hobbitmain.png, /hobbit/help) 2006-02-09 13:38:22 init_link(hobbitprocs.png, /hobbit/help) 2006-02-09 13:38:22 Transport setup is: 2006-02-09 13:38:22 bbdportnumber = 1984 2006-02-09 13:38:22 bbdispproxyhost = NONE 2006-02-09 13:38:22 bbdispproxyport = 0 2006-02-09 13:38:22 Recipient listed as '172.16.225.84' 2006-02-09 13:38:22 Standard BB protocol on port 1984 2006-02-09 13:38:22 Will connect to address 172.16.225.84 port 1984 2006-02-09 13:38:22 Connect status is 0 2006-02-09 13:38:22 Sent 70 bytes 2006-02-09 13:38:22 Read 213 bytes 2006-02-09 13:38:22 Closing connection 2006-02-09 13:38:22 Recipient listed as '172.16.225.84' 2006-02-09 13:38:22 Standard BB protocol on port 1984 2006-02-09 13:38:22 Will connect to address 172.16.225.84 port 1984 2006-02-09 13:38:22 Connect status is 0 2006-02-09 13:38:22 Sent 8 bytes 2006-02-09 13:38:22 Closing connection 2006-02-09 13:38:22 Recipient listed as '172.16.225.84' 2006-02-09 13:38:22 Standard BB protocol on port 1984 2006-02-09 13:38:22 Will connect to address 172.16.225.84 port 1984 2006-02-09 13:38:22 Connect status is 0 2006-02-09 13:38:22 Sent 28 bytes 2006-02-09 13:38:22 Read 64 bytes 2006-02-09 13:38:22 Closing connection 2006-02-09 13:38:22 Found no first matching rule 2006-02-09 13:38:22 Found no first matching rule 2006-02-09 13:38:22 Found no first matching rule 2006-02-09 13:38:22 Found no first matching rule 2006-02-09 13:38:22 Found no first matching rule 2006-02-09 13:38:22 Found no first matching rule 2006-02-09 13:38:22 Found no first matching rule 2006-02-09 13:38:22 Found no first matching rule 2006-02-09 13:38:22 Found no first matching rule 2006-02-09 13:38:22 Found no first matching rule 2006-02-09 13:38:22 Found no first matching rule Content-type: text/html
2006-02-09 13:38:22 Trying header/footer file '/home/bb/server/web/info_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: Thursday, February 09, 2006 9:12 AM To: hobbit at hswn.dk 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (1)
-
neil.camp@deca.mil