Sun Java Communications Suite 5 Installation Guide

Chapter 9 Uninstalling Communications Suite Product Components

This chapter provides instructions for uninstalling Communications Suite product components that have been installed using the installer.

This chapter includes the following sections:

How the Uninstaller Works

Communications Suite provides an uninstallation program for removing product components that were installed on your system using the installer. Like the installer, you can run the uninstaller in graphical, text-based, or silent mode.

During installation, the installer places the uninstaller at the following location:


Note –

You can use the optional -no parameter to run the uninstaller without uninstalling any software. This option is useful for familiarizing yourself with the uninstaller and for creating a state file for a subsequent silent uninstallation.


Limitations of the Uninstaller

Like the installer, you can run the uninstaller in graphical, text-based, or silent mode.


Caution – Caution –

Do not use the uninstaller to remove Sun Cluster software unless Sun Cluster software was installed but never used to configure a cluster node. For more information, see Uninstalling Sun Cluster Software


Handling Interdependencies

The uninstaller might behave differently depending on which product components you installed and how they are interrelated.


Caution – Caution –

When uninstalling a product component, you must identify which products are configured for that product component (some additional configuration might be required). Otherwise, you could have product components on your system that are configured to support products that are no longer present.


The uninstaller does not recognize the following interdependencies:

Product Component Dependencies from Remote Hosts

Some product component dependencies can be satisfied with product components deployed on remote hosts. The uninstaller does not recognize these dependency relationships.

For example, if you uninstall Directory Server, the uninstaller does not warn you that Access Manager depends on Directory Server, even if both products are deployed on the same host. This is because another Directory Server instance on yet another host could support Access Manager.

Product Component Dependencies Resulting from Configuration

The uninstaller does not recognize a product component dependency that is the result of postinstallation configuration.

For example, suppose you install both Portal Server with the JES installer and Calendar Server with the Communications Suite installer on the same host, and then configure Portal Server to use Calendar Server for the Portal Server calendar channel. After this configuration, Portal Server depends on Calendar Server. However, if you then uninstall Calendar Server, the uninstaller does not warn you that Portal Server depends on Calendar Server because the uninstaller does not know about the postinstallation configuration.

Verifying Prerequisites

The following table lists the tasks that you should perform before uninstallation. Some of the tasks might not apply to your particular situation.

The left column lists the order in which you should perform the tasks and the right column contains other useful information and the location of instructions.

Table 9–1 Pre-uninstallation Checklist

Task Description 

Instructions or Helpful Information 

1. Review the needs and behaviors of each product component you are going to uninstall. 

Reviewing Uninstallation Behavior for Communications Suite Product Components

2. Identify product component dependencies that result from configuration and take appropriate measures, such as backing up data, unconfiguring the dependent product component from the supporting product component, or uninstalling the product components in the proper order. 

Handling Interdependencies

3. Make a copy of the product registry file. The backup copy is helpful in recovering from a failed uninstallation. 

Solaris OS: /var/sadm/install/productregistry

Linux: /var/opt/sun/install/productregistry

4. Back up or archive configuration or user data for product components you are uninstalling if you plan to reuse this data in subsequent installations. 

Reviewing Uninstallation Behavior for Communications Suite Product Components

5. Make sure the Directory Server instance that hosts the configuration directory is running. Note: In most cases, the web container and Directory Server should be running, while the other servers should be shut down before uninstalling. 

This Directory Server instance must be running so the uninstaller can unconfigure the product components you are uninstalling. 

6. If necessary, gather administrator access information for Directory Server and Access Manager. 

Granting Administrator Access for the Uninstaller

7. If uninstalling Access Manager, remove the schema before uninstallation. 

Use the following LDIF file to remove the schema: 

Solaris: /etc/opt/SUNWam/config/ds_remote_schema_uninstall.ldif

Linux: /etc/opt/sun/identity/config/ldif/ds_remote_schema_uninstall.ldif

8. If you are uninstalling Sun Cluster software, Sun Cluster Geographic software must be uninstalled first. 

 

Planning for Uninstallation

