IBM Http Server V7 instalaltion on CentOS 6 (or Redhat)

Posted by Hariharan Vadivelu on

Step 1: For 32 bit IHS installation we need to install following libraries

$yum install gtk2.i686
$yum install libXtst.i686

For record you will notice following error message if you proceed with installation without installing these libraries

Dec 24, 2012 12:24:20 PM), Process,, err, Cannot run program "/opt/IBM/HTTPServer/bin/htpasswd" (in directory "/opt/IBM/HTTPServer"): error=2, No such file or directory
STACK_TRACE: 14 Cannot run program "/opt/IBM/HTTPServer/bin/htpasswd" (in directory "/opt/IBM/HTTPServer"): error=2, No such file or directory
    at java.lang.ProcessBuilder.start(
    at java.lang.Runtime.exec(
    at com.installshield.wizard.StandardWizardListener.execute(
    at com.installshield.wizard.StandardWizardListener.currentBeanChanged(
    at com.installshield.wizard.Wizard$
Caused by: error=2, No such file or directory
    at java.lang.UNIXProcess.<init>(
    at java.lang.ProcessImpl.start(
    at java.lang.ProcessBuilder.start(
    ... 6 more

root@hari-centos-vm ihslogs]# /opt/IBM/HTTPServer/bin/htpasswd
bash: /opt/IBM/HTTPServer/bin/htpasswd: /lib/ bad ELF interpreter: No such file or directory

Step 2: Installing IBM IHS Version 7

Create a responsefile for silent install, we can start with the OOB response file
Copy responsefile.txt from IHS folder to a working folder and make changes as per your OS.

-OPT silentInstallLicenseAcceptance="true"
-OPT installLocation="/opt/IBM/HTTPServer"
-OPT createAdminAuth="false"
-OPT adminAuthUser="username"
-OPT adminAuthPassword="password"
-OPT adminAuthPasswordConfirm="password"
-OPT disableOSPrereqChecking="true"

If we don't set disableOSPrereqChecking="true" then the installation will fail with following error message
(Dec 24, 2012 12:17:21 PM), Process,, err, System Prerequisites Check

Warning: A supported operating system was not detected.

Support for your operating system might have been added after the release of the product. See the WebSphere Application Server detailed system requirements Web pages for more information about supported operating systems. You can continue with the installation, but the installation or product operation might not succeed without applying maintenance. Go to the product support Web pages to obtain the latest maintenance packages to apply after installation.

Step 3: Installing IBM Update Installer Version 7

Prepare  responsefile.updiinstaller.txt for silent install, we can start by editing OOB file located at updi_tempdir/UpdateInstaller

-OPT silentInstallLicenseAcceptance="true"
-OPT installLocation="/opt/IBM/WebSphere/UpdateInstaller"

-OPT disableOSPrereqChecking="true"  

./install -options responsefile.updiinstaller.txt -silent

Validate install by reviewing /opt/IBM/WebSphere/UpdateInstaller/logs/install/log.txt

(Dec 24, 2012 1:49:20 PM), Install,, msg1, INSTCONFSUCCESS

Step 4: Installing IHS Fixpack

Download the IHS fix pack and extract it to /opt/IBM/WebSphere/UpdateInstaller/maintenance
Create a silent install file with following entries

-W maintenance.package="/opt/IBM/WebSphere/UpdateInstaller/maintenance/7.0.0-WS-IHS-LinuxX64-FP0000025.pak"
-W product.location=/opt/IBM/HTTPServer
-W update.type="install"

/ -options responsefile.updiinstaller.txt -silent


(Dec 24, 2012 2:07:24 PM), Install,, msg1, INSTCONFSUCCESS



  1. Hari, DO you have any solution for this error on Solaris Cannot run program "/opt/IBM/HTTPServer/bin/htpasswd" (in directory "/opt/IBM/HTTPServer"): error=2, No such file or directory

  2. I got some important info here.

  3. Thanks to Hariharan Vadivelu!! I had a problem nstalling IBM Update Installer Version 7.
    Here I got the solution.

  4. It was very nice blog to learn about SAP HR.Thanks for sharing new things.SAP HR

  5. Are you searching for SAP Hybris Online Training from certified professional expert ?