删除实例删除不掉,报错信息:bogon:/opt/ibm/db2/V9.7/instance # ./db2ilistdb2inst1bogon:/opt/ibm/db2/V9.7/instance # ./db2idrop -f db2inst1DBI1324W Support of the -f command is deprecated. For more information, see the ...显示全部
删除实例删除不掉,报错信息:
bogon:/opt/ibm/db2/V9.7/instance # ./db2ilist
db2inst1
bogon:/opt/ibm/db2/V9.7/instance # ./db2idrop -f db2inst1
DBI1324W Support of the -f command is deprecated. For
more information, see the DB2 Information Center.
DBI1135E The primary group 'users' of user ID 'db2inst1' is
invalid.
Explanation:
The primary group name of the instance user ID:
1. Cannot be one of "guests", "admins", "users" or "local".
2. Cannot start with "sql" or "ibm".
3. Cannot start with a numeral number.
4. Can contain only lowercase letters (a-z), numbers (0-9), and the
underscore character ( _ ).
User response:
Ask a user with root privilege to change the primary group of the
instance user ID to a valid group as described above and then try the
command again.
DBI1079I Output is saved in the log file /tmp/db2idrop.log.3114.
Explanation:
All processed and failed operations have been saved into this log file.
User response:
Do not modify this file in any way. This file is for IBM Technical
Support reference.
我安装数据库的情况:
我装的 是 db2V9.7 ESE版本的
安装包 放到 /home/db2install 中
然后解压 安装文件
运行 ./home/db2install/ese/db2_install 进行安装
安装目录 /opt/ibm/db2/V9.7
然后我开始建立组和用户
建了三个组 db2grp,db2fgrp,db2agrp
然后创建三个用户
db2inst1 在 db2grp 下
db2das 在 db2fgrp 下
db2fenc 在 db2agrp 下
然后创建实例
运行 ./dascret -u db2das 命令成功了
在运行 ./db2icet -u db2inst1 db2inst1
这时候 在 /home/db2inst1/下