The runserver file contains start-up commands for the Enhanced Full-Text Search engine. The runserver file can include the flags shown in Table 6-1.
Flag |
Definition |
---|---|
-Sserver_name |
Specifies the name of the Enhanced Full-Text Search engine and is used to locate the configuration file and the network connection information in the interfaces file. |
-t |
Causes the Enhanced Full-Text Search engine to write start-up messages to standard error. |
-lerrorlog_path |
Specifies the path to the error log file. |
-iinterfaces_file_path |
Specifies the path to the interfaces file. |
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-2 shows the path environment variable to use for each platform.
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.