DBCA创建数据库ORA-01034 ORACLE not available

Posted cynchanpin

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了DBCA创建数据库ORA-01034 ORACLE not available相关的知识,希望对你有一定的参考价值。

SYMPTOMS


在利用dbca创建数据库时,当设置完毕全部參数。開始装时 跑到2% 就报错 ORA-01034 ORACLE not available,

例如以下图

技术分享

CAUSE

There‘s a script in ORACLE_HOME/sqlplus/admin which is called glogin.sql.  This script is automatically run when the user starts SQL*PLUS or uses the Connect command, hence any command added to it will be executed. 

Checking the script, it had a "select * from v$instance;" statement added. It was always executing this statement when SQL*PLUS was started or when Connect was issued, and this statement is returning the ORA-01034 when invoking DBCA. 

SOLUTION

1. Check the glogin.sql script in ORACLE_HOME/sqlplus/admin and make sure it has no statements that could cause the ORA-01034.
    disable glogin.sql (mv glogin.sql glogin.sql.bak)  
2. If the issue is still not resolved, then please log an SR with Oracle Support.

 








以上是关于DBCA创建数据库ORA-01034 ORACLE not available的主要内容,如果未能解决你的问题,请参考以下文章

ORA-01034: ORACLE 不可用 ORA-27101: 共享内存领域不存在

windows10安装oracle11g报错ORA-01034ORA-01078

ORA-01034: ORACLE not available ORA-27101

ORACLE数据库逐步解决ORA-12541ORA-01034和ORA-27101ORA-00119和ORA00132的过程

服务器断电导致的ORACLE异常 : ORA-00214 ORA-01033 ORA-01034 ORA-00172 ORA-27101

ORA-01034: ORACLE not available解决