码迷,mamicode.com
首页 > 数据库 > 详细

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

时间:2017-06-20 21:06:23      阅读:268      评论:0      收藏:0      [点我收藏+]

标签:user   exec   start   called   bsp   size   ora   instance   ott   

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

标签:user   exec   start   called   bsp   size   ora   instance   ott   

原文地址:http://www.cnblogs.com/cynchanpin/p/7056170.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!