Uninstalling manually on Linux

If the uninstallation program is not present or a stopped installation did not create a complete and functional uninstallation program, you can manually uninstall IBM® WebSphere® Portal Express®.

Before you begin

If you are uninstalling as a non-root user, verify that all product directories and files have the correct permissions. If not, set their permissions to the non-root user.

About this task

Complete the following steps to manually uninstall WebSphere Portal Express:

Procedure

  1. If you are uninstalling as a non-root user, verify that all product directories and files have the correct permissions. If not, set their permissions to the non-root user.
  2. Run the following tasks to stop the servers:
    • ./stopServer.sh WebSphere_Portal -username admin_userid -password admin_password, from the wp_profile_root/bin directory
    • ./stopServer.sh server1 -profileName cw_profile -username admin_userid -password admin_password, from the AppServer_root/bin directory
  3. Verify that there are no other installations or uninstallations running.
  4. Complete the following steps to manually uninstall DB2®:
    1. Read Uninstalling your DB2 product (Linux and UNIX) for information on how to manually uninstall DB2.
    2. Optional: Complete the following steps to remove the DB2 user accounts and corresponding directories:
      1. Run the userdel -r user1; userdel -r user2 command to delete users.
      2. Run the groupdel group1; groupdel group2 command to delete groups.
      3. Run the rm -Rf /var/db2 command to delete the DB2 registry on the machine.
      4. Run the rpm -e gsk7bas command to delete the gsk installed with DB2.
  5. Uninstall WebSphere Application Server; if you need to manually uninstall it, refer to Uninstalling manually.
  6. Delete the PortalServer_root directory tree and the wp_profile_root directory tree.
  7. Optional: After uninstalling WebSphere Portal Express and WebSphere Application Server, you can also delete Installation Manager. Run the ./uninstall command, located in the ibm/InstallationManager/uninstall directory.