ORA-01012

未完全关闭数据库导致ORA-01012: not logged的解决

非 Y 不嫁゛ 提交于 2019-12-30 18:03:42
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 首先使用SHUTDOWN NORMAL方式关闭数据库,在数据库未关闭时CTRL+Z停止执行,退出用SQLPLUS重登陆,出现报错:ORA-01012: not logged on 实验如下: 首先执行 SYS@bys1>shutdown ORA-01013: user requested cancel of current operation [oracle@bys001 ~]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.1.0 Production on Sat Sep 7 09:05:08 2013 Copyright (c) 1982, 2009, Oracle. All rights reserved. Connected. ERROR: ORA-01012: not logged on Process ID: 0 Session ID: 0 Serial number: 0 SYS@bys1>startup ORA-01012: not logged on SYS@bys1>conn / as sysdba Connected to an idle instance. ERROR: ORA-01012: not logged on Process ID: