JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Studio 12.2 Installation Guide
search filter icon
search icon

Document Information

Preface

1.  Preparing for Installation

2.  Installing the Oracle Solaris Studio 12.2 Software

3.  Uninstalling the Oracle Solaris Studio 12.2 Software

4.  Troubleshooting

GUI Installer Will Fail If TMPDIR Points to Non World-Writable Directory

GNOME Errors Might Occur When Starting GUI Installer

Installer Lock File Might Prevent Installer From Starting

Fixing a Failed Installation or Uninstallation

Fixing a Failed Installation or Uninstallation on Solaris Platforms

Fixing a Failed Installation or Uninstallation on Linux Platforms

Installation Will Fail on an NFS-Mounted Filesystem If Write Permission is Not Set

Viewing the Installation Log File

A.  Command-Line Options for the Installer,Uninstaller,and install_patches Utility

B.  Adding Swap Space

C.  Oracle Solaris 12.2 Components and Packages

D.  Patch Identification Numbers and Descriptions

E.  Version Numbers of the Oracle Solaris Studio 12.2 Components

Index

Fixing a Failed Installation or Uninstallation

On Solaris platforms, the installer stores information on which Oracle Solaris Studio 12.2 packages it has installed in two places:

On Linux platforms, the installer stores information on which Oracle Solaris Studio 12.2 packages it has installed in two places:

If some packages were not properly installed, you will have problems using the Oracle Solaris Studio software, and you might have problems installing additional components or uninstalling the software.

For example, if the installer quit before installation was complete, the uninstaller (uninstall.sh) might not be present in your installation directory. Or if you used the pkgadd command to install any of the packages, the productregistry file or the product-cache directory in the /root/.nbi directory might be corrupted. In such cases, the uninstaller cannot uninstall the packages and you need to remove them in the correct way in order to be able to rerun the installer.

If the uninstaller quits before all the product files are deleted, rerunning the uninstaller will not delete the remaining files and you need to remove them in the correct way to complete the uninstallation of the product.

Do not uninstall the product by removing the installation directory. Packages will still be registered in the productregistry database and the /root/.nbi directory, and the installer will not run.

Fixing a Failed Installation or Uninstallation on Solaris Platforms

  1. Become superuser by typing:
    su
    Password: root-password
  2. Open the Solaris Product Registry tool by typing:
    /usr/bin/prodreg &
  3. In the left pane of the tool, expand the Unclassified Software node.
  4. Select all of the package names containing Oracle Solaris Studio 12.2 and click Uninstall. Follow the instructions to remove the packages.
  5. Click Exit to exit the tool.
  6. Remove the /root/.nbi directory by typing:
    rm -r /.nbi

Fixing a Failed Installation or Uninstallation on Linux Platforms

  1. Become superuser by typing:
    su
    Password: root-password
  2. Find all of the Oracle Solaris Studio packages by typing:
    rpm -q -a | grep solstudio12.2
  3. Remove each Oracle Solaris Studio 12.2 rpm package by typing:
    rpm -e package-name

    Oracle Solaris Studio 12.2 rpm packages have the suffix 12.2-1, for example, solstudio12u2-cc-12.2-1. Be careful not to remove packages from Sun Studio releases, which have different suffixes.

  4. Remove the /root/.nbi directory by typing:
    rm -r /.nbi