SUMMARY Help with httpd/

Ray W. Hiltbrand (
Mon, 28 Nov 1994 21:53:18 +0100

It appear that many folks have been having a problem with this.
And the winner is:
>From: Jonny Goldman <jonny@Synopsys.COM>
I had similar problems when trying to use my HTTP/WAIS gateway (
under other SYSV based UNIX's.

There were two problems, one in search and the other in retrieval. Both
were related to the fact that vsprintf in SYSV dies when it attempts to
print a "%s" that is NULL.

The solutions were:

1. Set some environment variables in the script:

if (! $ENV{'USER'}) { $ENV{'USER'} = "nobody";}
if (! $ENV{'HOME'}) { $ENV{'HOME'} = "/";}

2. Set a dummy "document name" when attempting to retrieve:

print TMP " :headline \"foo\" :number-of-bytes -1 :type \"$type\"\n";

I don't know if the second problem exists in No doubt the first
The first worked...

Thanks to all who responded:
Jonny Goldman <jonny@Synopsys.COM>

Ray W. Hiltbrand
Engineering Network Services

+From Fri Nov 18 11:38:35 1994
+Date: Fri, 18 Nov 1994 18:08:24 +0100
+From: "Ray W. Hiltbrand" <>
+To: Multiple recipients of list <>
+Subject: Help with httpd/
+X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
+X-Comment: To sign off, send mail to with body DEL WWW-TALK
+I am having a little bit of a probelm using and httpd 1.3
+the httpd is running on a Solaris 2.3 Sparc 10 with 64 megs. When I try to
+run the script I always get back "Nothing Found"
+But when I run the script on the command line with the same
+arguments I get the correct results which is a listing of 27 entries for the
+search item in html format.
+While looking at httpd with truss on the Solaris 2.3 machine the process
+waisq comes to a sudden end with the following:
+21126: Incurred fault #6, FLTBOUNDS %pc = 0xEF616D98
+21126: siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
+21126: Received signal #11, SIGSEGV [default]
+21126: siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
+21126: *** process killed ***
+If you would like to see the entire output of truss you can email me and I will send it.
+Any help would be appreciated...
+Ray W. Hiltbrand |
+Engineering Network Services |
+Auburn University | V
+ If you are not in the lead your view never changes.
+You must run as fast as to can, just to stay in the same place. If you
+ want to get anywhere, you must run twice as fast!