Uninstalling on HP-UX

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


Prerequisites

Prepare to uninstall on HP-UX
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...

      following

    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. Examine all running processes and kill any that contain the PortalServer_root/uninstall directory or restart the machine, especially if you intend to reinstall WebSphere Portal on the same machine.


Parent topic:

Uninstalling on HP-UX


Previous topic:

Prepare to uninstall on HP-UX


Related tasks


Uninstalling manually on HP-UX