Sybase Adaptive Server Enterprise 11.0.3.3 under Linux 설치하기

리눅스코리아 기술지원부, 문 태준 1998년 10월 16일

목차

1. 소개
2. 설치하기

2.1 프로그램 가져오기
2.2. 시스템 / 디스크 용량 확인하기
2.3. rpm 압축 화일 풀기
2.4. 계정 설정
3. ASE 환경 설정하기
3.1 Configure a Server product : SQL Server 설정
3.2. Edit / View Interfaces File
3.3. Configure a Server product : Backup Server 설정
3.4. CONFIGURE CONNECTIVITY PRODUCTS
4. 데이터베이스 접속하기


1. 소개

이 문서는 Sybase Adaptive Server Enterprise 11.0.3.3 under Linux를 설치하기 위한 HOWTO 문서이며 사용자가 이미 Red Hat Linux/Unix의 기본 명령과 운영방식을 알고 있다는 가정하에 서술하였습니다. Red Hat 5.1을 기준으로 설명하며 Red Hat Linux 5.1 또는 Unix의 기본 운영에 관한 것은 다른 관련문서나 설명서를 참고하기 바랍니다.

아래의 명령에서 #는 root 계정으로, $는 sybase 계정으로 실행하는 것을 의미합니다.

2. 설치하기

2.1 프로그램 가져오기
리눅스용 Sybase Adaptive Server Enterprise 11.0.3.3 은 현재 사이베이스 홈페이지, Redhat, Caldera Systems, S.u.S.E,Inc.에서 구할 수 있습니다.
각 홈페이지로 이동하면 등록하는 화면이 나오며 여기에서 등록을 하면 프로그램을 다운 받을 수 있습니다.
다운을 받은 디렉토리로 이동하여 다음의 화일을 확인합니다.


# cd YOUR-RPMS-i386-archive-directory
# ls -l
sybase-ase-11.0.3.3-1.i386.rpm
sybase-doc-11.0.3.3-1.i386.rpm

기본 패키지인 "sybase-ase-11.0.3.3-1.i386.rpm"에는 full localization 과 character sets를 가진 완전한 Adaptive ServerEnterprise 11.0.3.3 run-time and development area를 포함하고 있습니다. ASE는 10.0.4 Open Client/Open Server run-time 라이브버리와 ESQL/C의 접속도구와 함께 Sybase SQL Server, Backup Server, Sybinit, Sybmon을 포함합니다. 문서 패키지인 "sybase-doc-11.0.3.3-1.i386.rpm"에는 포스트 스크립트로 된 완벽한 제품 설명서가 있습니다.

2.2 시스템 / 디스크 용량 확인
Sybase ASE server는 리눅스 플랫폼에서 최소 64MBytes의 메모리와 fast physical disk I/O를 가진 플랫폼에서 설 치하는 것을 권장합니다.
설치하기 전에 포스트 스크립트 문서까지 포함한 전체 인스톨에는 200Mbyte가 필요하며, 포스트 스크립트 문서없이 Sybase Adaptive Server Enterprise만 설치하면 최소 120Mbyte가 필요합니 다. 패키지가 설치된 후 오직 run-time 환경만 필요하면 development Open Client and Open Server Libraries를 제거함으로써 공간은 줄어듭니다.

2.3 rpm 압축 화일 풀기
sybase-ase-11.0.3.3-1.i386.rpm 을 풉니다.


# rpm -i sybase-ase-11.0.3.3-1.i386.rpm

DO YOU AGREE WITH THE LISTED LICENSE CONDITIONS? [Yes/No/List] : 

LICENSE에 동의하는 것을 물어보며 Y를 칩니다.

2.4 계정 설정
LICENSE에 동의하였으면 /opt/sybase/install/sybinstall.sh 스크립트를 자동으로 실행하여 데이터 베이스 관리자 계정과 소유권, 퍼미션을 설정합니다.
만약 NIS이 있으면 스크립트가 자동으로 감지를 합니다. NIS 환경이라면 설치를 진행하기 전에 NIS 관리에 의한 유저 계정 설정이 필요합니다. 언제라도 'root'로서 스크립트를 다시 실행할 수 있습니다.
그룹과 계정은 sybase가 기본값으로 설정이 되어있으며 계정이 없으면 스크립트가 자동으로 만듭 니다. 그룹과 계정을 설정하면 Sybase Adaptive Server Enterprise 패키지를 인스톨합니다.
Sybase Adaptive Server Enterprise는 /opt/sybase에 인스톨됩니다. 인스톨이 끝나면 'sybase'로 로그인하고 /opt/sybase/install/sybinit를 실행하여 환경 설정을 해야 합니다. 처음에 'sybase'로 로그인하면 자동으로 이 과정이 실행이 됩니다. 환경설정을 다시 하려면 'sybase' 인스톨 디렉토 리에서 .readme 와 .sysinit 파일을 제거하면 됩니다.


3. ASE 환경 설정하기

