[AIX HP-UX Linux Solaris Windows]This topic applies only on the i5/OS operating system.

uninstall command

The uninstall command uninstalls the product. When you uninstall the product, the uninstaller program removes the core product files and all of the profiles. A silent parameter runs the wizard in silent mode without displaying the graphical user interface.

Purpose

This topic describes the command-line syntax for the uninstall command. Start the uninstall command module from the command line to uninstall the product.

Before you begin uninstalling the product

Manually stop all servers before uninstalling the product.

[AIX HP-UX Linux Solaris Windows] See Uninstalling the product for more information.

[iSeries] See Uninstalling the product on i5/OS for more information.

The command file is in the app_server_root\uninstall directory.

The command file is named:
  • [AIX] [HP-UX] [Linux] [Solaris] uninstall
  • [Windows] uninstall.exe
  • [iSeries] uninstall
All of the installable components in the product package use this command. If the command is not applicable for a component on a particular operating system, the N/A abbreviation is displayed in the following table. A command is not applicable if the component cannot be installed (or uninstalled) on the operating system.
Table 1. Component uninstall commands by operating system
Operating System WebSphere Application Server Application Client IBM HTTP Server Web Server Plug-ins Application Server Toolkit Edge Components Update Installer (UPDI)
AIX uninstall uninstall uninstall uninstall N/A uninstall uninstall
HP-UX uninstall uninstall uninstall uninstall N/A uninstall uninstall
i5/OS uninstall uninstall N/A uninstall N/A N/A uninstall
Linux uninstall uninstall uninstall uninstall uninstall uninstall uninstall
Solaris uninstall uninstall uninstall uninstall N/A uninstall uninstall
Windows uninstall uninstall uninstall uninstall uninstall uninstall uninstall

Parameters and syntax

This section describes the command syntax and the optional parameters for starting the Uninstaller wizard.
  • Issue the following command to start the Uninstaller wizard and the graphical user interface:
    Supported configurations [Windows 7] [Fix Pack 29 or later] Supported configurations: On the Microsoft Windows 7 and Windows Server 2008 R2 operating systems, you might encounter the following error message when you launch a graphical user interface to install or uninstall the product:
    The installer is unable to run in graphical mode. Try running the installer with the -console or -silent flag". This issue is specific to using Windows 7 or Windows Server 2008 R2.

    For more information, see the documentation about the problems using the graphical installation process.

    sptcfg
  • Issue the following command to start the Uninstaller wizard in silent mode, without the graphical user interface, and to remove all profiles:
  • Issue the following command to start the Uninstaller wizard in silent mode and to leave all profiles intact:
    • [AIX] [HP-UX] [Linux] [Solaris] app_server_root/uninstall/uninstall -silent -OPT removeProfilesOnUninstall="false"
    • [Windows] app_server_root\uninstall\uninstall -silent -OPT removeProfilesOnUninstall="false"
    • [iSeries] app_server_root/uninstall/uninstall -silent (default behavior)
    • [iSeries] app_server_root/uninstall/uninstall -silent -OPT removeProfilesOnUninstall="false"

[AIX HP-UX Linux Solaris Windows] Uninstalling WebSphere Application Server removes all the product libraries and directories. If you do not specify the option to keep all the profiles when you invoke the uninstall script, the profiles are removed. If you later decide that you do not need the profiles, you can manually remove them.

[iSeries] Uninstalling WebSphere Application Server from the iSeries server removes all the product libraries and directories. If you do not specify the option to delete all the profiles when you invoke the uninstall script, the user-defined information is not removed. If you later decide that you do not need the user-defined data, you can manually remove it.

Logging [AIX HP-UX Linux Solaris Windows]

Examine the app_server_root/logs/uninstall/log.txt file.

The log file records file system or other unusual errors. Look for the INSTCONFSUCCESS indicator of success in the log:
(date_time), 
Uninstall, com.ibm.ws.install.ni.ismp.actions.
SetExitCodeAction, msg1, 
CWUPI0000I: EXITCODE=0
(date_time), 
Uninstall, com.ibm.ws.install.ni.ismp.actions.
ISMPLogSuccessMessageAction, msg1, 
INSTCONFSUCCESS

Verify that there were no file system or other unusual errors while uninstalling. If there are problems, correct them, and uninstall manually before reinstalling the product. See Uninstalling manually.

After uninstalling WebSphere Application Server, delete the installation root directory before reinstalling into the same directory. Deleting the old directory avoids XML configurations that are not valid that result from retaining old files.




Related information
[AIX HP-UX Linux Solaris Windows] Uninstalling the product
[AIX HP-UX Linux Solaris Windows] Uninstalling manually
[AIX HP-UX Linux Solaris Windows] vpd.properties file
[iSeries] Uninstalling the product on i5/OS
[Windows 7] [Fix Pack 29 or later] Problems using the graphical installation process for WebSphere Application Server Version 6.1 on Windows 7 and Windows Server 2008 R2
Reference topic Reference topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 31, 2013 2:56:59 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-nd-dist&topic=rinsuninst
File name: rins_uninst.html