Before using the uninstaller, you should survey your installation and plan the steps you might have to take to prevent loss of data or loss of interdependency connections. It is important to understand how the various product components behave when they are uninstalled.

This section contains the following subsections:

Surveying Installed Communications Suite Software

Perform one of the following procedures to review the product component software that is already installed on each host.

ProcedureTo Use the Uninstaller for Viewing Installed Software

  1. As root, navigate to the directory where the uninstaller is located:

    • Solaris OS: /var/sadm/prod/SUNWcomm-entsys5

    • Linux: /var/sadm/prod/sun-comm-entsys5

  2. To survey the local system, run the uninstaller without uninstalling software.

    For graphical mode:


    ./uninstall -no

    For text-based mode:


    ./uninstall -no -nodisplay

    To see the full syntax for the uninstall command, refer to uninstall Command.

  3. Proceed through the uninstaller pages until you reach the list of installed products.

  4. After viewing the list of installed product components, exit the uninstaller.

    No software has been uninstalled.

ProcedureTo Use the Solaris prodreg Utility to View Installed Software

  1. You can use the prodreg utility to view information about all packages installed on your system, including Communications Suite product components.

    This information is useful when checking for product component dependencies. The prodreg utility also indicates packages that are incomplete and might need special handling. On the Solaris 10 and Solaris 9 operating systems, run the utility as follows:

    prodreg

    For more information, see the prodreg man page.

Reviewing Uninstallation Behavior for Communications Suite Product Components

Review the relevant tables in this section to see what the uninstaller does with Communications Suite product components. Plan the steps you might have to take to prevent loss of data or loss of interdependency connections.


Note –

In some cases, component files are left behind after uninstallation, which could cause a subsequent installation to fail. If this occurs, refer to Installation Fails Due to Leftover Files During Uninstallation for guidelines on resolution.


This section contains the following subsections:

Access Manager Uninstallation Behavior

Table 9–2 Access Manager Uninstallation Details

Topic 

Details 

Configuration Data 

No entries in Directory Server will be removed (including Access Manager specific data). 

Other Installations This Component Requires 

Directory Server 

Web container 

Products Requiring this Installation 

  • Calendar Server, when configured for single sign-on (SSO)

  • Instant Messaging, when configured for Portal Server, SSO

  • Messaging Server, when configured for SSO

  • Communications Express, when configured for SSO and when Schema 2 is used

Pre-Uninstallation Tasks 

Remove the schema using /etc/opt/SUNWam/config/ldif/ds_remote_schema_uninstall.ldif.

Post-Uninstallation Tasks 

Uninstallation unconfigures Access Manager from the web container for full installations on Web Server or Application Server only. It does not unconfigure Access Manager from third-party web containers. It also does not unconfigure SDK installations on any web container (such as, Web Server, Application Server, BEA WebLogic, IBM WebSphere). 

Additionally, remove the following files located in the directory /var/sadm/install if they exist:

.lockfile.pkg.lock

Application Server Uninstallation Behavior

Table 9–3 Application Server Uninstallation Details

Topic 

Details 

Configuration Data and User Data 

  • The default domain created during installation is removed during uninstallation.

  • User-created domains, including all administrative server and Application Server instances, are not removed during uninstallation.

  • All Administration Server and Application Server instances are stopped prior to the completion of uninstallation.

Other Installations This Component Requires 

Requires Message Queue on the same system. 

Products Requiring this Installation 

Components that are configured to use Application Server as web container: Access Manager, Communications Express, Delegated Administrator, Instant Messaging. 

Pre-Uninstallation Tasks 

To preserve configuration data, make a copy of the administration domain directories. 

Post-Uninstallation 

To completely remove Application Server from your system, remove any remaining Application Server log files and directories. Default locations for Application Server directories are: 

Solaris OS: 

/opt/SUNWappserver

/opt/SUNWappserver/appserver or ApplicationServer-base

Linux: 

/var/opt/sun/appserver

/opt/sun/appserver

Refer to Message Queue Uninstallation Behavior for information on Message Queue post-uninstallation tasks.

Calendar Server Uninstallation Behavior

Table 9–4 Calendar Server Uninstallation Details