인스톨이 끝나고 'sybase'로 로그인을 하며(su - sybase) 처음으로 로그인을 할 때는 ASE의 환 경설정을 하는 메뉴 방식의 sysinit 가 자동으로 시작합니다.
ASE를 설정하기 전에 몇개의 시스템 자원에 대해서 정의하고 알고 있어야 합니다. 사용하지 않 는 네트웍 port를 할당하여야 하고, 환경설정을 하기 위해서는 master와 sybsystemprocs 데이터 베이스 디바이스를 초기화하기 위해서 최소 37Mbytes가 필요합니다.
앞으로 많은 질문들이 나오며 잘 모르는 경우에는 보통 기본값으로 설정을 하면 됩니다. 매 질문 마다 환경설정을 하였으면 Ctrl-a를 누르고 저장한 후 빠져나오며 그냥 빠져나오려면 Ctrl-x를 누르면 됩니다. 다음 화면이 SYBINIT의 메인 메뉴입니다.

    SYBINIT

    1.  Release directory:  /opt/sybase
    2.  Edit / View Interfaces File
    3.  Configure a Server product
    4.  Configure an Open Client/Server product


    Ctrl-a Accept and Continue, Ctrl-x Exit Screen, ? Help.
    Enter the number of your choice and press return: 3

3.1. Main MENU : Configure a Server product
SQL 서버의 환경을 설정합니다.

3번 Configure a Server product
-> 1. SQL server
-> NEW OR EXITING SQL SERVER
1. Confiruge a new SQL Server
-> ADD NEW SQL SERVER
1. SQL Server name : SYBASE

(새 SQL Server를 설정하는데 서버 이름이 설정되어야 한다. 지정된 SQL 서버에 접속하기 위해 이 이름을 가지고 다른 클라이언트와 서버에서 접속할 수 있다. 기본값은 SYBASE이며 사용자가 바꿀수 있다.)

3.1.2. SQL SERVER CONFIGURATION
sysinit 이전에 완결되어야 할 아래 9단계의 메뉴는 처음에 환경이 설정된 SQL Server를 띄울 수 있다.

 
    SQL SERVER CONFIGURATION
    1.  CONFIGURE SERVER'S INTERFACES FILE ENTRY     Incomplete
    2.  MASTER DEVICE CONFIGURATION                  Incomplete
    3.  SYBSYSTEMPROCS DATABASE CONFIGURATION        Incomplete
    4.  SET ERRORLOG LOCATION                        Incomplete
    5.  CONFIGURE DEFAULT BACKUP SERVER              Incomplete
    
    6.  CONFIGURE LANGUAGES                          Incomplete
    7.  CONFIGURE CHARACTER SETS                     Incomplete
    8.  CONFIGURE SORT ORDER                         Incomplete
    9.  ACTIVATE AUDITING                            Incomplete

 Ctrl-a Accept and Continue, Ctrl-x Exit Screen, ? Help.
    Enter the number of your choice and press return: 1
    
1. CONFIGURE SERVER'S INTERFACES FILE ENTRY
=> SERVER INTERFACES FILE ENTRY SCREEN
3. Add a new listener service
-> EDIT TCP SERVICE
1. Hostname/Address : snippy.sybase.com
2. PORT : 7100
-> 환경 설정한 것을 확인, 저장하고 SQL SERVER CONFIGURATION으로 빠져나온 다.
(위의 예에서는 SQL 서버 이름을 'SYBASE'로 지정한 서버가 snippy라는 호스트에서 사용할 수 있는 7100 포트를 열어두고 있다는 것을 보여준다. 포트는 앞에서 설명한대로 아직 사용하고 있 지 않은 포트를 설정해야 하고 hostname은 각자 환경에 맞게 설정을 하면 된다. )

2. MASTER DEVICE CONFIGURATION
(처음 환경 설정을 하는 것이면 기본 설정을 사용한다. mster device size는 최소 21MBytes가 필 요하다-기본값으로 설정되어 있음)

3. SYBSYSTEMPROCS DATABASE CONFIGURATION
(Sybsystemprocs database는 저장된 프로시져의 Sybase 시스템을 유지하는데 쓰여진다. 기본값 으로 Sybase ASE 환경은 데이터베이스 관리자를 편하게 하기 위한 저장된 프로시져 세팅을 가 지고 있다. 이 디바이스는 적어도 최소 16Mbytes를 써야한다. 기본으로 설정되어 있다.)

4. SET ERRORLOG LOCATION
(Sybase SQL Server에서는 SQL Server와 커널 메시지 로그를 담을 파일이 필요하다. 가능한한 지정하는 것을 추천한다)

5. CONFIGURE DEFAULT BACKUP SERVER
(시간이 지날수록 백업은 더 필요해진다. Backup Server를 지정해주어야 한다. 이 예제에서는 SYB_BACKUP으로 지정을 하는 것으로 하겠다)

6. CONFIGURE LANGUAGES
(기본값으로 us_english locale setup으로 되어 있다.)

7. CONFIGURE CHARACTER SETS
8. CONFIGURE SORT ORDER
(원하는 character 세트와 sort order를 고른다.)

9. ACTIVATE AUDITING
(기본값은 enabled이다.)

여기까지 진행하였으면 9개의 메뉴가 모드 complete가 된것을 확인합니다. 모든 옵션이 정해졌으면 sybinit는 환경 설정된 디바이스와 데이터베이스를 만들고 처음으로 SQL Server를 띄울 것입니다. "Execute the SQL Server Configuration now?"라고 물어보며 여기서 Y를 치면 됩니다. 데이터베이스 디바이스를 만들고 서버를 띄우는 데는 시간이 걸립니다. 플랫폼의 성능에 따라 이 과정은 30분이 걸리기도 합니다. 이 작업이 끝나면 Configuration completed successfully 라고 나오며 아무 키나 치면 sysinit 환경 설정 화면으로 돌아갑니다. 이제 Sybase SQL Server가 환경설정이 끝나고 운영됩니다.('ps'와 'netstat'로 확인할 수 있습니다)

