473,395 Members | 1,473 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,395 software developers and data experts.

How to do Media Recovery for System01.dbf????

Hi All,

I'm using Oracle 8.1.7 on Win2k Prof. Today morning because of power
problem, my system has restarted 8 times. When the power became stable
and switch on my system, the oracle says 'Oracle initialization or
shutdown in progress'. Then i tried by connecting....
sqlplus /nolog
connect sys/<pwd>@<sid> as sysdba

and i said.. startup pfile=d:\....\init.ora
The database instance started and mounted also.But after that it is
showing this error...

ORACLE instance started.

Total System Global Area 302086172 bytes
Fixed Size 75804 bytes
Variable Size 107839488 bytes
Database Buffers 194093056 bytes
Redo Buffers 77824 bytes
Database mounted.
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open

Then i did...

SQL> alter database open resetlogs;
alter database open resetlogs
*
ERROR at line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: 'D:\ORACLE\ORADATA\...\SYSTEM01.DBF'

Can anybody please him me out, what i have to do?

**This is just a development db. So, i did not kept db in archive
Mode.

Thanks in advance,
Praveen
Jul 19 '05 #1
3 34694
sp**********@yahoo.com (Praveen) wrote in message news:<98**************************@posting.google. com>...
Hi All,

I'm using Oracle 8.1.7 on Win2k Prof. Today morning because of power
problem, my system has restarted 8 times. When the power became stable
and switch on my system, the oracle says 'Oracle initialization or
shutdown in progress'. Then i tried by connecting....
sqlplus /nolog
connect sys/<pwd>@<sid> as sysdba

and i said.. startup pfile=d:\....\init.ora
The database instance started and mounted also.But after that it is
showing this error...

ORACLE instance started.

Total System Global Area 302086172 bytes
Fixed Size 75804 bytes
Variable Size 107839488 bytes
Database Buffers 194093056 bytes
Redo Buffers 77824 bytes
Database mounted.
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open

Then i did...

SQL> alter database open resetlogs;
alter database open resetlogs
*
ERROR at line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: 'D:\ORACLE\ORADATA\...\SYSTEM01.DBF'

Can anybody please him me out, what i have to do?

**This is just a development db. So, i did not kept db in archive
Mode.

Thanks in advance,
Praveen


Praveen, The meaning of the error message is very simple: your system
tablespace datafile is not up to date and requires recovery. Since
your system is in noarchive log mode you need to overlay all database
data files with their backup copies and then open the database using
reset logs. An alternate solution would be to rebuild your db from a
full export file.

HTH -- Mark D Powell --
Jul 19 '05 #2
Thanks for the response Mark,

I have full export of my DB. if i do simple exp from the command
prompt is it ok? as i dont have the backup of datafiles.

praveen

Ma*********@eds.com (Mark D Powell) wrote in message news:<26**************************@posting.google. com>...
sp**********@yahoo.com (Praveen) wrote in message news:<98**************************@posting.google. com>...
Hi All,

I'm using Oracle 8.1.7 on Win2k Prof. Today morning because of power
problem, my system has restarted 8 times. When the power became stable
and switch on my system, the oracle says 'Oracle initialization or
shutdown in progress'. Then i tried by connecting....
sqlplus /nolog
connect sys/<pwd>@<sid> as sysdba

and i said.. startup pfile=d:\....\init.ora
The database instance started and mounted also.But after that it is
showing this error...

ORACLE instance started.

Total System Global Area 302086172 bytes
Fixed Size 75804 bytes
Variable Size 107839488 bytes
Database Buffers 194093056 bytes
Redo Buffers 77824 bytes
Database mounted.
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open

Then i did...

SQL> alter database open resetlogs;
alter database open resetlogs
*
ERROR at line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: 'D:\ORACLE\ORADATA\...\SYSTEM01.DBF'

Can anybody please him me out, what i have to do?

**This is just a development db. So, i did not kept db in archive
Mode.

Thanks in advance,
Praveen


Praveen, The meaning of the error message is very simple: your system
tablespace datafile is not up to date and requires recovery. Since
your system is in noarchive log mode you need to overlay all database
data files with their backup copies and then open the database using
reset logs. An alternate solution would be to rebuild your db from a
full export file.

