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. Running PLIF Loader

    Running PLIF Loader

    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 have 3 Aleph instances in our environment - Prod, Trg, Dev. In v16, all 3 instances share the same user.

    1. When we run any of the aleph processes, e.g. plif_loader as a cron job, it is automatically run in the Prod environment.
    How can I run the same plif_loader but in the Dev or Trg instances?
    What are the environment variables I need to set in my script to achieve this?

    2. Some of the indexing processes stop from time to time and we have to re-start them manually via the util menu.
    Is there a way to automate this as well?

    Resolution:
    1. When you run a cron job with "su - aleph", it logs in as user aleph to the default version (Prod in this case).
    What you must do is either run with "su aleph", or better, in a crontab owned by aleph, not root.

    In both cases, you must either have a different script for each version, or receive the version as parameter of your
    script and add at the beginning of the script a few lines like below (only the last of these lines is mandatory, the
    others are checks).

    if ($#argv ~= 1) then
    echo "usage: $0 slot_name"
    echo "e.g. $0 a16_1"
    exit 1
    endif

    if (! -f /exlibris/aleph/$0/alephm/.cshrc) then
    echo "ERROR: cannot find /exlibris/aleph/$0/alephm/.cshrc"
    exit 1
    endif

    source /exlibris/aleph/$0/alephm/.cshrc

    2. The indexing log files are kept in $data_scratch directory

    Additional Information

    index log file, cron, plif loader, environment variable


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • running p-acq-10 service with "online" option can cause problems
      • Running ret 21 with input file retunes error message “13 File not found”
    • 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