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.

See Uninstalling the product for more information.

The command file is in the app_server_root\_uninst directory.

The command file is named:
  • [AIX] [HP-UX] [Linux] [Solaris] uninstall
  • [Windows] uninstall.exe
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
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 one optional parameter, which starts the Uninstaller wizard.
  • [AIX] [HP-UX] [Linux] [Solaris] Issue the uninstall command to start the Uninstaller wizard and display the graphical user interface:
    app_server_root/_uninst/uninstall
    
  • [AIX] [HP-UX] [Linux] [Solaris] Issue the uninstall -silent command to start the Uninstaller wizard in silent mode, without the graphical user interface:
    app_server_root/_uninst/uninstall -silent
  • [Windows] Run the uninstaller program in the installation root of the product that you intend to uninstall. Issue a fully qualified command or change directories to the app_server_root\_uninst directory and issue the uninstall command.

    Issue the uninstall.exe command to start the Uninstaller wizard and display the graphical user interface:

    cd app_server_root\_uninst
    
    uninstall.exe
    Issue the uninstall -silent command to start the Uninstaller wizard in silent mode, without the graphical user interface:
    cd app_server_root\_uninst
    
    uninstall.exe -silent

Logging

Examine the app_server_root/logs/uninstlog.txt file.

The log file records file system or other unusual errors. Look for the INSTCONFSUCCESS indicator of success in the log:
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
Uninstalling the product
Uninstalling manually
vpd.properties file
Reference topic    

Terms of Use | Feedback

Last updated: Aug 29, 2010 5:25:00 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=vela&product=was-base-dist&topic=rinsuninst
File name: rins_uninst.html