Creating the runserver file

The runserver file contains start-up commands for the Enhanced Full-Text Search engine. The runserver file can include these flags:

A sample runserver file is copied to the $SYBASE/$SYBASE_FTS/install directory during installation. Make a copy of this file, renaming it RUN_server_name, where server_name is the name of the Enhanced Full-Text Search engine. You must include the correct path environment variable for your platform in the runserver file. Table 6-1 shows the path environment variable to use for each platform.

Table 6-1: Path environment variable for the runserver file

Platform

Environment variable

RS/6000 AIX

LIBPATH

Sun Solaris

LD_LIBRARY_PATH

HP 9000(800)

SHLIB_PATH

Compaq Tru64

LD_LIBRARY_PATH

Linux

LD_LIBRARY_PATH

NT

PATH

For example, the runserver file on Sun Solaris for a Enhanced Full-Text Search engine named KRAZYKAT would be RUN_KRAZYKAT and would be similar to:

#!/bin/sh
#

LD_LIBRARY_PATH="$SYBASE/$SYBASE_FTS/lib:$LD_
LIBRARY_PATH"
export LD_LIBRARY_PATH

$SYBASE/bin/txtsvr -SKRAZYKAT

The start-up command in the runserver file must consist of a single line and cannot include a return. If you must carry the contents of the file over to a second or third line, include a backslash (\) for a line break.