startserver

Description

Starts an Adaptive Server or a Backup Server. startserver is located in $SYBASE/ASE-12_5/bin.

NoteThis utility is not available for Windows NT.

Syntax

startserver [[-f runserverfile] [-m]] ...

Parameters

-f runserverfile

specifies the relative path name of a runserver file, which is used as a reference each time you start an Adaptive Server or Backup Server. By default, the runserver file is in the current directory and is named RUN_servername. If you start a second Adaptive Server on the same machine, startserver creates a new runserver file named RUN_servername.

-m

starts Adaptive Server in single-user mode, allowing only one System Administrator to log in, and turns the allow updates to system tables configuration parameter on. Use this mode to restore the master database. The System Administrator can use the dbo use only parameter of sp_dboption for system administration activities that require more than one process, such as bulk copying or using the data dictionary. startserver normally starts up only one server per node.

The -m parameter creates an m_RUNSERVER file and overwrites any existing m_RUNSERVER file.

Examples

Example 1

Starts an Adaptive Server named SYBASE from the runserver file named RUN_servername in the current directory:

startserver

Example 2

Starts an Adaptive Server named MYSERVER and a Backup Server named SYB_BACKUP:

startserver -f RUN_MYSERVER -f RUN_SYB_BACKUP

Example 3

Starts only the Backup Server SYB_BACKUP:

startserver -f RUN_SYB_BACKUP

Usage


The runserver file

See also

Commandsdisk mirror, disk remirror, disk unmirror

Utilitiesbackupserver, dataserver