Date: Tue, 1 Sep 92 14:40:07 EDT
From: dgaraffa@bigmac.mskcc.org ("Dave Garaffa" )
Reply-To: "Dave Garaffa"  <dgaraffa@bigmac.mskcc.org>
Original-To: gopher-news@boombox.micro.umn.edu
Subject: Setting Up WAIS.....
Newsgroups: comp.infosystems.gopher
Distribution: comp

Well I think I have WAIS running under A/UX!!
(I will post the changes when I am happy that it really works!)

And I did a 'make' on gopher with the /ir /ui links in place... so far so good

Now I am tring to configure my gopher-server to access some 'test' indexes...

The gopher-data dir is: /mnt/gopher-data

I made a index of some text files that were located in the /mnt/gopher-data/ dir
and set up a .cap directory... and everything works fine!!!  I can search like 
crazy!

BUT!!!

If I try to index files that are *NOT* under the /mnt/gopher-data dir it doesn't
quite work...  here is the setup:
-----------------------------------------------------------------------------
all software running latest versions: as of (08.30.92)

gopherd    (running with) -c (is this a *bad* way of running it?)
waisserver (running with) -p 8000 -d /mnt/info -e server.log

text files dir = /mnt/dave/info

gopher dir     = /mnt/gopher-data
index file dir = /mnt/gopher-data/info
.cap file      = /mnt/gopher-data/.cap
file in .cap   = info
                 Type=7
                 Name=My Data
                 Port=70
                 Path=7/info/index
-----------------------------------------------------------------------------
Now when I run gopher I get the "My Data <?>"
and I can do a search on it (it brings up a menu of files):

 -->  1.  aA6B7B0D6   /mnt/dave/info/.
      2.  aA6B7B47E   /mnt/dave/info/.
      ..
      ...
      ....
      18. aA6BF8E79   /mnt/dave/info/.

Press ? for Help, q to Quit, u to go up a menu                        Page: 1/2
-----------------------------------------------------------------------------
But when I try and select one of the items I get no text and the waisserver 
reports the following (in server.log).

328: 5: Sep  1 14:21:00 1992: 1: Accepted connection from: bigmac.mskcc.org 
[140.163.16.217]
341: 999999: Sep  1 14:21:00 1992: -1: Fatal Error:    Incompatable header 
versions (Current version: 2, supplied version: r.
328: 6: Sep  1 14:21:00 1992: 100: Child PID = 340
-----------------------------------------------------------------------------
and when I type the '=' while on one of the selections I see the following:

Name=aA6B7B0D6   /mnt/dave/info/
Type=0
Port=8000
Path=R0-56902-/Error in Hostdata!
Host=bigmac.mskcc.org
-----------------------------------------------------------------------------
Note: If I set port=8000 (thats what the waisserver is running at) in the
      /mnt/gopher-data/.cap/info file the gopher client reports searching...
      and locks up... the (waisserver) server.log reports:

328: 7: Sep  1 14:26:41 1992: 1: Accepted connection from: bigmac.mskcc.org [140
.163.16.217]
328: 8: Sep  1 14:26:41 1992: 100: Child PID = 350

and when I ^C out of the gopher client the (waisserver) server.log reports

351: 0: Sep  1 14:30:01 1992: 2: Done handling client
-----------------------------------------------------------------------------

So... in a nutshell:

wais index's and data located below the /mnt/gopher-data: is working
wais index's under /mnt/gopher-data and data 'elsewhere': NOT working

I did try and read the gopherd.8 and search the comp.infosystems.gopher archive 
but I can't seem to find the answer...

Any ideas on what I am doing wrong???

Thanks,

Dave Garaffa
Manager Macintosh Support
Memorial Sloan Kettering Cancer Center
1-212-639-3738