关闭数据库时hang住,日志无任何报错

来源:互联网 发布:java 新浪短网址生成 编辑:程序博客网 时间:2024/05/17 01:23

关闭数据库时hang住

SQL> shutdown immediate;  无任何反应


alert日志信息

Thu Sep 01 13:19:29 2016
Shutting down instance (immediate)
Stopping background process SMCO
Shutting down instance: further logons disabled
License high water mark = 7
All dispatchers and shared servers shutdown---   一直卡在此处不动


经查资料得知是因为之前的session没有断开,而后又使用了host切换到OS提示符下,导致数据库无法正常关闭


之前在rman下使用了host,现在重新回到rman正常关闭rman后数据库可以正常关闭了


SQL> shutdown immediate
^CORA-01013: user requested cancel of current operation


SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
[oracle@csrac1 bin]$ exit
exit
host command complete
RMAN-06900: WARNING: unable to generate V$RMAN_STATUS or V$RMAN_OUTPUT row
RMAN-06901: WARNING: disabling update of the V$RMAN_STATUS and V$RMAN_OUTPUT rows
ORACLE error from target database: 
ORA-03135: connection lost contact
Process ID: 19862
Session ID: 1 Serial number: 9




RMAN> exit




Recovery Manager complete.
[oracle@csrac1 bin]$ sqlplus / as sysdba


SQL*Plus: Release 11.2.0.4.0 Production on Thu Sep 1 13:38:59 2016


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




Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options


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

0 0
原创粉丝点击