BEA Logo BEA MessageQ Release 5.0

  Corporate Info  |  News  |  Solutions  |  Products  |  Partners  |  Services  |  Events  |  Download  |  How To Buy

 

   MessageQ Doc Home   |   Installation and Configuration Guide for UNIX   |   Previous Topic   |   Next Topic   |   Contents   

Uninstalling MessageQ V3.x and V4.x

 

Perform the following steps to uninstall MessageQ V3.x or V4.x installations from your system:

  1. Determine if version 3.x or 4.x is installed. If you are unsure of whether or not you have a previous installation of BEA MessageQ installed, enter the following command:

    # ls -l /usr/bin/dmqqe

    If this file exists, then an older version of MessageQ is installed and you should proceed with these instructions.

  2. Log in as root. If you are not already logged in as root (superuser), do so now. You must be logged in as root in order to deinstall previous versions of MessageQ.

  3. Determine what MessageQ version and components are installed by issuing the following command:

    # setld -i | grep -i MessageQ

    The output will look something like this (the output and installed component names differ from machine to machine):

    # setld -i | grep -i MessageQ
    DMACL32B MessageQ Client Library
    DMACL40A installed MessageQ Client Library
    DMACLS32B MessageQ Client Library Server
    DMADEV32B MessageQ Development Environment
    DMADEV40A installed MessageQ Development Environment
    DMADOC40A installed MessageQ Online Documentation
    DMAEXA32B MessageQ Example Programs
    DMAEXA40A installed MessageQ Example Programs
    DMAINC40A installed MessageQ Include Files
    DMAMAN32B MessageQ Manual Reference Pages
    DMARLS32B MessageQ Release Notes
    DMARLS40A installed MessageQ Release Notes
    DMARTO32B MessageQ Run Time Environment
    DMARTO40A installed MessageQ Run Time Environment
    #

    If the setld command can not be found or setld did not find any installed components, issue the command from the /etc/ directory as follows:

    #/etc/setld -i | grep -i MessageQ

    If /etc/setld does not exist or /etc/setld did not find any installed components, call your BEA Systems support representative for additional help in removing the previous version of MessageQ. Note that if you do not remove versions of MessageQ prior to version V5.0, you may experience serious operational problems with your new installation.

  4. Remove the installed components. Issue either setld -d (or /etc/setld -d if /etc/setld was used in Step3) to remove the installed components. Notice in the example above that some components are installed and others are not installed; only remove the installed components. Using the example in Step 3, the command would look like this (split here into two calls to setld):

    #setld -d DMACL40A DMADEV40A DMADOC40A DMAEXA40A
    #setld -d DMAINC40A DMARLS40A DMARTO40A

    The output from this will look something like this:

    # setld -d DMACL40A DMADEV40A DMADOC40A DMAEXA40A

    Deleting "MessageQ Example Programs" (DMAEXA40A).

    Deleting "MessageQ Online Documentation" (DMADOC40A).

    Deleting "MessageQ Client Library" (DMACL40A).

    Deleting "MessageQ Development Environment" (DMADEV40A).
    # setld -d DMAINC40A DMARLS40A DMARTO40A

    Deleting "MessageQ Release Notes" (DMARLS40A).

    Deleting "MessageQ Run Time Environment" (DMARTO40A).

    Deleting "MessageQ Include Files" (DMAINC40A).
    #

  5. Confirm that the older version has been removed and that setld removed everything by re-issuing the setld -i (or /etc/setld -i) command:

    # setld -i | grep -i MessageQ
    DMACL32B MessageQ Client Library
    DMACL40A MessageQ Client Library
    DMACLS32B MessageQ Client Library Server
    DMADEV32B MessageQ Development Environment
    DMADEV40A MessageQ Development Environment
    DMADOC40A MessageQ Online Documentation
    DMAEXA32B MessageQ Example Programs
    DMAEXA40A MessageQ Example Programs
    DMAINC40A MessageQ Include Files
    DMAMAN32B MessageQ Manual Reference Pages
    DMARLS32B MessageQ Release Notes
    DMARLS40A MessageQ Release Notes
    DMARTO32B MessageQ Run Time Environment
    DMARTO40A MessageQ Run Time Environment
    #

    If nothing is marked as being "installed", you are done with setld. To be sure, look for installed files that may not have been removed by issuing the following command:

    # ls -l /usr/bin/dmq* /usr/lib/dmq*

    If all files have been removed, no files will be found by the command. If you can not remove all of the MessageQ components, contact you BEA Systems support representative for additional help.