Topic 

Details 

Configuration Data and User Data 

Configuration data and user data are not removed during uninstallation, and will be overwritten upon subsequent installation. 

Customizations to Calendar Server are removed during uninstallation. 

Other Installations This Component Requires 

  • Directory Server

  • Access Manager, when configured for single sign-on (SSO) or if you want to use Schema 2

  • Messaging Server (or some other mail server, for Calendar Server email notification service)

Products Requiring this Installation 

  • Communications Express

Pre-Uninstallation Tasks 

If you plan to reuse configuration data and user data, follow the migration process as described in the Sun Java System Calendar Server 6.3 Administration Guide.

Post-Uninstallation Tasks 

Remove any remaining log files and Calendar Server directories that are not needed. 

Communications Express Uninstallation Behavior

Table 9–5 Communications Express Uninstallation Details

Topic 

Details 

Configuration Data and User Data 

All configuration data, user data and UI customizations remain after uninstallation. 

Communications Express files are maintained in two locations: 

Package Installation by default: 

Solaris OS: /opt/SUNWuwc

Linux: /opt/sun/uwc

Application Deployment created by default during configuration: 

Solaris OS: /var/opt/SUNWuwc

Linux: /var/opt/sun/uwc

When you uninstall Communications Express, the uninstaller removes the data from only the package installation location. The data at application deployment location is still present. You can access the application from application deployment location. 

However, all configuration data and UI customizations will be overwritten during re-configuration. User data remains after re-configuration. 

Other Installations This Component Requires 

  • Application Server (if configured to run under Application Server)

  • Web Server (if configured to run under Web Server)

  • Access Manager (when configured for SSO)

  • Directory Server

  • Calendar Server

  • Messaging Server

Products Requiring this Installation 

None 

Pre-Uninstallation Tasks 

Undeploy Communications Express referring to the “Undeploying Communications Express” section in the Sun Java System Communications Express 6.3 Administration Guide.

Post-Uninstallation Tasks 

Remove any remaining log files and Communications Express directories that are not needed. 

Delegated Administrator Uninstallation Behavior

Table 9–6 Delegated Administrator Uninstallation Details

Topic 

Details 

Configuration Data 

Configuration data and user data are not removed during uninstallation. This data will be overwritten upon a subsequent installation. 

Customizations to Delegated Administrator are removed during uninstallation. 

Other Installations This Component Requires 

  • Directory Server

  • Access Manager

  • One of these web containers: Web Server or Application Server

Products Requiring this Installation 

None 

Pre-Uninstallation Tasks 

If you plan to reuse configuration data and user data, read Preserve an Existing Configuration in Sun Java System Delegated Administrator 6.4 Administration Guide.

Undeploy the Delegated Administrator web applications using the undeploy command for the web container. 

Post-Uninstallation Tasks 

Remove any remaining log files and Delegated Administrator directories that are not needed. 

Directory Proxy Server Uninstallation Behavior

Table 9–7 Directory Proxy Server Uninstallation Details

Topic 

Details 

Configuration data 

Configuration data for the instance of Directory Proxy Server you are uninstalling is removed during uninstallation. 

Shared configuration data between several instances of Directory Proxy Server remains after uninstallation. 

Directory Proxy Server has no user data. 

Other Installations This Component Requires 

Directory Proxy Server has a logical dependency upon the local or remote Directory Server . 

Products Requiring this Installation 

None 

Pre-Uninstallation Tasks 

None 

Post-Uninstallation Tasks 

None 

Directory Server Uninstallation Behavior

Table 9–8 Directory Server Uninstallation Details

Topic 

Details 

Configuration Data and User Data 

If you are uninstalling the Directory Server instance hosting user data, the Directory Server LDAP database is removed during uninstallation. 

Caution: To avoid loss of data, make sure to back up Directory Server information before uninstalling. Directory Server has several tools and utilities to backup Directory Server and migrate configuration data. Refer to Directory Server documentation for more information.

Other Installations This Component Requires 

None 

Products Requiring this Installation 

  • Calendar Server

  • Access Manager

  • Instant Messaging

  • Messaging Server

  • Communications Express

