程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 數據庫知識 >> Oracle數據庫 >> Oracle教程 >> DBCA創建數據庫ORA-01034ORACLEnotavailable

DBCA創建數據庫ORA-01034ORACLEnotavailable

編輯:Oracle教程

DBCA創建數據庫ORA-01034ORACLEnotavailable


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.

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved