Uninstalling on Linux

If you have a complete and functional uninstallation program, you can uninstall WebSphere Portal only or both WebSphere Portal and IBM WAS from the cluster.


Prepare to uninstall on Linux
Perform the following steps to uninstall WebSphere Portal using the uninstallation program:

  1. Ensure that you are logged in as the root user before performing the uninstallation task; this step is especially important if you operate WebSphere Portal with a non-root user.

  2. Run...


    s to stop the server1 and WebSphere_Portal servers from the profile_root/bin directory:

    1. ./stopServer.sh server1 -username admin_userid -password admin_password

    2. ./stopServer.sh WebSphere_Portal -username admin_userid -password admin_password

  3. Verify that there are no other installations or uninstallations running.

  4. Locate and delete the /tmp/portalinstall.lockfile file if present.

    The Portal installer creates the portalinstall.lockfile to prevent two installations or uninstallations from running simultaneously.

    This is a temporary file and ordinarily gets deleted when the installation or uninstallation successfully completes, but it may not get deleted during an aborted or crashed procedure. Until this file is deleted, it will not be possible to initiate another installation.

  5. Enter one of the following uninstallation commands:

    Option Description
    GUI PortalServer_root/uninstall/uninstall.sh
    Console mode PortalServer_root/uninstall/uninstall.sh -console
    Silent PortalServer_root/uninstall/uninstall.sh -options "path_to_file/response_filename", where path_to_file is the full path to the response file and response_filename is the name of the file. A sample uninstall response file (uninstallresponse.txt) are located in the setup CD root directory.

    Do not place the response file in a path that contains a space and do not put a space in the file name.

  6. Remove any remaining WebSphere Portal directories from your directory structure.

  7. Restart the machine, especially if you intend to reinstall WebSphere Portal on the same machine.

  8. Go to Deleting specific cluster members for information on how to delete a cluster member, if it exists, from the deployment manager.

  9. To delete the WebSphere Portal server, if it exists, from the deployment manager:

    1. Click Servers > Application Servers.

    2. Select the check box for the WebSphere Portal server you want to delete.

    3. Click Delete.

Parent topic:

Uninstalling from a cluster on Linux

Previous topic:

Prepare to uninstall on Linux