一、异常
[oracle@xl ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 - Production on Mon Jun 4 00:55:19 2017
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
-- 后面再做其他操作时抛的异常
SQL> select instance_name from v$instance;
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
二、原因
1、遇到过一种情况是服务器的内存爆了
2、网上也有说是服务器ORACLE_SID环境变量与数据库的instance_name实例名不一致的