Pre-Uninstallation Tasks 

  • Back up the Directory Server LDAP database as needed.

  • Make sure you can provide the Directory Server instance path.

Post-Uninstallation Tasks 

If you subsequently install Directory Server to the same location, the installation directory must not exist. You might need to manually remove the installation directory and any custom configuration files before reinstalling to the same location. 

Instant Messaging Uninstallation Behavior

Table 9–9 Instant Messaging Uninstallation Details

Topic 

Details 

Configuration Data and User Data 

All configuration data remains after uninstallation, and can be reused upon a subsequent installation. 

Other Installations This Component Requires 

  • Directory Server

  • Access Manager SDK

  • Web container

Products Requiring this Installation 

Portal Server, when configured to use Instant Messaging channel 

Pre-Uninstallation Tasks 

Undeploy Instant Messaging modules from the web container. 

Post-Uninstallation Tasks 

None 

Messaging Server Uninstallation Behavior

Table 9–10 Messaging Server Uninstallation Details

Topic 

Details 

Configuration Data and User Data 

All configuration data and customizations remain after uninstallation, and can be reused upon subsequent installation. By default, this includes configuration files, logs, MTA queues, message store, and other read/write working files. 

Other Installations This Component Requires 

  • Directory Server

  • Web Server (for mailing functionality such as filters)

  • Access Manager (if using Schema 2)

  • Message Queue

Products Requiring this Installation 

  • Calendar Server

  • Portal Server, when configured with messaging channels

  • Communications Express, when messaging is used

Pre-Uninstallation Tasks 

None 

Post-Uninstallation Tasks 

Depending on your circumstances, you might have to perform post-uninstallation tasks as explained in Messaging Server Post-uninstallation

Message Queue Uninstallation Behavior

Table 9–11 Message Queue Uninstallation Details

Topic 

Details 

Configuration Data 

Instance-specific configuration data, user repository and access control file remains after uninstallation, and can be reused upon subsequent reinstallation. 

Other Installations This Component Requires 

Directory Server (optional) 

Products Requiring This Installation 

Application Server (must reside on same host as Message Queue) 

Messaging Server 

Pre-Uninstallation Tasks 

  • Stop any running brokers. You will be prompted for user name (admin) and password:imqcmd shutdown bkr [-b hostName:port]

  • If you are not planning to reinstall Message Queue and therefore want to delete dynamic data, the flat-file user repository, and the access control file associated with each broker instance, remove this data using the following command. imqbrokerd -name instanceName -remove instance

  • If you upgrade Message Queue using the Message Queue upgrade script, make a note of your process. The upgrade script does not write install information to the Communications Suite registry. More information may be found in the Sun Java Enterprise System 2006Q3 Upgrade Guide.

Post-Uninstallation Tasks 

If you are not planning to reinstall Message Queue, use the commands in the product component documentation to clean up your system.  

Monitoring Console Uninstallation Behavior

For information on Monitoring Console uninstallation behavior, refer to the Sun Java Enterprise System 5 Installation Guide for UNIX.

Sun Cluster Software and Sun Cluster Geographic Edition Uninstallation Behavior

Table 9–12 Sun Cluster and Sun Cluster Geographic Edition Uninstallation Details

Topic 

Details 

Configuration Data 

Do not use the uninstaller to remove Sun Cluster software, except to remove software that was installed but never used to configure a cluster node. For more information, refer to Uninstalling Sun Cluster Software.

Other Installations This Component Requires 

Sun Cluster core and agents for Sun Cluster must be removed together. 

Sun Cluster Geographic Edition software must be removed on every host that contains Sun Cluster Geographic Edition components. For more information, refer to Chapter 5, Uninstalling the Sun Cluster Geographic Edition Software, in Sun Cluster Geographic Edition Installation Guide.

Products Requiring This Installation 

None 

Pre-Uninstallation Tasks 

Sun Cluster software should only be uninstalled using the utilities provided with your Sun Cluster installation. Sun Cluster Geographic Edition must be removed before Sun Cluster software is removed. 

Post-Uninstallation Tasks 

