I am running this command which I am sure I am doing wrong somehow:
QUERY_STRING="HOSTSVC=dabwtx01,mcilink,com.comm" REQUEST_URL="" /export/home/bb/cgi-bin/bb-hostsvc.sh
I get a coredump, if that SHOULD be URI like you had I thought it was a typo I get this:
QUERY_STRING="HOSTSVC=dabwtx01,mcilink,com.comm" REQUEST_URI="" /export/home/bb/cgi-bin/bb-hostsvc.sh
Content-type: text/html
<html><head><title>Invalid request</title></head> <body>Status not available </body></html>
There is now a cigerror.log file and it contains these lines which only occurred from my testing it didn't exist before:
2005-08-10 16:03:49 hobbitsvc xgetenv: Cannot find value for variable REQUEST_URI 2005-08-10 16:08:05 hobbitsvc xgetenv: Cannot find value for variable QUERY_STRING 2005-08-10 16:08:15 hobbitsvc xgetenv: Cannot find value for variable REQUEST_URI 2005-08-10 16:08:21 hobbitsvc xgetenv: Cannot find value for variable REQUEST_URI 2005-08-10 16:09:05 hobbitsvc connect to bbd failed - Connection refused 2005-08-10 16:09:05 hobbitsvc Whoops ! bb failed to send message - Connection failed
The other log files have nothing new in them for the last 6 hours.
error_log for apache just has the following in it:
[Wed Aug 10 12:19:27 2005] [error] [client 131.146.38.100] File does not exist: /usr/local/apache2/htdocs/favicon.ico [Wed Aug 10 12:26:31 2005] [error] [client 131.146.38.100] File does not exist: /usr/local/apache2/htdocs/favicon.ico [Wed Aug 10 15:10:10 2005] [error] [client 131.146.38.100] File does not exist: /usr/local/apache2/htdocs/favicon.ico
Hopefully this will shed some light on it. The only thing I see is that connection failed to bbd.
Thanks much Wes
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Wednesday, August 10, 2005 4:01 PM To: hobbit at hswn.dk Subject: Re: [hobbit] Status not available?
On Wed, Aug 10, 2005 at 01:22:26PM -0400, Wes Neal wrote:
Ok I worked the other issue out, it seems user nobody was not picking up the libraries for libpcre and a couple of other things. Now I can get the cgi stuff to work, but when I click on specific things for a host I get status not available on a white page for all of them. I did a search for this error and didn't find anything.
What's in your webserver error-logs ? While you're at it, see if there are any ominous-sounding messages in the Hobbit logfiles in /var/log/hobbit/ .
What happens if you run
QUERY_STRING="HOSTSVC=some,server,name.conn" REQUEST_URI="" ~hobbit/cgi-bin/bb-hostsvc.sh
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk