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 restart the pds_server.log

    How to restart the pds_server.log

    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, 21, 22, 23

    Description:
    We notice that while most of the logs in the log directory rotate when Aleph is restarted, the PDS log does not. It accumulates forever. Is there a way to get the PDS log to rotate like the others?

    Resolution:
    1) Create a file $alephe_proc/start_pds_log.csh with the contents:
    set LOG = $LOGDIR/pds_server.log
    if ( -f $LOG ) then
    mv $LOG $LOG.`date '+%Y%d%m.%H%M'`
    endif
    find $LOGDIR -name "pds_server.log.2*" -mtime +30 -exec rm -f {} \;

    2) Edit $alephe_proc/www_server and after these two lines:
    set logfile = "$LOGDIR/www_server_$1.log"
    source $aleph_proc/rename_server_log

    add a line:
    csh -f $aleph_proc/start_pds_log.csh
    although if you don't want to delete the files older than 30 days you could also just do the following:
    1) Edit $alephe_proc/www_server and after these two lines:
    set logfile = "$LOGDIR/www_server_$1.log"
    source $aleph_proc/rename_server_log

    add two lines:
    set logfile = "$LOGDIR/pds_server.log"
    source $aleph_proc/rename_server_log


    One thing to keep in mind is that with a service pack or upgrade you'll need to check that $aleph_proc/www_server isn't updated. If it is, then you'll need to remake the changes.


    • Article last edited: 12-Feb-2017
    • Internal Notes:
    View article in the Exlibris Knowledge Center
    1. Back to top
      • How to restart the job daemon in regular intervals?
      • How to restart the SIP2 server via job daemon (from job list)
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 20
      2. contype:kba
      3. pds_server
      4. pds_server.log
      5. Prod:Aleph
      6. restarting
      7. 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