How to startup second database - created by DBCA [message #396950] |
Wed, 08 April 2009 08:30 |
ey390
Messages: 4 Registered: April 2009
|
Junior Member |
|
|
I have Oracle 10g installed in Oracle Unbreakable Linux and everything is OK, except that I can't figure out how to start a second database (let's say SID=DB2), after it was created with DBCA.
DB2 worked immediately after creation, but after reboot, there is no way to start it - I thought that being 'sys as sysdba' from SQL prompt:
SQL> startup <options> PFILE=$ORACLE_HOME/dbs/<pfile for DB2> -
but this doesn't work- it says something like: 'Oracle instance is already running ...'.
BTW: TRUE or FALSE: One Oracle instance - One database, Second database - requires second Oracle instance ?
|
|
|
|
|
|
Re: How to startup second database - created by DBCA [message #397021 is a reply to message #396950] |
Wed, 08 April 2009 11:38 |
ey390
Messages: 4 Registered: April 2009
|
Junior Member |
|
|
total 64
-rw-r----- 1 oracle oinstall 8385 Sep 11 1998 init.ora
-rw-r----- 1 oracle oinstall 12920 May 3 2001 initdw.ora
-rw-r----- 1 oracle oinstall 1544 Jul 29 2007 hc_DB1.dat
-rw-r----- 1 oracle oinstall 24 Jul 29 2007 lkDB1
-rw-r--r-- 1 oracle oinstall 976 Sep 5 2007 DB1_init.ora
-rw-rw---- 1 oracle oinstall 1544 Apr 3 08:53 hc_DB2.dat
-rw-rw---- 1 oracle oinstall 24 Apr 3 18:29 lkDB2
-rw-r----- 1 oracle oinstall 1536 Apr 3 20:21 orapwDB2
-rw-r----- 1 oracle oinstall 1536 Apr 3 20:27 orapwDB1
-rw-r----- 1 oracle oinstall 1178 Apr 5 21:02 spfileDB2.ora
-rw-r----- 1 oracle oinstall 2560 Apr 8 11:01 spfileDB1.ora
as a result of
$>ls -lrt $ORACLE_HOME/dbs
obviously DB2_init.ora is not there --> what is the prob ?
|
|
|
|
|
|
|