Uninstalling TREX
You can uninstall your TREX systems using SAPinst.

When you uninstall TREX, the entire TREX directory is deleted, including all configuration data. If the index directory and queue directory are located in the TREX directory, all indexes and queues are deleted.
...
1. Log on as root.
2. Stop TREX (see Starting and Stopping TREX).
It can take a while to stop the TREX processes. Make sure that all of the TREX processes have stopped before you start the uninstallation process.
For an installation with an HTTP connection: Check that the Web server (HTTP daemon) has stopped. You can use the following command to do this:
ps –fu trx<instance_number> | grep httpd
3. Make sure that the environment variable DISPLAY has been set for root on <host_name>. <host_name> is the host on which the SAPinst GUI is to be displayed.
4. Start SAPinst.
○ If you are installing from the DVD, mount the DVD containing the installation files first.
○ If you are installing from the SAP Service Marketplace, navigate to the corresponding directory.
For a detailed description of these steps, see Installing with SAPinst.
...
1. Log on as an administrator.
2. Start SAPinst.
○ If you are installing from the DVD, mount the DVD containing the installation files first.
○ If you are installing from the SAP Service Marketplace, navigate to the corresponding directory.
For a detailed description of these steps, see Installing with SAPinst.
After SAPinst starts, the screen Welcome to SAP installation Master appears.
Screen |
Input |
Welcome to SAP Installation Master |
... 1. In the folder hierarchy, choose SAP NetWeaver 2007 TREX Search and Classification → Installation TREX global → Remove a TREX system. 2. Choose Next. The screen TREX Removal appears. |
TREX Removal |
● System to remove In the input field the TREX systems you can remove are displayed. Choose the TREX system you intend to remove. ● Remove the users of this TREX system: If you activate the check box all system users of this the TREX system will be deleted. |
Parameter Summary |
SAPinst displays all settings you have chosen before you start the removal procedure: ... 1. You can check the settings and choose Revise to change any of them if necessary. In this case, SAPinst goes back to the installation screen where you can enter the specific settings you want to change. 2. To start the update with the selected parameters, choose Next. |
Task Progress |
When you have entered all input parameters, SAPinst starts the uninstalling process and displays the progress during the processing phase. |
Finished Successful< |
If the update is successful, SAPinst displays the message The installation/update finished successfully. |
You have successfully removed all TREX instances for your TREX system.