To use Cognos product documentation, you must enable JavaScript in your browser.

Uninstalling Cognos 8

It is important to use uninstall programs to completely remove all files and modifications to system files.

To uninstall Cognos 8, you uninstall server components and modeling tools.

If you are running Cognos 8 in an application server environment, use the administration tool provided by your application server vendor to stop the application if it is running and undeploy the Java portion of Cognos 8 components. Many application servers do not completely remove all deployed application files or directories during an undeploy therefore you may have to perform this action manually. After you have undeployed Cognos 8 components, complete the steps in this chapter to uninstall on UNIX and on Windows .

Uninstall Cognos 8 on UNIX or Linux 

If you no longer require Cognos 8 or if you are upgrading, uninstall Cognos 8.

If you are upgrading from an older version of ReportNet to Cognos 8, follow the uninstallation instructions in the documentation for the older version of ReportNet.

Steps
  1. If the console attached to your computer does not support a Java-based graphical user interface, determine the process identification (pid) of the Cognos 8 process by typing the following command:

    ps -ef grep cogbootstrapservice

  2. Stop the Cognos 8 process:

  3. To uninstall Cognos 8, go to the c8_location/uninstall directory and type the appropriate command:

  4. Follow the prompts to complete the uninstallation.

  5. Delete all temporary Internet files.

Uninstalling does not remove any files that changed since the installation, such as configuration and user data files. Your installation location remains on your computer, and you retain these files until you delete them manually.

Important:

Uninstall Cognos 8 on Windows

If you no longer require Cognos 8 or if you are upgrading, uninstall all Cognos 8 components and the Cognos 8 service.

If you installed more than one component in the same location, the uninstall wizard lets you choose the packages to uninstall. All components of the package will be uninstalled. You must repeat the uninstallation process on each computer that contains Cognos 8 components.

It is not necessary to back up the configuration and data files on Windows. These files are preserved during the uninstallation.

We recommend that you close all programs before you uninstall Cognos 8. Otherwise, some files may not be removed.

Uninstalling does not remove any files that changed since the installation, such as configuration and user data files. Your installation location remains on your computer, and you retain these files until you delete them using Windows Explorer.

Important: Do not delete the configuration and data files if you are upgrading to a new version of Cognos 8 and you want to use the configuration data with the new version.

Steps
  1. From the Start menu, click Programs, Cognos 8, Uninstall Cognos 8.

    The Uninstall wizard appears.

    Tip: Cognos 8 is the default name of the Program Folder that is created during the installation. If you chose another name, go to that folder to find the program.

  2. Follow the instructions to uninstall the components.

    The cognos_uninst_log.htm file records the activities that the Uninstall wizard performs while uninstalling files.

    Tip: To find the log file, look in the Temp directory.

  3. Delete all temporary Internet files.

    For more information, see your Web browser documentation.

Uninstall Cognos Content Database

If you want to uninstall only Cognos Content Database and leave other Cognos 8 components on your computer, you must use the following procedure. After you uninstall Cognos Content Database you must configure a new content store before you can restart the Cognos 8 service.

If you installed only Cognos Content Database, use another procedure. For information about this procedure, see Uninstall Cognos 8 on UNIX or Linux or Uninstall Cognos 8 on Windows.

Steps
  1. On the computer where you installed Cognos Content Database, go to the c8_location\bin directory, and type the following command:

  2. In the c8_location directory, delete the derby10.1.2.1 directory.

  3. In the c8_location\bin directory, delete the following files:

  4. On Windows, in the c8_location\logs directory, delete the derby.service file.

  5. In the c8_location directory, open the cmplst.txt file in a text editor.

  6. Remove lines containing Cognos Content Database values. The lines contain CCD and CMDERBY. For example:

    C8BISRVRCCD_version=

    C8BISRVRCCD_name=

    CCD_version=

    CCD_name=

    CMDERBY_version=

    CMDERBY_name=

    Tip: You can also comment the lines out by inserting # at the start of each line.

  7. Save the file.

  8. Start Cognos Configuration.

  9. Under Data Access, Content Manager, do the following:

    For more information, see Set Database Connection Properties for the Content Store.

  10. Restart Cognos 8.