千家信息网

Oracle故障分析ORA-01089

发表于:2024-12-01 作者:千家信息网编辑
千家信息网最后更新 2024年12月01日,今天对测试库发出shutdown immediate命令后观察日志发现如下内容:Tue May 12 09:52:45 2015SHUTDOWN: Active processes prevent s
千家信息网最后更新 2024年12月01日Oracle故障分析ORA-01089

今天对测试库发出shutdown immediate命令后观察日志发现如下内容:

Tue May 12 09:52:45 2015
SHUTDOWN: Active processes prevent shutdown operation

shutdown被活动的进程阻止了,Ctrl+C无法中断当前回话,退出重连服务器,打开新的会话:

[oracle@021Y-SH-BKAP ~]$ sqlplus  / as sysdbaSQL*Plus: Release 11.2.0.1.0 Production on Tue May 12 09:54:17 2015Copyright (c) 1982, 2009, Oracle.  All rights reserved.Connected.SQL> shutdown immediateORA-24324: service handle not initializedORA-24323: value not allowedORA-01089: immediate shutdown in progress - no operations are permittedSQL> startup abortORA-01031: insufficient privileges

查看报错信息

oracle@021Y-SH-BKAP ~]$ oerr ora 0108901089, 00000, "immediate shutdown in progress - no operations are permitted"// *Cause:  The SHUTDOWN IMMEDIATE command was used to shut down//         a running ORACLE instance, so your operations have been//         terminated.// *Action: Wait for the instance to be restarted, or contact your DBA.

退出会话再次重新连接

SQL> exitDisconnected[oracle@021Y-SH-BKAP ~]$ sqlplus  / as sysdbaSQL*Plus: Release 11.2.0.1.0 Production on Tue May 12 09:57:24 2015Copyright (c) 1982, 2009, Oracle.  All rights reserved.Connected.SQL> shutdown abortORACLE instance shut down.
0