473,385 Members | 1,569 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Create database error.

hello everyone.
I run a create database command in 9i. at the end it give the following error.

Oracle instance terminated, Disconnection forced.

can you please help me...?

For ur consideration i am giving here the command i applied:
create database ocp
logfile
GROUP 1 ('c:\oracle\oradata\ocp\redo1.log','c:\oracle\orad ata\ocp\redo2.log') SIZE 100,
GROUP 2 ('c:\oracle\oradata\ocp\redo3.log','c:\oracle\orad ata\ocp\redo4.log') SIZE 100

datafile 'c:\oracle\oradata\ocp\system01.dbf' size 500m
undo tablespace UNDO
datafile 'c:\oracle\oradata\ocp\undotbs.dbf' SIZE 100M
default temporary tablespace TEMP
tempfile 'c:\oracle\oradata\ocp\temp01.dbf' SIZE 100M;
Mar 3 '08 #1
4 2151
amitpatel66
2,367 Expert 2GB
hello everyone.
I run a create database command in 9i. at the end it give the following error.

Oracle instance terminated, Disconnection forced.

can you please help me...?

For ur consideration i am giving here the command i applied:
create database ocp
logfile
GROUP 1 ('c:\oracle\oradata\ocp\redo1.log','c:\oracle\orad ata\ocp\redo2.log') SIZE 100,
GROUP 2 ('c:\oracle\oradata\ocp\redo3.log','c:\oracle\orad ata\ocp\redo4.log') SIZE 100

datafile 'c:\oracle\oradata\ocp\system01.dbf' size 500m
undo tablespace UNDO
datafile 'c:\oracle\oradata\ocp\undotbs.dbf' SIZE 100M
default temporary tablespace TEMP
tempfile 'c:\oracle\oradata\ocp\temp01.dbf' SIZE 100M;
First I would recommend you to check your alert file for error:

Try this query to get the path where the alert file is stored:

Expand|Select|Wrap|Line Numbers
  1.  
  2. select value from v$parameter where name = 'background_dump_dest'
  3.  
  4.  
Post your alert file information here for reference of our experts.
Mar 3 '08 #2
First I would recommend you to check your alert file for error:

Try this query to get the path where the alert file is stored:

Expand|Select|Wrap|Line Numbers
  1.  
  2. select value from v$parameter where name = 'background_dump_dest'
  3.  
  4.  
Post your alert file information here for reference of our experts.
Hey.. Thanx for instant reply...
Here is my arert file contents:


__________________________________________________ ______

Dump file c:\oracle\admin\ocp\bdump\ocpALRT.LOG
Mon Mar 03 10:02:09 2008
ORACLE V9.0.1.1.1 - Production vsnsta=0
vsnsql=10 vsnxtr=3
Windows 2000 Version 5.1 Service Pack 2, CPU type 586
Starting up ORACLE RDBMS Version: 9.0.1.1.1.
System parameters with non-default values:
processes = 150
timed_statistics = TRUE
shared_pool_size = 46137344
large_pool_size = 1048576
java_pool_size = 33554432
control_files = c:\oracle\oradata\ocp\CONTROL01.CTL, c:\oracle\oradata\ocp\CONTROL02.CTL, c:\oracle\oradata\ocp\CONTROL03.CTL
db_block_size = 4096
db_cache_size = 33554432
compatible = 9.0.0
fast_start_mttr_target = 300
undo_management = AUTO
undo_tablespace = UNDOTBS
remote_login_passwordfile= EXCLUSIVE
db_domain = localhost
instance_name = ocp
dispatchers = (PROTOCOL=TCP)(SER=MODOSE), (PROTOCOL=TCP)(PRE=oracle.aurora.server.GiopServer ), (PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServe r)
background_dump_dest = c:\oracle\admin\ocp\bdump
user_dump_dest = c:\oracle\admin\ocp\udump
core_dump_dest = c:\oracle\admin\ocp\cdump
sort_area_size = 524288
db_name = ocp
open_cursors = 300
PMON started with pid=2
DBW0 started with pid=3
LGWR started with pid=4
CKPT started with pid=5
SMON started with pid=6
RECO started with pid=7
Mon Mar 03 10:02:10 2008
starting up 1 shared server(s) ...
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
Mon Mar 03 10:02:12 2008
alter database mount exclusive
Mon Mar 03 10:02:14 2008
ORA-00202: controlfile: 'c:\oracle\oradata\ocp\CONTROL01.CTL'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.

Mon Mar 03 10:02:14 2008
ORA-205 signalled during: alter database mount exclusive...
Shutting down instance (abort)
License high water mark = 1
Instance terminated by USER, pid = 3168

__________________________________________________ _____





Waiting for reply.. thanxxxxxxxxx a lotttttttttt
Mar 3 '08 #3
amitpatel66
2,367 Expert 2GB
>>ORA-00202: controlfile: 'c:\oracle\oradata\ocp\CONTROL01.CTL'
>>ORA-27041: unable to open file
>>OSD-04002: unable to open file
>>O/S-Error: (OS 3) The system cannot find the path specified.

From the above lines, it seems that a control file is not created while creating a database. Check if the control file exists in a proper path as mentioned above
Mar 3 '08 #4
>>ORA-00202: controlfile: 'c:\oracle\oradata\ocp\CONTROL01.CTL'
>>ORA-27041: unable to open file
>>OSD-04002: unable to open file
>>O/S-Error: (OS 3) The system cannot find the path specified.

From the above lines, it seems that a control file is not created while creating a database. Check if the control file exists in a proper path as mentioned above
__________________________________________________ _______
So, what is the solution of it. This time, I didnt change the path of Cotrol file in pfile (initocp.ora). I have another database named test. In oradata folder control file of test is present inside test folder.

After applying create database command i checked ocp folder where control01.ctl file is present.

So, how can i make control file or what should i do... Plzzzz tell me.
I applied this code:

create database ocp
controlfile reuse
datafile 'c:\oracle\oradata\ocp\system01.dbf' size 400m
undo tablespace undotbs
datafile 'c:\oracle\oradata\ocp\undotbs.dbf' size 100m
default temporary tablespace temp
tempfile 'c:\oracle\oradata\ocp\temp01.dbf' size 100m
logfile group 1('c:\oracle\oradata\ocp\redo1.log','c:\oracle\ora data\ocp\redo2.log') size 100m,

group 2('c:\oracle\oradata\ocp\redo3.log','c:\oracle\ora data\ocp\redo4.log') size 100m
__________________________________________________ _
Giving same error. Plzzz give a solution. Waiting for reply
Mar 3 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: lkrubner | last post by:
I have a webserver through Rackspace. I create a domain. I create an FTP user. I upload some files. I create a database called testOfSetupScript and then I create a database user named setup. I...
2
by: Robin Tucker | last post by:
I have some code that dynamically creates a database (name is @FullName) and then creates a table within that database. Is it possible to wrap these things into a transaction such that if any one...
5
by: Frank van Vugt | last post by:
Hi, I noticed that when using the single commandline: drop database <name>; create database <name>; this sometimes fails due to a pg_autovacuum process running on the background. When...
1
by: intl04 | last post by:
I am getting strange print-related error messages when trying to create (not print!) reports. For example, when I click 'new' to create a report then choose 'design view', I get an error message...
9
by: Albretch | last post by:
.. I am trying to create a database in a MS Access DB via JDBC drivers. I have tried both sun.jdbc.odbc.JdbcOdbcDriver and ids.sql.IDSDriver From some reason both drivers Exceptions tell me...
6
by: Frank Wilson | last post by:
Tom, It sounds to me like ASP, not ASP.NET is handling the request for WebForm1.aspx. This is most likely an IIS config issue that may have been caused by order of installation or...
14
by: mistral | last post by:
Need php script to create mySQL database programmatically; since hosting configuration may not allow create database from script, script also need eliminate/rewrite all restrictions in appropriate...
27
by: max | last post by:
Hello, I am a newbye, and I'm trying to write a simple application. I have five tables with three columns; all tables are identical; I need to change some data in the first table and let VB...
4
by: etuncer | last post by:
Hello All, I have Access 2003, and am trying to build a database for my small company. I want to be able to create a word document based on the data entered through a form. the real question is...
1
by: Sue | last post by:
I just installed the free DB2 Express. I am going through the wizard and I am unable to create a database. I keep getting the error "create database path does not exist". The log file says "An...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.