トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS


  • 追加された行はこの色です。
  • 削除された行はこの色です。
- ユーザー・グループの作成
 [root@inasa ncdrom]# groupadd -g 400 db2
 [root@inasa ncdrom]# useradd -u 401 -g db2 db2das

- 管理サーバの作成
 [root@inasa ncdrom]# /opt/IBM/db2/V8.1/instance/dascrt -u db2das
--V10 (.profileを作成していないためwarningが出ている)
 # /opt/ibm/db2/V10.1/instance/dascrt -u db2das
 DBI1768W  Unable to add /home/db2das/das/dasprofile to the .profile file or
       /home/db2das/das/dascshrc to the .login file of user db2das.
 
 Explanation:
 
 DB2 has failed to modify the .profile file or the .login file of this
 user. These files may not exist, or you may not have write permission to
 them. Without the modification you need to set your environment manually
 each time when you log in as this user to use DB2.
 
 User response:
 
 Respond in one of the following ways:
 
 *  Add the profile to the .profile file
 *  Add the location of db2cshrc to the .profile file
 
 
    Related information
    Setting environment variables outside the profile registries on Linux
    and UNIX operating systems
 
 
 DBI1070I  Program dascrt completed successfully.

--V8
 # /opt/IBM/db2/V8.1/instance/dascrt -u db2das
 SQL4406W  The DB2 Administration Server was started successfully.
 DBI1070I Program dascrt completed successfully.

- 管理サーバの削除
 [root@inasa instance]# ./dasdrop
 # ./dasdrop
 SQL4407W  The DB2 Administration Server was stopped successfully.
 DBI1070I Program dasdrop completed successfully.


- 旧メモ
 [root@mktsa03:/usr/opt/db2_08_01/instance]# /usr/opt/db2_08_01/instance/dascrt -u   db2das
 SQL4409W  The DB2 Administration Server is already active.
 DBI1070I Program dascrt completed successfully.
----

#counter