db2 kill- 9杀掉进程后 重新启动报错

关于启动db2start 报错:

[db2inst1@wen ~]$ db2start
10/01/2012 08:53:27     0   0   SQL1072C  The database manager resources are in an inconsistent state.  DB2 may have been incorrectly terminated, or another application may be using system resources in a way which conflicts with DB2's use of system resources.  System resource cleanup may be required.
SQL1032N  No start database manager command was issued.  SQLSTATE=57019

解决方法:

通过运行以下命令来解决该错误:

1. cd $INSTHOME/sqllib

2. 删除 .ftok 文件:

rm .ftok

3. 创建一个新的 .ftok 文件:

touch .ftok

4下面运行 db2start 就可以了。
 

你可能感兴趣的:(java)