You might need to update the productregistry file after uninstalling Sun Cluster software. For more information, refer to Uninstalling Sun Cluster Software.

Web Proxy Server Uninstallation Behavior

Table 9–13 Web Proxy Server Uninstallation Details

Topic 

Details 

Configuration Data 

Only the certificate database files in the alias directory under the installation location are preserved. All other files are removed. 

Dependencies 

Directory Server (optional) if external LDAP access control has been selected. 

Pre-Uninstallation Tasks 

Stop all instances of Web Proxy Server. 

Post-Uninstallation Tasks 

The certificate database is preserved under the WebProxyServer-base/alias directory. You need to move the certificate database and delete the old installation directory before reinstalling.

Web Server Uninstallation Behavior

Table 9–14 Web Server Uninstallation Details

Topic 

Details 

Configuration Data and User Data 

  • User data is not removed during uninstallation but configuration data is removed.

  • The Web Server administrative server instance and configured Web Server instance directories are removed. The initially-configured document root directory is preserved.

  • Web Server administrative server and Web Server instances are stopped prior to the completion of the uninstallation.

Other Installations This Component Requires 

None 

Products Requiring this Installation 

Components that can be configured to use Web Server as web container: Access Manager, Communications Express, Delegated Administrator, and Instant Messaging.. Also Application Server Load Balancing Plugin (if Application Server uses Web Server as its web container). 

Pre-Uninstallation Tasks 

Make sure you can provide the administrator password for the web container. 

Post-Uninstallation Tasks 

To preserve configuration data, back up the Administrative Server and Web Server instance directories under the installation location. 

If you subsequently install Web Server to the same location, the installation directory must not exist. You might need to manually remove the installation directory and any custom configuration files before reinstalling to the same location. 

Granting Administrator Access for the Uninstaller

Depending on the product components you choose to uninstall, you might need to grant the uninstaller administrator access to Access Manager and Directory Server.

The following table describes the information that the uninstaller needs for granting administrator access. The left column of each table lists the graphical mode labels and state file parameters for the information you must provide. The right column describes the information.

Table 9–15 Required Administration Information

Label and State File Parameter 

Description 

Access Manager

 

Administrator User ID 

IS_IAS81_ADMIN

User ID of the Application Server administrator. 

Administrator Password 

IS_IAS81_ADMINPASSWD

Password of the Application Server administrator. 

Directory Manager DN 

IS_DIRMGRDN

Distinguished Name (DN) of the user who has unrestricted access to Directory Server. 

Default value is cn=Directory Manager.

Directory Manager Password 

IS_DIRMGRPASSWD

Password of the Directory Manager. 

Directory Server

 

Administrator User ID 

CONFIG_DIR_ADM_USER

User with administrator privileges for the configuration directory. This user can modify Directory Server configuration, including creating and removing suffixes. Access control restrictions apply. 

Administrator Password 

CONFIG_DIR_ADM_PASSWD

Password for the Administrator. 

Running the Uninstaller

After you have completed the relevant tasks in Verifying Prerequisites, you are ready to run the uninstaller. This section contains information on the three ways in which the uninstaller can be used.

Information on syntax of the uninstall command can be found in Appendix F, Installation Commands.

Running the Uninstaller in Graphical Mode

This section provides instructions for using the interactive graphical interface to uninstall the product components.

ProcedureTo Start the Graphical Uninstaller

  1. (Optional) Provide access to your local display.

    If you are logging in to a remote machine, make sure your DISPLAY environment variable is properly set to the local display. If the DISPLAY variable is not set properly, the installer runs in text-based mode.

    • Example for C Shell (machine name myhost):


      setenv DISPLAY myhost:0.0
    • Example for Korn Shell (machine name myhost):


      DISPLAY=myhost:0.0

      You might need to grant display authorization to run the installer on your local display. For example, you can use the following command to grant display authority from myhost to the root user on serverhost:


      myhost\> xauth extract - myhost:0.0|rsh -l root serverhost xauth merge -

    Note –

    For full instructions on granting such authorization safely, refer to the “Manipulating Access to the Server” chapter in the Solaris X Window System Developer's Guide.


  2. If you are not logged in as root, become superuser.

  3. Navigate to the directory where the uninstaller is located:

    • Solaris OS: /var/sadm/prod/SUNWcomm-entsys5

    • Linux: /var/sadm/prod/sun-comm-entsys5

  4. Start the graphical uninstaller:


    ./uninstall

    The Welcome page is displayed.

  5. Click Next to proceed.

    The Select Components page is displayed.

