Error retrieving data file with rman

Hi friends,

I tried to recover the removed datafile 5, but get the following error... (oracle 10g, mode of database archive log)

RMAN > startup

database is already started
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the boot command to the 28/02/2012 10:54:30
ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
ORA-01110: data file 5: ' F:\ORACLE\ORADATA\DEMO\DEM01. DBF'

RMAN > restore datafile 5;

From restoration to 28 February 12
using the control file of the target instead of recovery catalog database
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid = 156 devtype = DISK
output channel: ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the restore command to the 28/02/2012 10:54:49
ORA-19554: error device allocation, type of device: SBT_TAPE device name:
ORA-27211: unable to load the media management library

RMAN >
What is the way out...

Hello

Or you can clear the type of channel. SBT or you can channel disc type.

When can you start the database file of missing data.

SQL > startup mount
SQL > select error, status from v$ datafile_header;

RMAN > set up the type of device default disk;
RMAN > restore datafile 5;
RMAN > recover datafile 5;
RMAN > sql 'alter database open;

Tags: Database

Similar Questions

  • Cannot create a data file with a size of less than 1000 M

    Hello

    I have a problem that I can't solve. Whenever I try to create a DATA file with a size of less than 1000 MB, I get an ORA-03214

    Example:

    Select * from version of v$.

    Oracle Database 11 g Enterprise Edition Release 11.2.0.4.0 - 64 bit Production

    PL/SQL Release 11.2.0.4.0 - Production

    "CORE 11.2.0.4.0 Production."

    AMT for IBM/AIX RISC System/6000: Version 11.2.0.4.0 - Production

    NLSRTL Version 11.2.0.4.0 - Production

    -----

    ALTER TABLESPACE "IDX_PRETR1".

    ADD DATAFILE ' / appli/oracle/PR3/data4/TEST.dbf'

    SIZE 500 M;

    XXIX error on line 1 of the command:

    ALTER TABLESPACE "IDX_PRETR1".

    ADD DATAFILE ' / appli/oracle/PR3/data4/TEST.dbf'

    SIZE 500M

    Error report:

    SQL error: ORA-03214: the file size is less than the minimum required

    03214 00000 - "specified file size is smaller than the minimum required.

    * Cause: Specified for add/resize datafile/tempfile file size does not work

    provide the minimum required of an allocation unit.

    * Action: Increase the size of the file specification

    Thanks for the help and sorry for my English

    Hello

    The answer may lie in the INITIAL_EXTENT configuration in your space of tables, check DBA_tablespaces view.

    Also, try to use autoextend on and maxsize in your file data creation but better try with the highest value during the action of the mentioned error.

    Kind regards

    Juan M

  • RMAN backup on the database with data file with corrupted block

    Hi friends,

    I have a problem with a database of oracle 11g XE on windows server 2003, the database is in production, it is open, is operating normally.

    The database has no backup configured before, so I put the database archiving mode and tried to backup using rman utility, but it show me some errors.

    First of all, it showed me:

    ORA-19501: error in reading file... SYSAUX. DBF

    ORA-27070: async read/write failed

    OSD-04016: error queuing an asynchronous i/o request.

    And when I passed the dbv on the SYSAUX file utility. DBF showed the fatal error.

    So, I switched CHKDSK utility on windows to repair the disc of the error. After that, run utility dbv and he passed and showed me the corrupt on SYSAUX blocks. DBF

    Then, came to rman and ran:

    RMAN > validate the logical database checking;

    State of the file marked corrupt blocks examined empty blocks high YVERT

    ---- ------ -------------- ------------ --------------- ----------

    3 0 1111 115840 78859075 FAILED

    File name: C:\ORACLEXE\APP\ORACLE\ORADATA\XE\SYSAUX. DBF

    Type block for lack of treated blocks blocks

    ---------- -------------- ----------------

    Data 0 0

    Index 0 0

    Other 38 114729

    After that: watching the content of v$ database_block_corruption;

    Show me a lot of lines like this:

    SQL > select * from v$ database_block_corruption;

    FOLDER # BLOCK # BLOCKS CORRUPTION_CHANGE # CORRUPTIO

    ---------- ---------- ---------- ------------------ ---------

    3 4440 1 FRACTURED 0

    3 4439 1 0 ZERO ALL THE

    3 4386 2 FRACTURED 0

    3 4384 1 0 ZERO ALL THE

    3 4334 1 0 ZERO ALL THE

    ...

    33 selected lines.

    Finally I try to rerun rman and he shows me the error:

    ORA-19566: exceeded the limit of 0 blocks corrupt file C:\ORACLEXE\APP\ORACLE\ORADATA\XE\SYSAUX. DBF

    How can I do backup with rman? Maybe I can by pass the corrupt block?

    I'll be grateful for any help you can provide.


    =)

    It would be better if you try to find the reason of corruption and try to recover the corrupt blocks. A block corrupted in the backup would really not must use. But if you're ready to take backup, you can ask RMAN to ignore corrupt blocks and move forward.

    Use the pseudo-code for the backup

    Run {set maxcorrupte for the database to 10;

    backup tablespace sysaux ;}

    HTH

    Aman...

  • empty data file with special characters in the name

    Hi all

    I'm having a problem with an empty data file which is in recovery mode.

    Before the following has been a success:
    ALTER database create datafile 'fully_qualified_file_name' as 'fully_qualified_file_name ';
    recover data file "fully_qualified_file_name";
    ALTER database datafile 'fully_qualified_file_name' online;

    But this time it does not work as I get an error:
    ORA-01516: file nonexistent journal, data file, or temporary file
    Using the file id does not work either.

    When I created a record of control file I see the data file has special characters in the name:
    ' / oracle/PRD/112_64/dbs/PSPR3I ^? ^?'

    Since it is empty, it would be possible to create the data file void anothr
    using the:
    ALTER database create datafile ' / oracle/PRD/112_64/dbs/PSPR3I ^? ^?'
    as ' / oracle/PRD/spdata2/r3i_8/r3i.data8';

    and then recover datafile 'fully_qualified_file_name ';
    ALTER database datafile 'fully_qualified_file_name' online;

    How orders oracle faced with special characters?

    Thanks for your advice

    user6737818 wrote:
    Hi all

    I'm having a problem with an empty data file which is in recovery mode.

    Before the following has been a success:
    ALTER database create datafile 'fully_qualified_file_name' as 'fully_qualified_file_name ';
    recover data file "fully_qualified_file_name";
    ALTER database datafile 'fully_qualified_file_name' online;

    But this time it does not work as I get an error:
    ORA-01516: file nonexistent journal, data file, or temporary file
    Using the file id does not work either.

    When I created a record of control file I see the data file has special characters in the name:
    ' / oracle/PRD/112_64/dbs/PSPR3I ^? ^?'

    It should work using a file as the definition of source file number and a new name for the new file. Works for me:

    orcl> alter database create datafile 7 as 'c:\tmp\newname.dbf';
    
    Database altered.
    
    orcl>
    
  • accidentally create data file with the same name but different location

    Hi all

    I was accidentally create data file in the tablespace with the same name but in another location.

    / U03/DataFile/REKON65. DBF

    new data file: / u04/datafile/REKON65. DBF

    My question: what happens with data/u03/datafile/REKON65 file. DBF? the data inside/u03/datafile/REKON65. DBF went?


    Thank you

    Indra says:
    Hi all

    I was accidentally create data file in the tablespace with the same name but in another location.

    / U03/DataFile/REKON65. DBF

    new data file: / u04/datafile/REKON65. DBF

    My question: what happens with data/u03/datafile/REKON65 file. DBF?

    nothing

    the data inside/u03/datafile/REKON65. DBF went?

    not gone

  • Whenever I try to open a program get this error: "open the file with.

    whenever I try to connect to the internet or open a program, it rises, open this file with, iwas only able to connect today by selecting search for the appropriate Web file how can I disable that I don't know why he started doing this help please.

    whenever I try to connect to the internet or open a program, it rises, open this file with, iwas only able to connect today by selecting search for the appropriate Web file how can I disable that I don't know why he started doing this help please.

    Open this link below, go to the answer given by Phantom 010
    http://forums.techguy.org/Windows-Vista/899995-solved-Open-box-opens-every.html

    t-4-2

  • Automatic extension of a data file with the complete file system

    We are working on a database of Oracle10g 10.2.0.4 on HP - UX 11.31 (Itanium |) PA - RISC)

    We would create our database by activating the automatic Extension of our data files
    (defining the maximum size limit or unlimited)

    Our question is:
    What happens to the database in the event of complete file system when one of the data files should be automatically extended?
    The extended data file has become corrupted or the db cease its activity?


    Marco

    No data corruption should occur. If Oracle is trying to develop, OS it will send the message that it is not possible. That's all.

  • Recovery of a data file with the size of the different initial file

    Sorry for this post. no need

    OPERATING SYSTEM? Version of database? Archivelog or NOARCHIVELOG? At least in the second case (archivelog) DDL commands like adding a data file are saved, too.

    Werner

  • Error while loading data file with using a file of rules through a MAXL.

    I think that the functionality to generate a. Records error during loading data in the ERR file is supported only if there is a. RUL file being used.

    Is this good?

    I tried to get. ERR files to generate by using the following statement:
    Import database PL_RPT. Reprting data data_file
    "E:\Hyperion\AnalyticServices\APP\PL\PL.txt" to load_buffer with buffer_id 17
    Error writing to "E:\Hyperion\Scripts\Pln\Logs\LoadlData.err."

    When I run this, if there are errors, it is not generated any file errors and stops the load.

    I saw the technical reference Essbase ASO MAXL data loading and code syntax diagram indicates that it is supported.

    Any suggestions will be greatly appreciated.

    Thank you

    Hello

    Here are a few suggestions for trapping errors. I hope that one of them will meet your needs:

    1._____________________________________________

    spool to 'D:\logs\maxlresults.out ';

    function SIERREUR 'WRITE_ERRORS ';

    / * do stuff * /.

    Define the label 'WRITE_ERRORS ';
    spool off;
    spool to 'D:\logs\maxlerrors.out ';
    "exit";

    2._____________________________________________

    coil stdout to "D:\logs\maxlresults.out."
    coil stderr to "D:\logs\maxlerrors.out."

    3._____________________________________________

    essmsh script.msh 2 > D:\logs\maxlresults.out

    Robb

  • By connecting to Vista, get error mdata.dat file not found

    When you connect to windows vista I get the file error 'MONTANA. DAT"not wetting. I can not tell whence error or how to fix it.

    Hi Jameswithey,

    1 did you recent hardware or changes to the software of the system?

    This error message usually refers to the mouse. If you have recently installed a new mouse on your computer, you may need to remove the software that came with your mouse and see if the problem persists.

    Step 1:

    Uninstall the mouse in programs and features

    a. click on start

    b. type appwiz.cpl in the start search

    c. search for all mouse software packages, right click and uninstall.

    Once it is removed, reconnect your mouse, restart your computer, and update the drivers.

    You can also consult the website of the manufacturer of mouse and try to update the latest version of the drivers.

    Updated a hardware driver that is not working properly

    Step 2:

    If the step above does not work, you can try to perform a clean boot and check.

    A clean boot to check if startup item or services to third-party application is causing this issue.

    You can read the following article to put the computer in a clean boot:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    After the troubleshooting steps, please refer to clean the boot link to put the computer to normal startup mode.

    Hope this information is useful.

  • Distribute the data file with the cod file?

    Hi all

    My application runs from a file of database on camera flash memory.  While the application can transfer data from my server to complete the database, the first download is quite large and takes a long time to run (I'm working on it).

    It occurred to me that an alternative might be to provide a database of pre-populated with the app file, while the app will run straight out of the box without needing to first synchronization.

    Does anyone know if the App World store supports this - distribution of data, and the app?

    Thank you very much...

    You're right about the wasted space.  How about you always include a resource file, but make sure that if your program needs to read data from "base", read from the resource file, and if it's new data, read from the DB.  I don't know what your app does so I don't know if it's feasible or not, but if this is the case, that would solve your problem.  What do you think?

  • Error writing XMP files with images of ARRI Alexa

    We had this problem for a while. The files are not read-only. Any ideas?

    Hello

    From prelude 3.1 (20141) we support XMP of writing for all types of files. Some types do support what we call "Smart manipulators" - which means that we can also read the metadata specific to these formats file and store it in XMP to ingest.

    Change in point 3.1 was to add WRITING supports all formats that do not have a dedicated smart Manager. ARRI raw falls into this category. Prelude should create a XMP file for this file type.

    You can check which version of the prelude you use for us? In addition, all the additional steps related to your workflow and how you try to add metadata would be useful.

    Are there error that you are in the events Panel or in a pop-up message to appear? This error occurs during the ingest, or when you try to add metadata? Is this related to the static metadata (in the metadata Panel) or with markers?

    The XMP file should appear next to the file of gasoline in the structure of the BACK.

    You can also try another test for us? If you open Premiere Pro and you are trying to add metadata to the same media is passed here? This assumes you have Premiere Pro (20141) v8.1 or later also.

    Thank you

    Michael

  • Error importing CSV files with "hidden" characters using the external Table

    Hi people

    Bit of a strange here.

    Well, we are accustomed to the use of the external Table method to load data from CSV files in the database, but a recent event presented us a problem.

    We have received some CSV files that "look like" regular CSV files, but Oracle will not load them.

    When we looked at the CSV using VIM on a UNIX machine, we saw the following characters 'hidden' between each regular character in the file.
    ^@
    If a string that looks like this when opened in Excel/Wordpad etc.
    "TEST","TEXT"
    Looks like this when exmained with VIM
    ^@"^@T^@E^@S^@T^@"^@,^@"^@T^@E^@X^@T^@"
    Has anyone encountered this before?

    Thank you very much

    Simon Gadd
    Oracle 11g 11.2.0.1.0

    Hi Simon,.

    ^ @ represents the ZERO character (0x00).
    So, most likely, you have a file encoded in Unicode.

    You need to specify the character set in the record specification (and if necessary the byte order mark), for example:

    CREATE TABLE ext_table
    (
      col1 VARCHAR2(10),
      col2 VARCHAR2(10)
    )
    ORGANIZATION EXTERNAL
    (
      TYPE ORACLE_LOADER
      DEFAULT DIRECTORY dump_dir
      ACCESS PARAMETERS
      (
       RECORDS DELIMITED BY '
    ' CHARACTERSET 'UTF16'
      FIELDS TERMINATED BY ','
      )
      LOCATION ('dump.csv')
    )
    REJECT LIMIT UNLIMITED;
    

    http://download.Oracle.com/docs/CD/E11882_01/server.112/e16536/et_params.htm#i1009499

  • Error when downloading files with Firefox 33

    Hello
    in our society, we all use firefox (various versions) use our CRM (SugarCRM).
    Given that some of the PC (with windows 7) update to Firefox version 33 (64-bit) we started having problem downloading PDF:

    "C:\Users\[user]\AppData\Local\Temp\[tempfilename].part could not saved, because the file source could not be read."

    We tried to go down to Firefox 32 and everything seems to work very well.
    I already tried to delete the profile, reinstall Firefox, clear the cache, delete the profile folder, but nothing helped.

    May this be a bug in Firefox 33?
    Thank you

    Along the lines of the last post, what happens if you stop to tell the web server that you accept compressed files of Firefox? Here's how:

    (1) in a new tab, type or paste Subject: config in the address bar and press ENTER. Click on the button promising to be careful.

    (2) in the search above the list box, type or paste enco and pause so that the list is filtered

    (3) double-click the preference network.http.accept - encoding and

    (A) if it has the default value (the line is not in bold), delete all the text, and then click OK.

    (B) if it has a custom value, copy the current value in a safe place for later use possible, then delete all the text and click OK.

    When you visit the site again, Firefox should omit the usual headers, saying he accepted gzip/deflate-encoded responses. Any difference?

  • I opened a folder from an e-mail, made changes to the word document, and thinking that I had saved on my hard drive, I closed it. Now I can not find the file with the changes. Is there anyway I can retrieve the file with the changes that I made for her?

    recovering files

    Follow these steps to find the file;

    Go to folder options in Windows Explorer > organize, click the view tab and select "Show the hidden files and folders" and uncheck the box on "Hide protected operating system files".

    Copy and paste the following text in the address bar of windows Explorer. Don't forget to replace "XXX" with your own username (or one that has been used by modifying the file), C:\Users\XXX\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5

    Now you're going to see some folders, the file you are looking for must be in one of these folders.

    Thanks to http://vistahelp.wordpress.com/

Maybe you are looking for

  • How can I tell what type Ipad I have

    IPad my wife has Siri Mine has no We bought them almost at the same time Can I download SIRI?

  • Disk space recovery tools

    In the five years I had my Macbook Pro, I solved my problem of disk space by upgrading the hard drive: 256 G - > 512 G - > 1 T.  Now I need to replace it, and 1 t SSD are a little expensive for my taste.  So, I'm in downsizing mode, in order to get u

  • The Z3 Xperia does support MirrorLink?

    Does anyone know if the Xperia Z3 supports MirrorLink? I have a central unit with radio xav-602bt and would like to know. Currently I have the Xperia Z which works very well. The list of compatible phones website said the job of Z1 and Z2, but I don'

  • Third party UI for Windows Firewall

    Hello Wonder if anyone can confirm or otherwise allow or not an add on I guess that replace the component panel software snap-in MMC would be useful to be "Friendlier" in advanced security mode? Any opinions? The product I noticed is available in a f

  • Disable dhcp (leases) to WLC links

    Hi all could someone tell me how I could clear the dhcp to a 7.0 WLAN controller pairings? I watched "Setup guide" and "reference of the order", but I found nothing. Thanks and greetings Holger