Patches & Updates H-Sphere CP Apache 1.3.34-2 Update



04 Apr 2006

H-Sphere versions:   2.4.x

Update CP Apache to hsphere-cpanel-apache-1.3.34-2, which provides some changes to httpd.conf, updates mod_jk and eliminates mod_jserv module.

This update also eliminates a security hole by making corrections to httpd.conf.

Requirements

Make sure to have the following packages installed before you start the upgrade:

- The latest OpenSSL for all versions of H-Sphere. Install it as per OpenSSL documentation
- The latest zlib update which eliminates potential security vulnerabilities in previous versions.

Procedure

  1. Log into your control panel server as root:

    su -

  2. Download the update script from the psoft site:
    Linux:

    wget http://psoft.net/shiv/HS/u-apache-cp-1.3.34-2.tgz

    FreeBSD:

    fetch http://psoft.net/shiv/HS/u-apache-cp-1.3.34-2.tgz

  3. Unpack the archive:

    tar xzf u-apache-cp-1.3.34-2.tgz

  4. Enter the unpacked directory:

    cd u-apache-cp-1.3.34-2

  5. H-Sphere is stopped automatically by the Update script. To make sure it is stopped, run:
    Linux:

    /etc/rc.d/init.d/httpdcp stop

    FreeBSD:

    /usr/local/etc/rc.d/apachecp.sh stop

    To stop SiteStudio, stop Imaker by running:

    kill -9 `ps -axw|grep imaker.sh |grep -v grep|awk '{print $1}'`
    kill -9 `ps -axw|grep ImageMaker|grep -v grep|awk '{print $1}'`

  6. Run the update:

    sh update.sh | tee update.sh.log

  7. Make sure CP is started properly:

    ps axw | grep httpd |grep cpanel
    ps axw | grep java

    If it isn't, run:
    Linux:

    /etc/rc.d/init.d/httpdcp start

    FreeBSD:

    /usr/local/etc/rc.d/apachecp.sh start

  8. Start ImageMaker:
    Linux:

    # /hsphere/shared/SiteStudio/imaker.sh start >& /hsphere/shared/SiteStudio/var/error_log 2>&1 &

    FreeBSD:

    # /hsphere/shared/SiteStudio/imaker.sh start >& /hsphere/shared/SiteStudio/var/error_log &

  9. View Update screen:

    less update.sh.log



Copyright 1998-2008. Positive Software Corporation.
All rights reserved.