Solaris for ISPs Installation Guide

Uninstalling Solaris for ISPs

To uninstall a component or multiple Solaris for ISPs components, run the host configuration software. During host configuration, you will repeat some of the steps you executed during installation. This will enable you to reconfigure the machine to the same state it was in before installing Solaris for ISPs. The steps are:

  1. Choosing software components to uninstall.

  2. Reviewing and resetting the Solaris services that the host configuration software configured during installation.

  3. Specifying an optional post-configuration command (or script) that the host configuration software will run towards the end of its batch uninstall process.

  4. Reviewing a summary of all the changes you have specified. At this point, you can use the Back button on the browser to access earlier screens and amend your choices.

  5. Executing the configuration scenario you have specified.

Beginning Host Configuration
  1. Start host configuration software. To start,

    1. Log into the computer where you want to install the software and give yourself root access.

      If you are installing remotely, enter:

      • % xhost +remotehostname
      • % rlogin remotehostname
      • % password
      • % su
      • Password: rootpassword
      • # DISPLAY=localhostname:0.0
      • # export DISPLAY
      If you are using a C shell, remember that your command to set the display variable is different.


      Note -

      If you do not set the DISPLAY environment variable, to continue the configuration process, you must open the URL in a browser. Refer to "Host Configuration Error Messages" for information on how to proceed.


    2. Change directory to the root of the media from which you are uninstalling.

      Change to either the directory where you unwrapped the electronic distribution or the root directory of the mounted CD-ROM.

    3. Enter # ./hcstartup

      The script asks a few questions before bringing up the host configuration GUI.

      1. Enter path to installation media (enter "none" if no media)[current working directory]

        If your current working directory is the root of the media from which you are uninstalling, press Return. If it is not, enter the path to the media from which you are uninstalling.

      2. Enter port to use [8000]

        Enter a port that the host configuration software can use for the temporary Web server that delivers its GUI. The script checks to see if the port is available and prompts you for another if the port number you enter is in use. If port 8000 is available, press Return.

        You will see a series of messages:

        • Unwrapping archives for Host Configuration
        • Setting up media database
        • Starting web server
        • Ready to start hotjava

      3. Please choose one of the following options:

        Press Return to start HotJavaTM. This is the default option. Enter 2 to open the URL for host configuration in another browser. At this point, you can also abort the installation by entering 3.

        After a moment,

        • If you selected the default HotJava browser for host configuration, the browser appears and displays the splash screen.
        • If you selected the second option, to continue the configuration process you must open a browser and access the URL: http://hostname:8000/cgi-bin/splash where hostname is the host name of the machine where you are installing and 8000 is the default port number. If you specified a port other than the default for the host configuration software to use, enter that port number.

  2. Click on Begin in the host configuration welcome screen.

    The Component Configuration screen is displayed.

Choosing Components to Uninstall
  1. Select the component you want to uninstall from the list in the Component column and verify component installation status by referring to the status displayed in the Installed? column.

    Solaris for ISPs host configuration software will prevent you from uninstalling components that other installed components rely upon.


    Note -

    If the status displayed is yes, the component is currently installed on the machine. If the status displayed status is no, the component is currently not installed on the machine.


  2. Select Uninstall from the option menu, in the Action column, for each component.

    By default, No Action will be executed for the component.

  3. Click on Next.

    The Solaris Service Configuration screen is displayed.

Reconfiguring Solaris Services

This screen enables you to reconfigure Solaris services that you had enabled or disabled during installation of Solaris for ISPs.

  1. Select enable or disable, for the service you wish to reconfigure, from the option menu in the Desired State column.

  2. When the Solaris service settings are as you want them, click on Next.

    The Post-Configuration Command screen is displayed.

Confirming Scenario
  1. Click on Next in the Post Configuration screen.

    The Confirm Configuration screen is displayed.


    Note -

    You can specify some commands or script to be executed after uninstalling the specified component.


  2. Click on Execute (with reboot) to uninstall the specified component.

Determining that Uninstall was Successful
  1. Change directory to /var/opt/SUNWisp/hc/logs.

  2. Find the log file named for the current date. For example, if today is April 1, 1998, find the log file named config.1998-04-01.1845.

  3. Read the log file. For each software component selected for uninstall, you will see a section beginning with four greater-than signs (>>>>) and a message including the component identifier. Ensure that the section ends with the message: Component "Componentname" (ID=Componentid) uninstalled successfullywhere Componentname is the name of the component that has been uninstalled and Componentid is the package name of the component removed.