dbca建库,报错:ORA-01034: ORACLE not available 解决方法
环境:
数据库版本:10.2.0.1 系统:centos5.8 虚拟机
一、问题
dbca建库,dbca命令是在home目录下执行,竟然报错,执行进度到2%就报错ORA-01034。
[ora@dg-ss ~]$ cd
[ora@dg-ss ~]$ dbca
通常ora-1034都遇见命令行报错的。今天竟然图形界面也问题了。记录一下。
二、解决方法
解决方法:cd 到不是home的其他目录,就可以执行dbca建库了。
[ora@dg-ss ~]$ cd /opt/oracle
[ora@dg-ss oracle]$ dbca
OK,执行进度2% 过去了。
三、拓展
01034, 00000, "ORACLE not available"
// *Cause: Oracle was not started up. Possible causes include the following:
// - The SGA requires more space than was allocated for it.
// - The operating-system variable pointing to the instance is
// improperly defined.
// *Action: Refer to accompanying messages for possible causes and correct
// the problem mentioned in the other messages.
// If Oracle has been initialized, then on some operating systems,
// verify that Oracle was linked correctly. See the platform
// specific Oracle documentation.
ORA-01034
问题原因:
1、SGA需要更多的空间,也就是内存不能满足SGA的需求了,也就说可能是你SGA设置的太大了。
2、操作系统变量设置未定义实例,也就是说没有指定ORACLE_SID。