程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 數據庫知識 >> Oracle數據庫 >> Oracle教程 >> Oracle system identifier(SID) "xxx" alread exits. Specify another SID

Oracle system identifier(SID) "xxx" alread exits. Specify another SID

編輯:Oracle教程

案例環境:

               操作系統    :Oracle Linux Server release 5.7 64 bit

               數據庫版本:Oracle Database 10g Release 10.2.0.4.0 - 64bit Production

案例介紹: 在一個剛剛安裝實例的服務器,使用dbca創建新的數據庫時,在指定全局數據庫名(Global Database Name)後,點擊下一步時。報如下錯誤:The Oracle system identifier(SID) "SCM2" alread exits. Specify another SID

 

出現這個錯誤,是因為在/etc/oratab文件中已經指定了$ORACLE_SID(上次刪除數據庫時,沒有徹底清除/etc/oratab),此時只需要將SCM2:/u01/app/oracle/product/10.2.0/db_1:N 這一行刪除或注釋即可。

[root@DB-Server ~]# more /etc/oratab

#

# This file is used by ORACLE utilities. It is created by root.sh

# and updated by the Database Configuration Assistant when creating

# a database.

# A colon, ':', is used as the field terminator. A new line terminates

# the entry. Lines beginning with a pound sign, '#', are comments.

#

# Entries are of the form:

# $ORACLE_SID:$ORACLE_HOME:<N|Y>:

#

# The first and second fields are the system identifier and home

# directory of the database respectively. The third filed indicates

# to the dbstart utility that the database should , "Y", or should not,

# "N", be brought up at system boot time.

#

# Multiple entries with the same $ORACLE_SID are not allowed.

#

#

SCM2:/u01/app/oracle/product/10.2.0/db_1:N

 

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