db2无法卸载

操作系统:aix 6.1数据库:db2 v9.7进行创建实例时,./db2icrt -p 50000 -u db2fenc db2inst1一直挂着不动了。然后我打算全部卸载了重装。1.执行./db2idrop -f db2inst1提示成功。但./db2ilist提示仍有实例。# ./db2idrop -f db2inst1DBI1324W  Support of the -f ...显示全部

操作系统:aix 6.1

数据库:db2 v9.7

进行创建实例时,./db2icrt -p 50000 -u db2fenc db2inst1一直挂着不动了。然后我打算全部卸载了重装。

1.执行./db2idrop -f db2inst1提示成功。但./db2ilist提示仍有实例。

# ./db2idrop -f db2inst1

DBI1324W  Support of the -f command is deprecated. For

      more information, see the DB2 Information Center.

DBI1070I  Program db2idrop completed successfully.

# ./db2ilist

db2inst1

2.执行

# ./dasdrop dasusr

SQL4410W  The DB2 Administration Server is not active.

DBI1070I  Program dasdrop completed successfully.

3.执行卸载时开始报错:

# ./db2_deinstall -a

Enter full path name for the install directory -

------------------------------------------------

/db2/v9.7

DBI1016I  Program db2_deinstall is performing uninstallation. Please

      wait.

The deinstallation process cannot continue while there are DB2 instances related to the current DB2 copy.

If you need to move up or down a level from this DB2 level, use the installFixPack command from the DB2 image for the level you desire to move to, which will update this copy.

If you are only trying to uninstall this DB2 copy, you must either drop the related instances first, or you can update the instances to another DB2 copy which is at the same version as this DB2 copy, then restart the db2_deinstall command.

A major error occurred during the execution that caused this program to

terminate prematurely. If the problem persists, contact your technical service

representative.

For more information see the DB2 uninstallation log at

"/tmp/db2_deinstall.log.5636226".

不清楚为什么卸载不了,哪位大神帮忙指个招!多谢!

收起
参与4

返回dbSeeSee的回答

dbSeeSeedbSeeSee数据库管理员ABC

再执行下 ./db2idrop db2inst1

你的./db2idrop -f db2inst1没有运行成功吧 ,Support of the -f command is deprecated 这个-f参数没用了。

互联网服务 · 2016-01-11
浏览872

回答者

dbSeeSee
数据库管理员ABC

dbSeeSee 最近回答过的问题

回答状态

  • 发布时间:2016-01-11
  • 关注会员:2 人
  • 回答浏览:872
  • X社区推广