UJP - 技術情報

Life is fun and easy!

不正IP報告数

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

     

Sybase ASE 11.9.2 Install for W2K 〜EBFインストール〜

Sybase ASE 11.9.2 Install forハ W2K

〜EBFインストール〜


0.更新履歴

  • 2001.03.01 新規作成

1.はじめに

 このドキュメントは,SybaseのEBF適用方法について記述するものである.

 EBFとは,何の略か知らないが,パッチのことである.

2.手順

  • サイベースのサービスが起動していたら,停止する.
  • EBFのCD-ROMをセットする.
  • CD-ROMの内容を見ると,次の様になっている.

E:\>dir
 ドライブ E のボリューム ラベルは EBF9317 です
 ボリューム シリアル番号は F23F-F6A6 です

 E:\ のディレクトリ

2000/11/28  16:33              159,683 EBF9317.ltr
2000/11/28  16:32           18,846,409 EBF9317.zip
               2 個のファイル          19,006,092 バイト
               0 個のディレクトリ               0 バイトの空き領域

E:\>

  • EBF9317.zipC:\EBF9317に展開する.
  • xcopyコマンドを使い,C:\sybaseディレクトリにEBFを複写する.

C:\EBF9317>xcopy * c:\sybase /e /s
C:Cover.ROLL.9317
C:\sybase\bin\bcksrvr.exe を上書きしますか (Yes/No/All)? a
C:bin\bcksrvr.exe
C:bin\bcp.exe
C:bin\defncopy.exe
C:bin\diagbs.exe
C:bin\diagsmb.exe
C:bin\diagsrvr.exe
C:bin\diagxps.exe
C:bin\isql.exe
C:bin\monsrvr.exe
C:bin\optdiag.exe
C:bin\sqlsrvr.exe
C:bin\sybatch.exe
C:bin\sybmbuf.exe
C:bin\syconfig.exe
C:bin\xpserver.exe
C:dll\libblk.dll
C:dll\libcomn.dll
C:dll\libcs.dll
C:dll\libct.dll
C:dll\libdreg.dll
C:dll\libintl.dll
C:dll\libsmssp.dll
C:dll\libsrv.dll
C:dll\libsybdb.dll
C:dll\libtcl.dll
C:dll\nldecnet.dll
C:dll\nlmsnmp.dll
C:dll\nlnwlink.dll
C:dll\nlwnsck.dll
C:dll\sybsyesp.dll
C:dll\xpsmsgs.dll
C:locales\message\english\bslib.loc
C:scripts\installdbccalt
C:scripts\installdbccdb
C:scripts\instmsgs.ebf
C:scripts\instmstr
C:scripts\instsecu
C:symlib\libblk.dll
C:symlib\libcomn.dll
C:symlib\libcs.dll
C:symlib\libct.dll
C:symlib\libdreg.dll
C:symlib\libintl.dll
C:symlib\libsmssp.dll
C:symlib\libsrv.dll
C:symlib\libsybdb.dll
C:symlib\libtcl.dll
C:symlib\nldecnet.dll
C:symlib\nlmsnmp.dll
C:symlib\nlnwlink.dll
C:symlib\nlwnsck.dll
C:symlib\sybsyesp.dll
C:symlib\xpsmsgs.dll
C:upgrade\preupgrd.exe
C:upgrade\upgrade.exe
56 個のファイルをコピーしました

C:\EBF9317>

  • Sybaseのサービスを起動する.

C:\EBF9317>net start "Sybase SQLServer _ SYBASE01"
Sybase SQLServer _ SYBASE01 サービスを開始します..
Sybase SQLServer _ SYBASE01 サービスは正常に開始されました。

C:\EBF9317>

  • ディレクトリを移動する.

C:\EBF9317>cd %SYBASE%\scripts

  • masterデータベースのサイズを拡張する.
    • これを行わないと,以下のスクリプトが動かない.(途中で止まる)

C:\Sybase\scripts>isql -Usa -P -SSYBASE01
Msg 2401, Level 11, State 2:
Line 5:
Character set conversion is not available between client character set 'iso_1'
and server character set 'sjis'.
No conversions will be done.
Due to previous errors, the language for this session is being forced to
'us_english'.
1> alter database master
2> on master = 55
3> go
Extending database by 10496 pages on disk master
1> quit
C:\Sybase\scripts>

  • 次のスクリプトを実行する.

C:\Sybase\scripts>isql -Usa -P -SSYBASE01 -iinstmstr -oinstmstr.out
C:\Sybase\scripts>
C:\Sybase\scripts>dir instmstr.out
 ドライブ C のボリューム ラベルは System です
 ボリューム シリアル番号は 28E5-6938 です

 C:\Sybase\scripts のディレクトリ

2001/03/01  18:27               51,649 instmstr.out
               1 個のファイル              51,649 バイト
               0 個のディレクトリ   1,959,239,680 バイトの空き領域

C:\Sybase\scripts>

  • ログファイルの中身を確認する.

(return status = 0)
 Parameter Name                 Default     Memory Used Config Value
	 Run Value   
 ------------------------------ ----------- ----------- ------------
	 ----------- 
 allow updates to system tables           0           0           0 
	           0 

(1 row affected)
Configuration option changed. The SQL Server need not be rebooted since the
option is dynamic.
(return status = 0)
Loading of master database is complete.

  • return statusが0以外の場合は何らかのエラーが発生しているので確認する.
  • 他のスクリプトも実行する.

C:\Sybase\scripts>isql -Usa -P -SSYBASE01 -iinstalldbccdb -oinstalldbccdb.out

C:\Sybase\scripts>isql -Usa -P -SSYBASE01 -iinstmsgs.ebf -oinstmsgs.out

C:\Sybase\scripts>

  • 以下のように出力結果が表示されるので,各結果を確認する.

C:\Sybase\scripts>dir *.out
 ドライブ C のボリューム ラベルは System です
 ボリューム シリアル番号は 28E5-6938 です

 C:\Sybase\scripts のディレクトリ

2001/03/01  18:33               38,414 installdbccdb.out
2001/03/01  18:33               11,051 instmsgs.out
2001/03/01  18:27               51,649 instmstr.out
               3 個のファイル             101,114 バイト
               0 個のディレクトリ   1,959,170,048 バイトの空き領域

C:\Sybase\scripts>

  • 確認したら,次のようにバージョンを確認する.

C:\Sybase\scripts>isql -Usa -P -SSYBASE01
Msg 2401, Level 11, State 2:
Line 1:
Character set conversion is not available between client character set 'iso_1'
and server character set 'sjis'.
No conversions will be done.
Due to previous errors, the language for this session is being forced to
'us_english'.
1> select @@version
2> go


----------------
 Adaptive Server Enterprise/11.9.2.4/1166/P/SWR 9317 ROLLUP/NT (IX86)/OS 3.51,4.
0/FBU/Tue Oct 03 21:54:38 2000


(1 row affected)
1>

  • データベースが正しく表示されるか確認する.

1> sp_helpdb
2> go
 name                     db_size       owner                    dbid
         created
         status

 ------------------------ ------------- ------------------------ ------
         --------------
         -------------------------------------------------------------------
-------------------------------
 master                         25.5 MB sa                            1
         Jan 01, 1900
         no options set

 model                           2.0 MB sa                            3
         Jan 01, 1900
         no options set

 sybsystemprocs                 60.0 MB sa                            4
         Mar 01, 2001
         trunc log on chkpt

 tempdb                          2.0 MB sa                            2
         Mar 01, 2001
         select into/bulkcopy/pllsort


(1 row affected)
(return status = 0)
1>



広告スペース
Google