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. p_sys_01 starts only 2 pc_servers (instead of 5)

    p_sys_01 starts only 2 pc_servers (instead of 5)

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    • Article Type: General
    • Product: Aleph
    • Product Version: 20

    Description:
    I have my script restart the PC_server on a specific port using the command line given. When I do that, however, it only starts two processes instead of the usual 5 processes I get if I run this from the util menu.

    Then, when I try to connect to the server at that port, it fails the first time but then spawns off a third process. It seems that that third process is what provides the actual connection because a second connection attempt will succeed. But I only ever get three processes running instead of the five called for in my aleph_start.

    I assume that what is happening is that I'm not getting all of my environment set up properly. The values in aleph_start (at the least) are not getting set in the shell when I run:

    csh -f /exlibris/aleph/a20_1/aleph/proc/p_sys_01 ABC01,PC,6916

    Is there a suggested way to make sure the right values get into place? Or another parameter I need to add when calling the program?

    Resolution:
    Do find the same with p_sys_01 for WWW?

    I find on our server, for *either* WWW or PC, p_sys_01 starts the main process plus 5 child processes.

    Please enter this command:

    > echo $N_OF_SERVERS

    It should respond with 5. If not, do this:

    > setenv N_OF_SERVERS 5

    and try the p_sys_01 again.

    I believe your aleph_start has this, but it may be that it's somehow getting set lower(?)

    You could change the a1 and a2 sections of $aleph_proc/p_sys_01 to force it to 5.

    [From site:]
    I found that the problem was that it was starting this repeatedly because the restart was within a loop rather than outside the loop. Once I determined that and only started it one time, it started more properly, with the right number of servers.


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • p_serial_44: Oracle error: fetch z30; variable not in select list
      • p_union_01/p_union_02: doesn't handle any docs, leaves Z120 table empty
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 20
      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