The Runserver File

The runserver file, which is created by srvbuild during installation, contains the dataserver command to start an SAP ASE server or the backupserver command to start Backup Server.

By default, the file is in the current directory and is named RUN_servername. Edit the runserver file to correct the options and parameters for the commands. This example shows two sample runserver files.

Runserver file for server MYSERVER:
#!/bin/sh
#
# Adaptive Server Information:
#  name:                          /MYSERVER
#  master device:                 /remote/Masters/myserver_dat
#  master device size:            10752
#  errorlog:                      /remote/serverdev/install/errorlog
#  interfaces:                    /remote/serverdev/interfaces
#
#
/$SYBASE/$SYBASE_ASE/bin/dataserver -d/remote/Masters/myserver_dat \ 
-sMYSERVER -e/remote/serverdev/install/MYSERVER_errorlog \
-i/remote/serverdev &
Runserver file for Backup Server SYB_BACKUP:
#!/bin/sh
#
# Backup Server Information:
#  name:                          SYB_BACKUP
#  errorlog:                      /remote/serverdev/install/backup.log
#  interfaces:                    /remote/serverdev/interfaces
#  location of multibuf:          /remote/serverdev/bin/sybmultbuf
#  language:                      us_english
#  character set:                 iso_1
#  tape configuration file:       /remote/serverdev/backup_tape.cfg
#
#
/remote/serverdev/bin/backupserver -SSYB_BACKUP \
-e/remote/serverdev/install/backup.log \
-I/remote/serverdev/interfaces \
-M/remote/serverdev/bin/sybmultbuf -Lus_english -Jiso_1 \
-c/remote/serverdev/backup_tape.cfg