Hi all. Im trying to create an oracle 9i database manually and its proving to be very difficult. Im used to creating a database using the database configuration assitant but i need a script that would run as part of an install to do the same process. Im using oracle 9i on windows xp pro. Please I need someone to please go tru my process and tell me what im doing wrong. The service name of the database im trying to create is called Olu.
I start buy creating the ini.ora file see below.
##########################
##########
##########
##########
##########
##########
##
# Copyright (c) 1991, 2001, 2002 by Oracle Corporation
##########################
##########
##########
##########
##########
##########
##
##########################
##########
#######
# Cache and I/O
##########################
##########
#######
db_block_size=8192
db_cache_size=25165824
db_file_multiblock_read_co
unt=16
##########################
##########
#######
# Cursors and Library Cache
##########################
##########
#######
open_cursors=300
##########################
##########
#######
# Database Identification
##########################
##########
#######
db_domain=2020fm
db_name=Olu
##########################
##########
#######
# Diagnostics and Statistics
##########################
##########
#######
background_dump_dest=C:\or
acle\admin
\Olu\bdump
core_dump_dest=C:\oracle\a
dmin\Olu\c
dump
timed_statistics=TRUE
user_dump_dest=C:\oracle\a
dmin\Olu\u
dump
##########################
##########
#######
# File Configuration
##########################
##########
#######
control_files=("C:\oracle\
oradata\Ol
u\CONTROL0
1.CTL",
"C:\oracle\oradata\Olu\CON
TROL02.CTL
",
"C:\oracle\oradata\Olu\CON
TROL03.CTL
")
##########################
##########
#######
# Instance Identification
##########################
##########
#######
instance_name=Olu
##########################
##########
#######
# Job Queues
##########################
##########
#######
job_queue_processes=10
##########################
##########
#######
# MTS
##########################
##########
#######
dispatchers="(PROTOCOL=TCP
) (SERVICE=Olu)"
##########################
##########
#######
# Miscellaneous
##########################
##########
#######
aq_tm_processes=1
compatible=9.2.0.0.0
##########################
##########
#######
# Optimizer
##########################
##########
#######
hash_join_enabled=TRUE
query_rewrite_enabled=FALS
E
star_transformation_enable
d=FALSE
##########################
##########
#######
# Pools
##########################
##########
#######
java_pool_size=33554432
large_pool_size=8388608
shared_pool_size=50331648
##########################
##########
#######
# Processes and Sessions
##########################
##########
#######
processes=150
##########################
##########
#######
# Redo Log and Recovery
##########################
##########
#######
fast_start_mttr_target=300
##########################
##########
#######
# Security and Auditing
##########################
##########
#######
remote_login_passwordfile=
SHARED
##########################
##########
#######
# Sort, Hash Joins, Bitmap Indexes
##########################
##########
#######
pga_aggregate_target=25165
824
sort_area_size=524288
##########################
##########
#######
# System Managed Undo and Rollback Segments
##########################
##########
#######
undo_management=AUTO
undo_retention=10800
undo_tablespace=UNDOTBL
Then i start sqlplus from the command prompt with /nolog.
Then i shutdown the database
Run startup nomount pfile=c:\ini.ora
Then run the create database statement see below
CREATE DATABASE Olu
MAXLOGFILES 4
MAXLOGMEMBERS 4
MAXLOGHISTORY 1
MAXINSTANCES 1
MAXDATAFILES 200
DATAFILE 'c:/Oracle/oradata/olu/sys
tem01.dbf'
SIZE 250M
UNDO TABLESPACE undotbl
DATAFILE 'c:/Oracle/oradata/olu/und
otbl01.dbf
'
SIZE 300M REUSE AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
DEFAULT TEMPORARY TABLESPACE temp_tbl tempfile 'c:/oracle/oradata/olu/tem
p01.dbf' size 100 M
CHARACTER SET US7ASCII
NATIONAL CHARACTER SET AL16UTF16
LOGFILE GROUP 1 'c:/Oracle/oradata/olu/red
o01.log' SIZE 100M REUSE,
GROUP 2 'c:/Oracle/oradata/olu/red
o02.log' SIZE 100M REUSE,
GROUP 3 'c:/Oracle/oradata/olu/red
o03.log' SIZE 100M REUSE;
It says database created but when i try to connect i get an error message saying could not resolve service name. I tried adding the new service name to my tnsnames.ora and also in the listner.ora files and restarted the listner.
When i try connecting to the database i get the following error
ORA-12500:TNS listener failed to start a dedicated server process
Please can anyone help. Also does the database configuration assistant create any scripts that i can put in my install to carry the process out for me?
Thanks