Skip to main content
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Starting apache with util w/3/6 gives errors

    • Article Type: General
    • Product: Aleph
    • Product Version: 18.01

    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 file.

    This is somewhat like KB 8192-1015.

    We saw this in the /exlibris/startup/init.dat file on libcat:

    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:




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

    • Article last edited: 10/8/2013