Uninstalling WebSphere Commerce manually
If you need to uninstall WebSphere Commerce manually, complete this task.
About this task
You cannot uninstall AIX systems using
this procedure because the geninstall
command does
not work with InstallShield-based products. To uninstall an AIX system,
see Uninstalling using the WebSphere Commerce uninstallation software.
Procedure
- Stop the WebSphere Commerce Information Center.
- Delete any WebSphere Commerce instances following the instructions provided in Deleting a WebSphere Commerce instance.
- Delete any WebSphere Commerce Payments instances.
- Stop Configuration Manager:
- Run the following command as a non-root
user:
WC_installdir/bin/config_client.sh -shutdownServerOnly
- Run the following command with a user profile
that has
*SECOFR
authority:
whereWC_installdir/bin/configClient.bat -hostname IBM_i_host_name -shutdownServerOnly
IBM_i_host_name
is the fully qualified host name of the server. Ensure that the host name is entered in the same letter case as specified in the CHGTCODMN command. - Check the Windows services panel to ensure that the IBM WC 7.0 Configuration Manager service is stopped.
- Run the following command as a non-root
user:
- If the WC_installdir directory or its subdirectories contains customized files, back up the files to a directory that is not used by WebSphere Commerce.
- To uninstall WebSphere Commerce manually, complete the
following steps:
- Log on as the root user.
- Issue the following command:
This command returns all of the WebSphere Commerce related packages that are installed on your machine.rpm -qa | grep WC70
- Search this list and record the values for the packages that match
the following format:
Where xxxx is an alphanumeric representation.WC70xxxx
- For each WebSphere Commerce related
package, remove that package by issuing the following command:
rpm -e package_directory
- Go to the
/root
directory and open thevpd.properties
file in a text editor. - Remove all lines that start with
WC70xxxx
. - Save the file and exit.
- Log on as the root user.
- Issue the following command:
This command returns all of the WebSphere Commerce related packages that are installed on your machine.pkginfo -i | grep WC70
- Go to the
/var/sadm/pkg
directory. This directory contains subdirectories that correspond to the packages that are currently installed. - Search this directory and record the values for the directories
that match the following format:
Where xxxx is an alphanumeric representation.WC70xxxx
- For each WebSphere Commerce related
directory, recursively remove that directory by issuing the following
command:
rm -r package_directory
- Ensure that you are logged on with a user profile that has
*SECOFR
authority. - Start a Qshell session by entering the following from a command
line:
STRQSH
- Change your current directory to the WebSphere Commerce _uninst
directory.
cd wc_installdir/_uninstall
- Run the uninstall command:
uninstall.qsh
- Ensure that you are logged on with a user profile that has