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. Starting apache with util w/3/6 gives errors

    Starting apache with util w/3/6 gives errors

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

    Description:
    The apache for the Test instance is running. But when we do util w/3/6, we see the following messages:

    /exlibris/aleph/u20_2/alephe/apache/bin/apachectl restart: httpd not running, trying to start
    (98)Address already in use: make_sock: could not bind to address [::]:8992
    no listening sockets available, shutting down
    Unable to open logs
    /exlibris/aleph/u20_2/alephe/apache/bin/apachectl restart: httpd could not be started

    Also, the /exlibris1/aleph/u20_2/alephe/apache/logs directory does not show any httpd.pid file.

    Resolution:
    This is somewhat like KB 8192-1015.

    We saw this in the /exlibris/startup/init.dat file on libcat:
    Y:apache:root:httpd:/exlibris/aleph/u20_2:../a20_2:apachectl_auto:apachectl
    Y:apache:root:httpd:/exlibris/aleph/u20_1:../a20_1:apachectl_auto:apachectl

    and we saw that the apache files in the Test instance were owned by root.

    Since the Test apache is 8992, it does *not* need to be root. If apache is started as root, then the UTIL-W-3-6 will not work since it uses the aleph user in the case where the port is over 1000.

    We changed the ownership of these /exlibris1/aleph/u20_2/alephe/apache/ files from root to aleph.

    Then we stopped apache and were able to start it successfully using UTIL-W-3-6.

    Finally, we went into /exlibris/startup/init.dat (which is the "root" of the problem) and changed this line from:

    Y:apache:root:httpd:/exlibris/aleph/u20_2:../a20_2:apachectl_auto:apachectl

    to:

    Y:apache:aleph:httpd:/exlibris/aleph/u20_2:../a20_2:apachectl_auto:apachectl

    {We left the apache line for u20_1 (Prod) as root.}


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Starting a web server with stdout doesn't work
      • Starting multiple oclc_servers
    • Was this article helpful?

    Recommended articles

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