热门标签 | HotTags
当前位置:  开发笔记 > 数据库 > 正文

Oracle故障分析ORA-01089

今天对测试库发出shutdownimmediate命令后观察日志发现如下内容:TueMay1209:52:452015SHUTDOWN:Activeprocessesprevent

今天对测试库发出shutdown immediate命令后观察日志发现如下内容:Tue May 12 09:52:45 2015SHUTDOWN: Active processes prevent

今天对测试库发出shutdown immediate命令后观察日志发现如下内容:
Tue May 12 09:52:45 2015
SHUTDOWN: Active processes prevent shutdown operation

shutdown被活动的进程阻止了,,Ctrl+C无法中断当前回话,退出重连服务器,打开新的会话:
[Oracle@021Y-SH-BKAP ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Tue May 12 09:54:17 2015
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected.
SQL> shutdown immediate
ORA-24324: service handle not initialized
ORA-24323: value not allowed
ORA-01089: immediate shutdown in progress - no operations are permitted
SQL> startup abort
ORA-01031: insufficient privileges

查看报错信息
[oracle@021Y-SH-BKAP ~]$ oerr ora 01089

01089, 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> exit

Disconnected

[oracle@021Y-SH-BKAP ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Tue May 12 09:57:24 2015

Copyright (c) 1982, 2009, Oracle. All rights reserved.

Connected.

SQL> shutdown abort

ORACLE instance shut down.

本文永久更新链接地址

推荐阅读
author-avatar
豆豆bo69_550
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有