Installation, Uninstallation and Migration Problems

                                                                                                                                                                                                                                                                                                                                      Back to [Book]     [Topic]

Installation, Uninstallation and Migration Problems

This section discusses common installation, uninstallation and migration issues. The following topics are discussed:

Installation Problems

As a critical first step, examine the installation log files.

The install log file is the Sun_Java_System_Web_Server_install.log file located in install_dir/setup/ directory. Install log file entries contain information about the attempted action, the outcome of the action, and the cause of failure if applicable. Entries fall into three categories: INFO, WARNING, and ERROR.

For more information on the installation log, see Installation and Migration Guide.

Note -
Check if the DISPLAY environment variable is set properly on the machine used for installation. The DISPLAY variable needs to be set to the IP address of that machine, followed by a screen address, which can always be assumed to be :0.0. On Linux/Unix, execute echo $DISPLAY to find the value.

Failed Installation

If your installation fails, investigate the installation log.

Existing Installation Detected

The installer maintains an entry in the product registry. If installation files are removed incorrectly (for example, if the files are manually deleted instead of being removed by running the uninstaller), the files may be gone but the Web Server entries remain in the product registry. If you then try to re-install to that location, a message displays indicating that an existing installation has been detected, even though it appears that the installation does not exist. To remedy the situation, go to the product registry and delete the entries manually.

The location of the product registry differs for each platform.

Note -
Again, the information in this section applies only if files were removed in some way other than by using the Web Server uninstaller.
Product Registry on Solaris

On Solaris, the product registry is in /var/sadm/install/productregistry.

In the productregistry file, remove the content between <components> and </components>, and you should then be able to install to the location. The following example shows a product registry file on Solaris.

Example 2-1 Example Product Registry File

<productregistry>
    <version>7.0
    </version>
    <components>
        <compid>webcore
            <compversion>1.0
                <uniquename>webcore
                </uniquename>
                <compinstance>1
                    <comptype>COMPONENT
                    </comptype>
                    <location>/sun/gj/ws7
                    </location>
                </compinstance>
            </compversion>
        </compid>
        <compid>java
            <compversion>1.0
                <uniquename>java
                </uniquename>
                <compinstance>1
                    <comptype>COMPONENT
                    </comptype>
                    <location>/sun/gj/ws7
                    </location>
                </compinstance>
            </compversion>
        </compid>
        <compid>snmp
            <compversion>1.0
                <uniquename>snmp
                </uniquename>
                <compinstance>1
                    <comptype>COMPONENT
                    </comptype>
                    <location>/sun/gj/ws7
                    </location>
                </compinstance>
            </compversion>
        </compid>
    </components>
</productregistry>
Product Registry on Linux

On Linux, the product registry is in /var/opt/sun/install/productregistry.

Product Registry on Windows

On Windows, the product registry is in C:\WINNT\system32.

The installation will fail if the Windows registry contains the HKEY_LOCAL_MACHINE\SOFTWARE\Sun Microsystems\WebServer\7.0 entry. Remove this entry using Registry Editor, and you should then be able to install to the desired location.

Note -
If you get an error related to the https-admserv70 service, remove the following entry from the registry and try installing again: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\https-admserv70.

Defaults to Command-Line Mode

On UNIX systems, the installer and uninstaller default to command-line mode if the DISPLAY environment variable has not been exported to your local machine and if X Windows is not supported.

Uninstallation Problems

As a critical first step, examine the uninstallation log file.

Migration Problems

As a critical first step, examine the migration log.

Labels

java java Delete
server server Delete
sun sun Delete
webserver webserver Delete
application application Delete
system system Delete
webtier webtier Delete
guide guide Delete
webserver70 webserver70 Delete
sunjava sunjava Delete
+tshootguide +tshootguide Delete
web web Delete
troubleshooting troubleshooting Delete
troubleshootingguide troubleshootingguide Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact