Home » RDBMS Server » Server Administration » ora 01092 oracle instance terminated (Oracle 10.2.0.3 , O/s Wiindows Vista business 32 bit)
ora 01092 oracle instance terminated [message #541519] Tue, 31 January 2012 20:55 Go to next message
Tapan6415
Messages: 45
Registered: January 2012
Location: VADODARA
Member
hii..,


i got an error while creating database manually

/forum/fa/9780/0/
  • Attachment: os_cmds.jpg
    (Size: 71.51KB, Downloaded 2366 times)
Re: ora 01092 oracle instance terminated [message #541520 is a reply to message #541519] Tue, 31 January 2012 20:58 Go to previous messageGo to next message
Tapan6415
Messages: 45
Registered: January 2012
Location: VADODARA
Member
here i had attached my log file


  • Attachment: trace.log
    (Size: 20.07KB, Downloaded 1475 times)
Re: ora 01092 oracle instance terminated [message #541521 is a reply to message #541520] Tue, 31 January 2012 21:00 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
http://www.lmgtfy.com/?q=oracle+create+database+script

clues about the ORA-01092 error should exist in alert log file.

[Updated on: Tue, 31 January 2012 21:04]

Report message to a moderator

Re: ora 01092 oracle instance terminated [message #541525 is a reply to message #541521] Tue, 31 January 2012 22:29 Go to previous messageGo to next message
Tapan6415
Messages: 45
Registered: January 2012
Location: VADODARA
Member
BlackSwan wrote on Wed, 01 February 2012 06:00


clues about the ORA-01092 error should exist in alert log file.



i had attached my alert log file here ..,

so tell me what to do next..??
Re: ora 01092 oracle instance terminated [message #541526 is a reply to message #541525] Tue, 31 January 2012 22:43 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
>ORA-04031: unable to allocate 52 bytes of shared memory ("shared pool","insert into ts$ (ts#,name,on...","sql area","bnddef_strdef : qcscbndv")

oerr ora 4031
04031, 00000, "unable to allocate %s bytes of shared memory (\"%s\",\"%s\",\"%s\",\"%s\")"
// *Cause:  More shared memory is needed than was allocated in the shared
//          pool.
// *Action: If the shared pool is out of memory, either use the
//          DBMS_SHARED_POOL package to pin large packages,
//          reduce your use of shared memory, or increase the amount of
//          available shared memory by increasing the value of the
//          initialization parameters SHARED_POOL_RESERVED_SIZE and 
//          SHARED_POOL_SIZE.
//          If the large pool is out of memory, increase the initialization
//          parameter LARGE_POOL_SIZE.  
Re: ora 01092 oracle instance terminated [message #541531 is a reply to message #541526] Tue, 31 January 2012 23:54 Go to previous messageGo to next message
Tapan6415
Messages: 45
Registered: January 2012
Location: VADODARA
Member
BlackSwan wrote on Wed, 01 February 2012 07:43
>ORA-04031: unable to allocate 52 bytes of shared memory ("shared pool","insert into ts$ (ts#,name,on...","sql area","bnddef_strdef : qcscbndv")

oerr ora 4031
04031, 00000, "unable to allocate %s bytes of shared memory (\"%s\",\"%s\",\"%s\",\"%s\")"
// *Cause:  More shared memory is needed than was allocated in the shared
//          pool.
// *Action: If the shared pool is out of memory, either use the
//          DBMS_SHARED_POOL package to pin large packages,
//          reduce your use of shared memory, or increase the amount of
//          available shared memory by increasing the value of the
//          initialization parameters SHARED_POOL_RESERVED_SIZE and 
//          SHARED_POOL_SIZE.
//          If the large pool is out of memory, increase the initialization
//          parameter LARGE_POOL_SIZE.  



so how much size it required?

have u seen my attached file ?
  • Attachment: initorcl.ora
    (Size: 12.98KB, Downloaded 1351 times)

[Updated on: Tue, 31 January 2012 23:58]

Report message to a moderator

Re: ora 01092 oracle instance terminated [message #541536 is a reply to message #541526] Wed, 01 February 2012 00:32 Go to previous messageGo to next message
x-oracle
Messages: 380
Registered: April 2011
Location: gujarat
Senior Member
here i am sending you a complite steps of how can we create a manul database you just read it and just change the path and name of the database as you want

first

1.	Decide the name of New database 
2.	ORACLE_SID=ORA10G...  (set into Env variable )
3.	Go to "F:\oracle\product\10.2.0\admin" create new folder (ORA10G)
4.	In ORA10G create new all folders  adump , bdump, cdump, dpdump, pfile, udump
5.	In pfile take a copy of existing init.ora from previous database
6.	You can find this init.ora file into this location  "F:\oracle\product\10.2.0\db_1\database"
7.	Change this init.ora
8.	Change parameters
9.	db_name , instance_name ,control_files ,background_dump
a.	dest,user_dump_dest, 
10.	save this file as "init.ora"
11.	Create new folder in Oradata --- "ORA10G"
12.	To create service--- Go to command prompt ------Oradim
13.	Oradim NEW SID ORA10G SYSPWD ORACLE STARTMODE AUTO SPFILE
14.	Check that service is started or not in Control panel  administrative tools 
-- sevices--OracleserviceORA10g---started
15.	Shut down previously started database
16.	Connect to SQL prompt  as sysdba
17.	create spfile from pfile='F:\oracle\product\10.2.0\admin\ORA10G\pfile\init.ora';
18.	Startup Nomount
19.	Select * from v$instance;
20.	Show parameter instance_name, db_name



now this is a create database base syntax
manuly type into this cmd prompt not copy and past this


CREATE DATABASE ORA10G
MAXLOGFILES 5
MAXLOGMEMBERS 3
MAXLOGHISTORY 100
MAXDATAFILES 50
MAXINSTANCES 1
LOGFILE
GROUP 1 ('F:\oracle\product\10.2.0\oradata\ORA10G\redo01.log') SIZE 50M,
GROUP 2 ('F:\oracle\product\10.2.0\oradata\ORA10G\redo02.log') SIZE 50M,
GROUP 3 ('F:\oracle\product\10.2.0\oradata\ORA10G\redo03.log') SIZE 50M
DATAFILE 'F:\oracle\product\10.2.0\oradata\ORA10G\system01.dbf' SIZE 500M
AUTOEXTEND ON NEXT 10M
SYSAUX DATAFILE 'F:\oracle\product\10.2.0\oradata\ORA10G\sysAUX01.dbf' SIZE 30M
AUTOEXTEND ON NEXT 10M
DEFAULT TABLESPACE USERS
DATAFILE 'F:\oracle\product\10.2.0\oradata\ORA10G\USERS01.dbf' SIZE 20M
AUTOEXTEND ON NEXT 1M
DEFAULT TEMPORARY TABLESPACE temp
TEMPFILE 'F:\oracle\product\10.2.0\oradata\ORA10G\TEMP01.DBF' SIZE 1024M
AUTOEXTEND ON
UNDO TABLESPACE undotbs1
DATAFILE 'F:\oracle\product\10.2.0\oradata\ORA10G\UNDOTBS01.dbf' SIZE 1024M
 AUTOEXTEND ON
 CHARACTER SET WE8MSWIN1252



after that run this both syntax



SQL> @ 'F:\oracle\product\10.2.0\db_1\RDBMS\ADMIN\catalog.sql'


SQL> @ 'F:\oracle\product\10.2.0\db_1\RDBMS\ADMIN\catproc.sql'




Here it's a sample of init.ora file


ORA10G.__db_cache_size=385875968
ORA10G.__java_pool_size=4194304
ORA10G.__large_pool_size=4194304
ORA10G.__shared_pool_size=209715200
ORA10G.__streams_pool_size=0
*.audit_file_dest='F:\oracle\product\10.2.0\admin\ORA10G\adump'
*.background_dump_dest='F:\oracle\product\10.2.0\admin\ORA10G\bdump'
*.compatible='10.2.0.1.0'
*.control_files='F:\oracle\product\10.2.0\oradata\ORA10G\control01.ctl',
'F:\oracle\product\10.2.0\oradata\ORA10G\control02.ctl',
'F:\oracle\product\10.2.0\oradata\ORA10G\control03.ctl'
*.core_dump_dest='F:\oracle\product\10.2.0\admin\ORA10G\cdump'
*.db_block_checking='TRUE'
*.db_block_size=8192
*.db_create_file_dest='F:\oracle\product\10.2.0\oradata'
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_flashback_retention_target=2880
*.db_name='ORA10G'
*.db_recovery_file_dest='F:\oracle\product\10.2.0\flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.dispatchers='(PROTOCOL=TCP) (SERVICE=ORA10GXDB)'
*.job_queue_processes=10
*.log_archive_dest_1='location=F:\oracle\product\10.2.0\flash_recovery_area\ORA10G\ARCHIVELOG'
*.log_archive_format='arcn_%t_%s_%r.arc'
*.O7_DICTIONARY_ACCESSIBILITY=TRUE
*.open_cursors=300
*.pga_aggregate_target=203423744
*.processes=150
*.remote_login_passwordfile='exclusive'
*.sga_target=612368384
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='F:\oracle\product\10.2.0\admin\ORA10G\udump'



Now checkout this by this sysntax

SQL> Select name from v$database;

[Updated on: Fri, 03 February 2012 08:33] by Moderator

Report message to a moderator

Re: ora 01092 oracle instance terminated [message #541652 is a reply to message #541536] Wed, 01 February 2012 10:38 Go to previous messageGo to next message
Tapan6415
Messages: 45
Registered: January 2012
Location: VADODARA
Member

Quote:

now this is a create database base syntax
manuly type into this cmd prompt not copy and past this


hi..
Thanx 1st for co operating,

hi when i typed manually i got same error .. i attached my screenshot ..
/forum/fa/9788/0/

one thing tell me in the file "init.ora" i have to use all this parameters as u mentioned..?

Thanx
  • Attachment: os_cmds.jpg
    (Size: 87.11KB, Downloaded 2295 times)
Re: ora 01092 oracle instance terminated [message #541656 is a reply to message #541536] Wed, 01 February 2012 11:04 Go to previous messageGo to next message
Tapan6415
Messages: 45
Registered: January 2012
Location: VADODARA
Member
Quote:

now this is a create database base syntax
manuly type into this cmd prompt not copy and past this



i had attached my log file here...
Re: ora 01092 oracle instance terminated [message #541715 is a reply to message #541656] Thu, 02 February 2012 00:21 Go to previous messageGo to next message
x-oracle
Messages: 380
Registered: April 2011
Location: gujarat
Senior Member
can you startup your instance in nomount mode

just type this

Startup Nomount
Select * from v$instance;

and you create a ORA10G folder at D:\oracle\product\10.2.0\admin

Re: ora 01092 oracle instance terminated [message #541716 is a reply to message #541715] Thu, 02 February 2012 00:22 Go to previous messageGo to next message
x-oracle
Messages: 380
Registered: April 2011
Location: gujarat
Senior Member
The ORA-01092: ORACLE instance terminated error can be caused by many factors, :

A shutdown abort

Bad permissions of BDUMP, CDUMP or UDUMP directories

Missing datafiles

Renaming files when Oracle is down

and many other OS-related causes
Re: ora 01092 oracle instance terminated [message #541724 is a reply to message #541716] Thu, 02 February 2012 01:05 Go to previous messageGo to next message
Michel Cadot
Messages: 68641
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
... and many Oracle ones.

Regards
Michel
Re: ora 01092 oracle instance terminated [message #541777 is a reply to message #541716] Thu, 02 February 2012 04:47 Go to previous messageGo to next message
Tapan6415
Messages: 45
Registered: January 2012
Location: VADODARA
Member
hii..

Thanx for replying...

and m asking about init.ora file ,
i have to add all this parameters as u shown in this sample code or only few ?



Thanx
..
Re: ora 01092 oracle instance terminated [message #541780 is a reply to message #541777] Thu, 02 February 2012 04:50 Go to previous messageGo to next message
Michel Cadot
Messages: 68641
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Still don't fix the problem on your keyboard? Try again.

Michel Cadot wrote on Thu, 02 February 2012 06:27
Quote:
if this user able to solve the problem then y m not

1/ Some keys are missing on your keyboard, please fix that FIRST
2/ I have an idea of the reason: PEBCAK
...


Michel Cadot wrote on Thu, 02 February 2012 08:07
Please read OraFAQ Forum Guide and do not use IM/SMS speak.
...


Regards
Michel

[Updated on: Thu, 02 February 2012 04:54]

Report message to a moderator

Re: ora 01092 oracle instance terminated [message #541791 is a reply to message #541777] Thu, 02 February 2012 05:23 Go to previous messageGo to next message
x-oracle
Messages: 380
Registered: April 2011
Location: gujarat
Senior Member
tapan can you start your instance or not

start your database in nomount first

send this this screenshot


Startup Nomount
	Select * from v$instance;

Re: ora 01092 oracle instance terminated [message #541820 is a reply to message #541791] Thu, 02 February 2012 09:52 Go to previous messageGo to next message
Tapan6415
Messages: 45
Registered: January 2012
Location: VADODARA
Member
shaan121 wrote on Thu, 02 February 2012 14:23


Startup Nomount
	Select * from v$instance;



hii shaan..

ya up to that its ok...
see i attached my screenshot here..

/forum/fa/9795/0/

Thanx..
  • Attachment: os_cmds.jpg
    (Size: 36.29KB, Downloaded 2122 times)
Re: ora 01092 oracle instance terminated [message #541821 is a reply to message #541820] Thu, 02 February 2012 09:56 Go to previous messageGo to next message
Tapan6415
Messages: 45
Registered: January 2012
Location: VADODARA
Member
hii

shaan..,


here is my startup command screenshot..


/forum/fa/9796/0/


Thanx..

  • Attachment: os_cmds.jpg
    (Size: 36.90KB, Downloaded 2154 times)
Re: ora 01092 oracle instance terminated [message #541823 is a reply to message #541821] Thu, 02 February 2012 10:00 Go to previous messageGo to next message
Michel Cadot
Messages: 68641
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Please post text as text NOT as image.
And post it formatted as explain in How to use [code] tags and make your code easier to read.

Regards
Michel
Re: ora 01092 oracle instance terminated [message #541824 is a reply to message #541821] Thu, 02 February 2012 10:01 Go to previous messageGo to next message
Michel Cadot
Messages: 68641
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Quote:
here is my startup command screenshot..


And then? We already replied yhou many times on this.

Regards
Michel
Re: ora 01092 oracle instance terminated [message #541832 is a reply to message #541824] Thu, 02 February 2012 10:51 Go to previous messageGo to next message
Tapan6415
Messages: 45
Registered: January 2012
Location: VADODARA
Member
i posted to shaan
Re: ora 01092 oracle instance terminated [message #541834 is a reply to message #541832] Thu, 02 February 2012 11:02 Go to previous messageGo to next message
cookiemonster
Messages: 13920
Registered: September 2008
Location: Rainy Manchester
Senior Member
Regardless of who you post to can you please post output from sqlplus as text in code tags.
Re: ora 01092 oracle instance terminated [message #541836 is a reply to message #541834] Thu, 02 February 2012 11:07 Go to previous messageGo to next message
Tapan6415
Messages: 45
Registered: January 2012
Location: VADODARA
Member
cookiemonster wrote on Thu, 02 February 2012 20:02
Regardless of who you post to can you please post output from sqlplus as text in code tags.

ok bosss...


Thanx..
Re: ora 01092 oracle instance terminated [message #541838 is a reply to message #541832] Thu, 02 February 2012 11:09 Go to previous messageGo to next message
Michel Cadot
Messages: 68641
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Tapan6415 wrote on Thu, 02 February 2012 17:51
i posted to shaan


No, you posted to everyone that read that forum.
And you didn't answer to my question.
And it seems you didn't read any one answer.

Regards
Michel

Re: ora 01092 oracle instance terminated [message #541885 is a reply to message #541838] Fri, 03 February 2012 00:35 Go to previous messageGo to next message
x-oracle
Messages: 380
Registered: April 2011
Location: gujarat
Senior Member
ok tapan i show your oracle home is D:\oracle\product\10.2.0\db_2 and in create database syntax you use
D:\oracle\product\10.2.0\db_1

so try to use this

D:\oracle\product\10.2.0\oradata\ORA10G

or

D:\oracle\product\10.2.0\db_2\oradata\ora10g






Re: ora 01092 oracle instance terminated [message #541904 is a reply to message #541885] Fri, 03 February 2012 02:14 Go to previous messageGo to next message
Tapan6415
Messages: 45
Registered: January 2012
Location: VADODARA
Member
shaan121 wrote on Fri, 03 February 2012 09:35
ok tapan i show your oracle home is D:\oracle\product\10.2.0\db_2 and in create database syntax you use
D:\oracle\product\10.2.0\db_1

so try to use this

D:\oracle\product\10.2.0\oradata\ORA10G
or
D:\oracle\product\10.2.0\db_2\oradata\ora10g

shaan actually that was the first sreenshot then after i uninstalled oracle 10g and again i did all the things in db_2
as u told me and u want my screenshot of

startup nomount
&
select & from v$instance;
so dute execute once again i reinstalled my oracle and i did all the procedure as u told me in new database folder db_2
Re: ora 01092 oracle instance terminated [message #541907 is a reply to message #541904] Fri, 03 February 2012 02:31 Go to previous messageGo to next message
Michel Cadot
Messages: 68641
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
"u" told you nothing as "U" is dead.

Regards
Michel
Re: ora 01092 oracle instance terminated [message #541975 is a reply to message #541904] Fri, 03 February 2012 08:15 Go to previous message
joy_division
Messages: 4963
Registered: February 2005
Location: East Coast USA
Senior Member
Tapan6415 wrote on Fri, 03 February 2012 03:14

so dute execute once again


Would you please use proper english. I have no idea what that means. Do you also speak like you have a have a mouth full of food?
Previous Topic: Tablespace fragmentation
Next Topic: GATHER_STATS_JOB: Stopped by Scheduler
Goto Forum:
  


Current Time: Fri Apr 19 09:21:42 CDT 2024