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. How to start multiple pc_servers with p_sys_01

    How to start multiple pc_servers with p_sys_01

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Description
    2. Resolution

     

    • Product: Aleph
    • Product Version: 20, 21, 22, 23
    • Relevant for Installation Type: Dedicated-Direct, Direct, Local, Total Care

     

    Description

    (As described in the article " Restart Servers from job_list ") we stop/restart various servers when running clear_vir01.  But the sys-01 Service starts only one pc_server.  We need it to restart multiple.

    Resolution

    Change the following lines in the $aleph_proc/p_sys_01 from:

    a1:
            if ($p_port != "") then
                set port1 = "$p_port"
            else
                set port1 = "$l_pc_server_port"
            endif

            csh -f $aleph_proc/pc_server $port1 >& /dev/null &
            goto p_sys_01_exit


    to:

    a1:
            source /exlibris/aleph/u23_1/alephe/aleph_start
            source $aleph_proc/def_local_env

            set sav_alephver_alias = `alias alephver`
            set new_alephver_alias = 'echo "xxx" > /dev/null'
            set THIS_HOST = `hostname`

            alias alephver "$new_alephver_alias"


            if  (! $?PC_START_HOST) then
                echo "starting pc_server... "
                csh -f $aleph_proc/pc_server $l_pc_server_port >& /dev/null &
                echo " "
            else
                foreach thishost ($PC_START_HOST)
                       echo "starting pc_server... " $thishost
                       csh -f $aleph_proc/pc_server $thishost >& /dev/null &
                       echo " "
                end
            endif

    [Note:  The preceding presumes that you have made the changes to make the multiple pc_servers be started automaticlly by ./aleph_startup, as described in the article " Starting multiple pc_servers automatically ".


     

     


    • Article last edited: 8-Mar-2018
    View article in the Exlibris Knowledge Center
    1. Back to top
      • How to start apache in SSL mode
      • How to start ue_21 automatically
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. contype:kba
      2. Prod:Aleph
    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