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
www.2cto.com
SQL>startup——————启动数据库实例
Oracle instance started.
Total System Global Area *****bytes
Fixed Size *****bytes
Variable Size oracle账号 *****bytes
Database Buffers *****bytes
Redo Buffers *****bytes
Database mounted.
Database opened.
这样就能用啦
摘自 Leeboy_Wang的专栏