When Running an IBM HTTP SERVER silent installation we get the following error

com.ibm.ws.install.ni.ismp.actions.ISMPLogSuccessMessageAction, msg1, INSTCONFPARTIALSUCCESS

For example as seen in <user_root>/ihslogs/log.txt

(10-Mar-2015 19:49:57), Process, com.ibm.ws.install.ni.ismp.actions.InstallNIFPackage, msg1, Running configuration command: GSKitPostInstall, percent complete: 100%
(10-Mar-2015 19:49:57), Process, com.ibm.ws.install.ni.ismp.installtoolkitbridge.ISMPInstallToolkitBridgeForNIFramework, wrn, Config action failed: CallPostinst – /var/apps/ihs7/properties/version/nif/config/install/CallPostinst.ant
(10-Mar-2015 19:49:57), Process, com.ibm.ws.install.ni.ismp.installtoolkitbridge.ISMPInstallToolkitBridgeForNIFramework, wrn, Config action failed: SetupAdm – /var/apps/ihs7/properties/version/nif/config/install/SetupAdm.ant
(10-Mar-2015 19:49:57), Process, com.installshield.wizardx.conditions.PlatformWizardBeanCondition, dbg.platform, target platform: name=”Linux” version=”3.10.0-123.13.2.el7.x86_64″ arch=”amd64″
(10-Mar-2015 19:49:57), Process, com.installshield.wizardx.conditions.PlatformWizardBeanCondition, dbg.platform, condition platform: name=”Windows .*” version=”.” arch=”.”
(10-Mar-2015 19:49:57), Process, com.installshield.wizardx.conditions.PlatformWizardBeanCondition, dbg.platform, target platform: name=”Linux” version=”3.10.0-123.13.2.el7.x86_64″ arch=”amd64″

(10-Mar-2015 19:49:57), Process, com.installshield.wizardx.conditions.PlatformWizardBeanCondition, dbg.platform, condition platform: name=”Windows .*” version=”.” arch=”.”

(10-Mar-2015 19:49:57), Process, com.ibm.ws.install.ihs.ismp.actions.ExecWizardActionFromDirectory, err, java.io.IOException: Cannot run program “/var/apps/ihs7/bin/htpasswd” (in directory “/var/apps/ihs7”): java.io.IOException: error=2, No such file or directory

STACK_TRACE: 15

java.io.IOException: Cannot run program “/var/apps/ihs7/bin/htpasswd” (in directory “/var/apps/ihs7”): 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.Throwable.<init>(Throwable.java:67)

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

 

(10-Mar-2015 19:49:57), Process, com.installshield.wizardx.conditions.PlatformWizardBeanCondition, dbg.platform, target platform: name=”Linux” version=”3.10.0-123.13.2.el7.x86_64″ arch=”amd64″

(10-Mar-2015 19:49:57), Process, com.installshield.wizardx.conditions.PlatformWizardBeanCondition, dbg.platform, condition platform: name=”Windows .*” version=”.” arch=”.”

(10-Mar-2015 19:49:57), Process, com.installshield.wizardx.conditions.PlatformWizardBeanCondition, dbg.platform, target platform: name=”Linux” version=”3.10.0-123.13.2.el7.x86_64″ arch=”amd64″

(10-Mar-2015 19:49:57), Process, com.installshield.wizardx.conditions.PlatformWizardBeanCondition, dbg.platform, condition platform: name=”Windows .*” version=”.” arch=”.”

(10-Mar-2015 19:49:57), Process, com.ibm.ws.install.ni.ismp.actions.SettleNIFRegistryAction, msg1, Current install/uninstall process is successful. Process type is: install

(10-Mar-2015 19:49:57), Process, com.ibm.ws.install.ni.ismp.actions.SetExitCodeAction, msg1, CWUPI0000I: EXITCODE=2

(10-Mar-2015 19:49:57), Process, com.ibm.ws.install.ni.ismp.actions.ISMPLogSuccessMessageAction, msg1, INSTCONFPARTIALSUCCESS


 

Reason:

In the response file the following was set as follows:

-OPT createAdminUserGroup=true-OPT setupAdminUser=”ihs”-OPT setupAdminGroup=”ihs”

 

We asked the installer to create users and groups, and this was not a good idea as it threw a strop. Just create the ihs user and ihs group manually first before you start the installation, as you would do in an enterprise.

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

OR, it could be a host file issue

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

OR, once scenario is that you have a Linux dependency issue. By issuing the command the installer was trying to run manually, we get this error:

/var/apps/ihs7/bin/htpasswd

Result:
-bash: /var/apps/ihs7/bin/htpasswd: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

Solution:

Run: yum install ld-linux.so.2

 

OR

 

In the response file edit these options as follows:

-OPT runSetupAdmin=”false”
-OPT createAdminUserGroup=false
-OPT setupAdminUser=”ihs”
-OPT setupAdminGroup=”ihs”

What this means is don’t run the permission settings and don;t create the unix user:groups, because runSetupAdmin is set to false, the three other commands are ignored. They are a bit confusing, but there is a logic of use depending on need

Facebooktwittergoogle_plusredditpinterestlinkedinmail

Leave a Reply