今天对测试库发出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.
亿速云「云服务器」,即开即用、新一代英特尔至强铂金CPU、三副本存储NVMe SSD云盘,价格低至29元/月。点击查看>>
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。