HTH -- Mark D Powell --

Jul 19 '05 #3
sp**********@yahoo.com (Praveen) wrote in message news:<98**************************@posting.google. com>...
Thanks for the response Mark,

I have full export of my DB. if i do simple exp from the command
prompt is it ok? as i dont have the backup of datafiles.

praveen

Ma*********@eds.com (Mark D Powell) wrote in message news:<26**************************@posting.google. com>...
sp**********@yahoo.com (Praveen) wrote in message news:<98**************************@posting.google. com>...
Hi All,

I'm using Oracle 8.1.7 on Win2k Prof. Today morning because of power
problem, my system has restarted 8 times. When the power became stable
and switch on my system, the oracle says 'Oracle initialization or
shutdown in progress'. Then i tried by connecting....
sqlplus /nolog
connect sys/<pwd>@<sid> as sysdba

and i said.. startup pfile=d:\....\init.ora
The database instance started and mounted also.But after that it is
showing this error...

ORACLE instance started.

Total System Global Area 302086172 bytes
Fixed Size 75804 bytes
Variable Size 107839488 bytes
Database Buffers 194093056 bytes
Redo Buffers 77824 bytes
Database mounted.
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open

Then i did...

SQL> alter database open resetlogs;
alter database open resetlogs
*
ERROR at line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: 'D:\ORACLE\ORADATA\...\SYSTEM01.DBF'

Can anybody please him me out, what i have to do?

**This is just a development db. So, i did not kept db in archive
Mode.

Thanks in advance,
Praveen


Praveen, The meaning of the error message is very simple: your system
tablespace datafile is not up to date and requires recovery. Since
your system is in noarchive log mode you need to overlay all database
data files with their backup copies and then open the database using
reset logs. An alternate solution would be to rebuild your db from a
full export file.

HTH -- Mark D Powell --


When I have recovered test databases using a full import I have always
first written (or reran) a script to create the database. Once you
create the system tablespace, run catalog and catproc, the imp file=x
full=y destroy=y buffer=1048576 ought to do the job.

Before doing anything please look at the Utilities manual chapter on
IMP. You should also glance at the Backup and Recovery Guide chapter
on general backup and recovery procedures. Reviewing the referenced
material should allow you to proceed with some confidence that what
you are doing will work.

HTH -- Mark D Powell --
Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
by: Jason Tesser | last post by:
We are evaluating Postgres and would like some input about disaster recovery. I know in MsSQL they have a feature called transactional logs that would enable a database to be put back together...
7
by: Ed L. | last post by:
We are seeing what looks like pgsql data file corruption across multiple clusters on a RAID5 partition on a single redhat linux 2.4 server running 7.3.4. System has ~20 clusters installed with a...
10
by: xixi | last post by:
i have db2 udb v8.1 on windows 64 bit 2003 server, after db2 server start , i found this in the db2diag.log, is this error? 2004-05-05-15.28.30.780000 Instance:DB2 Node:000...
3
by: jignesh shah | last post by:
Hi all, Is there a way to recover a single container if its been corrupted or mark bad without restoring whole tablespace? environment: db28.1/aix5.1/tsm/rs-6000. Regards Jignesh
1
by: LilG | last post by:
I have received the following error message: ORA-01113: file 7 needs media recovery ORA-01110: data file 7: 'D:\ORACLE\ORADATA\CMTEST\.ORA' I don't know how to fix this problem. Can someone...
5
by: kaissoun | last post by:
despite the disk is not full but i have this message :Media controller -- Disk full encountered
0
by: APP1MVF | last post by:
First let me start by saying I am not a DBA nor do I claim to be one, ok with that out of the way I am looking for some help understanding DB2 UDB Recovery after Total Media Failure or Server Loss...
3
by: Praveen | last post by:
Hi All, I'm using Oracle 8.1.7 on Win2k Prof. Today morning because of power problem, my system has restarted 8 times. When the power became stable and switch on my system, the oracle says...
0
by: Winder | last post by:
Computer Data Recovery Help 24/7 Data recovering tools and services is our focus. We will recover your data in a cost effective and efficient manner. We recover all operating systems and media....
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.