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. Apache startup fails: "Permission denied: httpd: could not open error log file"

    Apache startup fails: "Permission denied: httpd: could not open error log file"

    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: 20

    Problem Symptoms:
    After rebooting the server, attempt to start apache on port 8991 with util w/3/6 fails with "Permission denied: httpd: could not open error log file". (See Additional Information below for complete error message in the log.)

    Cause:
    Incorrect permissions on /exlibris/aleph/u20_1/alephe/apache/logs/error_log and access_log files:

    [root@xxxxxxx logs]$ ls -lrt
    -rw-r--r-- 1 root root 12870329 Apr 3 12:05 access_log
    -rw-r--r-- 1 root root 119632 Apr 3 12:05 error_log

    Resolution:
    1. su or sudo to root.
    2. Change the permissions:
    [root@xxxxxxx logs]# chmod 666 error_log
    [root@xxxxxxx logs]# chmod 666 access_log

    3. ls -lrt should then show:
    [root@xxxxxxx logs]# ls -lrt
    -rw-rw-rw- 1 root root 12870329 Apr 3 12:05 access_log
    -rw-rw-rw- 1 root root 119632 Apr 3 12:05 error_log

    4. Exit root and start apache as "aleph" with util w/3/6:
    /exlibris/aleph/u20_1/alephe/apache/bin/apachectl restart: httpd not running, trying to start
    /exlibris/aleph/u20_1/alephe/apache/bin/apachectl restart: httpd started

    Additional Information

    Complete startup error message:

    /exlibris/aleph/u20_1/alephe/apache/bin/apachectl restart: httpd not running, trying to start
    (13)Permission denied: httpd: could not open error log file /exlibris/aleph/u20_1/alephe/apache/logs/error_log.
    Unable to open logs
    /exlibris/aleph/u20_1/alephe/apache/bin/apachectl restart: httpd could not be started

    Note: The above was with Apache on port 8991. If starting on port < 1024, util w/3/6 can not be used. One needs to log on to lib-web1 as root -- or su - root -- and then do apachectl.


    • Article last edited: 4/16/2014
    View article in the Exlibris Knowledge Center
    1. Back to top
      • apache start: "File exists: unable to create scoreboard"
      • Apache startup fails: "libgcc_s.so.1: open failed: No such file or directory"
    • 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