Learning to recover Oracle10g by simulating media failure
I am learning the backup/recovery of an Oracle 10g R2 on Windows 2003 Server Platform. I want to simulate both hot and cold backup. I delete or edit a physical data/control file and I would like to recover it to the normal mode.
Where can I find the standard procedure of doing hot backup and recovery due to damaged files?
Oracle® Database Backup and Recovery Advanced User's Guide
10g Release 2 (10.2)
Part Number B14191-02
http://download-east.oracle.com/docs/cd/B19306_01/backup.102/b14191/toc.htm
Similar Messages
-
ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
Hi All,
Need help from the gurus.
Currently we are in state unable to do anything.
Was using a database and all of a sudden it crashed. Tried to mount the database, open it, it failed. Also tried the recover and alter database open, even that failed. Errors are as follows.
Errors in file e:\oracle\product\10.2.0 \admin\devrevdb\bdump\devrevdb_p000_2620.trc:
ORA-00603: ORACLE server session terminated by fatal error
ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
ORA-00449: background process 'DBW0' unexpectedly terminated with error 1242
ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
In my spfile, the administrator has set only two control files and there is no mirroring and hence do not have another control file that will help me boot the db.
Please let me know how I should go about it. I am only a timebeing person trying to carryout a db activity. Any help would be of great help.Hemant,
thanks for the reply.
I tried the way you suggested and it threw an error.
ORA-01145: offline immediate disallowed unless media recovery enabled
I searched and found that an additional tag of drop needs to be added to the command which you suggested.
ALTER DATABASE DATAFILE '<filename>' OFFLINE DROP.
i don't know what will the drop command have an effect ?
i have copied the data file to another location. Since i don't know much, i just want to be sure of what im doing.
if the above command is successfull, will it drop the datafile or the tablespace and i can no more use it. How can i use the copied datafile.
Thanks,
Sachin
I -
Media failure in Noarchivelog mode
Dear all,
I am running Oracle database 10g in noarchivelog mode.
It has a media failure, a datafile has corrupted. How can i recovery it suppose i dont have the latest backup?
Thanks and regards,
SteveHi,
since you don't have a backup, and you have a media failure, you cannot recover.
You can set the tablespace/datafile in question offline, and work with whatever is left in the remaining datafiles. (i.e. export/import elsewhere)
if the file is just corrupted, and not lost,
you may be able to get some of the data back using oracles data unloader, but that is going to be expensive (i.e. you would need to engage oracle consulting to do it for you)
i strongly recommend you get familiar with the rman tool next time around, this is quite capable of performing backup and recovery.
Karsten -
ORA-01242: data file suffered media failure - ORA-01208: data file is an
Hi,
I am running Oracle 9.2.0.5 and if fails almost on a daily basis.
I get the following errors:
*** 2008-04-09 09:31:46.334
*** SESSION ID:(4.1) 2008-04-09 09:31:46.318
ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
ORA-01122: database file 11 failed verification check
ORA-01110: data file 11: 'E:\ORACLE\ORADATA\MYDB\MYDB.ORA'
ORA-01208: data file is an old version - not accessing current version
error 1242 detected in background process
ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
ORA-01122: database file 11 failed verification check
ORA-01110: data file 11: 'E:\ORACLE\ORADATA\MYDB\MYDB.ORA'
ORA-01208: data file is an old version - not accessing current version
I run the following SQL and DB is recovered but I can't keep doing this everytime it crashes:
sqlplus>startup nomount;
sqlplus>alter database mount;
sqlplus>alter database recover;
sqlplus> alter database open;
Any ideas how can I resolve this problem.
Regards
SpirosRefer to this metalink note:
ORA-1242, ORA-1122, ORA-1110 & ORA-1208 Errors Occurring Intermittently
Doc ID: Note:471280.1
Werner -
Lost .ARC and media failure on UNDOTBS01 and datafile
Hi,
I have media failure in UNDOTBS01.DBF and .dbf datafile.
Database is 9.2 on windows 2003 server in archiving mode but have lost some .ARC file too.
I have a export of schema EXPLZHPRDBF in good state.
I think to drop user EXPLZHPRDBF , re-create schema and impot from .dmp file but when
go to drop user have some error. I have re-create new UNDOTBS02 undo tablespace, and
ALTER SYSTEM SET undo_tablespace='UNDOTBS2' scope=BOTH;
then startup database but have this problem.
drop USER EXPLZHPRDBF cascade
Error starting at line 1 in command:
drop USER EXPLZHPRDBF cascade
Error report:
SQL Error: ORA-00604: error occurred at recursive SQL level 2
ORA-00376: file 2 cannot be read at this time
ORA-01110: data file 2: 'D:\ORACLE\ORA92\ZHORA01\UNDOTBS01.DBF'
00604. 00000 - "error occurred at recursive SQL level %s"
*Cause: An error occurred while processing a recursive SQL statement
(a statement applying to internal dictionary tables).
*Action: If the situation described in the next error on the stack
can be corrected, do so; otherwise contact Oracle Support.
what can I do ? have to create a new instance for import good .dmp file or can be other solution ?
Edited by: mauro brn on Oct 7, 2009 3:15 PM
Edited by: mauro brn on Oct 7, 2009 3:16 PMIn case of missing archived files you can not recover your undo tablespace. It's always a good practice to define more than one destination for your archived log files so in case you lose a file at one destination it could be recoverd from another arc destination. There might be some uncommited information present on your lost undo file that required to be rolled back.
If you have an export file available then it's better you create a new database and import your data in the new database. In case of doing import, you are going to lose data that was inserted/updated or deleted after you took the export dump.
http://waqas-dba.blogspot.com -
Recover Oracle10g RAC Database
Hi,
Anyone know whether the below backup and restoration works for oracle10g RAC database. I can;t test it out as i don;t have an development environment. Please correct me if i am wrong.
1.) stop all oracle services running on the server
2.) use dd command to backup the raw partition to tape + backup oracle homes on all nodes
3.) Encountered Media failure, change the hardisks
4.) create the raw partitions
5.) restore the raw partitions backup from tape + restore oracle binaries from tape
6.) startup all oracle services
7.) Done.
Thank You, anyone advice and comments are greatly appreciated..Many thanks for your responses . I finally got it working . It does not require additionalconfigurational change apart from updating the ocr with oifcfg commands(metalink-Note 283684.1 ) i.e. deleting the old entry and setting he new one .
Where I got it wrong was I did not shutdown the nodeapps (which was not included in the metalink note ) before updating the ocr with oifcfg commands
Thanks ..
Edited by: Tai Shebby on Jan 22, 2009 8:12 AM -
Adobe Premiere Elements 12: Add Media Failure: The Importer Reported a Generic Error
I am trying to add a MOV file to PE 12 I and keep recieving and Add Media Failure Error stating "The Importer Reported a Generic Error". I have added other MOV files without any issue so I don't know why some MOV will work and others won't. The only common characteristic I've found is that the MOV files that won't work are files that were recorded with my SLR camera. The location of the files I've added/tried adding are on my external hard drive.
bunzondarun
Try importing a few of the problematic files from a Local Disc C location like Videos and determine if problem presists. How is the external hard drive formatted, NTFS or FAT32?
Do you have the latest version of QuickTime installed on your computer with Premiere Elements 12? And, on what computer operating system is Premiere Elements 12 running? Are you running QuickTime and Premiere Elements 12 as Run As Administrator and/or from a User Account with Administrative Privileges?
What specifically is the video compression for the problematic files? And, what is the brand/model/settings for the camera that is recording these videos?
More later.
ATR -
I keep receiving an add media failure error message ... the importer reported a generic error. I am trying to import from itunes. Please help!!!
There won't be since you are in PRE Editor. The option I mentioned is in Organizer. If your import is failing in PRE, you will get the best advise on http://forums.adobe.com/community/premiere_elements.
Thanks
Andaleeb -
System tablespace file suffered media failure
Hi All,
Our DB is shutdown due to this error:
===
ORA-01243: system tablespace file suffered media failure
ORA-01122: database file 1 failed verification check
ORA-01110: data file 1: '/dumps/rmodevdb/db/apps_st/data/system01.dbf'
ORA-01206: file is not part of this database - wrong database id
CKPT: terminating instance due to error 1243
Instance terminated by CKPT, pid = 8203
====
Please let me know how to resolve this.
Thanks,
KishoreYes Aman.. This happened after cloning in apps.
However, issue got resolved.
Data files were zipped using tar- cvzf ...
I could successfully complete the cloning when backup is taken with "tar cvf" (with out including z)
So, learnt that datafiles should not be zipped when tar.
But datafiles can be zipped using gzip after " tar cvf " is completed.
Am i right ? -
ORA-01242: data file suffered media failure
ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
ORA-01110: data file 17: 'H:\DATABASE\BMFDATA.DBF'
ORA-01115: IO error reading block from file 17 (block # 1)
ORA-27072: File I/O error
OSD-04006: ReadFile() 失败, 无法读取文件
O/S-Error: (OS 33) 另一个程序已锁定文件的一部分,进程无法访问。
error 1242 detected in background process
ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
ORA-01110: data file 17: 'H:\DATABASE\BMFDATA.DBF'
ORA-01115: IO error reading block from file 17 (block # 1)
ORA-27072: File I/O error
OSD-04006: ReadFile() 失败, 无法读取文件
O/S-Error: (OS 33) 另一个程序已锁定文件的一部分,进程无法访问。my database well be auto shutdown at 12:02 veryday .but i donot kown why!
the follow is the whole error message:
Dump file d:\oracle\product\10.2.0\admin\hbhis\bdump\hbhis_ckpt_2872.trc
Sat Mar 26 00:02:56 2011
ORACLE V10.2.0.4.0 - Production vsnsta=0
vsnsql=14 vsnxtr=3
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Windows Server 2003 Version V5.2 Service Pack 2
CPU : 32 - type 586, 8 Physical Cores
Process Affinity : 0x00000000
Memory (Avail/Total): Ph:31264M/32763M, Ph+PgF:33119M/34449M, VA:1253M/2047M
Instance name: hbhis
Redo thread mounted by this instance: 1
Oracle process number: 10
Windows thread id: 2872, image: ORACLE.EXE (CKPT)
*** 2011-03-26 00:02:56.031
*** SERVICE NAME:(SYS$BACKGROUND) 2011-03-26 00:02:56.031
*** SESSION ID:(162.1) 2011-03-26 00:02:56.031
ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
ORA-01110: data file 17: 'H:\DATABASE\BMFDATA.DBF'
ORA-01115: IO error reading block from file 17 (block # 1)
ORA-27072: File I/O error
OSD-04006: ReadFile() 失败, 无法读取文件
O/S-Error: (OS 33) 另一个程序已锁定文件的一部分,进程无法访问。
error 1242 detected in background process
ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
ORA-01110: data file 17: 'H:\DATABASE\BMFDATA.DBF'
ORA-01115: IO error reading block from file 17 (block # 1)
ORA-27072: File I/O error
OSD-04006: ReadFile() 失败, 无法读取文件
O/S-Error: (OS 33) 另一个程序已锁定文件的一部分,进程无法访问。 -
Disk Witness Failover with simulated network failure
Hello everyone,
I am running two windows server 2012 R2 machines clustered with a disk witness. The disk witness is a LUN created on our SAN, presented to both machines. SAN is connected through two fiber channels per server both servers are networked on split
out network connections teamed together. Now on a hard server fault or simulated power failure (i.e. pulling the power cords from a server) Disk witness will fail over to second node and Cluster survives. But, when simulating a Network card
failure (disconnecting the cat5) from the Node hosting the Disk witness, I see the cluster attempt to offload hosting to UP node. But, the Disk witness will not come online. I think that the issue is because the server is technically
still running and the disk Witness has not really failed on the primary host, so it never releases ownership. I am new to clustering and could use a little guidance here. Is there anyway to make the disk witness
Thank youHi,
Please try to modify network settings for a failover cluster
1. In the Failover Cluster Manager snap-in, if the cluster that you want to configure is not displayed, in the console tree, right-click Failover Cluster Manager, click Manage
a Cluster, and then select or specify the cluster that you want.
2. If the console tree is collapsed, expand the tree under the cluster that you want to configure.
3. Expand Networks.
4. Right-click the network that you want to modify settings for, and then click Properties.
5. If needed, change the name of the network.
6. Select one of the following options:
-Allow cluster network communication on this network
If you select this option and you want the network to be used by the nodes only (not clients), clear Allow clients to connect through this network. Otherwise, make sure it
is selected.
-Do not allow cluster network communication on this network
Select this option if you are using a network only for iSCSI (communication with storage) or only for backup. (These are among the most common reasons for
selecting this option.)
Quote from:
Modify Network Settings for a Failover Cluster
http://technet.microsoft.com/en-us/library/cc725775.aspx
Hope this helps.
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Media failure was detected at time/line number
Version: Oracle 10g
Recently, this error kept popping up on my EM Alert - "Media failure was detected at time/line number". In the EM, it says Critical.
I looked at http://download.oracle.com/docs/cd/B16240_01/doc/doc.102/e16282/oracle_database_help/oracle_database_alertlogstatus_mediafailureerrors.html and it says no user action required.
Anyone guidance on what should I check or if I should be doing anything?
thks.Definitely investigate further. I checked the link you posted and indeed I had to read it about 3 times before I understood what it was saying.
Get onto the database server and search your alert log (bdump directory) if none 11g for media errors and then determine what needs to be done. Hard to say more until you know what the problem is.
If you needed to test the datafiles then run dbverify (dbv) or my preferred option which ius to export the full database to a file which causes every block to be read or if you do not have a lot of space just pipe it out to /dev/null but ensure you create a logfile.
John
www.jhdba.wordpress.com -
I am a brand new user of Premiere Elements. I am using it for stop gap animation, bringing in digital still photos from my Nikon D3200. I just attempted to bring in the first set of photos from the SD card. I'm running Windows 7. After loading the photos, an "Add Media Failure" box came up with the message "Error: File Video Dimensions (width/height) too large". Is something wrong with the width and height of the photos and if so what do I need to do to make it work? There were 763 photos, but the message seems to refer to the height/width of each photo and not the total file size so to speak - right? During the import process, the program prompted us to bring the photos in as images and not as videos -- so that is what we selected. Thank you for any assistance.
Photo Scaling for Video http://forums.adobe.com/thread/450798
-Too Large May = Crash http://forums.adobe.com/thread/879967
-And another crash report http://forums.adobe.com/thread/973935 -
Sat M70: How to recover function of Express-Media-Player?
I have M70 but I formatted it once I bought it. Now, could you tell me how to recover function of Express-Media-Player? there is not setup.exe file in the Express-Media-Player recovery CD/
ThanksHello Weimin
In order to use the Express Media functions the Express Mediaplayer Recovery CD must be run before performing the Product Recovery from the Recovery DVD-ROM.
You cannot run Express Media player after performing a recovery.
On the HDD should at least 150 - 200MB free space be available.
This free space should be on the end of the HDD and it must be unallocated.
To start the installation you have to boot from the Express Mediaplayer Recovery CD
Bye -
Error message when trying to recover HD: PXE-E61 Media test failure
Hi all, new to forums, lots of good info and support here.
Got the BSOD last week. Have been trying all of the various fixes mentioned on the board, to no avail. I went back multiple pages looking for alternatives to try. After stepping away for a few days, I got farther today than I did when I was frustrated. F12, chose to boot HDD, and got the following LOOPING error message:
PXE-E61 Media test failure check cable
PXR-MDF exiting PXE rom
Which gives me hope that I may not have to replace my hard drive.
I have a satellite L455-5975, and have ordered recovery disc from acclaim ('0' option didn't work for me, which makes me wonder if Toshiba time limits that support, but that's off topic)
So it looks to me like my RealTek Ethernet Controller might be the problem? Any thoughts or suggestions? Anything I can do or should I wait for recovery disk to arrive? I worry that the recovery disk isn't going to do what I need. Do I need to replace the ethernet controller, or is this a sign of a hard drive issue? I consider myself 'fairly' tech savvy, but I've never taken a computer apart/put one together myself. It would definitely cost less for me to replace HD myself than putting it in the shop. So I'm willing to try that option if need be.
I appreciate any help/support! Reading some of the previous posts make me wonder if rather than investing more money in the satellite, if I shouldn't instead be saving up to buy a new(er) model.Creedym...
I have a very similar problem with my mini-notebook model NB305.
I'm getting the same message and can't get past F2 or F12.
Bottom line; I ordered the recovery data from Toshiba on-line by model number ---not by type. They sent two DVDs. My unit doesn't have an optical drive.
First call to "John"---yes, you can copy the data to a thumb drive and use that.
Almost two hours of transferring --- the NB305 did not respond to the thumb drive.
Second call to "Paul". After some consultation on his part with someone else he told me that they don't make a thumbdrive (USB) recovery disk for my model, that's why I received two DVDs. ! I would have take it to a shop where they etc...
I haven't decided what to do next. Maybe purchase an external drive rather than take it to a repair shop where it will probably cost more than buying an inexpensive external drive.
t.
Maybe you are looking for
-
Hi, I have a FM "HRCA_GETEMPLOYEEDATA_FROMUSER" which retrieves the employee master details for the user whoever logged in ECC. This User id is attached to pernr in HR. I have copied this FM to "Z" and made changes to import paratemer (USERNAME) as d
-
Not sure in which forum to place this , but looking for a converter box for VHS tape to mac (&then to dvd) have seen several models that are windows only, any reccs for a mac compatible converter please advise
-
Toolbar keeps disappearing everytime I open a new PDF
This has just happened by magic, my toolbars don't appear when I open a new pdf in acrobat pro 8. Every time I want to see the tool bar I have to go to view and select view toolbar, annoying when I view so many different pdf's in one day. It's drivin
-
CMD + [ - Doesn't seem to work? (MAC)
Hi I'm having trouble sending items to front or back. I think that i'm doing something wrong, but can some one tell me how to, and what i should press down, to send shapes and other stuff to the back? Thank you!
-
Hello Gurus, How can i attach a drawing or flowchart to my BOM. How do i maintain this document in the Document Management system. Please advise me on a steo by step basis. Thanking you in anticipation Sri.