Patches & Updates Apache 1.3.33-4 Update



06 Apr 2005

H-Sphere versions:   All

This update introduces the following changes:

Server Apache Package What's included
CP hsphere-cpanel-apache-1.3.33-1 Apache updated to 1.3.33
Web&Mail hsphere-apache-webbox-1.3.33-4
  • Apache updated to 1.3.33
  • PHP 4.3.11 that fixes a critical PHP vulnerability.
  • Included the missing 'icons' directory with file type icons in index pages.
  • Fix of the rotatelogpsoft2 utility problem that arises when the system clock starts showing incorrect time.
  • Resolved some vulnerability issues with wrong permissions.
  
NOTE:
Having fixed the rotatelogpsoft2 utility problem, we also recommend you to automatically adjust time on all your servers. This will prevent possible problems with billing, correct rendering of your logs, performing online payments via Merchant Gateways etc.

Requirements

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

- hsphere-webmails-1-6 for H-Sphere 2.4.1 and up (or else mail servers will be skipped)
- The latest OpenSSL for all versions of H-Sphere. Install it as per OpenSSL documentation.

Custom PHP: If you have custom php modules installed on H-Sphere WEB boxes, don't forget to back them up before upgrading the software. After the upgrade, set them back up and restart the service.

If you are using Zend Optimizer or other optimizers, you will need to upgrade them to new version after upgrading PHP.

Procedure

The procedure is performed on the CP server and updates the CP, web, and mail servers automatically.

  1. Log into your control panel server as root:

    su -

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

    wget http://www.psoft.net/shiv/HS/u-apache-1.3.33-4.tgz

    FreeBSD:

    fetch http://www.psoft.net/shiv/HS/u-apache-1.3.33-4.tgz

  3. Unpack the archive:

    tar -zxf u-apache-1.3.33-4.tgz

  4. Enter the unpacked directory:

    cd u-apache-1.3.33-4

  5. Stop H-Sphere:
    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

  7. Start H-Sphere:
    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 &



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