ProcedureTo Select Product Components to Uninstall

  1. Examine the product components and select those you want to uninstall.

    • Product components that are installed on your system are enabled and can be selected. Product components that are not installed on your system are disabled and cannot be selected.

    • Some product components contain subcomponents. Expand the product components to view the subcomponents.

    • If you deselect a product component that contains subcomponents, expand the product component to verify the subcomponent list.

  2. After you are satisfied with your selections, click Next.

  3. If the uninstaller detects any recognizable product component dependencies, or potential loss of configuration data among the products selected, a warning is displayed. Your choices are:

    1. Click Continue to continue with uninstallation.

    2. Click Close to return to the Component Selection page.

  4. If unconfigure pages are displayed, enter the information requested for the product component.

ProcedureTo Grant Administrator Access

Depending on the product components you selected for removal, the uninstaller prompts you for administrator IDs and passwords. For details on the information you must provide the uninstaller, refer to Granting Administrator Access for the Uninstaller.


Note –

In addition, the uninstaller might also prompt you for a port number or a host name.


  1. Provide the required administrator information.

  2. Click Next to proceed to the Ready To Uninstall page.

ProcedureTo Uninstall Software

Before removing software from your system, the uninstaller lists the product components you have selected for removal and the total disk space that will be reclaimed.

  1. Review the uninstallation selections you have made.

    1. If changes are needed, click Back through successive pages until the Component Selection page is displayed.

    2. Make changes as needed on the Component Selection page.

    3. Click Next to proceed again through the uninstaller pages.

      The uninstaller remembers previously-specified values. You can modify any value you previously specified.

  2. Click Next when you are satisfied with your selections.

    The uninstaller begins removing software from your system and displays the following:

    • A progress bar that displays the overall completion percentage

    • The name of the package currently being removed

    • After all product component software has been removed, the uninstaller displays the Uninstallation Complete page.

  3. Click View Summary or View Log for information about the uninstallation.

    • Uninstallation summary. Shows the product components that were uninstalled and a list of configuration information for the product components.

    • Uninstallation log. Shows all messages that were generated by the uninstaller during uninstallation.

    • You can also review the uninstallation summary and log files:

      Solaris OS: /var/sadm/install/logs

      Linux: /var/opt/sun/install/logs

  4. Click Close to exit the uninstaller.

  5. If you installed Access Manager or Messaging Server, go to Completing Post-uninstallation Tasks.

Running the Uninstaller in Text-Based Mode

The text-based interface allows you to run the uninstaller directly from a terminal window by responding to prompts displayed in the window. For usage guidelines, refer to How to Use the Text-Based Interface.

If you have problems during uninstallation, refer to Chapter 10, Troubleshooting.

ProcedureTo Start the Uninstaller in Text-Based Mode

  1. If you are not logged in as root, become superuser.

  2. Navigate to the uninstaller directory:

    • Solaris OS: /var/sadm/prod/SUNWcomm-entsys5

    • Linux: /var/sadm/prod/sun-comm-entsys5

  3. Run the uninstaller:


    ./uninstall -nodisplay

    The Welcome message is displayed followed by a list of all possible Communications Suite product components on your system.

ProcedureTo Select Product Components for Uninstallation

  1. The uninstaller selects for removal any product components it finds on your system by listing the numbers corresponding to the installed product components. Press Return to uninstall all product components.

    Alternately, choose specific product components by typing a comma-separated list of the numbers corresponding to the product components you want to uninstall, and press Return.


    Note –

    Product components that are not installed on your system are disabled and cannot be chosen.


  2. If the uninstaller detects product component dependencies among the products selected for removal, a warning about a potential loss of configuration data is displayed. Your choices are:

    1. Type Yes and press Return to continue with uninstallation.

    2. Type No and press Return to return to Component Selection.

    3. Type the character ! and press Return to exit the uninstallation.

  3. If unconfigure pages are displayed, enter the information requested for the product component.

