Init.ora file missing (Oracle 10g)
Hi guys,
My database is down and when I try to startup it's complaining about the init.ora file that is missing. Is there a way of recreating this file and how?
Thanx.
Kamran Agayev A. wrote:
NPD wrote:
Hi guys,
My database is down and when I try to startup it's complaining about the init.ora file that is missing. Is there a way of recreating this file and how?
Thanx.Show the output and verify for any initialization paramtere file in $ORACLE_HOME/dbs directoryIf it really is missing (so far we only have your word, and I trust Oracle more ... show us the actual error message) and you have no backup, you can recreate it by referencing your alert log. At every startup, the alert log will record all non-default initialization parms.
Similar Messages
-
Attaching DBF / ORA files to Oracle 10g express
Hi,
I have Oracle 10g Express and I want to attach/restore database. I`m begginer in oracle so I know little about process of restoring/attaching databases. I have only DBF/ORA files, is it possible to restore them and how?
Any help appreciated.
Thanks,
Ivan.
Message was edited by:
VertygoProbably not... Oracle does not generally allow you to take data files from one machine and mount them on another machine.
If you have a small dump file (generally .DMP) and a handful of data files, you might have some transportable tablespaces, but it doesn't sound like that is the case.
If you have control files, you might have a closed database backup. If that were the case, you could do a database restore, but you would only be able to use the express edition if that was the original database version you took the backup from. It doesn't sound like you have control files, though, so I don't expect that you could do a recovery.
If the original database is still around, the easiest option would probably be to do an export from that system and an import into your new database (using the exp/imp or expdp/impdp tools depending on the source Oracle version).
Justin -
Which init.ora file in use?
I found init.ora in a couple places.
How do I determine which init.ora file my oracle is using?
Is there a sqlplus command to fine the init.ora in use?
So far, I found them here:
c:\oracle11g\dbs\init.ora
c:\oracle11g\admin\mydb1\pfile\init.ora.8172009222712
Which one is active?
Any suggestions are greatly appreciated.The one that's there in the DBS folder is the first one that is going to be looked upon by Oracle when it will try to start the instance. The one in the $OH/dbs/ is going to be active. The other location would not have the pfile all the time. Also, spfile should be used if you are in 11g. Why you areusing pfile instead of it?
Here is what I have for 11g system,
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining
and Real Application Testing options
SQL> show parameter spfile
NAME TYPE VALUE
spfile string /u01/app/oracle/product/11.1.0
/db_1/dbs/spfileorcl.ora
SQL>You can see the path is $OH/dbs.
HTH
Aman.... -
Oracle 11g init.ora file
1) I am a bit confused with init.ora file format in oracle 11g. In addition=
to the usual entries that are prefixed with *.<parameter>, it also has ent=
ries prefixed with <sid>.__<parameter>. I am not able to find an explanatio=
n of these <sid>__ entries from oracle 11g documentation. I am told by a co=
lleague that they are for instance, to cater for multiple-instances databa=
ses. Is that correct?
2) The presence of the <sid>.__ entries confuse me since some parameters ap=
pear in both <sid>__ and *. sections. What if the values for the same param=
eter are different, which one is used by oracle? I guess it's the <sid>.__ =
one?=20
3) In my case the database has only 1 instance, so I guess I can remove all=
<sid>.__ entries and only work with *. entries?
Thanks
LongHi,
the entries with double underscore in the spfile that you mention are not new in 11g but also show up in 10g.
They are caused by the background process MMAN (Memory Manager), that is active if you set SGA_TARGET>0 (in 10g) rsp. MEMORY_TARGET>0 (in 11g).
This MMAN modifies the Oracle Memory components like the shared pool and the buffer cache, using performance statistics captured by the MMON (Manageability Monitor) and storing the new size of the component in the spfile in order to make that size persistent through instance restarts.
The prefix of the SID is meaningless in case of a non-RAC database.
Kind regards
Uwe
http://uhesse.wordpress.com -
Init ora file for 2000 server oracle
i'm running 9.02 on windows 2000. How do i find out which init ora file the start services is picking up. I looked it up in the registry and it wasn't obvious.
thanksHi,
All oracle parameters registry related can be found in the book for window. If you don't see the init which is pointing to it is going to the default. Look in ORACLE_HOME\database
http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/win.920/a95491/admin.htm#1004903
Best,
EA -
Missing "init.ora" file
I search lots of website to find out how to create batabase by manual without using OBCA. Almost of the website said that I need to find the "init.ora" file,
then copy and edit some of the parameters. But the problem is I couldn't find
"init.ora" file in Windows XP Pro. Is thers someone can tell me the exactly path for this file or help me to create a New "init.ora" file ?
One more question. Does this file exist before I create new SID or after ?
Thank you.Hi,
go to start menu and click search option then find init.ora or *.ora, see results ? anyways the location of the init.ora file is d:\oracle\0ra90\admin\sample\pfile if you replace ora_home with d:\oracle and your db must be oracle 9.0.1.you can do one more thing use dbca to create a sampme file.use it and at the very last step uncheck create database and check create script sort of option.save it and use it accroding to your requirement.
thanks
Alok. -
Can we determine path of my INIT.ORA file from data dictionary views.
Hello Guru’s
I am new to oracle, My question is for the sake of my knowledge: I work on oracle 10G.
Is there any data dictionary view from where I can get the path of my INIT.ORA file.
Regards,NewDay wrote:
Hello Guru’s
I am new to oracle, My question is for the sake of my knowledge: I work on oracle 10G.
Is there any data dictionary view from where I can get the path of my INIT.ORA file.
AFAIK , its no. You can check the path from the show parameter command like following,
SQL> show parameter spfile
NAME TYPE
VALUE
spfile string
/u01/app/oracle/product/10.2.0
/db_1/dbs/spfileorcl.ora
SQL>HTH
Aman.... -
Questions on init.ora file
Hi,
I have some questions on init.ora file. While checking the init file in my system i found that it defines a spfile in a non default location.
The parameter names are like
1) db1.__db_cache_size
2) *._kgl_large_heap_warning_threshold
3) *.sga_target
what do they indicate? I mean what does 'db1.__' , '*._' and '*.' indicate? There are multiple database in the Windows 2003 server and the db version is 10g R1
Regards,
SID
Edited by: SID3 on Jun 29, 2010 5:55 AM
Edited by: SID3 on Jun 29, 2010 5:56 AMSID3 wrote:
From the discussion i guess the following points
1) db1._ means they are specific to databases.
2) *._ and * means they are used accross databases and chaging it in any of the initfile might affect all? I seriously doubt this.You are mistaken when speaking about database. Bear in mind, a database is not an instance.
* here means this parameter will apply to any instance of that database (if it is in RAC), or to the only one instance of that database (if it is in non-RAC).
Find out more :
http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_2013.htm#i2146449
Nicolas. -
Creating trace file in oracle 10g forms
hii there,
I have developed an application in oracle 10g. but it's too slow . Now i have to trace forms . How can trace oracle forms.
please send it in details as early as possible. I don't know about this trace file generation.
-----SachinHi,
To run SQL trace for a form :
a. Get to the point in the form where you want to turn trace on.
For example, if the problem occurs on the commit, wait until you are
ready to commit, THEN turn trace on.
b. Turn tracing on. In GUI versions: Help - Tools - Trace, enable tracing.
c. Execute the steps you want to trace.
d. Turn tracing off. In GUI versions: Help - Tools - Trace, disable tracing.
The trace file will be written to the subdirectory specified in the
'user_dump_dest' parameter in the INIT.ORA file. -
Init.ora file not found
Hi,
i have installed oracle 10g in my system. My OS is windows XP professional SP2. I couldn't find init.ora file in my system.
Can someone help me out.
Thanks
RamHave you created any database ?
-
How to establish a single init.ora file for 3 node RAC under ASM
All,
Our environment is a combination of several different memory sized SUN machines (V880, V490 & 250R).
Setting up a single init.ora file that encompasses each of the nodes memory into the SGA sizing is our desired setup.
Though we have established the file, the question is getting each NODE on the RAC to use that single parameter
file to start its database instead of taking the default init.ora file in the default (asm/dbs) directory.
As we have performed fail-over testing, upon the restart of instances they have restarted with wrong memory
definitions that have hung the nodes when it took more memory then what was available and swap space began
to grow.
Steps to configure and enable this process is what I am looking for.
Thanks
GerryGerry,
Here's what we do. Not sure if it is relevant to your situation ...
(on each node)
$ cat $ORACLE_HOME/dbs/initrac11d1.ora
SPFILE='+DATA/rac11d/spfilerac11d.ora'
(in ASM)
$ asmcmd
ASMCMD> ls -la +data/rac11d
Type Redund Striped Time Sys Name
Y CONTROLFILE/
Y DATAFILE/
Y ONLINELOG/
Y PARAMETERFILE/
Y TEMPFILE/
N spfilerac11d.ora => +DATA/RAC11D/PARAMETERFILE/spfile.267.685170285
The spfile has all parameters, qualified by node where applicable. For example :
$ sqlplus / as sysdba
SQL*Plus: Release 11.1.0.7.0 - Production on Wed May 6 19:00:45 2009
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Release 11.1.0.7.0 - 64bit Production
With the Real Application Clusters option
SQL> create pfile='/tmp/sb.ora' from spfile;
File created.
SQL> Disconnected from Oracle Database 11g Release 11.1.0.7.0 - 64bit Production
With the Real Application Clusters option
$ cat /tmp/sb.ora
*.archive_lag_target=1800
*.audit_file_dest='/var/oracle/admin/rac11d/adump'
rac11d1.dispatchers='(address=(protocol=tcp)(host=msdbc11-vip)(port=64000))'
rac11d2.dispatchers='(address=(protocol=tcp)(host=msdbc12-vip)(port=64000))'
*.global_names=TRUE
rac11d1.instance_number=1
rac11d2.instance_number=2
rac11d1.undo_tablespace='UNDOTBS1'
rac11d2.undo_tablespace='UNDOTBS2'
Hope this helps,
Steve -
CHANGING THE DIRECTORY OF INIT.ORA FILE
Hi,
I have a database in 8i. Can I change the diredtory of init.ora file ? If yes how ?
it is in d:\oracle\ora8
and I want tu put it in d:\anothrfolder
Many thanks before.That's what I did , but :
SQL> SHUTDOWN IMMEDIATE
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> exit
Disconnected from Oracle8i Enterprise Edition Release 8.1.7.4.1 - Production
With the Partitioning option
JServer Release 8.1.7.4.1 - Production
C:\Documents and Settings\user>oradim -delete -sid DB1
C:\Documents and Settings\user>oradim -EDIT -SID DB1 -PFILE C:\oracle\admin\db1\exp\initdb1.ora
DIM-00010: SYSTEM\CurrentControlSet\Services\OracleService key does not exist
O/S-Error: (OS 2) Le fichier spÚcifiÚ est introuvable.
DIM-00010: SYSTEM\CurrentControlSet\Services\OracleService key does not exist
O/S-Error: (OS 2) Le fichier spÚcifiÚ est introuvable.
C:\Documents and Settings\user>oradim -EDIT -SID DB1 -PFILE C:\oracle\admin\db1\exp\initdb1.ora -startmode auto
DIM-00010: SYSTEM\CurrentControlSet\Services\OracleService key does not exist
O/S-Error: (OS 2) Le fichier spÚcifiÚ est introuvable.
DIM-00010: SYSTEM\CurrentControlSet\Services\OracleService key does not exist
O/S-Error: (OS 2) Le fichier spÚcifiÚ est introuvable.
C:\Documents and Settings\user>oradim -NEW -SID DB1 -PFILE C:\oracle\admin\db1\exp\initdb1.ora -startmode auto
C:\Documents and Settings\user>sqlplus "/ as sysdba"
SQL*Plus: Release 8.1.7.0.0 - Production on Me Mai 16 12:22:25 2007
(c) Copyright 2000 Oracle Corporation. All rights reserved.
Connected to:
Oracle8i Enterprise Edition Release 8.1.7.4.1 - Production
With the Partitioning option
JServer Release 8.1.7.4.1 - Production
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
LRM-00109: could not open parameter file 'C:\oracle\admin\db1\pfile\initdb1.ora'
LRM-00113: error when processing file 'C:\oracle\admin\db1\pfile\initdb1.ora'
ORA-01078: failure in processing system parameters -
hi which packages must i install in order to be able to read /u01/app/oracle/product/11.2.0/db_1/dbs/initsmsdev.ora and how to create initsmsdev.ora as am also having problem startup pfile='/u01/app/oracle/product/11.2.0/db_1/dbs/initsmsdev.ora'
LRM-00109: could not open parameter file '/u01/app/oracle/product/11.2.0/db_1/dbs/initsmsdev.ora'
Edited by: Tshifhiwa on 2012/03/10 3:58 PMYou can copy the init.ora file to initsmsdev.ora and make necessary changes to the parameters , there is no need to specify "startup pfile='/u01/app/oracle/product/11.2.0/db_1/dbs/initsmsdev.ora' " if the pfile is in its defaults location.
The error can occur if the database name, instance name or service name are different..
the other thing is to make sure of the directory and file permissions .... -
Hi,
I need to add the utl_file_dir parameter to the init.ora file. Do I need to restart the database for the changes to be effective?
My oracle version is
Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.8.0 - ProductionAkhil N K wrote:
Does the below two statements means the same?No.
1) creating an oracle directory using create or replace directory command This is referring to create a directory object in the database using the create directory command which should be mapping to a valid o/s level directory path.
http://download.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_58a.htm#SQLRF01207
2) adding utl_file_dir parameterThis is referring to the edition of the init file and adding the parameter there .
HTH
Aman.... -
Archivelog Mode / init.ora file
Hi,
Maybe someone can help me out. I am presently trying to set up a dev server that has 3 or 4 databases on it. The first database is installed by the Oracle installation kit. The 2nd one that I am now trying to configure is giving me the following error: Ora-01126: database must be mounted EXCLUSIVE and not open for this operation. I am also setting it up for archiving.
When I do a SELECT * from V$database; the answer comes back that it is in noarchivelog mode. I even edited the init.ora file in both the pfile folder and the ora81/database folder and yet the answer is still the same. I even rebooted it with the same results. I understand that the database is in exclusive mode by default. Does this have anything to do with Parrelizm (spelling). I tried altering the database to archivelog mode but with no results.
Any ideas? Im at a loss.
Thanks for your time.
AlHi Al,
try to startup the db with startup mount or startup read only and try
the alter command again.
Normally it should work then!
Tobias
Maybe you are looking for
-
I just replaced the hard drive for my Mac Pro, and I am trying to restore what is on my Time Capsule, but it wont connect, and only is giving me the pinwheel of death. What do i do?
-
Z61p 9540CTO Advanced Dock to get DVI-D working at 1080p [1920x1080] WUXGA
Please help it is difficult to call Lenovo support and get answers--so this forum is my last resort. I have a Thinkpad Z61p type 9540-CTO with 4Gb RAM, Core Duo Intel 2.33 Mhz, and ATI Mobility FireGL V5200 512MB WUXGA integrated graphics and DVD Mul
-
Coredump in Proc when connect Oracle
Hello I am programming in pro*C in Solaris with a Oracle 8.1.7 database. I have no problem to precompile and compile programs but when i execute then i have a coredump when i execute the exec sql connect instruction. I debug the applications with the
-
What's the Manufacturer of the Super-drives for all three Unibodies 13-17"?
FOR: 13, 15, and 17" Just wondering, thanks!
-
Reporting on Internet access...
I'm after a router (and probably software) solution thats going to let me monitor the internet usage out of my home network. There are about 10 devices connected to the current network (all with assigned ip addresses). So what i want to be able to