Date Created: Tue 27-Jan-2009

Related Document Categories:


    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

Middleware Mentor - Steven Charles Robinson

About Me

Steve Robinson has been working in IT for over 15 years and has provided solutions for many large-enterprise corporate companies across the world. Steve specialises in Java and Middleware consulting. Steve comes from both an administration and development background.

Before moving to JEE, Steve was an accomplished developer and consultant for both IBM Lotus Notes and Microsoft .NET Technologies.

Follow Steve as @stevencrobinson on twitter.

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

Oracle WebLogic Categories

JBoss Categories

Other Categories