Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Primo

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Primo
    3. Product Documentation
    4. Primo
    5. System Administration Guide
    6. Performing System Cleanup
    7. Cleaning Apache Log Directories

    Cleaning Apache Log Directories

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    This information is not applicable to Primo VE environments. For more details on Primo VE configuration, see Primo VE.
    Return to menu
    The clean_apache_logs.sh script allows you to clean the Apache log directory by backing up and compressing the following log files:
    • access_log
    • access_log_ssl
    • error_log
    • error_log_ssl
    This script is located under the following directory (be_bin), where <r> indicates the release in which Primo was initially installed and <c> indicates the Primo copy:
    /exlibris/primo/p<r><c><r>/ng/primo/home/system/publish/bin
    To execute the delete Apache log script:
    1. Log on to the server as the primo user.
      If your environment redirects Apache to port 80, you will need to log on as the root user to run the script. To log on as the root user, enter su and then enter the password of the root user when prompted.
    2. Enter the following command to move to the directory that contains the log script:
      be_bin
    3. Enter the following command to run the script:
      ./clean_apache_logs.sh
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Cleaning Primo Log Directories
      • Cleaning PDS Log Files
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Content Type
      Documentation
      Language
      English
      Product
      Primo
    2. Tags
      1. contype:docum
      2. Performing System Cleanup
      3. Prod:Primo
      4. System Administration Guide
    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