DB2删除了实例,重新创建实例报错?

1.drop了实例db2inst1,然后删除了用户db2inst12./home里面已经没有了db2inst1的文件夹3.useradd -g db2iadm1 -u 1001 -m -d /home/db2inst1 db2inst1.重新创造用户db2inst14.cd /opt/db2/V9.5/instance./db2icrt -p -50000 -u db2fenc1 db2inst1重新创建实例6.报错:DBI11...显示全部

1.drop了实例db2inst1,然后删除了用户db2inst1
2./home里面已经没有了db2inst1的文件夹
3.useradd -g db2iadm1 -u 1001 -m -d /home/db2inst1 db2inst1.重新创造用户db2inst1
4.cd /opt/db2/V9.5/instance

  1. ./db2icrt -p -50000 -u db2fenc1 db2inst1重新创建实例
    6.报错:DBI1131E The user ID db2fenc1 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
    7.请问大神如何处理?是不是我没删除干净之前的实例和用户呢
收起
参与16

查看其它 4 个回答yhl71的回答

yhl71yhl71数据库架构师某公司

把-p选项先去掉看看。端口号可以在后面通过修改dbm参数实现。

IT咨询服务 · 2019-04-30
浏览2697

回答者

yhl71
数据库架构师某公司
擅长领域: 数据库服务器灾备

yhl71 最近回答过的问题

回答状态

  • 发布时间:2019-04-30
  • 关注会员:6 人
  • 回答浏览:2697
  • X社区推广