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. Restart Servers from job_list

    Restart Servers from job_list

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Description
    2. Resolution
    3. Additional Information
    • Article Type: General
    • Product: Aleph
    • Product Version: 21, 22, 23

    Description

    Restart Servers (WWW, PC, and OCLC servers) from job_list

    Resolution


    This is what is in the$alephe_tab/job_list:

    00 04:40:00 N                      server_monitor -tks WWW
    00 04:40:20 N                      server_monitor -tks PC
    00 04:40:40 N                      server_monitor -tks OCLC
    00 04:41:00 Y                      VIR01 clear_vir01                    VIR01
    00 04:45:00 Y                      VIR01 p_sys_01                       VIR01,WWW,
    00 04:45:20 Y                      VIR01 p_sys_01                       VIR01,PC,
    00 04:45:40 Y                      VIR01 p_sys_01                       VIR01,OCLC,

     

    **To stop all server processes**, this is what is in the job_list:
    05 01:40:00 N server_monitor -ks
    05 01:50:00 N <whatever procedure you want to run with the servers down>
    05 02:00:00 N /exlibris/aleph/u16_2/alephe/server_startup


    "server_monitor -ks" stops all the servers, but p_sys_01 can be used to restart the WWW, PC and OCLC servers only. Thus, in the preceding, a
    a server_startup script is referenced. The script would need to be modeled after the $alephe_root/aleph_startup script, which starts the servers.

    server_startup would look like this:
    #!/bin/csh -f
    source /exlibris/aleph/u16_2/alephe/aleph_start
    source $aleph_proc/def_local_env
    set sav_alephver_alias = `alias alephver`
    set new_alephver_alias = 'echo "xxx" > /dev/null'
    alias alephver "$new_alephver_alias"
    #*******************************************
    # startup servers
    #*******************************************.
    <Insert the "startup servers" section from your $alephe_root/aleph_startup here.>
    rm_f_symbol
    alias alephver "$sav_alephver_alias"

    Additional Information

    server_monitor -pks" (as opposed to the usual "-tks") can be used to take down the server running on a particular port. (The "p" stands for port; "t" for type.) Example:

    > server_monitor -pks 6991

     

    Category: Background processing


    • Article last edited: 14-July-2016
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Restart PC Server each day from crontab
      • Restarting p_manage_01
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 21
      2. Background processing
      3. contype:kba
      4. Prod:Aleph
      5. 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