当前位置: 代码迷 >> DB2 >> DB2安装完后,没有成功创建实例。该如何处理
  详细解决方案

DB2安装完后,没有成功创建实例。该如何处理

热度:4910   发布时间:2013-02-26 00:00:00.0
DB2安装完后,没有成功创建实例。。。
我安装完DB2 9.7以后(实例建为db2inst2),从root su 到db2inst2,可是回显su :Unknown id: db2inst2,我去db2 bin目录下运行db2ilist发现没有实例,于是运行:./db2icrt -a server -u db2fenc2 db2inst2,可是还是不行

DBI1131E The user ID db2inst2 is invalid.

Explanation:

An attempt to access the given user ID failed. One of the following
situations has occurred:
* This user ID does not exist on the system.
* The home directory of this user is not set up properly.
* One of the user attributes needed by DB2 is unset.
* The UID of this user is 0

User response:

Make sure a valid user ID with valid home directory, shell, primary
group and secondary group has been used. Create a new user if necessary.


这是为何,怎么解决这个问题呀???

------解决方案--------------------------------------------------------
你一个机器安装两个版本的数据库?
最好用同一个版本,你把v9.5升到v9.7吧
  相关解决方案