Chinaunix首页 | 论坛 | 博客
  • 博客访问: 460867
  • 博文数量: 97
  • 博客积分: 3396
  • 博客等级: 中校
  • 技术积分: 996
  • 用 户 组: 普通用户
  • 注册时间: 2006-01-25 13:14
文章分类

全部博文(97)

文章存档

2014年(1)

2013年(2)

2012年(7)

2011年(13)

2010年(18)

2009年(7)

2007年(10)

2006年(39)

分类:

2006-04-04 13:30:48

 
*db2licm -l
INSTALL路崎岖!
还是推荐用DB2SETUP
DB2_INSTALL手动安装会出现很多问题,db2_install不自动安装LICENSE
在INSTALL PRODUCT之后,发现无DB2INST1 USER(原因可能是由于之前DB2_INSTALL过程建立USER和INSTANCE之后,没删INSTANCE而删了DB2INST1
的原因)
如下过程解决:
# ./db2icrt -u db2inst1 db2inst1
DBI1292E The instance db2inst1 is already in the
          instance list.
# ./db2iset -l
db2inst2
db2inst1
db2inst
# ./db2idrop db2inst1
DBI1070I Program db2idrop completed successfully.
# ./db2idrop db2inst2
DBI1131E The user ID db2inst2 is invalid.
# ./db2iset -l
db2inst
db2inst2
# ./db2icrt -u db2inst1 db2inst1
DBI1070I Program db2icrt completed successfully.
但是执行过程中提示:
A non-existing user ID, db2inst2 , db2inst
分析原因:在删DB2INST和DB2INST2 USERID之前没DROP INSTANCE
# ./db2iset -l
db2inst1
db2inst
db2inst2
# ./db2iset -d db2inst2
# ./db2iset -d db2inst
# ./db2iset -l
db2inst1
#su - db2inst1
$db2fs 建立SAMPLE库
$db2start

安装练习到此结束,经过这两天的折腾,倒是对DB2SETUP和MANUAL INSTALL有了更深刻的理解及掌握.
 
门外,阳光普照大地,宁静致远......
阅读(1477) | 评论(0) | 转发(0) |
0

上一篇:关于AIX dump

下一篇:db2之录-TS

给主人留下些什么吧!~~