Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to create new instance ?
------------76635C7D2FFA22 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii
Tom Helmer Jensen wrote:
> > Hi there > > I'm new to the more advanced Oracle setups. > > We are running Oracle 7.3.2 on a Solaris 2.5.1/Ultra 2, but are inneed
> of a second instance of our db for development purposes. > > I've tried to use the script's shipped with Oracle: > > /opt/app/oracle/admin/<sid>/create/crdb<sid>.sql > /opt/app/oracle/admin/<sid>/create/crdb2<sid>.sql > /opt/app/oracle/admin/<sid>/pfile/init<sid>.ora > /opt/app/oracle/admin/<sid>/pfile/config<sid>.ora > > (of course I had to create a new set of files and modify them) > > ..it seems to work, the instance can be started, but it's not created > properly. > Eg. all the packages and other system tables are missing. > > What do i need to do ?? > > Regards, Tom
Do the following:
This should do it. If you are using replication you will also need to
run
"catrep.sql" and "catrepad.sql".
------------76635C7D2FFA22 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii
<HTML><BODY>
<DT>Tom Helmer Jensen wrote:<BR>
> <BR> > Hi there<BR> > <BR> > I'm new to the more advanced Oracle setups.<BR> > <BR> > We are running Oracle 7.3.2 on a Solaris 2.5.1/Ultra 2, but are inneed<BR>
> of a second instance of our db for development purposes.<BR> > <BR> > I've tried to use the script's shipped with Oracle:<BR> > <BR> > /opt/app/oracle/admin/<sid>/create/crdb<sid>.sql<BR> > /opt/app/oracle/admin/<sid>/create/crdb2<sid>.sql<BR> > /opt/app/oracle/admin/<sid>/pfile/init<sid>.ora<BR> > /opt/app/oracle/admin/<sid>/pfile/config<sid>.ora<BR> > <BR> > (of course I had to create a new set of files and modify them)<BR> > <BR> > ..it seems to work, the instance can be started, but it's not created<BR> > properly.<BR> > Eg. all the packages and other system tables are missing.<BR> > <BR> > What do i need to do ??<BR> > <BR> > Regards, Tom<BR>
<DT>Do the following:</DT>
<DT> </DT>
<DT>1) cd $ORACLE_HOME/rdbms/admin</DT>
<DT>2) svrmgrl</DT>
<DT> connect internal</DT>
<DT>3) If the database is started shut it down and do a "startup
restrict"</DT>
<DT>4) Within svrmgrl run the following scripts:</DT>
<DT> catalog.sql</DT>
<DT> catproc.sql</DT>
<DT> catexp.sql</DT>
<DT> </DT>
<DT> </DT>
<DT>This should do it. If you are using replication you will also
need to run</DT>
<DT>"catrep.sql" and "catrepad.sql".</DT>
<DT> </DT>
<DT> </DT>
<DT> </DT>
</BODY>
</HTML>
------------76635C7D2FFA22--
Received on Thu Mar 06 1997 - 00:00:00 CST