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

昨天安装了数据库,安装完成后可以用,今天启动就不能用了,提示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.

这样就能用啦
posted @ 2012-04-09 09:38  java简单例子  阅读(246)  评论(0编辑  收藏  举报