Date Created: Tue 27-Jan-2009

Related Document Categories:

Get my WebSphere Application Server course here >> http://www.themiddlewareshop.com/products/


Problem with WebSphere 7 silent installer

When using the following command to run a silent installation on Linux you get the following error:

./install -options "responsefile.txt" -silent
./install: line 436: [: -ge: unary operator expected


Solution:
Using vi go to the line number i.e. 435 and edit as required. The installer is most probably doing an OS version check. Comment it out e.g.
look for the line:version=${release%%\.*}

change to: version=5

Save the install script. This will force the installer to think the Linux OS is at the correct version.

-----------------------

./install -help
Function:
Installs the WebSphere product.

Syntax:
install <argument>

Example:
install -is:javaconsole

The available arguments are:
-is:javahome JAVA_HOME_DIRECTORY Change java home path
-is:javaconsole Redirect output to java console
-is:tempdir TEMP_DIRECTORY Change temp directory path
-is:log LOG_FILE Log JVM Search
WEBSPHERE_JVM_PARAMS="{JVMPARAMETERS} [JVMPARAMETERS]" Specify other JVM parameters for install

Note: Command-line arguments are case sensitive.
Note: For detailed help on an argument enter:
install -<argument> -help

Get my WebSphere Application Server course here >> http://www.themiddlewareshop.com/products/


Steve Robinson - IBM Champion 2013

About Me

Steve Robinson has been working in IT for over 20 years and has provided solutions for many large-enterprise corporate companies across the world. Steve specialises in Java and Middleware.

In January 2013, I was awarded the prestigous 'IBM Champion' accolade.


  • Linked In
  • Twitter
  • About Me
  • My Blog
  • Contact Me

Read my books?

IBM WebSphere Application Server 8.0 Administration Guide

IBM WebSphere Application Server 8.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Categories

Other Categories