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

    How to upgrade Apache and Openssl in Aleph environment

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

    Desired Outcome Goal:
    Upgrade Apache + Perl + Openssl in Aleph environment

    Please consult Aleph support before installing the patch

    ** Apache 2.2 upgrade can only be done after Aleph SP with mod_aleph_22 is installed. **
    ** If apache patch is installed before the SP apache start might fail **

    Before doing the following make sure you have an up to date backup of the Aleph and /exlibris/product software tree

    * The new Apache and OpenSSL product will be installed under /exlibris/product.
    Please make sure you have write permissions for this directory

    *** all the following actions must be done as aleph user ***

    Stop apache - for example:
    ./apachectl stop

    * Note that in case apache is listening on port number lower than 1024 you will have to run this as root.

    1. Download the appropriate patch to your Aleph Machine from
    For example:
    cd /exlibris/ftp_from_exlibris
    wget -c`uname`.tar.gz

    2. Run the patch utility:
    bash apache22-perl-ssl httpd-2.2.15 httpd-2.2.15/bin/httpd,bin/httpd:httpd-2.2.15,local/apache:openssl-0.9.8n/bin/openssl,bin/openssl:openssl-0.9.8n,local/openssl:perl-5.8.9/bin/perl,bin/perl:perl-5.8.9/bin/perldoc,bin/perldoc:perl-5.8.9,local/perl $aleph_product

    Check for warnings/errors

    3. Edit your aleph_start file ($alephe_root/aleph_start) and make sure you have the
    openssl libraries in your library path - do the following changes after the last line
    containing LD_LIBRARY_PATH:
    setenv LD_LIBRARY_PATH "$aleph_product/local/openssl/lib:${LD_LIBRARY_PATH}"
    * Solaris - if libgcc is not in your current LD_LIBRARY_PATH please add the following to the variable:
    setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:/usr/sfw/lib:${aleph_product}/local/gcc/lib

    4. Edit the httpd.conf file ($httpd_root/conf/httpd.conf) to enable SSL module -
    * add the line:
    LoadModule ssl_module <Aleph copy dir>/product/local/apache/modules/

    After the last LoadModule directive.
    where <Aleph copy dir> is the $aleph_dev path.
    * replace all occurrences of mod_aleph_2 with mod_aleph_22

    5. Start apache and check $httpd_root/log/error_log or error_log_ssl for the correct apache and OpenSSL version.

    Category: Upgrade

    • Article last edited: 10/8/2013