Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: how to create a new database

Re: how to create a new database

From: Phil Cook <pncook_at_worldnet.att.net>
Date: 1998/03/14
Message-ID: <6ecps9$p7p@bgtnsc03.worldnet.att.net>#1/1

Sen,

The instance that you are pointing to from sql worksheet is already mounted. To understand more clearly what is happening I would:

  1. Log into the server where the database is to reside.
  2. Ensure that your ORACLE_SID is pointing to the correct database that you are creating. echo $ORACLE_SID
  3. You should have already created an init.ora for the this database which should reside in the ORACLE_HOME/dbs directory ( or a link in ORACLE_HOME/dbs pointing to another location ).
  4. Enter into SVRMGRL
  5. Perform CONNECT INTERNAL & STARTUP NOMOUNT ( if your init.ora has problems you will see them now ).
  6. Now perform your create command. Database will be opened if this completes successfully.
  7. Now run ORACLE_HOME/rdbms/admin/catalog & catproc
  8. Other odds and ends; add an entry to ORATAB to automatically start the database, add an entry for the service in tnsnames.ora and listener.ora
  9. Change the SYSTEM password from MANAGER & change the SYS password from CHANGE_ON_INSTALL
  10. Back up the database or risk performing steps 1-9 again.

Also, you need a minimum of two log files, one being used, and one ready to use.

Phil Cook Received on Sat Mar 14 1998 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US