Show TOC

Starting and Stopping Individual TREX ServersLocate this document in the navigation structure

Use

You can start individual TREX servers for test purposes and for troubleshooting. You can then track the program output on the screen.

Starting the TREX Servers

  1. Log on with the user <sapsid>adm.
  2. Stop TREX (seeStopping TREX).
  3. Go to the TREX directory.
  4. Start each TREX server in a separate shell.
    TREX Server Command

    Index server

    TREXIndexServer.x

    Name server

    TREXNameServer.x

    Preprocessor

    TREXPreprocessor.x

    Queue server

    TREXQueueServer.x

    Only relevant for an RFC connection: RFC server

    TREXRfcServer.x -r

Stopping the TREX Servers

  1. Display the window in which you started the TREX server.
  2. Use CTRL + C or close the window.

Certain processing steps, for example, writing an index, cannot be interrupted. Such steps are completed before the TREX servers are stopped. This process can take a while to complete.

With large indexes, it can take up to a few hours to stop the TREX servers if lots of documents are currently being indexed.

Caution

Do not stop the TREX server using kill - 9, as this can lead to data loss. Affected indexes can be irreparably damaged.