互联网服务配置

DB2 v9.7 在AIX6.1下安装后,创建实例问题

安装后,创建实例时出现如下问题: 01.root@vioclient1:/db2data/db2_home/instance>./db2icrt -u db2fadm1 db2inst1 02.DBI1768W  Unable to add /home/db2inst1/sqllib/db2profile to the .profile file or 03.      /home/db2inst1/sqllib/...显示全部
安装后,创建实例时出现如下问题:

01.root@vioclient1:/db2data/db2_home/instance>./db2icrt -u db2fadm1 db2inst1
 
02.DBI1768W  Unable to add /home/db2inst1/sqllib/db2profile to the .profile file or
 
03.      /home/db2inst1/sqllib/db2cshrc to the .login file of user db2inst1.
 
04.
 
05.Explanation: 

06.
 
07.DB2 has failed to modify the .profile file or the .login file of this
 
08.user. These files may not exist, or you may not have write permission to
 
09.them. Without the modification you need to set your environment manually
 
10.each time when you log in as this user to use DB2.
 
11.
 
12.User response: 

13.
 
14.Respond in one of the following ways:
 
15.
 
16.*  Add the profile to the .profile file
 
17.*  Add the location of db2cshrc to the .profile file
 
18.
 
19.
 
20.   Related information
 
21.   UNIX environment variable settings
 
22.   Setting up the application development environment (Linux and UNIX)
 
23.
 
24.DBI1070I  Program db2icrt completed successfully.
哪位高手能帮我解决一下?
收起
参与7

查看其它 5 个回答db2_worldlove的回答

db2_worldlovedb2_worldlove数据库管理员zcgx
再发一下报错信息
root@vioclient1:/db2data/db2_home/instance>./db2icrt -u db2fadm1 db2inst1
DBI1768W  Unable to add /home/db2inst1/sqllib/db2profile to the .profile file or
      /home/db2inst1/sqllib/db2cshrc to the .login file of user db2inst1.

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
   UNIX environment variable settings
   Setting up the application development environment (Linux and UNIX)

DBI1070I  Program db2icrt completed successfully.
互联网服务 · 2013-01-22
浏览552

回答者

db2_worldlove
数据库管理员zcgx

db2_worldlove 最近回答过的问题

回答状态

  • 发布时间:2013-01-22
  • 关注会员:1 人
  • 回答浏览:552
  • X社区推广