使用 Tivoli Access Manager for Operating Systems 保护 DB2 资源
2010-08-02 00:00:00 来源:WEB开发网清单 8 显示正在向 db2sysc 进程发出 kill -9,并且 DB2 实例正在崩溃。
清单 8. kill -9 发送到 db2sysc 导致实例崩溃
[db2ins95@Server ~]$ kill -9 8588
[db2ins95@Server ~]$ db2 list tables
SQL1224N The database manager is not able to accept new requests, has
terminated all requests in progress, or has terminated your particular request
due to a problem with your request. SQLSTATE=55032
[db2ins95@Server ~]$ db2 connect to SAMPLE
SQL1032N No start database manager command was issued. SQLSTATE=57019
清单 9 是实例崩溃后 db2diag.log 文件中的结果条目示例。这些条目显示,发生实例崩溃是由于用户或应用程序发送了 SIGKILL。
清单 9. db2diag.log 条目示例
2010-03-22-12.49.14.993973-300 I39299G722 LEVEL: Error
PID : 8587 TID : 3086112448 PROC : db2wdog 0 0
INSTANCE: db2ins95 NODE : 000
FUNCTION: DB2 UDB, oper system services, sqlossig, probe:10
MESSAGE : Sending SIGKILL to the following process id
DATA #1 : signed integer, 4 bytes
-8588
CALLSTCK:
[0] 0x0276568D sqlossig + 0x117
[1] 0x0132313A sqloWatchDogMain + 0x20E
[2] 0x0132192A sqloRunInstance + 0xCE
[3] 0x0804D450 DB2main + 0x6DC
[4] 0x0804CD6C main + 0x24
[5] 0x04938DF3 __libc_start_main + 0xD3
[6] 0x0804CCB1 _Z21sqlePdbProcessRequestP11sqkfChannelPv + 0x1C1
[7] 0x00000000 ?unknown + 0x0
[8] 0x00000000 ?unknown + 0x0
[9] 0x00000000 ?unknown + 0x0
更多精彩
赞助商链接