WebSphere Application Server Network Deployment, Version 6.1
             Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

             Personalize the table of contents and search results

Manually uninstalling on a Linux system

This procedure uninstalls a WebSphere Application Server product from a Linux system. After running the uninstaller program, manual steps remove log files and registry entries that can prevent you from reinstalling the product into the original directory. If you are not planning to reinstall, do not uninstall manually.

Before you begin

The uninstaller program removes all profiles by default, including all of the configuration data and applications in each profile. Before you start the uninstall procedure, back up the config folder, the installableApps folder, and the installedApps folder of each profile, if necessary, or use the -OPT removeProfilesOnUninstall="false" parameter on the uninstall command.The uninstaller program leaves all profiles, including all of the configuration data, applications, and other user data in each profile. Use the -OPT removeProfilesOnUninstall="true" parameter on the uninstall command to delete all of the data, or delete it manually at a later time, if you decide the data is unnecessary.See Using command line tools for a description of managing configuration files. Back up all applications that are not stored in another location.

Determine the installation root directory for the product so that you remove the correct product and produce a clean system.

About this task

Reinstalling the product into a new directory when files remain from a previous installation can create a coexistence scenario. However, you can delete all files and registry entries to completely remove a WebSphere Application Server product. A clean system lets you reinstall the product into the original directory without coexistence.

Default directories are shown in the following planning table:

Identifier Directory Actual location
app_server_root /opt/IBM/WebSphere/AppServer  
profile_root /opt/IBM/WebSphere/AppServer/profiles  
plugins_root /opt/IBM/WebSphere/Plugins  

The installation wizard and the Profile Management tool provide an override for your own locations for root directories.

Use the installRegistryUtils command to examine the installation locations for all installed WebSphere Application Server products.

Perform the following procedure to produce a clean system.

Procedure

  1. Log on as the same user ID who installed the product.
  2. Run the uninstaller program for the Web server plug-ins for WebSphere Application Server.

    If a Web server is configured to run with the application server, uninstall the plug-ins to remove the configuration from the Web server. See Uninstalling the Web server plug-ins for WebSphere Application Server.

  3. Use the kill command to kill all Java processes that are running.
    If running Java processes are not related to WebSphere Application Server products and it is not possible to stop them, stop all WebSphere Application Server product-related processes. Use the following command to determine all processes that are running:
    ps -ef | grep java
    Stop all WebSphere Application Server-related processes with thekill command.
    kill -9 java_pid_1 java_pid_2...java_pid_n
  4. Issue the uninstall command.

    If you have already run the uninstaller program or if you cannot run the uninstaller program, skip this step.

    app_server_root/uninstall/uninstall

    See the description of the uninstall command for more information.

    The Uninstaller wizard begins and displays the Welcome panel.

  5. Search for related packages.

    See Operating system registry keys for more information.

    Do not remove packages for WebSphere Application Server products that you are not uninstalling. Version 6.1 package names have a prefix of WSB or WSP and a suffix of 61. WSC package names do not have a suffix of 61.

  6. If there are packages to delete, type rpm -e packagename to remove any packages for the product that you are uninstalling.
    Alternatively, you can search for packages to verify that everything in the list is something to delete:
    rpm -qa | grep WS
    If there is a problem with package dependencies, you can use the following command to remove the packages:
    rpm -e packagename --nodeps --justdb
    

    The nodeps option skips the dependency check. The justdb option updates only the package database, and not the file system. Using only the nodeps option can cause a failure in package removal if there is any mismatch in the dependent file system (files and directories).

  7. Type rm -rf app_server_root to remove WebSphere Application Server directories in the app_server_root directory. Do not remove installation root directories for products that you intend to keep. Remove all of the profile directories as well.
  8. Edit the vpd.properties file.

    Do not delete or rename the vpd.properties file because the InstallShield MultiPlatform (ISMP) program uses it for other products that it installs. If the WebSphere Application Server product that you are uninstalling is the only product with entries in the vpd.properties file, you can delete this file.

  9. Use the installRegistryUtils command to examine the installation locations for all installed WebSphere Application Server products and remove the desired products from the install registry.

Results

This procedure results in having a clean system. You can reinstall into the same directories now. A clean system has no trace of a previously deleted installation.

What to do next

Go to Task overview: Installing to begin planning a new installation.




In this information ...


Related tasks
Related information

IBM Redbooks, demos, education, and more


Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

IBM Suggests
Task topic    

Terms of Use | Feedback

Last updated: Feb 25, 2009 9:32:38 AM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.nd.multiplatform.doc/info/ae/ae/tins_uninstallLinux.html