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

Posted by Unknown 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, com.ibm.ws.install.ihs.ismp.actions.ExecWizardActionFromDirectory, err, java.io.IOException: Cannot run program "/opt/IBM/HTTPServer/bin/htpasswd" (in directory "/opt/IBM/HTTPServer"): java.io.IOException: error=2, No such file or directory
STACK_TRACE: 14
java.io.IOException: Cannot run program "/opt/IBM/HTTPServer/bin/htpasswd" (in directory "/opt/IBM/HTTPServer"): java.io.IOException: error=2, No such file or directory
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:470)
    at java.lang.Runtime.exec(Runtime.java:604)
    at com.ibm.ws.install.ihs.ismp.actions.ExecWizardActionFromDirectory.executeProcess(ExecWizardActionFromDirectory.java:202)
    at com.ibm.ws.install.ihs.ismp.actions.ExecWizardActionFromDirectory.execute(ExecWizardActionFromDirectory.java:307)
    at com.installshield.wizard.StandardWizardListener.execute(StandardWizardListener.java:123)
    at com.installshield.wizard.StandardWizardListener.currentBeanChanged(StandardWizardListener.java:106)
    at com.installshield.wizard.Wizard$RunThread.run(Wizard.java:1569)
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
    at java.lang.UNIXProcess.<init>(UNIXProcess.java:197)
    at java.lang.ProcessImpl.start(ProcessImpl.java:101)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:463)
    ... 6 more

root@hari-centos-vm ihslogs]# /opt/IBM/HTTPServer/bin/htpasswd
bash: /opt/IBM/HTTPServer/bin/htpasswd: /lib/ld-linux.so.2: 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, com.ibm.ws.install.ni.ismp.actions.OSPrereqCheckAction, 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, com.ibm.ws.install.ni.ismp.actions.ISMPLogSuccessMessageAction, msg1, INSTCONFSUCCESS

Step 4: Installing IHS Fixpack 7.0.0.25


Download the IHS 7.0.0.25 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"
 

/update.sh -options responsefile.updiinstaller.txt -silent

/opt/IBM/HTTPServer/logs/update/7.0.0-WS-IHS-LinuxX64-FP0000025.install/updatelog.txt

(Dec 24, 2012 2:07:24 PM), Install, com.ibm.ws.install.ni.ismp.actions.ISMPLogSuccessMessageAction, msg1, INSTCONFSUCCESS


Reference:
http://www-01.ibm.com/support/docview.wss?uid=swg21459143

http://pic.dhe.ibm.com/infocenter/wchelp/v6r0m0/topic/com.ibm.commerce.admin.doc/tasks/tigupdisilentinstall.htm

5 comments: