WWWWAAAAIIIISSSSSSSSEEEERRRRVVVVEEEERRRR((((1111)))) TTTThhhhiiiinnnnkkkkiiiinnnngggg MMMMaaaacccchhhhiiiinnnneeeessss ((((FFFFrrrriiii SSSSeeeepppp 11113333 1111999999991111)))) WWWWAAAAIIIISSSSSSSSEEEERRRRVVVVEEEERRRR((((1111)))) NNNNAAAAMMMMEEEE waisserver - serves WAIS requests SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS wwwwaaaaiiiisssssssseeeerrrrvvvveeeerrrr [ -p [ port_number ] ] [ -s ] [ -d directory ] [ -e [ pathname ] ] [-u user ] [ -v ] wwwwaaaaiiiisssssssseeeerrrrvvvveeeerrrr....dddd [ same arguments ] DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN Part of the Wide Area Information Server system. waisserver will take WAIS requests from a TCP port or standard-io and return the appropriate response. If the name of the command is waisserver.d, then it is assumed it is running from inetd, and it uses stdio for it's I/O sockets. See the examples below for inetd.conf. OOOOPPPPTTTTIIIIOOOONNNNSSSS ----pppp [ port ] Listen to the port. If the port is supplied, then that port number is used. If it is not supplied then the Z39.50 port (210) is used. ----ssss listen to standard I/O for queries. ----dddd directory Use this directory as the default location of the indexes. Therefore if the directory were /usr/local, then the database foo would be found in /usr/local/foo (see waisindex for how to create an index) ----eeee [ filename ] Redirect error output to pathname, if supplied, or to /dev/null. Error output defaults to stderr, unless -s is selected, in which case it defaults to /dev/null. ----uuuu user Set the server's user id to the user specified after attaching the tcp-port. This is only used if the server is started as root. ----vvvv Print the current version and date of the server. EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS The following are examples of waisserver usage: Page 1 (printed 12/2/91) WWWWAAAAIIIISSSSSSSSEEEERRRRVVVVEEEERRRR((((1111)))) TTTThhhhiiiinnnnkkkkiiiinnnngggg MMMMaaaacccchhhhiiiinnnneeeessss ((((FFFFrrrriiii SSSSeeeepppp 11113333 1111999999991111)))) WWWWAAAAIIIISSSSSSSSEEEERRRRVVVVEEEERRRR((((1111)))) waisserver -p 8000 -d wais-sources -e server.log Runs waisserver as a standalone server, using tcp port 8000 on directory wais-sources writing messages to server.log Some example inetd.conf entries (note, these must be on one line in inted.conf): hpux 7.0/800, Interactive/386 2.2.1: z3950 stream tcp nowait root /etc/waisserver waisserver.d -d /wais-sources -e /server.log Ultrix 4.1: z3950 stream tcp nowait /etc/waisserver waisserver.d -d /wais-sources -e /server.log Also, add the next line to /etc/services, and tickle your YP server: z3950 210/tcp # wide area information server (wais) SSSSEEEEEEEE AAAALLLLSSSSOOOO waissearch(1), waisindex(1), waissearch-gmacs(1), xwais(1), xwaisq(1), inetd(8C), inetd.conf(5) Wide Area Information Servers Concepts by Brewster Kahle. Brewster@think.com DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS The diagnostics produced by the waisserver is meant to be self-explanatory. BBBBUUUUGGGGSSSS Under BSD logging information is sent to standard output, instead of standard error. This means the -e and -s options won't work as expected. Page 2 (printed 12/2/91)