Setting Up ZClient and ZServer Using the Inet Demon


The ZServer is currently designed so that a separate instance is created by the ined port monitor for each ZClient-ZServer association. In order for this to happen two tables must be updated by root on the system where ZServer will run and then the running inetd process must be re-configured to pick up the changes.

To /etc/services add an entry such as the following:

  
    zprise    32210/tcp       # Usual Z39.50 port

    -------   ---- -------    -------------------
    SERVICE   PORT/TCP or UDP COMMENT
    NAME     

To /etc/inetd.conf add an entry such as the following:

  zprise   stream       tcp      nowait  ??????      ?????????    xxxx  ????

  ------   ------       ---      -----   -------     ---------    ----  ----
  SERVICE  SOCKET       TCP or   WAIT    USER to     EXECUTABLE   ARG0  ARG1
  NAME     TYPE         UDP      no not  RUN UNDER   

  USER - a userid to run the zserver under 

  EXECUTABLE -  the fully qualified name of the zserver executable, delivered
              in .../zprise_2/bin/zserver
 
  ARG0 - ignored by the zserver but a place holder is needed.

  ARG1 - the path from the root to .../zprise_2/defaultdir

To reconfigure the running inetd process, send it a SIGHUP

  kill -HUP PID-of-inetd-on-your-system 

National Institute of Standards and Technology Home Page Last updated: Tuesday, 01-Aug-2000 09:16:44 EDT

Date created: Monday, 31-Jul-00