Unable to crate new control file
Dear All,
I am going to refresh SANDBOX i want to create new control file but am am not able to create controlfile following is the mssage:
SP2-0310: unable to open file "control.sql"
Pls. guide me,
Regards,
Madhus
Hi,
Make sure that user ora<sid> is authorizate to read that file, so provide authorzation.
Command you run should looks like this one
./ora_br_copy.sh -generateFiles -forceLogSwitches -targetSid TRG -password secretb -listenerPort 1527
this is only example you should change TRG, secretb and port for listener.
Best regards,
Peter Nechala
Similar Messages
-
How to use old archieve logs with a new control file
Environment:
ORACLE_BASE="/export/home/oracle"
ORACLE_HOME="/export/home/oracle/product/8.1.6"
NLS_LANG=".UTF8"
2 partitions:
i) /data1 -- contains important datafiles (OS striping on 3 hard
disks)
ii) /export/home -- contains the oracle program, and SYS/SYSTEM
datafiles
Problem:
-/data1 cannot be read/mount (damaged)
-oracle failed
Action Performed:
-reinstalled OS
-mount /export/home successfully (all oracle system files,
instance init files exist)
-/data1 is an empty partition
-created the oracle user, and its groups
-chown recusively for the $ORACLE_BASE directory
-set all the oracle environment variables
-attempted to start the instance, but failed due to a control
file was
missing
-since control files were set to be mirrored, i copied a control
file somewhere
from /export/home/oracle/oradata/<SID>/control1.ctl to
/data1/oracle/oradata/<SID>/control2.ctl (i.e. have them back to
their original locations)
-the instance failed to start as well, since the datafile set in
the control files couldn't be found
-this forced me to re-create the control file... b4 i re-create
a new control file, i backed up the old one
-once the control file was created, the database can be started,
but, to oracle, all achieve log information are lost (although
the achieve log's physical files r still there)
-i imported the important data from a dump file that was
exported a week ago b4 the system failure
-since we r using the new control file, the redo logs switch
contains no achieve log information that the old control file
has, so running "recover database" doesn't do anything
Purpose:
since the dump file is a week old, i'd like to get the data
after my last export and b4 the system failure. the database was
run in arhieve log mode, how can i recover those data with the
new control file
Question:
-how can we create a new control file that can drive the old
achieve logs?
-can we convert the achieve log data (.dbf format) into text
format?
-can we still use the old control files to start the database?
-what's a suggested solution if we'd like to re-construct the
database up to the moment b4 the system failure in another
server?
thxuser3930585 wrote:
I am in an unenviable position, with an unsupported database.
We are running Oracle 9i on Windows XP. We are upgrading soon to Oracle 11g on a newer platform, but need to get our development environment working first.
We lost a system that was running our development database without having a database export. The C drive was placed into a new system as the D drive.
I have loaded Oracle 9i on the C drive, but I have been unable to determine how to point it to the existing data files on the D drive. My search skills may be the limiting factor here...
We cannot simply load the drive as C, since the hardware is different.
What are the steps to point the new database software at the data files on the D drive? Or, how do I copy the old data files into the new Oracle Home and have them recognized properly?
Are you stating that you don't know how to use COPY command?
Can you recreate same directory structure on new C drive as exist on old C drive?
Can you then drag & drop copies of the files? -
Unable to load Site Control File
Hello,
The background :
I am in the process of learning how to create a Management Pack for a distributed application in SCOM 2012 R2.</p><p>For this, I picked our SCCM Site server to use as an example. So, in short, am writing a management pack for SCCM 2007 Discovery.
I know a management pack might already exist. I am trying to learn by using an architecture I'm familiar with so I need to create this from scratch.
In order to discover SCCM Site installed on a server, I decided to use the SMS WMI namespace. By reading the
SMS_ProviderLocation Instance, I am able to detect if the server has SCCM Site installed on it.
My next step was to find out where the SMS database is hosted. I found
ROOT\SMS\site_ABC\ namespace contains an instance of SMS_SCI_SiteDefinition where I can find the database name and server name which I can use to discover the other components of a distributed application.
The problem :
When I run the query Select * from SMS_SCI_SiteDefinition I get a generic error 0x80041001.
More Information reveals the following:
error description : " Unable to load site control file "
error code : " 2160198400 (0x80c20300) "
file name : " c:\qfe\nts_sms_fre\sms\siteserver\sdk_provider\smsprov\sspsitecontrolextractor.cpp "
Now, I cannot find the QFE folder anywhere. The SCCM Site is working fine and the site_control_manager component has no errors. I can launch the SCCM console on that server without any errors and the site status messages do not contain any errors.
Can someone please help me out with "detecting" an installed instance of SCCM site server using WMI? Is the above error cause for worry for the SCCM part of my brain?
Thanks in advance for your guidance!Thanks for your response Don!
The SMS_Site instance does not provide information of the database server and database name.
The funny thing is when I browse use wbemtest to connect to root\SMS\site_XXX and enumerate classes, i do not find
the SMS_SCI_SiteDefinition.
I find it when i enumerate recursively and can browse into the values. I'm not sure how could build a query against this now.
Can anybody with a test instance of SCCM 2007 check this and let me know please?
Everything you are looking for exist within WMI. You can use the documentation script as an example to get what you are looking for.
http://www.enhansoft.com/pages/downloads.aspx
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:
@GarthMJ -
Unable to see Bursting Control file in Data definition
I have installed the Patch 5968876. But I still dont see the upload Bursting Control File” Button . I see the new concurrent program XML Publisher Report Bursting Program being added, however Data definition screen is unchanged . Can someone pl advise what needs to be done..
ThanksI think I got it... it is Patch 5968876
-
Hi all,
I want to multiplex my control file to another volume. I have an spfile (no init.ora file). Do I just use an alter system with scope = SPFILE?
i.e. ALTER SYSTEM SET CONTROL_FILES=... scope=SPFILE"
Thanks for any feedback.geeter wrote:
Hi all,
I want to multiplex my control file to another volume. I have an spfile (no init.ora file). Do I just use an alter system with scope = SPFILE?
i.e. ALTER SYSTEM SET CONTROL_FILES=... scope=SPFILE"
Thanks for any feedback.Change spfile while database running
Close the db
Start it and it will use new settings for CONTROL_FILES
Kamran Agayev A.
Oracle ACE
My Oracle Video Tutorials - http://kamranagayev.wordpress.com/oracle-video-tutorials/ -
RAC control file has correpted, unable to mount database
hi guru's,
Im trying to startup my rac db, but it giving following error.
SQL> startup
ORACLE instance started.
Total System Global Area 233861120 bytes
Fixed Size 2212088 bytes
Variable Size 176164616 bytes
Database Buffers 50331648 bytes
Redo Buffers 5152768 bytes
ORA-00221: error on write to control file
ORA-00206: error in writing (block 1, # blocks 1) of control file
ORA-00202: control file: '+CTRL/finance/controlfile/current.256.812371485'
ORA-15081: failed to submit an I/O operation to a disk
ORA-15081: failed to submit an I/O operation to a disk
alert log:
Errors in file /oradump/oradata/finance/dump/diag/rdbms/finance/finance1/trace/finance1_ora_11821.trc:
ORA-15080: synchronous I/O operation to a disk failed
WARNING: failed to write mirror side 1 of virtual extent 0 logical extent 0 of file 256 in group 2 on disk 1 allocation unit 78
Errors in file /oradump/oradata/finance/dump/diag/rdbms/finance/finance1/trace/finance1_ora_11821.trc:
ORA-15080: synchronous I/O operation to a disk failed
WARNING: failed to write mirror side 2 of virtual extent 0 logical extent 1 of file 256 in group 2 on disk 2 allocation unit 76
Errors in file /oradump/oradata/finance/dump/diag/rdbms/finance/finance1/trace/finance1_ora_11821.trc:
ORA-15080: synchronous I/O operation to a disk failed
WARNING: failed to write mirror side 3 of virtual extent 0 logical extent 2 of file 256 in group 2 on disk 3 allocation unit 78
Errors in file /oradump/oradata/finance/dump/diag/rdbms/finance/finance1/trace/finance1_ora_11821.trc:
ORA-00206: error in writing (block 1, # blocks 1) of control file
ORA-00202: control file: '+CTRL/finance/controlfile/current.256.812371485'
ORA-15081: failed to submit an I/O operation to a disk
ORA-15081: failed to submit an I/O operation to a disk
ORA-221 signalled during: ALTER DATABASE MOUNT...
trace file:
Trace file /oradump/oradata/finance/dump/diag/rdbms/finance/finance1/trace/finance1_ora_11821.trc
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
ORACLE_HOME = /rdbms1/app/oracle/product/11.2.0/db_home/
System name: Linux
Node name: RAC-NODE1.vod.com
Release: 2.6.18-128.el5
Version: #1 SMP Wed Dec 17 11:41:38 EST 2008
Machine: x86_64
Instance name: finance1
Redo thread mounted by this instance: 0 <none>
Oracle process number: 28
Unix process pid: 11821, image: [email protected] (TNS V1-V3)
*** 2013-04-27 00:02:39.859
*** SESSION ID:(1.3) 2013-04-27 00:02:39.859
*** CLIENT ID:() 2013-04-27 00:02:39.859
*** SERVICE NAME:() 2013-04-27 00:02:39.859
*** MODULE NAME:([email protected] (TNS V1-V3)) 2013-04-27 00:02:39.859
*** ACTION NAME:() 2013-04-27 00:02:39.859
ORA-27041: unable to open file
WARNING: IO Failed. group:2 disk(number.incarnation):1.0xe96d8019 disk_path:/dev/sdd2
AU:78 disk_offset(bytes):81805312 io_size:16384 operation:Write type:asynchronous
result:I/O error process_id:11821
subsys:System iop:0x2b1c84e57250 bufp:0x2b1c84d6ce00 osderr:0x0 osderr1:0x0
ORA-27041: unable to open file
WARNING: IO Failed. group:2 disk(number.incarnation):2.0xe96d801a disk_path:/dev/sdd3
AU:76 disk_offset(bytes):79708160 io_size:16384 operation:Write type:asynchronous
result:I/O error process_id:11821
subsys:System iop:0x2b1c84e57128 bufp:0x2b1c84d6ce00 osderr:0x0 osderr1:0x0
ORA-27041: unable to open file
WARNING: IO Failed. group:2 disk(number.incarnation):3.0xe96d8018 disk_path:/dev/sdd4
AU:78 disk_offset(bytes):81805312 io_size:16384 operation:Write type:asynchronous
result:I/O error process_id:11821
subsys:System iop:0x2b1c84e57000 bufp:0x2b1c84d6ce00 osderr:0x0 osderr1:0x0
ORA-15080: synchronous I/O operation to a disk failed
WARNING: failed to write mirror side 1 of virtual extent 0 logical extent 0 of file 256 in group 2 on disk 1 allocation unit 78
ORA-15080: synchronous I/O operation to a disk failed
WARNING: failed to write mirror side 2 of virtual extent 0 logical extent 1 of file 256 in group 2 on disk 2 allocation unit 76
ORA-15080: synchronous I/O operation to a disk failed
WARNING: failed to write mirror side 3 of virtual extent 0 logical extent 2 of file 256 in group 2 on disk 3 allocation unit 78
DDE rules only execution for: ORA 202
----- START Event Driven Actions Dump ----
---- END Event Driven Actions Dump ----
----- START DDE Actions Dump -----
Executing SYNC actions
----- START DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (Async) -----
Successfully dispatched
----- END DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (SUCCESS, 0 csec) -----
Executing ASYNC actions
----- END DDE Actions Dump (total 0 csec) -----
ORA-00206: error in writing (block 1, # blocks 1) of control file
ORA-00202: control file: '+CTRL/finance/controlfile/current.256.812371485'
ORA-15081: failed to submit an I/O operation to a disk
ORA-15081: failed to submit an I/O operation to a disk
all the diskgroups are in mount state only
SQL> select name,state from v$asm_diskgroup;
NAME STATE
ARCLOG MOUNTED
CTRL MOUNTED
DBFILE MOUNTED
FRA MOUNTED
REDO1 MOUNTED
REDO2 MOUNTED
VOTE MOUNTED
since i did not have mirror copy or backup of current control file to replace the correpted one.
Is there any way to create new control file and transfered to ASM diskgroup and open database. or i need to drop the existing database.
if i need to drop the db, without open the db how to drop database.
kindly help on this.
Thanks in advance.Hi,
Thanks for the replay. im able to open the db.
But can you tel me how to make my rac db to open with spfile which is on asmdiskgroup.
SQL> select name,state from v$asm_diskgroup;
NAME STATE
ARCLOG MOUNTED
CTRL MOUNTED
DBFILE MOUNTED
FRA MOUNTED
REDO1 MOUNTED
REDO2 MOUNTED
VOTE MOUNTED
Spfile:
ASMCMD [+DBFILE/FINANCE/PARAMETERFILE] > pwd
+DBFILE/FINANCE/PARAMETERFILE
ASMCMD [+DBFILE/FINANCE/PARAMETERFILE] > ls
spfile.262.813843989
i shutdown the db and up the same but it can't take the spfile.
SQL> show parameter spfile
NAME TYPE VALUE
spfile string
Thanks in advance. -
ERROR IN RECREATING CONTROL FILES
hello,
I am trying to learn the concepts of database administration.
I am facing a problem while creating a new control file:
O.S=Windows 7 ORacle 10g
What i want to do:
1. The database has been created, now i have deleted the control file of my database to learn creating a new one.
2. I have issued the command :
create controlfile reuse database ipl noresetlogs;
3. I am getting an error
Error at line 1:
ora-01503: create control file failed
ora-01565: error in identifying file
'%oracle_home%\database\dbs1%oracle_sid%.ora'
ora-27041:unable to open file
osd-04002: unable to open file
o/s-error: (os2) The system cannot find specified file
Please help me to solve the issue.
Also studying from oracle administartion guide ebook:
I came across
CREATE CONTROLFILE
SET DATABASE prod
LOGFILE GROUP 1 ('/u01/oracle/prod/redo01_01.log',
'/u01/oracle/prod/redo01_02.log'),
GROUP 2 ('/u01/oracle/prod/redo02_01.log',
'/u01/oracle/prod/redo02_02.log'),
GROUP 3 ('/u01/oracle/prod/redo03_01.log',
'/u01/oracle/prod/redo03_02.log')
RESETLOGS
DATAFILE '/u01/oracle/prod/system01.dbf' SIZE 3M,
'/u01/oracle/prod/rbs01.dbs' SIZE 5M,
'/u01/oracle/prod/users01.dbs' SIZE 5M,
'/u01/oracle/prod/temp01.dbs' SIZE 5M
MAXLOGFILES 50
MAXLOGMEMBERS 3
MAXLOGHISTORY 400
MAXDATAFILES 200
MAXINSTANCES 6
ARCHIVELOG;
I would like to know the following:
1.If only the control file is deleted, should we include the datafile clause as well as the log file clause or only create controlfile reuse database ipl noresetlogs command is enough.
_______________________________________________________________________________________________________________________________________________Read the full doc: It will help. Yes You must list datafiles and log files etc. To know the reason, you will have to read the doc. If you are new and trying to learn new concepts, oracle documentation is your best buddy.
http://docs.oracle.com/cd/B12037_01/server.101/b10759/statements_5003.htm
Example
Creating a Controlfile: Example
This statement re-creates a control file. In this statement, database demo was created with the WE8DEC character set. The example uses the word path where you would normally insert the path on your system to the appropriate Oracle Database directories.
STARTUP NOMOUNT
CREATE CONTROLFILE REUSE DATABASE "demo" NORESETLOGS NOARCHIVELOG
MAXLOGFILES 32
MAXLOGMEMBERS 2
MAXDATAFILES 32
MAXINSTANCES 1
MAXLOGHISTORY 449
LOGFILE
GROUP 1 '/path/oracle/dbs/t_log1.f' SIZE 500K,
GROUP 2 '/path/oracle/dbs/t_log2.f' SIZE 500K
# STANDBY LOGFILE
DATAFILE
'/path/oracle/dbs/t_db1.f',
'/path/oracle/dbs/dbu19i.dbf',
'/path/oracle/dbs/tbs_11.f',
'/path/oracle/dbs/smundo.dbf',
'/path/oracle/dbs/demo.dbf'
CHARACTER SET WE8DEC
; -
I have a question about creating another control file. If I want to create another control file, do I need to put the values/paths of the current control files in the CREATE CONTROLFILE statement?
996403 wrote:
If I am wanting to create a new control file, do you recommend:
1. Use the Create Control file statementWhen to Create New Control Files:
All control files for the database have been permanently damaged/missing and you do not have a control file backup.
You want to change one of the permanent database parameter settings originally specified in the CREATE DATABASE statement.
These settings include the database name and the following parameters: MAXLOGFILES, MAXLOGMEMBERS, MAXLOGHISTORY, MAXDATAFILES, and MAXINSTANCES.
For example, you would change a database name if it conflicted with another database name in a distributed environment,
or you would change the value of MAXLOGFILES if the original setting is too low.
2. Copy an existing control file and then edit the parameter file?i will recommend 2nd (if you have healthy control file) if you want multiplex control files. -
Regarding RESETLOG and NORESETLOG option while creating a control file
Hi,
I dont understand the need for resetlogs option while creating a controlfile for a db in NOARCHIVELOGMODE. I assume that reset logs clears all the redo log contents.
While taking a cold backup what I did was:
1. Shutdown instance
2. Copy all the files
3. Startup
Now I tried recovering the same database on a new machine (with different path btw.) coz of which i had to create a new control file. My question is: while restoring the database, do I need to create the control file with NORESETLOG or RESETLOG option?
When I tried using the NORESETLOG (NOARCHIVELOG) option I was able to recover the instance without any hassles.
ie
1. STARTUP NOMOUNT
2. CREATE NEW CONTROL FILE USING NORESETLOG (NOARCHIVELOG)
3. RECOVER DATABASE
4. ALTER DATABASE OPEN;
While the same thing with NORESETLOG (NOARCHIVELOG) option:
1. STARTUP NOMOUNT
2. CREATE NEW CONTROL FILE USING RESETLOG (NOARCHIVELOG)
3. RECOVER DATABASE USING BACKUP CONTROLFILE
This step asked me for some archivelogs which were not generated since the db is in NOARCHIVELOG mode.
I wonder why we require the RESETLOG OPTION SINCE A NORMAL SHUTDOWN PERFORMED BEFORE COLD BACKUP would have ensured that there is no redo information left in the redo logs.
Please let me know if I am thinking the incorrect way.
Regards and Thanx in Advance,
RajIf you had a db running in noarchivelog mode and had to clone the db and rename it, the create controlfile stmt:
create controlfile reuse <db_name> needs to be changed to: create controlfile SET <db_name>, in which case the db can only be opened with resetlogs. Hope this answers your question -
HI, My database was operating on noarchivelog mode, I do have a backup from last night but all three control files seemed to be corrupted. Is there anyway, i can create new control file and syncronise with rest of the files?. If yes, can you please tell me the steps involved in creating new controlfile as I don't have any idea how to do that. Thanks alot.
Hi,
Set oracle_sid="your sid name"
connect to sqlplus
SQL>conn/as sysdba
start your database in nomount stage
SQL>Startup nomount
Then type the following commands
SQL> CREATE CONTROLFILE REUSE DATABASE "your database name"
MAXLOGFILES 5 --optional
MAXLOGMEMBERS 3 --optional
MAXDATAFILES 14 --optional
MAXINSTANCES 1 --optional
MAXLOGHISTORY 226 --optional
LOGFILE
GROUP 1 'your logfile path' SIZE your logfile size,
GROUP 2 'your logfile path' SIZE your logfile size
DATAFILE
'your datafile path',
'your datafile path'
After that open the database with RESETLOGS
then shutdown the database
SQL>shu
Now multiflex the control file and mention the path in init file
And take the complete closed backup( backup your datafile, control file, logfile)
Then startup the database
SQL> Startup
Now your database is ready to USE.
This is the Example to:
SQL> CREATE CONTROLFILE REUSE DATABASE "ORCL"
MAXLOGFILES 5
MAXLOGMEMBERS 3
MAXDATAFILES 14
MAXINSTANCES 1
MAXLOGHISTORY 226
LOGFILE
GROUP 1 'E:\ORACLE\ORADATA\ORCL\REDO01.LOG' SIZE 100M,
GROUP 2 'E:\ORACLE\ORADATA\ORCL\REDO02.LOG' SIZE 100M,
GROUP 3 'E:\ORACLE\ORADATA\ORCL\REDO03.LOG' SIZE 100M
DATAFILE
'E:\ORACLE\ORADATA\ORCL\UNDOTBS01.DBF',
'E:\ORACLE\ORADATA\ORCL\EXAMPLE01.DBF',
'E:\ORACLE\ORADATA\ORCL\INDX01.DBF',
'E:\ORACLE\ORADATA\ORCL\TOOLS01.DBF',
'E:\ORACLE\ORADATA\ORCL\USERS01.DBF',
'E:\ORACLE\ORADATA\ORCL\OEM_REPOSITORY.DBF',
'E:\ORACLE\ORADATA\ORCL\CWMLITE01.DBF',
'E:\ORACLE\ORADATA\ORCL\DRSYS01.DBF',
'E:\ORACLE\ORADATA\ORCL\ODM01.DBF',
'E:\ORACLE\ORADATA\ORCL\XDB01.DBF',
'E:\ORACLE\ORADATA\ORCL\USERS02.DBF',
'E:\ORACLE\ORADATA\ORCL\USERS03.DBF',
'E:\ORACLE\ORADATA\ORCL\USERS04.DBF'
SQL>ALTER DATABASE OPEN RESETLOGS;
And one more thing:
To rename the database change reuse to set in the create control file script as shown below
Regards
S.Senthil Kumar -
Help can't add new jar files into BDK beanbox(plz see details)
I am unable to load new jar files into bdk beanbox inspite of
packaging bean class file and manifest file in a jar file and
placing it in bdk jars directory. On trying to load it says(THE JAR
FILE DOES NOT HAVA ANY BEANS).
SEE THE EXAMPLE BELOW:
I made a manifest file BeanTest.mf as
Name: BeanTest.class
Java-Bean: True
Then the BeanTest Class comprises of
import java.awt.Point;
public class BrokenProperties extends Point
public void setSpot(Point point)
this.x = point.x;
this.y = point.y;
public Point getSpot()
return this;
Please help....you have many little errors in program. try as below and let me know..
public class BrokenProperties extends Point implements serializable
private Point xy;
public BrokenProperties()
public void setSpot(Point point)
xy=point;
public Point getSpot()
return xy; -
Oracle binary and control files
Hi All,
I want know whether the oracle binary and control files are they related in anyway.
I have my physical files on a SAN storage and my oracle binary files on a local disk.
In case if I delete my oracle binaries and restore it from a backup, will I be able to start my database without any issues.
Since all my oracle datafiles,controlfiles and redofiles are located in SAN storage.Oracle binaries and control files are related in some way because Oracle version is recorded in control files:
oerr ora 201
00201, 00000, "control file version %s incompatible with ORACLE version %s"
// *Cause: The control file was created by incompatible software.
// *Action: Either restart with a compatible software release or use
// CREATE CONTROLFILE to create a new control file that is
// compatible with this release.When restoring Oracle binaries on UNIX you should take care about setuid bits on oracle executable to avoid local connection issues by non oracle Unix accounts. -
Mv control files, redo.log, database fies
Hello,
I installed Oracle 10.2. on Unix.
we have created file systems for our data/control files.
some how we missed that part to define location for dbf, control & redo.log files during installation.
My question is how to mv all control files, redo.log and dbf files to one location to another.
for. eg:
currently there are installed in /opt/oracle/oradata.
now i want o move in /u03/oradata.
Please note:
Prior to that I'd like to put in archive log mode.
shutdown immediate;
startup mount;
alter database archivelog;
alter database open;
DNFor DB and Redo files
conn / as sysdba
shutdown immediate;
startup mount
host
$ cp old_name new_name
$ exit
alter database rename file old_name
to new_name;
alter database open
host
$ rm old_name
$ exitFor control files
1. Shut down the database.
2. Copy an existing control file to a different locations, using operating system commands.
3. Edit the CONTROL_FILES parameter in the database's initialization parameter file to add the new control file's name, or to change the existing control filename.
4. start the database.
Message was edited by:
tekicora -
Cannot open database Control file error
I am new to Oracle db and while trying to multiplex the control files something went wrong. Now i am not able to open the db and it is in mount state.
when i try to startup force the database i get the following errors:
SQL> startup force
ORACLE instance started.
Total System Global Area 599785472 bytes
Fixed Size 1250356 bytes
Variable Size 260049868 bytes
Database Buffers 331350016 bytes
Redo Buffers 7135232 bytes
Database mounted.
ORA-01122: database file 1 failed verification check
ORA-01110: data file 1: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\SREE\SYSTEM01
ORA-01207: file is more recent than control file - old control file
The database is in noarchivelog mode and i dont have any backup of it :(.
As the data is not critical i dont want to recove the data, i just want to bring my Database to Open state! Is it possible??
Thanks
Sreehi
you can create new controlfile
Creating a Controlfile: Example
This statement re-creates a control file. In this statement, database demo was created with the WE8MSWIN1252 character set. The example uses the word path where you would normally insert the path on your system to the appropriate Oracle Database directories.
STARTUP NOMOUNT
CREATE CONTROLFILE REUSE DATABASE "ORABASE" NORESETLOGS NOARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
MAXLOGHISTORY 292
LOGFILE
GROUP 1 'C:\APP\ORACLE\ORADATA\ORABASE\REDO01.LOG' SIZE 50M,
GROUP 2 'C:\APP\ORACLE\ORADATA\ORABASE\REDO02.LOG' SIZE 50M,
GROUP 3 'C:\APP\ORACLE\ORADATA\ORABASE\REDO03.LOG' SIZE 50M
-- STANDBY LOGFILE
DATAFILE
'C:\APP\ORACLE\ORADATA\ORABASE\SYSTEM01.DBF',
'C:\APP\ORACLE\ORADATA\ORABASE\SYSAUX01.DBF',
'C:\APP\ORACLE\ORADATA\ORABASE\UNDOTBS01.DBF',
'C:\APP\ORACLE\ORADATA\ORABASE\USERS01.DBF',
'C:\APP\ORACLE\ORADATA\ORABASE\EXAMPLE01.DBF',
'C:\APP\ORACLE\ORADATA\ORABASE\UWDATA01.DBF'
CHARACTER SET WE8MSWIN1252;
-- Commands to re-create incarnation table
-- Below log names MUST be changed to existing filenames on
-- disk. Any one log file from each branch can be used to
-- re-create incarnation records.
-- ALTER DATABASE REGISTER LOGFILE 'C:\APP\ORACLE\FLASH_RECOVERY_AREA\ORABASE\ARCHIVELOG\2009_02_02\O1_MF_1_1_%U_.ARC';
-- ALTER DATABASE REGISTER LOGFILE 'C:\APP\ORACLE\FLASH_RECOVERY_AREA\ORABASE\ARCHIVELOG\2009_02_02\O1_MF_1_1_%U_.ARC';
-- Recovery is required if any of the datafiles are restored backups,
-- or if the last shutdown was not normal or immediate.
RECOVER DATABASE
-- Database can now be opened normally.
ALTER DATABASE OPEN;
-- Commands to add tempfiles to temporary tablespaces.
-- Online tempfiles have complete space information.
-- Other tempfiles may require adjustment.
ALTER TABLESPACE TEMP ADD TEMPFILE 'C:\APP\ORACLE\ORADATA\ORABASE\TEMP01.DBF'
SIZE 20971520 REUSE AUTOEXTEND ON NEXT 655360 MAXSIZE 32767M;
-- End of tempfile additions.
-- Set #2. RESETLOGS case
-- The following commands will create a new control file and use it
-- to open the database.
-- Data used by Recovery Manager will be lost.
-- The contents of online logs will be lost and all backups will
-- be invalidated. Use this only if online logs are damaged.
-- After mounting the created controlfile, the following SQL
-- statement will place the database in the appropriate
-- protection mode:
-- ALTER DATABASE SET STANDBY DATABASE TO MAXIMIZE PERFORMANCE
http://psoug.org/reference/control_file.html
http://www.comp.dit.ie/btierney/oracle11gdoc/server.111/b28286/statements_5003.htm
hope this helps
zekeriya -
Can anyone please let me have the syntax of creating a control file in 10g
its very urgent .................If you are creating a New Control File using exisiting Datafiles and LogFiles(not creating Intial Control File during Database Creation), it hasn't changed as you did in 9i. This is an example:
CREATE CONTROLFILE
SET DATABASE testdb
LOGFILE GROUP 1 ('logfile1_1.log',
'logfile1_2.log'),
GROUP 2 ('logfile2_1.log',
'logfile2_2.log'),
GROUP 3 ('logfile3_1.log',
'logfile3_2.log')
RESETLOGS
DATAFILE 'datafile_system1.dbf' SIZE 5M,
'datafile_user1.dbf' SIZE 5M,
'datafile_undo1.dbf' SIZE 5M,
'datafile_temp1.dbf' SIZE 5M
MAXLOGFILES 50
MAXLOGMEMBERS 3
MAXLOGHISTORY 400
MAXDATAFILES 200
MAXINSTANCES 6
ARCHIVELOG;
Find Documentation on Managing Controfiles Here:
http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14231/control.htm#sthref779
Maybe you are looking for
-
I can't purchase anything from the App Store, or iTunes.
I go onto the App Store, and update something. It then comes up with a message telling me that I have to check my billing information. I've entered all my personal credit card details correctly, but then tells my that my payment method is invalid. It
-
On requesting a download of a pdf file the source supplies this but nothing appears in the Firefox download window. Same pdf appears happily in Safari. My MAC pro with same Firefox progreamme works OK also.
-
Hi Experts, I am new to SAP MM can you plz guide me for various tables used in purchasing. I want this info for some of my SD reports. Thanx inadvance Regards Rohit
-
Tree slow and bug with Add Multiple Items to End
Hello, I use "Add Multiple Items to End" to fill a tree quickly in Labview 8.5. In my test example, It's possible to choise an array of 100, 255 or 1000. parents. Each parent has 10 children 100 is correctly, 255 is slowly an 1000 is big bug ! Y does
-
How can I retrieve my document from pages
I need to recuperare my documenta from pages, from a previos iclou account