shutdown immediate关不了

SQL> shutdown immediate

。。。。。一直等待

 

警报日志:
[oracle@liumujing trace]$ more alert_bianxueqing.log
Thu Feb 21 16:34:55 2013
Shutting down instance (immediate)
Stopping background process SMCO
Shutting down instance: further logons disabled
Thu Feb 21 16:34:56 2013
Stopping background process CJQ0
Stopping background process QMNC
Stopping background process MMNL
Stopping background process MMON
License high water mark = 9
All dispatchers and shared servers shutdown
Thu Feb 21 16:36:05 2013
Instance shutdown cancelled
Shutting down instance (immediate)
Shutting down instance: further logons disabled
License high water mark = 9
All dispatchers and shared servers shutdown
Thu Feb 21 16:41:23 2013
SHUTDOWN: Active processes prevent shutdown operation
Thu Feb 21 16:46:33 2013
SHUTDOWN: Active processes prevent shutdown operation
Thu Feb 21 16:51:40 2013
SHUTDOWN: Active processes prevent shutdown operation
Thu Feb 21 16:56:49 2013
SHUTDOWN: Active processes prevent shutdown operation


从中可看出每隔5分钟出现一条
SHUTDOWN: Active processes prevent shutdown operation


模拟情境如下:

打开两个sqlplus 并以sys身份连接上去
以sqlplus1、sqlplus2表示

sqlplus2内容:

[oracle@liumujing ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Thu Feb 21 17:06:12 2013

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


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> host
[oracle@liumujing ~]$


sqlplus1内容:

SQL> shutdown immediate

---- 一直在等待,shutdown immediate被hang住

 


解决方法:

sqlplus2退出sys连接

[oracle@liumujing ~]$ exit
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@liumujing ~]$

sqlplus1:

SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL>

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值