C H A P T E R 5 |
Troubleshooting |
This chapter describes how to fix problems that can occur during Sun Studio 9 software installation and uninstallation.
When you install the Sun Studio software, log files that contain a record of the installation are automatically generated.
To troubleshoot installation problems by viewing the log files, do the following:
1. Go to the logs directory by typing at the prompt:
The file extension varies for each log file.
You need the serial number to register the product. You can find the serial number by using the snit tool.
To find and view the contents of the serial.dat file, type the following:
For more information, see the snit(1) man page. If snit is not recognized as a command, set your PATH environment variable, as described in Setting Up Access to the Developer Tools and Man Pages.
If you lose your serial number and cannot view the contents of the serial.dat file or display your serial number with the snit command, contact customer support at http://wwws.sun.com/software/sundev/suncc/support.html
The following topics include problems that can occur during a remote display installation.
If the installation fails on an NFS-mounted filesystem, ensure that you have write permission on that filesystem. You can check for write permission by following the instructions below. See Choosing Local Display or Remote Display of the Installer for more information about installing on an NFS-mounted filesystem.
1. Check for write permission by typing:
If you receive an error message, then you do not have write permission. For example:
2. Choose another installation directory on which you have write permission, or contact your system administrator to change the filesystem permissions.
If you enter an invalid parameter when you start the batch installer, the installer stalls and does not complete the installation. Some common errors include typing an incorrect serial number, including two different directory names, or invoking the installer when you do not have enough disk space.
Follow these steps to restart the batch installer:
1. View the log files for any error messages by typing:
2. To stop the installer, press Control+C.
3. To install the product using the batch installer, see Using the Batch Installer of Chapter 2.
Copyright © 2004, Sun Microsystems, Inc. All rights reserved.