BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: {bb} bbgen 3.4 seg faults - bb 1.9e, bbgen3.4, solaris 9



I still get the output from the .sh script in the error_log - is that intended?

-----Original Message-----
From: owner-bb@bb4.com [mailto:owner-bb@bb4.com]On Behalf Of DeCamp, Jon
Sent: Tuesday, December 21, 2004 3:35 PM
To: bb@bb4.com
Subject: RE: {bb} bbgen 3.4 seg faults - bb 1.9e, bbgen3.4, solaris 9


The example below works, I just needed arguments.  I have since found the help/bb-findhost.html file and set permissions so that it can be used from the web server.  I did not see this process documented in the install docs, but maybe I missed it somewhere.  

I'm glad to have this feature, and the many other great ones that come with bbgen.  

Thanks, Henrick.
-Jon

-----Original Message-----
From: owner-bb@bb4.com [mailto:owner-bb@bb4.com]On Behalf Of Henrik
Storner
Sent: Tuesday, December 21, 2004 2:14 PM
To: bb@bb4.com
Subject: Re: {bb} bbgen 3.4 seg faults - bb 1.9e, bbgen3.4, solaris 9


In <EC5D587F10C6284699273ACCCD42B20024CC5D@m0319p35.nordstrom.net> "DeCamp, Jon" <Jon.DeCamp@nordstrom.com> writes:

>When I run this straight from cgi-bin/bb-findhost.sh (for this
> example) I get an "Internal Server Error", which is why I
> back-tracked to the cgi binary, and then tried to re-compile (with no
> success when testing the binary from the bbdisplay directory).

OK. The way to troubleshoot CGI problems is to run the tools the
same way as the web server does.

If you fire up your browser and try to use the bb-findhost CGI, you'll
see the URL being something like this:

http://www.hswn.dk/bb-cgi/bb-findhost.sh?host=voodoo&case_sensitive=on&SUB=Search

What happens is that the webserver defines a QUERY_STRING environment 
variable with the part of the URL following the '?'. So to mimic the
webserver behaviour, do

QUERY_STRING="host=voodoo&case_sensitive=on&SUB=Search"
export QUERY_STRING

You need the quotes because there are '&' signs in the string.

Then run /usr/local/apache/cgi-bin/bb-findhost.sh and see what is
says.


Henrik
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.


Home | Main Index | Thread Index