[hobbit] Premature end of script headers: bb-hostsvc.sh, referer: ...
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.
--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 8:40 AM To: hobbit at hswn.dk Subject: Re: [hobbit] Premature end of script headers: bb-hostsvc.sh, referer: ...
On Thu, Feb 09, 2006 at 07:23:50AM -0500, Camp, Neil D. (ManTech) CTR wrote:
I ran the command as the hobbit user (bb) and I was able to get an html status page back. Does this mean I some how mangled my httpd.conf or potentially it is due to my webserver being https only?
https shouldn't matter at all.
Since it works when you run it as the hobbit user, but not when you run it as the web user, it sounds like your hobbit config files are inaccessible to the web user. Check permissions on the ~hobbit/server/etc/ directory and the files in there; they should be readable by the webserver user.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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
participants (2)
-
henrik@hswn.dk
-
neil.camp@deca.mil