Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. z39.50 gate server restarts automatically after stop; keep_z39_gate

    z39.50 gate server restarts automatically after stop; keep_z39_gate

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Additional Information
    • Article Type: General
    • Product: Aleph
    • Product Version: 16.02

    Description:
    We are unable to stop the z39.50 gate. We want to stop and start it to pick up table changes. Once I stop through util w, it automatically starts again - with the old configuration.

    Resolution:
    The www_server calls the "keep_z39_gate" program, which has this comment:
    *File: keep_z39_gate.c
    *Main method: keep_z39_gate
    * Purpose: keep z39_gate alive - if z39_gate is not running on ort specified in $z39_gate_address - run z39_gate on this port.

    If you stop the www_server and then stop the z39_gate and then start both, that should work.

    16.02 rep_change #000590 lets you disable this:

    Description: A new environment variable, keep_z39_gate, has been added to the www_server.conf file. This variable can be used to prevent the automatic start of a Z39.50 gate by an active WEB server. The default of the keep_z39_gate variable is "Y", which means that the automatic start of the Z39.50 is still on by default.
    ...
    Implementation Notes: If you want to disable the automatic activation of the z39.50 gateway by the WEB server, add the following line to ./alephe/www_server.conf file:
    setenv keep_z39_gate N
    <end rep_change 000590>

    The "System Librarian’s Guide – Web OPAC" says:

    setenv keep_z39_gate Y

    This parameter prevents the automatic start of z39_gate.
    For every incoming request, the Web server checks if z39_gate is up and running. If the gate is down, the gate server process will be started
    automatically. To prevent the gate server process starting automatically, set
    keep_z39_gate to "N".
    The default is "Y".

    Additional Information

    faq


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Z39.50 gate holdings display
      • Z39.50 Output/Print Record Limit
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 16.02
      2. contype:kba
      3. Prod:Aleph
      4. Type:General
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved