DB2如何彻底删除实例?

[root@db2 instance]# ./db2idrop db2inst1DBI1070I Program db2idrop completed successfully.首先DROP了这个实例然后/home里面还有这个db2inst1文件夹,无法删除导致无法重新创建DB2INST1Q请问如何将HOME目录中DB2INST1删除呢?...显示全部

[root@db2 instance]# ./db2idrop db2inst1
DBI1070I Program db2idrop completed successfully.
首先DROP了这个实例

然后/home里面还有这个db2inst1文件夹,无法删除
导致无法重新创建DB2INST1

Q请问如何将HOME目录中DB2INST1删除呢?

收起
参与10

查看其它 1 个回答匿名用户的回答

匿名用户匿名用户

db2inst1是操作系统创建这个用户ID时创建的目录,如果你想删除这个目录先把这个ID删除。

IT其它 · 2019-04-17
浏览2713
  • 您好,用户已经删除,文件夹也删除了。然后我重新建立了db2inst用户,然后[root@db2 instance]# ./db2icrt -p -50000 -u db2fenc1 db2inst1,创建实例。报错。 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 您知道怎么回事吗,谢谢啦
    2019-04-17
  • The user ID db2fenc1 is invalid ,没有看到这个信息?这个ID无效,系统没有这个ID
    2019-05-21

回答状态

  • 发布时间:2019-04-17
  • 关注会员:3 人
  • 回答浏览:2713
  • X社区推广