ORA-27300: OS system dependent operation:invalid_process_id
1.数据库日志报错信息:
Mon Sep 09 21:52:19 CST 2013
Errors in file /home/oracle/product/admin/ssss03/udump/jlrms031_ora_23816.trc:
ORA-27300: 操作系统相关操作: invalid_process_id 失败,状态为: 0
ORA-27301: 操作系统故障消息: Error 0
ORA-27302: 错误发生在: skgpalive1
2.再看trace文件:
[oracle@hbdb31 bdump]$ more /home/oracle/product/admin/SSSS03/udump/ssss031_ora_23816.trc
/home/oracle/product/admin/Jssss03/udump/ssss031_ora_23816.trc
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
ORACLE_HOME = /home/oracle/product/10.2.0/db_1
System name: Linux
Node name: hbdb31
Release: 2.6.18-238.el5
Version: #1 SMP Sun Dec 19 14:22:44 EST 2010
Machine: x86_64
Instance name: xxxxS031
Redo thread mounted by this instance: 1
Oracle process number: 94
Unix process pid: 23816, image: oracle@hbdb31
*** ACTION NAME:(SQL Window - select l.inst_id,ob) 2013-09-09 21:52:19.849
*** MODULE NAME:(PL/SQL Developer) 2013-09-09 21:52:19.849
*** SERVICE NAME:(JLRMS03) 2013-09-09 21:52:19.849
*** SESSION ID:(4865.6714) 2013-09-09 21:52:19.849
*** 2013-09-09 21:52:19.849
Error while obtaining process status, OS id = 0ORA-27300: 操作系统相关操作: invalid_process_id 失败,状态为: 0
ORA-27301: 操作系统故障消息: Error 0
ORA-27302: 错误发生在: skgpalive1
3.数据库当前版本:10.2.0.5.0
从trace文件看到,数据库是客户端PL/SQL Developer连入到数据库后,在获取进程信息的适合,发现进程id是无效的,触发bug。
其实,ORA-27300,ORA-27301,ORA-27302事实上有很多报错原因,主要是数据库和操作系统交互时引起的报错,大部分为 bug,
上述报错是由于bug 10010310引起的,需要打patch 10010310补丁。
4.解决办法:
bug 10010310在oracle 11203中已经修复,在当前版本可以应用patch 10010310规避。
5.附相关信息:
Troubleshooting ORA-27300 ORA-27301 ORA-27302 errors
ORA-27300: OS system dependent operation:invalid_process_id failed with status: 0
ORA-27301: OS failure message: Error 0
ORA-27302: failure occurred at: skgpalive1
ORA-27300, ORA-27301, ORA-27302 Failure Occurred At Skgpalive1 During 'Shutdown' - UnPublished Bug 4923667.
In 10.2.0.5 and up, see Note 1252265.1 - ORA-27300 ORA-27301 ORA-27302: failure occurred at: skgpalive1 - bug 10010310.
ORA-27300: OS system dependent operation:invalid_process failed with status: 0
ORA-27301: OS failure message: Error 0
ORA-27302: failure occurred at: skgpstime3
ORA-27144: attempt to kill process failed
bug 10010310 is fixed in 11.2.0.3, 12.1 and above. Please check patch 10010310 for existing interim patches.