Home » RDBMS Server » Server Administration » ORACLE instance terminated (10g, Window xp)
ORACLE instance terminated [message #533231] Tue, 29 November 2011 00:26 Go to next message
Bilal Khan
Messages: 128
Registered: April 2010
Location: Pakistan
Senior Member
Hello EveryBODY.
I am new in oracle administration and waqnt to create database. but it diplay error message i.e
ORA-01092: ORACLE instance terminated. Disconnection forced 

First of all i create pfile named initdb02.ora, AND THEN SET THE Oracle_SID IN dos i.e
SET ORACLE_SID = db02
and also create the instance

then i write following in SQL
SQL> startup pfile = 'E:\database2\initdb02.ora';


It generate following result
Total System Global Area   75497472 bytes                                       
Fixed Size                  1247300 bytes                                       
Variable Size              58722236 bytes                                       
Database Buffers            8388608 bytes                                       
Redo Buffers                7139328 bytes                                       
ORA-00205: error in identifying control file, check alert log for more info 


then i write command to create database i.e
SQL> CREATE DATABASE db02
  2  logfile
  3  GROUP 1('E:\database2\log_01_db02.rdo') size 15M,
  4   GROUP 2 ('E:\database2\log_02_db02.rdo') size 15M,
  5  GROUP 3 ('E:\database2\log_03_db02.rdo') size 15M
  6  DATAFILE 'E:\database2\SYSTEM_01_db02.DBF' SIZE 100M
  7  UNDO TABLESPACE UNDO
  8  DATAFILE 'E:\database2\undo_01_db02.DBF' SIZE 40m
  9  sysaux datafile 'E:\database2\sysaux01.dbf' SIZE 10M
 10  default temporary tablespace temp
 11  tempfile 'E:\database2\temp_01_db02.dbf' size 20M
 12  EXTENT MANAGEMENT LOCAL UNIFORM SIZE 128K;
 13  /



it display following error message.
CREATE DATABASE db02
*
ERROR at line 1:
ORA-01092: ORACLE instance terminated. Disconnection forced 



so please help me that what should i do.
Re: ORACLE instance terminated [message #533238 is a reply to message #533231] Tue, 29 November 2011 01:04 Go to previous messageGo to next message
Littlefoot
Messages: 21807
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Oracle told you what to do:
Quote:

ORA-00205: error in identifying control file, check alert log for more info
Re: ORACLE instance terminated [message #533242 is a reply to message #533238] Tue, 29 November 2011 01:24 Go to previous messageGo to next message
Bilal Khan
Messages: 128
Registered: April 2010
Location: Pakistan
Senior Member
dear i already check alert log but could'nt understand.
Re: ORACLE instance terminated [message #533249 is a reply to message #533242] Tue, 29 November 2011 01:31 Go to previous messageGo to next message
Michel Cadot
Messages: 68641
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
But maybe we can... if you post it!
Did you already read the books and presentation I pointed you to?

Regards
Michel
Re: ORACLE instance terminated [message #533394 is a reply to message #533249] Tue, 29 November 2011 15:41 Go to previous messageGo to next message
emergingdba
Messages: 13
Registered: April 2011
Location: bangalore
Junior Member

Check if control file exists in the path as specified in the pfile. If not it needs to either freshly created or generated.
Re: ORACLE instance terminated [message #533396 is a reply to message #533394] Tue, 29 November 2011 17:08 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
>I am new in oracle administration and waqnt to create database.
dbca utility is the preferred way to create a new database.

Re: ORACLE instance terminated [message #533467 is a reply to message #533249] Wed, 30 November 2011 03:18 Go to previous messageGo to next message
Bilal Khan
Messages: 128
Registered: April 2010
Location: Pakistan
Senior Member
Here alert log file is attached, please check it out and then help me in this regards.
Thanks
  • Attachment: alert_smb.log
    (Size: 73.18KB, Downloaded 1123 times)
Re: ORACLE instance terminated [message #533468 is a reply to message #533467] Wed, 30 November 2011 03:20 Go to previous messageGo to next message
Michel Cadot
Messages: 68641
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Many of us can't or don't want to download files, so post them inline in text mode and post them formatted.
Post ONLY the relevant lines around the error.

Regards
Michel
Re: ORACLE instance terminated [message #533469 is a reply to message #533468] Wed, 30 November 2011 03:24 Go to previous messageGo to next message
Bilal Khan
Messages: 128
Registered: April 2010
Location: Pakistan
Senior Member
thanks Michel. here those line from alert log file. please check them. thanks.
Wed Nov 27 12:43:27 2002
WARNING:Shared I/O Pool created with size=0 set size=0
PMON started with pid=2, OS id=2864
PSP0 started with pid=3, OS id=1428
MMAN started with pid=4, OS id=2700
DBW0 started with pid=5, OS id=2708
LGWR started with pid=6, OS id=2704
CKPT started with pid=7, OS id=2716
SMON started with pid=8, OS id=3600
RECO started with pid=9, OS id=3620
MMON started with pid=10, OS id=2712
MMNL started with pid=11, OS id=3660
Wed Nov 27 12:43:27 2002
ALTER DATABASE   MOUNT
Wed Nov 27 12:43:27 2002
ORA-00202: control file: 'E:\DATABASE2\CONTROL01DB02.CTL'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
Re: ORACLE instance terminated [message #533471 is a reply to message #533469] Wed, 30 November 2011 03:28 Go to previous messageGo to next message
Michel Cadot
Messages: 68641
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Quote:
The system cannot find the file specified

Investigate this.

Regards
Michel
Re: ORACLE instance terminated [message #533473 is a reply to message #533471] Wed, 30 November 2011 03:34 Go to previous messageGo to next message
Bilal Khan
Messages: 128
Registered: April 2010
Location: Pakistan
Senior Member
ok thanks. its mean i have to create that file
(CONTROL01DB02.CTL) manually (mean open notepad and save file as CONTROL01DB02.CTL on desire location) or some other method to create control file.
Re: ORACLE instance terminated [message #533478 is a reply to message #533473] Wed, 30 November 2011 03:47 Go to previous messageGo to next message
Michel Cadot
Messages: 68641
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
No, the control file is created on CREATE DATABASE statement.
Are you sure:
1/ The file is in the init.ora file when CREATE DATABASE was executed
2/ Oracle has right access on E:\DATABASE2 and this a LOCAL drive.

Regards
Michel
Re: ORACLE instance terminated [message #533482 is a reply to message #533478] Wed, 30 November 2011 03:54 Go to previous messageGo to next message
Bilal Khan
Messages: 128
Registered: April 2010
Location: Pakistan
Senior Member
Dear, yes that file is avaliable in pfile, here initdb03.ora file is as
db_name = db02
instance_name = db02
control_files = (E:\database2\control01db02.ora, 
		E:\database2\control02db02.ora)

db_block_size = 4096
db_block_buffers = 500
shared_pool_size  = 31457280
undo_tablespace = undtbs
remote_login_passwordfile = 'EXCLUSIVE'
undo_management = auto 
Re: ORACLE instance terminated [message #533484 is a reply to message #533482] Wed, 30 November 2011 03:55 Go to previous messageGo to next message
Michel Cadot
Messages: 68641
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Quote:
here initdb03.ora file is

Quote:
startup pfile = 'E:\database2\initdb02.ora'


Put the values on a single line.

Regards
Michel

[Updated on: Wed, 30 November 2011 03:57]

Report message to a moderator

Re: ORACLE instance terminated [message #533487 is a reply to message #533484] Wed, 30 November 2011 04:03 Go to previous messageGo to next message
Bilal Khan
Messages: 128
Registered: April 2010
Location: Pakistan
Senior Member
sir it display following error i.e.
Total System Global Area   75497472 bytes                                       
Fixed Size                  1247300 bytes                                       
Variable Size              58722236 bytes                                       
Database Buffers            8388608 bytes                                       
Redo Buffers                7139328 bytes                                       
ORA-00205: error in identifying control file, check alert log for more info 


Re: ORACLE instance terminated [message #533494 is a reply to message #533487] Wed, 30 November 2011 04:36 Go to previous messageGo to next message
Michel Cadot
Messages: 68641
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
You already told this, what has changed since the first post?

Regards
Michel

[Updated on: Tue, 06 December 2011 05:02]

Report message to a moderator

Re: ORACLE instance terminated [message #534453 is a reply to message #533494] Tue, 06 December 2011 04:56 Go to previous message
abhi_sri
Messages: 20
Registered: September 2010
Location: India
Junior Member
Bilal,

The error which you are getting i.e. error in identifying control file doesnt mean that you need to creat any file.
You are not able to create a controlfile as its a binary file created by system itself. You just need to specify path in pfile that where you want to create these control files.
Once database is in nomount state, it has done the read of all parameters along with the parameter which shows, where control file will be created.
Now in mount state these control files will be created at already identified location.
Now you are getting error just because the path which you have specified where control files reside is either not correct or not have enough permission to create any file.
Previous Topic: how to switch service
Next Topic: Select statement generates Redo
Goto Forum:
  


Current Time: Thu Apr 18 00:26:08 CDT 2024