SYBINIT MAIN MENU로 돌아가야하는데 이 과정에서 백업서버 설정이 나오지만 백업 서버 설 정은 메인 메뉴 2번의 'interfaces' editor를 하고 나서 해야합니다.


SYBINIT 1. Release directory: /opt/sybase 2. Edit / View Interfaces File 3. Configure a Server product 4. Configure an Open Client/Server product

3.2 MAIN MENU : 2. Edit / View Interfaces File
Sybinit는 'interfaces' 파일을 관리하는데도 쓰여질 수 있습니다. interfaces file은 포트와 함께 네 트웍 ip 어드레스가 할당되고 이름이 주어진 Sybase 서비스를 묘사하고 있는 아스키 텍스트 포맷 의 화일입니다.

2. Edit / View Interfaces File
-> Interfaces File :
1. Add a new entry
-> CREATE NEW INTERFACES FILE ENTRY
1. Server name :
-> 추가할 서버의 이름을 입력한다. 기본값은 ''이다. SYB_BACKUP을 입력한다.
-> 입력한 Server name이 화면에 나오면 3. Add a new listener service를 선택한다.
-> EDIT TCP SERVICE
2. Port:
-> port에 사용하지 않는 포트를 입력한다. (예 7110)
-> 저장하고 빠져나와 MAIN MENU로 간다.

3.3 MAIN MENU : 3. Configure a Server product
Backup Server를 세팅합니다.

3. Configure a Server product
-> 2. Backup Server
-> NEW OR EXISTING BACKUP SERVER
1. Configure a new Backup Server
-> ADD NEW BACKUP SERVER
1. Backup Server name :
(Backup Server의 이름을 입력한다. SYB_BACKUP)
아래에서 기본 세팅으로 Backup Server를 시작할 것을 요청한다. SQL Server와 같이 Backup Server도 옵션의 locale과 character 세팅으로 환경 설정할 수 있다. SQL Server 세팅을 참고한 다. 세팅을 수정하고 저장하면 "Execute the Backup Server configuration now?" 라고 물어본다. 여기서 Y를 치면 Backup Server를 세팅한다. -> 저장하고 MAIN MENU로 빠져나온다.

3.4 MAIN MENU : 4. CONFIGURE CONNECTIVITY PRODUCTS
아래 단계에서는 Open Client 와 Open Server Sybase ASE 환경을 설정합니다. 모든 제품이 하 나의 단일한 rpm 패키지에 구성되었기 때문에 이것은 리눅스 인스톨에서 반드시 필요한 것은 아 닙니다. 다음 단계를 수행하는것은 당신의 시스템에 정확한 라이브러리와 지원 파일을 인스톨하는 것을 보장할 것입니다. 1, 2, 3번 모두 차례대로 수행하면 자동으로 진행이 됩니다.



    CONFIGURE CONNECTIVITY PRODUCTS

    Products:

        Product                 Date Installed    Date Configured
    1.  Open Client Library     05 Sep 1998 15:4  08 Sep 1998 22:0
    2.  Open Server Library     05 Sep 1998 15:4
    3.  Embedded SQL/C Precomp  05 Sep 1998 15:4
    
이제 처음으로 환경이 설정된 SQL Server에 접근할 준비가 되었습니다. 제대로 진행이 되었으면 'sybase'로 로그인을 하며쉘 프람프트가 기다리는 것을 발견할 것입니다.


    Exiting.
    The log file for this session is 
          '/opt/sybase/init/logs/log0908.001'.
    


4. 데이터베이스 접속하기
SQL Server에 로그인하고 데이터베이스를 불러오고, 백업을 만드는 엔진 작업을 작업을 점검하 고 서버 환경 설정 옵션을 확인하십시오. Sybase Adaptive Enterprise setup를 하고 난후 문서와 뉴스 그룹에 문의를 하십시요.

sybase에서 데이터베이스에 접속하기 위해서는 "isql" 프로그램을 사용합니다.

프로그램 설치와 환경설정이 끝났으면 "isql -Usa -P" 명령을 이용하여 데이터베이스에 접속할 수 있습니다.
데이터베이스에 접속을 하였으면 isql 에서 질의를 서버에 보내기 위해서는 go를 사용합니다.
쿼리 버퍼에 있는 내용을 지우려면 reset을 쓰면 됩니다.
현재의 환경 설정을 확인하려면 sp_configure를 사용합니다.
질의를 마친 후 isql에서 빠져나오기 위해서는 quit 나 exit를 사용하여 빠져나올 수 있으며 서버를 중지시키려면 shutdown를 하고 빠져나오면 됩니다.


$ isql -Usa -P

1> sp_who
2> go
1> quit
scripts디렉토리의 installpubs2를 이용하여 pubs2 데이터베이스를 만듭니다. 데이터베이스에 접속하여 pubs2 데이터베이스를 열고 select 문을 수행합니다. use는 다른 데이터베이스를 사용할때 씁니다.

$ isql -Usa -P -i ${SYBASE}/scripts/installpubs2

