Uninstall IBM HTTP Server by running the operating system's
uninstaller program and performing some manual steps to remove log
files and registry entries. Such registry entries can prevent you
from reinstalling the product into the original directory. If you
are not planning to reinstall, you do not have to uninstall manually.
Before you begin
Determine the installation root directory for the product
so that you remove the correct product and produce a clean system.
Before you start the uninstall procedure, save any files you have
modified under HTTPServer_root, HTTPServer_root/conf,
or HTTPServer_root/bin directories, including: httpd.conf, admin.conf,
any other configuration files, script files, password files, or Web
documents that you might have created.
About this task
Use the installRegistryUtils command to
examine the installation locations for all installed IBM HTTP Server
products. Perform the following procedure to produce a clean system.
Procedure
- Log on as the same user ID that installed the product.
- Make sure that the instances of IBM HTTP Server and IBM
HTTP Server administration server being removed are stopped.
- Issue the uninstall command. If you
have already run the uninstaller program or if you cannot run the
uninstaller program, skip this step.
HTTPServer_root/uninstall/uninstall
HTTPServer_root/uninstall/uninstall.exe
The
Uninstaller wizard begins and displays the Welcome panel. Continue
with the uninstall process until it is finished.
- IMPORTANT: If you installed IBM HTTP Server as root or
administrator, the following steps clean up the registries when an
uninstall request fails. If the uninstall process completes successfully,
you do not need to manually perform these steps.
- Run the manual complete cleanup scripts on the WebSphere Application
Server Support site. Obtain the scripts from the technote document
titled, Manual complete cleanup scripts for WebSphere Application
Server V5.0, V5.1, V6.0, and V6.1 on AIX and IBM HTTP Server V1.3,
V2.0, V6.0, and V6.1 on AIX .
Carefully review the technote and download one or both of the attached
scripts. Note that one of the scripts is intended for cleaning WebSphere
Application Server product entries, and the other script is intended
for cleaning IBM HTTP Server product entries. The technote contains
helpful reference information regarding the WebSphere Application
Server installer's use of the AIX ODM.
- Change directories to the /usr/IBM directory,
or the equivalent top directory of your install.
- Enter the following command to delete the IBM HTTP Server directory:
rm -rf HTTPServer
- Use the installRegistryUtils command to examine
the installation locations for all installed IBM HTTP Server products
and remove the products from the install registry that you want to
uninstall.
- Edit the vpd.properties file. This file
is located in the root directory or in the /usr/lib/objrepos directory.
Do not delete or rename the vpd.properties file
because the InstallShield MultiPlatform (ISMP) program uses it for
other products that it installs. If the IBM HTTP Server product that
you are uninstalling is the only product with entries in the vpd.properties file,
you can delete this file.
- Use HP-UX System Administration Manager (SAM) to remove packages.
- Start the SAM utility with the /usr/sbin/sam command
- Verify that your DISPLAY and TERM environment variables are set
properly
- Click Software management
- Click View installed software
- Search for IBM HTTP Server entries in the SD list
- Close the SD list
- Click Remove local host software
- Click any of the following instances that display in the SD Remove
List: - IBM HTTP Server
- Click Actions > Mark for remove
- Click Actions > Remove
- Click OK in the Remove analysis dialog box
- Click Logs to display real-time removal of selected packages
- Click Done when all packages are removed
- Exit SAM
- Search for the packages to verify their removal
- Enter the following command to display the IBM HTTP Server package:
swlist | grep IHS
The
package name for IBM HTTP Server is: WSIHS61.
- Enter the following command to remove IBM HTTP Server directories
in the HTTPServer_rootdirectory:
rm -rf HTTPServer_root
- Use the installRegistryUtils command to examine
the installation locations for all the installed IBM HTTP Server products
and remove the products from the install registry that you want to
uninstall.
- Search for IBM HTTP Server related packages. Do not remove packages
for IBM HTTP Server products that you are not uninstalling.
Refer to the "Operating system registry keys" topic
in the Information center for more information on the package names.
- If there are packages to delete, enter the following command to
remove any packages for the product that you are uninstalling.
rpm -e packagename
Alternatively,
you can enter the following command that will list all the IBM HTTP
Server packages and then verify that everything in the list is something
you want to delete: rpm -qa | grep IHS
If there
is a problem with package dependencies, you can use the following
command to remove the packages: rpm -e packagename --nodeps --justdb
The nodeps option
skips the dependency check. The justdb option updates
only the package database, and not the file system. Using only the nodeps option
can cause a failure in package removal if there is any mismatch in
the dependent file system (files and directories).
- enter the following command to remove IBM HTTP Server directories
in the HTTPServer_root directory:
rm -rf HTTPServer_root
- Edit the vpd.properties file. Do not delete
or rename the vpd.properties file because the
InstallShield MultiPlatform (ISMP) program uses it for other products
that it installs. If the IBM HTTP Server product that you are uninstalling
is the only product with entries in the vpd.properties file,
you can delete this file.
- Use the installRegistryUtils command to examine
the installation locations for all installed IBM HTTP Server products
and remove the products from the install registry that you want to
uninstall.
- Search for IBM HTTP Server related packages. enter the following
command to list all the packages for the IBM HTTP Server products:
pkginfo | grep IHS
If
no packages appear when using these commands, skip the next step.
The resulting list of packages has the following format:
- application WSIHS61
- IBM HTTP Server
- Change directories to the directory where package information
is registered:
cd /var/sadm/pkg
- Issue the following command to remove any IBM HTTP Server related
packages, for example:
pkgrm packagename1 packagename2 ...
Do
not remove packages for IBM HTTP Server products that you are not
uninstalling. Issue the following commands from the /var/sadm/pkg directory
to search for and remove any IBM HTTP Server product related packages
that are registered in the /var/sadm/pkg directory.Change
directories to the correct directory for IBM HTTP Server products:
cd /var/sadm/pkg
ls |grep IHS|xargs -i pkgrm -n {}
The package names
for IBM HTTP Server are: WSIHS61 and WSIHS61LI. If there is a problem
removing the packages, remove the related package directories in the /var/sadm/pkg directory,
including the preremove files. For example,
remove the following file before issuing the pkgrm -n WSIHS61 command: /var/sadm/pkg/WSIHS61/install/preremove
- To remove IBM HTTP Server directories in the HTTPServer_root directory,
enter the following command:
rm -rf HTTPServer_root
- Use the installRegistryUtils command to examine
the installation locations for all installed IBM HTTP Server products
and remove the products from the install registry that you want to
uninstall.
- Log on with Administrator privilege to complete the steps for
updating the registry.
- Verify that you have an Emergency Recovery Disk. Instructions
for creating this disk are in the Windows help documentation. This
step is a safeguard. This procedure does not require the recovery
disk.
- Use the regback.exe program from the Windows
Resource Kit to back up the registry. This step is a safeguard. This
procedure does not require the backup copy of the registry.
- Delete product registry entries for the IBM HTTP Server product
that you are uninstalling. Edit the Windows system registry by entering
the theregedit.exe command from a command prompt.
CAUTION:
Edit the Registry carefully. You can easily
make a mistake while using the registry editor to view and edit registry
contents. The editor does not warn you of editing errors, which can
be extremely dangerous. A corrupt registry can disrupt your system
to the point where your only option is to reinstall the Windows operating
system.
- Press Ctrl-F to search for all instances of HTTP Server
to determine whether you should delete each entry. You might not be
able to remove all of the entries related to IBM HTTP Server, which
is not a problem.
- Expand and select keys related to IBM HTTP Server products and
IBM HTTP Server Window Services listed below:
HKEY_LOCAL_MACHINE\SOFTWARE\IBM\HTTP Server\6.1.0.0
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\IBMHTTPServer6.1
HKEY_LOCAL_MACHINE\SYSTEM\CurrrentControlSet\Services\IBMHTTPAdministration6.1
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\IBM HTTP Server 6.1.0.0
Note: Depending
on how you installed the product, the following registry keys that
are previously listed are only optionally included: HKLM\...IBMHTTPServer6.1 and HKLM\...IBMHTTPAdministration6.1
Refer to the topic "Operating system registry keys"
in the Information center for a list of Windows registry keys to search
for and delete.
- Click Edit > Delete from the menu bar for each related
key.
- Click Yes when asked to confirm deletion of the key.
- Click Registry > Exit from the menu bar when you
are finished.
8.
- Delete the installation root directory for the product that you
are uninstalling.
- Open a Windows Explorer window and browse to the C:\Documents
and Settings\All Users\Start Menu\Programs directory.
If you have an installation of a IBM HTTP Server product, delete the
following directory folder: IBM HTTP Server V6.1.
- Delete the %WINDIR%\IsUninst.exe file.
- Edit the vpd.properties file. The file is
located in the installation directory of the operating system, such
as the C:\WINNT directory or the C:\windows directory.
Do not delete or rename the vpd.properties file
because the InstallShield MultiPlatform (ISMP) program uses it for
other products that it installs. If the IBM HTTP Server product that
you are uninstalling is the only product with entries in the vpd.properties file,
you can delete this file.
- Use the installRegistryUtils command to examine
the installation locations for all installed IBM HTTP Server products
and remove the products from the install registry that you want to
uninstall.
- Manually remove the GSKit entry. Use the following procedure to
verify that no other products are registered in GSKit before running
the isuninst command:
- Click Start> Run and run the regedit command
to edit the registry.
- Change directories to HKEY_LOCAL_MACHINE\SOFTWARE\IBM\GSKx\CurrentVersion\REGAPP,
where x is the version of GSKit, such as GSK7.
- Look for the IBM HTTP Server registered within GSKit. This will
be shown as IHS61_time stamp, where time_stamp indicates
the time when the IBM HTTP Server was installed.
- If the IBM HTTP Server entry is present, you can delete GSKit
by entering the following command to invoke the GSKit Uninstaller
program:
C:\Windows\gsk7BUI.exe IHS6.1_time_stamp
where time_stamp indicates
the time when the IBM HTTP Server was installed.
- This command removes GSKit registry only for this instance of
IBM HTTP Server, but it will not remove GSKit if other applications
are still using this GSKit installation.
- Restart your machine.
Results
This procedure results in removing IBM HTTP Server from your
system. There will be no trace of the previously deleted installation.
You can reinstall IBM HTTP Server into the same directories after
manually uninstalling the product.