ProcedureTo Grant Administrator Access

  1. If you selected a product component for which the uninstaller needs an administrative ID or password, the uninstaller prompts you for administrator IDs and passwords.

    For details on the information you must provide the uninstaller, refer to Granting Administrator Access for the Uninstaller.


    Note –

    Depending on the product components you selected for removal, the uninstaller might also prompt you for a port number or a host name.


ProcedureTo Uninstall the Software

Before removing software from your system, the uninstaller displays a summary page, showing the product components selected for removal.

  1. Review your selections.

    1. If changes are needed, type the < character and press Return to go back through successive pages until the Component Selection list appears.

    2. Make changes as needed on the Component Selection list.

    3. Proceed again through the uninstaller screens.

  2. When you are satisfied with your selections, type the number 1 and press Return.

    The uninstaller begins removing software from your system. During uninstallation, the uninstaller displays a progress bar that displays the overall completion percentage.

    After all product component software has been removed, you can view the uninstallation summary and log.

  3. Type 1 or 2 and press Return to see information about the uninstallation.

    • Uninstallation summary. Type 1 to see the product components that were uninstalled and a list of configuration information for the product components.

    • Uninstallation log. Type 2 to list all messages that were generated by the uninstaller during uninstallation.

      You can also view the uninstallation summary and log files:

      Solaris OS: /var/sadm/install/logs

      Linux: /var/opt/sun/install/logs

  4. Type the ! character to exit the uninstaller.

    Go to Completing Post-uninstallation Tasks if you uninstalled Access Manager or Messaging Server.

Running the Uninstaller in Silent Mode

Silent uninstallation is useful for uninstalling product components on multiple hosts that share similar configurations. The procedure for uninstalling in silent mode is similar to the procedure for installing in silent mode as described in Chapter 5, Installing in Silent Mode.

ProcedureTo Create a State File

To perform a silent uninstallation, you must first generate a state file by running a false uninstallation in either graphical or text-based mode. Refer to Generating the Initial State File.

  1. If you are not logged in as root, become superuser.

  2. Navigate to the uninstaller directory:

    • Solaris OS: /var/sadm/prod/SUNWcomm-entsys5

    • Linux: /var/sadm/prod/sun-comm-entsys5

  3. If you are using the graphical interface of the uninstaller, provide access to your local display. See Running the Uninstaller in Graphical Mode.

  4. Run the silent uninstaller. For example:

    Graphical mode:


    ./uninstall -no -saveState statefile_path
    

    Text-based mode:


    ./uninstall -no -nodisplay -saveState statefile_path
    

    To see the full syntax for the uninstall command, refer to uninstall Command.

  5. Proceed through the uninstaller to completion.

    As you respond to the prompts, the uninstaller records your answers in the specified state file. When you complete the uninstallation, the state file is available in the location that you specified. No software has been uninstalled.

  6. Make a copy of the state file for each host on which you are going to perform a silent uninstallation.

  7. Edit each file providing information specific to the host where you will run that silent uninstallation.

    For guidelines on editing state files, refer to Editing the State File. Editing the state file might also include generating a state file ID, as explained in Creating a Platform-Appropriate State File ID.

ProcedureTo Run the Uninstaller in Silent Mode

  1. Verify that you have properly prepared and edited the state file for the host where you want to uninstall product components.

  2. Open a terminal window.

  3. If you are not logged in as root, become superuser.

  4. Navigate to the uninstaller directory:

    • Solaris OS: /var/sadm/prod/SUNWcomm-entsys5

    • Linux: /var/sadm/prod/sun-comm-entsys5

  5. Start the uninstaller. For example:


    ./uninstall -nodisplay -noconsole -state statefile_path
     
    

    To see the full syntax for the uninstall command, refer to uninstall Command.

ProcedureTo Monitor the Progress of a Silent Uninstallation

  1. In a terminal window, navigate to the log file directory:

    Solaris OS: /var/sadm/install/logs

    Linux: /var/opt/sun/install/logs

  2. Locate the log files for the current uninstallation. The log file of interest for monitoring purposes is:


    Java_Enterprise_System_2006Q4_uninstall.Btimestamp
    

    The timestamp variable represents the time the log was created. The variable has the following format MMddhhmm, where:

    MM

    Specifies the month 

    dd

    Specifies the date 

    hh

    Specifies the hour 

    mm

    Specifies the minute 

  3. Use the tail command to watch messages as they are written to the logs. For example:


    tail -f logfile_name
    

    To exit the tail program, press Ctrl+C.

Uninstalling Sun Cluster Software

Do not use the uninstaller to remove Sun Cluster software unless Sun Cluster software was installed but never used to configure a cluster node. Sun Cluster software should be uninstalled using the utilities provided with the Sun Cluster software. Sun Cluster Core and Sun Cluster Agents for Communications Suite must be removed together. Sun Cluster Geographic Edition software must be removed before removing Sun Cluster software. For more information on unconfiguring and uninstalling Sun Cluster software, refer to the Sun Cluster Software Installation Guide for Solaris OS.

After uninstalling Sun Cluster software manually, run the uninstaller to remove Sun Cluster and Sun Cluster Agents from the product registry.

Completing Post-uninstallation Tasks

This section provides instructions for tasks that you might need to perform after uninstalling product components from your system. The actual tasks required depend on which product components you chose to uninstall.

Access Manager Post-uninstallation Issues

If you uninstall Access Manager but not its web container (Application Server or Web Server), you need to apply configuration changes to the instance where Access Manager was deployed.

In some cases the uninstaller might not be able to remove some or all of the Access Manager files. In this case, do a final cleanup by removing these two directories and their contents:

or, if Access Manager was not installed in the default location:

AccessManager_base/idenity

If you uninstall Access Manager but not the Application Server in which it is deployed, you must complete the following procedure.

ProcedureTo Finish Access Manager Uninstallation

  1. If necessary, start the Application Server admin instance. For example, on a Solaris host:

    cd /opt/SUNWappserver/appserver/bin./asadmin start-domain --user admin_user --passwordfile path_to_admin-password_file domainname

  2. In a browser, go to the Application Server administration console. The default URL is https://hostname:4849 .

  3. In the left pane, click the key to the left of Application Server Instances.

  4. Select the server or the name of the Application Server instance on which Access Manager was deployed.

  5. Click Apply Changes.

Messaging Server Post-uninstallation

In some cases, the uninstaller might not completely remove the Messaging Server installation files. If a final cleanup is required, do some or all of the following tasks:

  1. Log in as root or become superuser.

  2. Remove the Messaging Server base directory and its contents. By default, the base directory is in the following location:

    • Solaris OS: /opt/SUNWmsgsr

    • Linux: /opt/sun/messaging

  3. Optionally, remove the configuration directory for Messaging Server.


    Caution – Caution –

    Removing the configuration directory will remove all the configuration and data files, including mail messages in the store. Be sure this is the result you want before removing this directory.


    By default, the configuration directory is in the following location:

    • Solaris OS: /var/opt/SUNWmsgsr

    • Linux: /var/opt/sun/messaging

  4. Undo any sendmail configuration for Messaging Server.

  5. On Solaris OS, remove the MessagingServer-base/lib directory from the crle settings. This directory was added to specify that MessagingServer-base/libis a trusted directory for setuid programs. Refer to the crle man page for details.

Web Server Post-uninstallation Tasks (Web Server Not Uninstalled)

If you uninstall Access Manager but not the Web Server in which it is deployed, you must complete the following complete the following procedure.

ProcedureTo Restart Web Server After Access Manager Uninstallation

  1. If necessary, start the Web Server admin instance. Refer to To Start Web Server .

  2. Access the Web Server administration console. For example:

    /var/opt/SUNWwbsvr7 instance-config-root /admin-server/bin/startserv

  3. Click Apply Changes to restart the web container.