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

Manually uninstalling on an AIX system

Uninstall a WebSphere Application Server product from an AIX system by running the uninstaller program and performing some manual steps to remove log files and registry entries. Such registry entries can prevent you from reinstalling the product into the original directory. If you are not planning to reinstall, you do not have to uninstall manually.

Before you begin

Why and when to perform this task

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

Steps for this task

  1. List WebSphere Application Server components that are installed.
    Type the following command to search for related packages:
    lslpp -l| grep -i WS 
  2. Use the geninstall command to remove registry information for each component that displays in the list.
    For example, issue the follow command to display packages with a prefix of WS:
    lslpp -l | grep -i WS

    The system displays the list of matching packages:

    WSBAA60CoreRuntime         6.0.0.0  COMMITTED  Installs the core product run

    The system displays the list of matching packages:

    Issue the follow command to remove the registry entry:

    geninstall -u WSBAA60CoreRuntime
  3. Change directories to the /usr/IBM directory.
  4. Type rm -rf WebSphere to delete this WebSphere Application Server-related directory, but only if the AppServer directory is the only directory within the WebSphere directory. Delete the directory if the only products contained in the directory are products that you intend to delete.
  5. Edit the .WASRegistry file.

    The file location is the home directory, ~/.WASRegistry.

    /usr/IBM/WebSphere/AppServer
    /usr/IBM/ND/AppServer
    /usr/ExpressV6x/IBM/WebSphere/AppServer
    /usr/ND/IBM/WebSphere/AppServer
    /usr/Express/IBM/WebSphere/AppServer
  6. Edit the vpd.properties file.

    The file is located in the root directory or in the /usr/lib/objrepos directory.

    Do not delete or rename the vpd.properties file because the InstallShield for MultiPlatforms (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.

    At this point, it should be possible to reinstall WebSphere Application Server. If not, run the odmclean.sh and aixclean.sh scripts as described in the next step.

  7. Run the odmclean.sh and aixclean.sh scripts.

    Do not run the aixclean.sh script if the WebSphere MQ product is installed.

    1. Obtain the scripts from the technote document titled, Manual uninstall On AIX requires odmclean.sh and aixclean.sh on the WebSphere Application Server Support site.
    2. Edit the odmclean.sh script and replace every instance of the string /usr/WebSphere/AppServer with the actual installation root directory.
    3. Run the aixclean.sh script from the command line:
      ./aixclean.sh
    4. Run the odmclean.sh script from the command line:
      ./odmclean.sh

Result

Example of displaying package names beginning with WS, for WebSphere Application Server-related products

==> lslpp -l | grep WS

WSBAA60                    6.0.0.0  COMMITTED  ISMP installed entry
WSBAA60AddBytesNonHP       6.0.0.0  COMMITTED  ISMP installed entry
WSBAA60CoreRuntime         6.0.0.0  COMMITTED  Installs the core product run
WSBAA60CoreRuntimeComponent
WSBAA60Javadocs            6.0.0.0  COMMITTED  Installs the public Java API
WSBAA60JavadocsComponent   6.0.0.0  COMMITTED  ISMP installed entry
WSBAA60License             6.0.0.0  COMMITTED  ISMP installed entry
WSBAA60LicenseComponent    0.0.0.0  COMMITTED  ISMP installed entry
WSBAA60LicensingComponent  0.0.0.0  COMMITTED  This bean will work with the
WSBAA60Samples             6.0.0.0  COMMITTED  Includes Samples with source
WSBAA60SamplesComponent    6.0.0.0  COMMITTED  ISMP installed entry...
WSPAA60                    6.0.0.0  COMMITTED  ISMP installed entry...
WSPAA60DefineglobalconstantsComponent 6.0.0.0  COMMITTED  ISMP installed entry...
WSPAA60DefinelocalvariablesComponent  6.0.0.0  COMMITTED  ISMP installed entry...
WSPAA60LicensingComponent 6.0.0.0  COMMITTED  ISMP installed entry...
WSPAA60Webserverplugins   6.0.0.0  COMMITTED  ISMP installed entry...
WSPAA60WebserverpluginsComponent      6.0.0.0  COMMITTED  ISMP installed entry...
WSPAA60AddBytes           6.0.0.0  COMMITTED  ISMP installed entry...
WSPAA60gskit              6.0.0.0  COMMITTED  ISMP installed entry...
WSPAA60gskitComponent     6.0.0.0  COMMITTED  ISMP installed entry...

What to do next




Related tasks
Uninstalling manually

Task topic    

Terms of Use | Feedback

Last updated: Dec 11, 2005 4:07:15 PM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/tins_uninstallUnix.html

© Copyright IBM Corporation 2004, 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)