UJP - 技術情報

Life is fun and easy!

不正IP報告数

Okan Sensor
 
メイン
ログイン
ブログ カテゴリ一覧

     

Sybase Linux版の起動と終了

Sybase Linux版の起動と終了


0.更新履歴

  • 2001.09.17 新規作成

1.はじめに

 このドキュメントでは,Linux版のSybase 11.0.3.3の起動と終了方法について説明する.

2.シャットダウン

  • BackupServerを先に終了させた後に,SQL Serverを停止する.

bash$ isql -Usa -P -SSYBASE01
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.
bash$

3.起動

  • startserverコマンドを使って,起動ファイルを指定して起動する.

bash$ pwd
/opt/sybase/install
bash$ ls -la
total 3716
drwxrwxr-x    3 sybase   sybase       4096 Sep  6 20:49 .
drwxrwxr-x   14 sybase   sybase       4096 Sep  6 21:04 ..
-rwxr-xr-x    1 sybase   sybase        405 Sep  6 19:55 RUN_SYBASE01
-rwxr-xr-x    1 sybase   sybase        600 Sep  6 20:44 RUN_SYB_BACKUP
drwxrwxr-x    2 root     root         4096 Sep  6 19:37 SPR
-rw-rw-r--    1 sybase   sybase       1064 Sep  6 20:53 backup.log
-rw-rw-r--    1 sybase   sybase      42786 Sep  6 21:04 errorlog
-r-xr-xr-x    1 root     root         1435 Jan  7  2000 rc.sybase
-r-xr-xr-x    1 root     root         4173 Jan  5  2000 setperm_all
-r--r--r--    1 root     root          386 Jan  7  2000 setperm_monserv
-r-xr-xr-x    1 root     root          667 Mar 16  2000 showserver
-r-xr-xr-x    1 root     root        16720 Mar 17  2000 startserver
-r-xr-xr-x    1 root     root         2304 Jan 23  2000 sybdevices.sh
-r-xr-xr-x    1 root     root      1009190 Mar 17  2000 sybinit
-r-xr-xr-x    1 root     root      2661666 Mar 17  2000 sybinit.sym
-r-xr-xr-x    1 root     root         5615 Jan 23  2000 sybinstall.sh
bash$
bash$ ./startserver -f ./RUN_SYBASE01
bash$ 00:2001/09/06 21:04:57.22 kernel  Using config area from primary master dev
ice.
00:2001/09/06 21:04:57.22 kernel  Warning: Using default file '/opt/sybase/SYBASE
01.cfg' since a configuration file was not specified. Specify a configuration fil
e name in the RUNSERVER file to avoid this message.
00:2001/09/06 21:04:57.22 kernel  Using 1024 file descriptors.
00:2001/09/06 21:04:57.22 kernel  Internal run-time model set for Linux
00:2001/09/06 21:04:57.22 kernel  SQL Server/11.0.3.3 ESD#6/P-FREE/Linux Intel/Li

〜略〜

00:2001/09/06 21:04:57.80 server  Database 'sybsystemprocs' is now online.
00:2001/09/06 21:04:57.80 server  Recovery complete.
00:2001/09/06 21:04:57.80 server  SQL Server's default sort order is:
00:2001/09/06 21:04:57.80 server        'bin_sjis' (ID = 50)
00:2001/09/06 21:04:57.80 server  on top of default character set:
00:2001/09/06 21:04:57.80 server        'sjis' (ID = 141).

bash$ ./startserver -f ./RUN_SYB_BACKUP
bash$ Backup Server/11.0.3.3 ESD#6/P-FREE/Linux Intel/Linux 2.2.14 i686/1/OPT/Fri
 Mar 17 15:52:00 CET 2000
(c) Copyright 1987, 2000.
Sybase, Inc.  All rights reserved.
Unpublished rights reserved under U.S. copyright laws.
This software contains confidential and trade secret information of Sybase,
Inc.   Use,  duplication or disclosure of the software and documentation by
the  U.S.  Government  is  subject  to  restrictions set forth in a license
agreement  between  the  Government  and  Sybase,  Inc.  or  other  written
agreement  specifying  the  Government's rights to use the software and any
applicable FAR provisions, for example, FAR 52.227-19.
Sybase, Inc. 6475 Christie Avenue, Emeryville, CA 94608, USA.
ファイル '/opt/sybase/install/backup.log' に Backup Server メッセージをログします

。

bash$

  • なお,RUN_FILEは,複数指定することができる.

RUNファイルの複数指定の例
./startserver -f ./RUN_SYB01 -f ./RUN_SYB_BACKUP 



広告スペース
Google