Uninstalling runtime components in console mode

Remove the runtime components in console mode.

Always use the WebSphere® Message Broker uninstall wizard to remove product components, unless otherwise stated. Do not use the uninstallation program that is provided by the operating system; for example, geninstall on AIX®, or swremove on HP-UX.

On HP-UX Version 11.23, and on Linux® on POWER™, a known restriction prevents the creation of the uninstall wizard. If this situation occurs, use the alternative command specified in these instructions. Also check the readme.html file to ensure that no additional operating systems are affected by this restriction.

For information about console mode and alternative modes available, see Modes of installation and uninstallation.

To start the uninstaller in console mode, complete the following steps:

  1. Stop all running processes that use any part of WebSphere Message Broker (brokers, Configuration Manager, and the User Name Server) before you uninstall. Use the mqsilist (list resources) command to check which components are running. Stop each component using the mqsistop command.
  2. On Windows and Linux on x86, end any active sessions of the Message Brokers Toolkit.
  3. If you do not plan to reinstall on this computer, delete all the brokers (mqsideletebroker command), Configuration Managers (mqsideleteconfigmgr command), and User Name Servers (mqsideleteusernameserver command) that are associated with this installation. When you delete a component, all its associated data and resources are deleted; if you want to retain component data, do not delete that component.
  4. If you have created DB2® or Derby databases on Windows with the mqsicreatedb command, delete them with the mqsideletedb command. If you delete the last database, the Database Instance Manager is also deleted (the Database Instance Manager controls all appropriate databases in a single system; if you have another installation, this component might not be deleted if databases associated with the other installation remain). Databases created by the Default Configuration wizard can also be deleted in this way.
  5. Run the uninstallation program from outside the installation directory, specifying the full path to ensure that the folders are removed during uninstallation.
    • On HP-UX systems that are running Version 11.23 only, and on Linux on POWER systems:
      /install_dir/_uninst_runtime_jvm/jre/bin/java -jar /install_dir/_uninst_runtime/uninstall.jar -console
    • On all other operating systems:
      install_dir/_uninst_runtime/uninstaller -console
    where install_dir is the home directory of your WebSphere Message Broker installation.

    If you accepted the default location during installation, this directory is as follows:

    • On Windows, C:\Program Files\IBM\MQSI\6.0
    • On AIX, HP-UX, and Solaris, /opt/IBM/mqsi/6.0
    • On Linux, /opt/ibm/mqsi/6.0
  6. When started, the uninstaller presents text-based screens on the console. Navigate between these screens using the following options:
    • 1 next
    • 2 previous
    • 3 cancel
    • 4 redisplay
    The uninstaller asks you to confirm that you want to uninstall the product and that the location it is uninstalling from is correct. When you have responded to these questions, the uninstallation starts.
Related tasks
Uninstalling runtime components in graphical mode
Uninstalling runtime components in silent mode
Uninstalling runtime components in console mode
Related reference
mqsideletebroker command
mqsideleteusernameserver command
mqsilist (list resources) command
mqsistop command
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2009Copyright IBM Corporation 1999, 2009.
Last updated : 2009-01-07 15:22:05

ah18860_