Linux下安装Oracle后重启无法登录数据库ORA-01034:ORACLE not available

Linux下安装了数据库,安装完成后可以用,今天启动就不能用了,提示Oracle not available,后来查找资料,据说是oracle服务没有打开。如下方式可以解决问题。

[root@root~]$  su - oracle

[oracle@localhost~]$  sqlplus

Connected to an idle instance.

enter username: /as sysdba

SQL>startup------------------启动数据库实例
Oracle instance started.
Total System Global Area *****bytes
Fixed Size                              *****bytes
Variable Size                        *****bytes
Database Buffers               *****bytes
Redo Buffers                       *****bytes
Database mounted.
Database opened.

这样就能用啦

原文地址:https://www.cnblogs.com/guzhanyu/p/7975900.html