$ isql -Usa -P
1> use pubs2   
2> go
1> select * from titles
2> order by price
3> go

만약 shutdown을 하여 SQL Server를 중지시키고 빠져나왔으면 다시 SQL Server를 시작하기 위해서는 dataserver나 startserver를 사용합니다.
startserver -f runserverfile 의 형태로 runserver file의 정보를 사용하여 서버를 시작합니다.
showserver 프로그램을 이용하면 현재 로컬 컴퓨터에서 실행되고 있는 SQL Server와 Backup Server를 보여줍니다.


$ cd install/
$ ./startserver -f ./RUN_SYBASE
자세한 내용은 doc 디렉토리의 포스트 스크립트 매뉴얼을 참고하십시오.

   [관련 예제]

    [sybase@snippy sybase]$ isql -Usa -P
    1> select @@version
    2> go
    
    
    
    	---------------------------------------------------------------------------------------
    
    	 SQL Server/11.0.3.3/P/Linux Intel/Linux 2.0.36 i586/1/OPT/Sun Sep  6 09:36:01 CEST 1998
    
    (1 row affected)
    1> sp_who
    2> go
     spid   status       loginame     hostname   blk   dbname     cmd
     ------ ------------ ------------ ---------- ----- ---------- ----------------
          1 running      sa           snippy.syb 0     master     SELECT
          2 sleeping     NULL                    0     master     NETWORK HANDLER
          3 sleeping     NULL                    0     master     DEADLOCK TUNE
          4 sleeping     NULL                    0     master     MIRROR HANDLER
          5 sleeping     NULL                    0     master     HOUSEKEEPER
          6 sleeping     NULL                    0     master     CHECKPOINT SLEEP
    
    (6 rows affected, return status = 0)
    1> SYB_BACKUP...sp_who
    2> go
     spid        status     loginame     hostname   blk cmd
     ----------- ---------- ------------ ---------- --- ----------------
               1 sleeping   NULL         NULL       0   CONNECT HANDLER
               2 sleeping   NULL         NULL       0   DEFERRED HANDLER
               3 runnable   NULL         NULL       0   SCHEDULER
               5 runnable   NULL         NULL       0   SITE HANDLER
    
    (5 rows affected)
    1>
    
    [sybase@snippy sybase]$ isql -Usa -P -i ${SYBASE}/scripts/installpubs2
    Creating the "pubs2" database
    CREATE DATABASE: allocating 1024 pages on disk 'master'
    Type added.
    (return status = 0)
    Type added.
    (return status = 0)
    New primary key added.
    (return status = 0)
    New primary key added.
    (return status = 0)
    New primary key added.
    (return status = 0)
    New primary key added.
    (return status = 0)
    New primary key added.
    (return status = 0)
    New primary key added.
    (return status = 0)
    New primary key added.
    (return status = 0)
    New primary key added.
    (return status = 0)
    New primary key added.
    (return status = 0)
    New primary key added.
    (return status = 0)
    New primary key added.
    (return status = 0)
    New foreign key added.
    (return status = 0)
    New foreign key added.
    (return status = 0)
    New foreign key added.
    (return status = 0)
    New foreign key added.
    (return status = 0)
    New foreign key added.
    (return status = 0)
    New foreign key added.
    (return status = 0)
    New foreign key added.
    (return status = 0)
    New foreign key added.
    (return status = 0)
    New foreign key added.
    (return status = 0)
    New foreign key added.
    (return status = 0)
    Default bound to column.
    (return status = 0)
    Default bound to column.
    (return status = 0)
    Default bound to column.
    (return status = 0)
    Rule bound to table column.
    (return status = 0)
    Rule bound to table column.
    (return status = 0)
    Rule bound to table column.
    (return status = 0)
    (return status = 0)

    [sybase@snippy sybase]$ isql -Usa -P
    1> sp_helpdb
    2> go
     name                     db_size       owner                    dbid
    	 created
    	 status
     ------------------------ ------------- ------------------------ ------
    	--------------
    	------------------------------------------------------------------------------------------------------
     master                          5.0 MB sa                            1
    	 Jan 01, 1900
    	 no options set
     model                           2.0 MB sa                            3
    	 Jan 01, 1900
    	 no options set
     pubs2                           2.0 MB sa                            5
    	 Sep 08, 1998
    	 no options set
     sybsystemprocs                 16.0 MB sa                            4
    	 Sep 08, 1998
    	 trunc log on chkpt
     tempdb                          2.0 MB sa                            2
    	 Sep 08, 1998
    	 select into/bulkcopy
    
    (return status = 0)
    1> use pubs2
    2> go
    1> select * from titles
    2> order by price
    3> go
     title_id
    	 title
    	 type         pub_id price                    advance
    	 total_sales
    	 notes
    	 pubdate                    contract
     --------
    	--------------------------------------------------------------------------------
    	------------ ------ ------------------------ ------------------------
    	-----------
    	--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    	-------------------------- --------
     MC3026
    	 The Psychology of Computer Cooking
    	 UNDECIDED    0877                       NULL                     NULL
    	        NULL
    	 NULL
    	        Sep  8 1998 10:05PM        0
     PC9999
    	 Net Etiquette
    	 popular_comp 1389                       NULL                     NULL
    	        NULL
    	 A must-read for computer conferencing debutantes!
    	        Sep  8 1998 10:05PM        0
     BU2075
    	 You Can Combat Computer Stress!
    	 business     0736                       2.99                10,125.00
    	       18722
    	 The latest medical and psychological techniques for living with the electronic office.  Easy-to-understand explanations.
    	        Jun 30 1985 12:00AM        1
     MC3021
    	 The Gourmet Microwave
    	 mod_cook     0877                       2.99                15,000.00
    	       22246
    	 Traditional French gourmet recipes adapted for modern microwave cooking.
    	        Jun 18 1985 12:00AM        1
     PS2106
    	 Life Without Fear
    	 psychology   0736                       7.00                 6,000.00
    	         111
    	 New exercise, meditation, and nutritional techniques that can reduce the shock of daily interactions. Popular audience.  Sample menus included, exercise video available separately.
    	        Oct  5 1990 12:00AM        1
     PS7777
    	 Emotional Security: A New Algorithm
    	 psychology   0736                       7.99                 4,000.00
    	        3336
    	 Protecting yourself and your loved ones from undue emotional stress in the modern world.  Use of computer and nutritional aids emphasized.
    	        Jun 12 1988 12:00AM        1
     PS2091
    	 Is Anger the Enemy?
    	 psychology   0736                      10.95                 2,275.00
    	        2045
    	 Carefully researched study of the effects of strong emotions on the body.  Metabolic charts included.
    	        Jun 15 1989 12:00AM        1
     BU1111
    	 Cooking with Computers: Surreptitious Balance Sheets
    	 business     1389                      11.95                 5,000.00
    	        3876
    	 Helpful hints on how to use your electronic resources to the best advantage.
    	        Jun  9 1988 12:00AM        1
     TC4203
    	 Fifty Years in Buckingham Palace Kitchens
    	 trad_cook    0877                      11.95                 4,000.00
    	       15096
    	 More anecdotes from the Queen's favorite cook describing life among English royalty.  Recipes, techniques, tender vignettes.
    	        Jun 12 1985 12:00AM        1
     TC7777
    	 Sushi, Anyone?
    	 trad_cook    0877                      14.99                 8,000.00
    	        4095
    	 Detailed instructions on improving your position in life by learning how to make authentic Japanese sushi in your spare time.  5-10% increase in number of friends per recipe reported from beta test.
    	        Jun 12 1987 12:00AM        1
     BU1032
    	 The Busy Executive's Database Guide
    	 business     1389                      19.99                 5,000.00
    	        4095
    	 An overview of available database systems with emphasis on common business applications.  Illustrated.
    	        Jun 12 1986 12:00AM        1
     BU7832
    	 Straight Talk About Computers
    	 business     1389                      19.99                 5,000.00
    	        4095
    	 Annotated analysis of what computers can do for you: a no-hype guide for the critical user.
    	        Jun 22 1987 12:00AM        1
     MC2222
    	 Silicon Valley Gastronomic Treats
    	 mod_cook     0877                      19.99                     0.00
    	        2032
    	 Favorite recipes for quick, easy, and elegant meals, tried and tested by people who never have time to eat, let alone cook.
    	        Jun  9 1989 12:00AM        1
     PS3333
    	 Prolonged Data Deprivation: Four Case Studies
    	 psychology   0736                      19.99                 2,000.00
    	        4072
    	 What happens when the data runs dry?  Searching evaluations of information-shortage effects on heavy users.
    	        Jun 12 1988 12:00AM        1
     PC8888
    	 Secrets of Silicon Valley
    	 popular_comp 1389                      20.00                 8,000.00
    	        4095
    	 Muckraking reporting by two courageous women on the world's largest computer hardware and software manufacturers.
    	        Jun 12 1987 12:00AM        1
     TC3218
    	 Onions, Leeks, and Garlic: Cooking Secrets of the Mediterranean
    	 trad_cook    0877                      20.95                 7,000.00
    	         375
    	 Profusely illustrated in color, this makes a wonderful gift book for a cuisine-oriented friend.
    	        Oct 21 1990 12:00AM        1
     PS1372
    	 Computer Phobic and Non-Phobic Individuals: Behavior Variations
    	 psychology   0877                      21.59                 7,000.00
    	         375
    	 A must for the specialist, this book examines the difference between those who hate and fear computers and those who think they are swell.
    	        Oct 21 1990 12:00AM        1
     PC1035
    	 But Is It User Friendly?
    	 popular_comp 1389                      22.95                 7,000.00
    	        8780
    	 A survey of software for the naive user, focusing on the 'friendliness' of each.
    	        Jun 30 1986 12:00AM        1
    
    (18 rows affected)

    1> use master
    2> go

    1> dump database pubs2 to "/tmp/pubs2"
    2> go
    Backup Server session id is:  7.  Use this value when executing the
    'sp_volchanged' system stored procedure after fulfilling any volume change
    request from the Backup Server.
    Backup Server: 4.41.1.1: Creating new disk file /tmp/pubs2.
    Backup Server: 6.28.1.1: Dumpfile name 'pubs298251136FE  ' section number 0001
    mounted on disk file '/tmp/pubs2'
    Backup Server: 4.58.1.1: Database pubs2: 770 kilobytes DUMPed.
    Backup Server: 3.43.1.1: Dump phase number 1 completed.
    Backup Server: 3.43.1.1: Dump phase number 2 completed.
    Backup Server: 3.43.1.1: Dump phase number 3 completed.
    Backup Server: 4.58.1.1: Database pubs2: 778 kilobytes DUMPed.
    Backup Server: 3.42.1.1: DUMP is complete (database pubs2).

    1> shutdown SYB_BACKUP
    2> go
    Backup Server: 3.48.1.1: The Backup Server will go down immediately.
    Terminating sessions.

    1> shutdown
    2> go
    Server SHUTDOWN by request.
    The SQL Server is terminating this process.
    DB-LIBRARY error:
    	Unexpected EOF from SQL Server.

    [sybase@snippy sybase]$ cd install/
    [sybase@snippy install]$ ./startserver -f ./RUN_SYBASE
    [sybase@snippy install]$ 00:1998/09/08 22:07:29.80 kernel  Using config area from primary master device.
    00:1998/09/08 22:07:30.00 kernel  Warning: Using default file
    '/opt/sybase/SYBASE.cfg' since a configuration file was not specified.
    Specify a configuration file name in the RUNSERVER file to avoid this message.
    00:1998/09/08 22:07:30.02 kernel  Using 256 file descriptors.
    00:1998/09/08 22:07:30.02 kernel  SQL Server/11.0.3.3/P/Linux Intel/Linux 2.0.36 i586/1/OPT/Sun Sep  6 09:36:01 CEST 1998
    00:1998/09/08 22:07:30.02 kernel  (c) Copyright 1987, 1998.
    00:1998/09/08 22:07:30.02 kernel  Sybase, Inc.  All rights reserved.
    00:1998/09/08 22:07:30.03 kernel
    00:1998/09/08 22:07:30.03 kernel  Unpublished rights reserved under U.S. copyright laws.
    00:1998/09/08 22:07:30.03 kernel  This software contains confidential and trade secret information of Sybase,
    00:1998/09/08 22:07:30.03 kernel  Inc.   Use,  duplication or disclosure of the software and documentation by
    00:1998/09/08 22:07:30.03 kernel  the  U.S.  Government  is  subject  to  restrictions set forth in a license
    00:1998/09/08 22:07:30.03 kernel  agreement  between  the  Government  and  Sybase,  Inc.  or  other  written
    00:1998/09/08 22:07:30.03 kernel  agreement  specifying  the  Government's rights to use the software and any
    00:1998/09/08 22:07:30.03 kernel  applicable FAR provisions, for example, FAR 52.227-19.
    00:1998/09/08 22:07:30.04 kernel
    00:1998/09/08 22:07:30.04 kernel  Sybase, Inc. 6475 Christie Avenue, Emeryville, CA 94608, USA.
    00:1998/09/08 22:07:30.04 kernel  Using '/opt/sybase/SYBASE.cfg' for configuration information.
    00:1998/09/08 22:07:30.04 kernel  Logging SQL Server messages in file '/opt/sybase/install/errorlog'
    .
    00:1998/09/08 22:07:30.06 kernel  Network and device connection limit is 246.
    00:1998/09/08 22:07:30.14 server  Number of proc buffers allocated: 472.
    00:1998/09/08 22:07:30.35 server  Number of blocks left for proc headers: 519.
    00:1998/09/08 22:07:30.36 server  Memory allocated for the default data cache cache: 3544 Kb
    00:1998/09/08 22:07:30.37 server  Size of the 2K memory pool: 3544 Kb
    00:1998/09/08 22:07:30.38 kernel  Initializing virtual device 0, '/opt/sybase/master.dat'
    00:1998/09/08 22:07:30.38 kernel  Virtual device 0 started using standard unix i/o.
    00:1998/09/08 22:07:30.38 server  No active traceflags
    00:1998/09/08 22:07:30.43 server  Opening Master Database ...
    00:1998/09/08 22:07:30.68 server  Loading SQL Server's default sort order and character set
    00:1998/09/08 22:07:30.70 kernel  network name snippy.sybase.com, type ether, port 7100
    00:1998/09/08 22:07:30.76 server  Recovering database 'master'
    00:1998/09/08 22:07:30.78 server  Recovery dbid 1 ckpt (2005,9)
    00:1998/09/08 22:07:30.78 server  Recovery no active transactions before ckpt.
    00:1998/09/08 22:07:31.09 server  Database 'master' is now online.
    00:1998/09/08 22:07:31.11 server  The transaction log in the database 'master' will use I/O size of 2 Kb.
    00:1998/09/08 22:07:31.11 server  0 dump conditions detected at boot time
    00:1998/09/08 22:07:31.18 server  server is unnamed
    00:1998/09/08 22:07:31.22 server  Activating disk 'sysprocsdev'.
    00:1998/09/08 22:07:31.22 kernel  Initializing virtual device 1, '/opt/sybase/sybprocs.dat'
    00:1998/09/08 22:07:31.22 kernel  Virtual device 1 started using standard unix i/o.
    00:1998/09/08 22:07:31.48 server  Recovering database 'model'.
    00:1998/09/08 22:07:31.48 server  Recovery dbid 3 ckpt (431,34)
    00:1998/09/08 22:07:31.48 server  Recovery no active transactions before ckpt.
    00:1998/09/08 22:07:31.67 server  The transaction log in the database 'model' will use I/O size of 2 Kb.
    00:1998/09/08 22:07:31.67 server  Database 'model' is now online.
    00:1998/09/08 22:07:31.67 server  Clearing temp db
    00:1998/09/08 22:07:32.22 server  The transaction log in the database 'tempdb' will use I/O size of 2 Kb.
    00:1998/09/08 22:07:32.27 server  The transaction log in the database 'tempdb' will use I/O size of 2 Kb.
    00:1998/09/08 22:07:32.27 server  Database 'tempdb' is now online.
    00:1998/09/08 22:07:32.41 server  Recovering database 'sybsystemprocs'.
    00:1998/09/08 22:07:32.42 server  Recovery dbid 4 ckpt (6981,13)
    00:1998/09/08 22:07:32.42 server  Recovery no active transactions before ckpt.
    00:1998/09/08 22:07:33.26 server  The transaction log in the database 'sybsystemprocs' will use I/O size of 2 Kb.
    00:1998/09/08 22:07:33.27 server  Database 'sybsystemprocs' is now online.
    00:1998/09/08 22:07:33.28 server  Recovering database 'pubs2'.
    00:1998/09/08 22:07:33.29 server  Recovery dbid 5 ckpt (797,15)
    00:1998/09/08 22:07:33.29 server  Recovery no active transactions before ckpt.
    00:1998/09/08 22:07:33.33 server  The transaction log in the database 'pubs2' will use I/O size of 2 Kb.
    00:1998/09/08 22:07:33.33 server  Database 'pubs2' is now online.
    00:1998/09/08 22:07:33.34 server  Recovery complete.
    00:1998/09/08 22:07:33.34 server  SQL Server's default sort order is:
    00:1998/09/08 22:07:33.34 server  	'bin_iso_1' (ID = 50)
    00:1998/09/08 22:07:33.34 server  on top of default character set:
    00:1998/09/08 22:07:33.34 server  	'iso_1' (ID = 1).
    
    [sybase@snippy install]$ ipcs
    
    ------ Shared Memory Segments --------
    key        shmid     owner     perms     bytes     nattch    status
    0xf501803e 1537      sybase    600       11886592  1
    
    ------ Semaphore Arrays --------
    key       semid     owner     perms     nsems     status
    
    ------ Message Queues --------
    key       msqid     owner     perms     used-bytes  messages
    
    [sybase@snippy install]$ isql -Usa -P
    1> sp_configure
    2> go
    
    Group: Configuration Options
    
    
    Group: Backup/Recovery
    
     Parameter Name                 Default     Memory Used Config Value Run Value
     ------------------------------ ----------- ----------- ------------ -----------
     allow remote access                      1           0           1            1
     print recovery information               0           0           0            0
     recovery interval in minutes             5           0           5            5
     tape retention in days                   0           0           0            0
    
    Group: Cache Manager
    
    
     Parameter Name                 Default     Memory Used Config Value Run Value
     ------------------------------ ----------- ----------- ------------ -----------
     memory alignment boundary             2048           0        2048         2048
     number of index trips                    0           0           0            0
     number of oam trips                      0           0           0            0
     procedure cache percent                 20         980          20           20
     total data cache size                    0        3776           0         3776
     total memory                          7500       15000        7500         7500
    
    Group: Disk I/O
    
    
     Parameter Name                 Default     Memory Used Config Value Run Value
     ------------------------------ ----------- ----------- ------------ -----------
     allow sql server async i/o               1           0           1            1
     disk i/o structures                    256          17         256          256
     number of devices                       10          #4          10           10
     page utilization percent                95           0          95           95
    
    Group: General Information
    
    
     Parameter Name                 Default     Memory Used Config Value Run Value
     ------------------------------ ----------- ----------- ------------ -----------
     configuration file                       0           0           0  /opt/sybase
    
    Group: Languages
    
    
     Parameter Name                 Default     Memory Used Config Value Run Value
     ------------------------------ ----------- ----------- ------------ -----------
     default character set id                 1           0           1            1
     default language id                      0           0           0            0
     default sortorder id                    50           0          50           50
     disable character set conversi           0           0           0            0
     number of languages in cache             3           4           3            3
    
    Group: Lock Manager
    
    
     Parameter Name                 Default     Memory Used Config Value Run Value
     ------------------------------ ----------- ----------- ------------ -----------
     address lock spinlock ratio            100           0         100          100
     deadlock checking period               500           0         500          500
     freelock transfer block size            30           0          30           30
     max engine freelocks                    10           0          10           10
     number of locks                       5000         469        5000         5000
     page lock spinlock ratio               100           0         100          100
     table lock spinlock ratio               20           0          20           20
    
    Group: Memory Use
    
    
     Parameter Name                 Default     Memory Used Config Value Run Value
     ------------------------------ ----------- ----------- ------------ -----------
     additional network memory                0           0           0            0
     audit queue size                       100          42         100          100
     default network packet size            512        #135         512          512
     disk i/o structures                    256          17         256          256
     event buffers per engine               100         #10         100          100
     executable codesize + overhead           0        4645           0         4645
     max number network listeners            15        1223          15           15
     max online engines                       1          53           1            1
     number of alarms                        40           1          40           40
     number of devices                       10          #4          10           10
     number of extent i/o buffers             0           0           0            0
     number of languages in cache             3           4           3            3
     number of large i/o buffers              6          97           6            6
     number of locks                       5000         469        5000         5000
     number of mailboxes                     30           1          30           30
     number of messages                      64           1          64           64
     number of open databases                12         395          12           12
     number of open objects                 500         489         500          500
     number of remote connections            20          33          20           20
     number of remote logins                 20          22          20           20
     number of remote sites                  10         815          10           10
     number of user connections              25        2031          25           25
     partition groups                      1024          21        1024         1024
     permission cache entries                15         #28          15           15
     procedure cache percent                 20         980          20           20
     remote server pre-read packets           3         #32           3            3
     stack guard size                      4096        #240        4096         4096
     stack size                           34816       #2041       34816        34816
     total data cache size                    0        3776           0         3776
     total memory                          7500       15000        7500         7500
    
    Group: Network Communication
    
    
     Parameter Name                 Default     Memory Used Config Value Run Value
     ------------------------------ ----------- ----------- ------------ -----------
     additional network memory                0           0           0            0
     allow remote access                      1           0           1            1
     allow sendmsg                            0           0           0            0
     default network packet size            512        #135         512          512
     max network packet size                512           0         512          512
     max number network listeners            15        1223          15           15
     number of remote connections            20          33          20           20
     number of remote logins                 20          22          20           20
     number of remote sites                  10         815          10           10
     remote server pre-read packets           3         #32           3            3
     syb_sendmsg port number                  0           0           0            0
     tcp no delay                             0           0           0            0
    
    Group: O/S Resources
    
    
     Parameter Name                 Default     Memory Used Config Value Run Value
     ------------------------------ ----------- ----------- ------------ -----------
     max async i/os per engine       2147483647           0  2147483647   2147483647
     max async i/os per server       2147483647           0  2147483647   2147483647
     o/s asynch i/o enabled                   0           0           0            0
     o/s file descriptors                     0           0           0          256
     tcp no delay                             0           0           0            0
    
    Group: Physical Resources
    
    
    Group: Physical Memory
    
    
     Parameter Name                 Default     Memory Used Config Value Run Value
     ------------------------------ ----------- ----------- ------------ -----------
     additional network memory                0           0           0            0
     lock shared memory                       0           0           0            0
     shared memory starting address           0           0           0            0
     total memory                          7500       15000        7500         7500
    
    Group: Processors
    
    
     Parameter Name                 Default     Memory Used Config Value Run Value
     ------------------------------ ----------- ----------- ------------ -----------
     max online engines                       1          53           1            1
     min online engines                       1           0           1            1
    
    Group: SQL Server Administration
    
    
     Parameter Name                 Default     Memory Used Config Value Run Value
     ------------------------------ ----------- ----------- ------------ -----------
     allow nested triggers                    1           0           1            1
     allow updates to system tables           0           0           0            0
     audit queue size                       100          42         100          100
     cpu accounting flush interval          200           0         200          200
     cpu grace time                         500           0         500          500
     deadlock retries                         5           0           5            5
     default database size                    2           0           2            2
     default fill factor percent              0           0           0            0
     dump on conditions                       0           0           0            0
     event buffers per engine               100         #10         100          100
     housekeeper free write percent           1           0           1            1
     i/o accounting flush interval         1000           0        1000         1000
     i/o polling process count               10           0          10           10
     identity burning set factor           5000           0        5000         5000
     identity grab size                       1           0           1            1
     lock promotion HWM                     200           0         200          200
     lock promotion LWM                     200           0         200          200
     lock promotion PCT                     100           0         100          100
     maximum dump conditions                 10           0          10           10
     number of alarms                        40           1          40           40
     number of extent i/o buffers             0           0           0            0
     number of large i/o buffers              6          97           6            6
     number of mailboxes                     30           1          30           30
     number of messages                      64           1          64           64
     number of open databases                12         395          12           12
     number of open objects                 500         489         500          500
     number of pre-allocated extent           2           0           2            2
     number of sort buffers                   0           0           0            0
     partition groups                      1024          21        1024         1024
     partition spinlock ratio                10           0          10           10
     print deadlock information               0           0           0            0
     runnable process search count         2000           0        2000         2000
     size of auto identity column            10           0          10           10
     sort page count                          0           0           0            0
     sql server clock tick length        100000           0      100000       100000
     time slice                             100           0         100          100
     upgrade version                       1100           0        1103         1103
    
    Group: User Environment
    
    
     Parameter Name                 Default     Memory Used Config Value Run Value
     ------------------------------ ----------- ----------- ------------ -----------
     default network packet size            512        #135         512          512
     number of pre-allocated extent           2           0           2            2
     number of user connections              25        2031          25           25
     permission cache entries                15         #28          15           15
     stack guard size                      4096        #240        4096         4096
     stack size                           34816       #2041       34816        34816
     systemwide password expiration           0           0           0            0
     user log cache size                   2048           0        2048         2048
     user log cache spinlock ratio           20           0          20           20
    
    (return status = 0)
    
    1> shutdown
    2> go
    Server SHUTDOWN by request.
    The SQL Server is terminating this process.
    00:1998/09/08 22:07:58.33 server  SQL Server shutdown by request.
    00:1998/09/08 22:07:58.33 kernel  ueshutdown: exiting
    DB-LIBRARY error:
    	Unexpected EOF from SQL Server.
    
    [sybase@snippy install]$ logout