Sybase ASE Developer Edition Linux Installation Guide
Sybase ASE Developer Edition Linux Installation Guide
www.sap.com
TABLE OF CONTENTS
INSTALLING ADAPTIVE SERVER .................................................................................................................. 3
Installing Adaptive Server with the GUI Wizard ........................................................................................... 3
STARTING AND STOPPING ADAPTIVE SERVER ......................................................................................... 5
Start Server ...................................................................................................................................................... 5
Server Startup-Parameters ................................................................................................................................ 5
Using the startserver Command ........................................................................................................................ 6
Adaptive Server Default Configuration Parameters ..................................................................................... 7
Connecting to Adaptive Server with isql ....................................................................................................... 7
Stopping Adaptive Server ............................................................................................................................... 7
Select the software license type for the Adaptive Server suite:
o Install Free Developer Edition of Adaptive Server Suite
Choose the most appropriate region, read the license terms, then click I agree. Click Next.
After installation, following screen will come to configure New Adaptive Server Make sure that create sample
databases option is selected. If you chose a typical installation, the installer asks you following options , in
screen typical of above.
Now configure following options based on Ports availability of your machine. Leaving defaults is recommended.
Configure New Adaptive Server
Adaptive Server name
System administrator password
Port number
Error Log
Application Type- OLTP/DSS
Page Size
Default Language
Default Character set
Configure Self-Management
Self-management user name Sybase Control Center- Configure Self Discovery Service Service Adaptor
Configure UDP Adaptor ( Recommended)
Sybase Control Center (SCC)
Configure RMI Port -RMI Port- Integer between 1025-65535
SCC Login Module
Start Server
Start Adaptive Server or Backup Server from the command line.
You can start Adaptive Server or Backup Server using RUN_server_name files and startserver commands. You can
also customize the start up options by editing RUN_server_name.
To start a server, your user account must have:
Access to the database servers (execute privileges) and database devices (read/write privileges).
Access to Adaptive Server distribution files.
System environment variables set.
Access to SySAM licenses.
The installation program creates the interfaces file and system environment variables when you install servers on your
computer.
Server Startup-Parameters
Set the start-up parameters to the correct location and device names for starting an Adaptive Server or Backup Server.
The default start-up parameters are stored under $SYBASE/$SYBASE_ASE/install/RUN_server_name, where
server_name is the name of the server you installed.
You cannot change any of these default start-up parameters unless you edit the SYBASE/$SYBASE_ASE/install/RUN_
server_name file.
Switch
Description
-d $SYBASE/data/master.dat
-s server_name
-e $SYBASE%\$SYBASE_ASE\ install\errorlog
-i $SYBASE\ini
-M $SYBASE\$SYBASE_ASE
-N $SYBASE\$SYBASE_ASE\sysam\<srv_name>.properties
RUN_server_name File
Each time a new Adaptive Server or Backup Server is created, the srvbuild program creates a RUN_server_name file
that contains the information required to restart that server.
RUN_server_name files are created in the $SYBASE/$SYBASE_ASE/install directory.
For Adaptive Server, the RUN_servername file is named RUN_servername , where servername is the name of the
server. For example, the RUN_servername file name for an Adaptive Server named TEST is RUN_TEST.
For Backup Server, the RUN_servername files is named RUN_servername_back.
Warning! Do not delete the RUN_servername file that is created in $SYBASE/$SYBASE_ASE/install. This file
restarts servers when you customize your installation. If you need the RUN_servername file in another location, make a
copy of the original RUN_servername file in the new location
Only the system administrator can issue a shutdown command. Using a shutdown command minimizes the amount of
work that automatic recovery needs to do when the servers are restarted. The preferred method of stopping Adaptive
Server is to use the Transact-SQL shutdown command.
2. Enter:
1> shutdown
2> go
The default for the shutdown command is with wait. The with wait option allows Adaptive Server to finish executing
SQL statements or procedures, perform a checkpoint in each database, disable new logins, and perform other shutdown
tasks.
A message similar to this prints to the stderr file:
Server SHUTDOWN by request. The SQL Server is terminating this process.
CT-LIBRARY error:
This is normal behavior.
If the message indicates that Adaptive Server is waiting for processes to complete, and you must stop Adaptive Server
immediately, you can use the shutdown with nowait command.
shutdown with nowait does not wait for currently executing statements to finish, nor does it perform checkpoints in
every database. Use the shutdown with nowait command only when necessary.