1. sqlplus中输入用户名密码后出现:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
进程 ID: 0
会话 ID: 0 序列号: 0
2. 输入lsnrctl start后:
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 19-6月 -2017 21:03:48
Copyright (c) 1991, 2010, Oracle. All rights reserved.
TNS-01106: 使用名称LISTENER的监听程序已经启动
3. 输入sqlplus/nolog 然后输入conn/as sysdba
显示:已连接到空闲例程。
如果此时显示的是ORA-12560: TNS:protocol adapter error,参照另一篇文章处理:
http://blog.csdn.net/shiyuehit/article/details/73441290