Alert entered for the missing data file

I'm trying a simple payback scenario: remove a data file to a tablespace that is normal when the database is running, and the data file has been saved.

Before, the control point ends normally (I guess that still retains the file inode handle Oracle). When I choose to dba_data_files, the error occurred:
SQL> alter system checkpoint;

System altered.

SQL> select count(*) from dba_data_files;
select count(*) from dba_data_files
                     *
ERROR at line 1:
ORA-01116: error in opening database file 10
ORA-01110: data file 10: '/u01/oradata/data01.dbf'
ORA-27041: unable to open file
Linux Error: 2: No such file or directory
Additional information: 3
To my surprise, nothing has been recorded in the alerts log. And no trace of the files not generated in udump. And Oracle has refused to restore the data file when he was running.

The message appeared in the journal of alerts when trying to stop the database. After abort shutdown (Oracle refused to stop immediately) and restart the instance, I was able to restore and recover the data file.

This is the expected behavior? If so, how you would detect files of missing when db is running?


Oracle: 9.2.0.6, OS: RHEL3

1. it has not detected by the control point caused by a switch logfile because the file is not actually missing. Like other - inded you! -have, Unix/Linux, you can remove a file at any time, but if the file is in use, the inodes are allocated and the process using it continues to see it very well because it. Because, at the level of the inode, it IS absolutely still there! Either by the way, it is needless to say to make a logfile switch, because as data files are concerned, which does nothing, that the command of alter system checkpoint that you already tried.

I used to do demos of how to recover from the complete loss of a controlfile in Oracle University classes: I would like to make a burst of rm *.ctl commands and then significantly question the command checkpoint... and nothing happened. Very demoralizing the first time I did it. Deliver a force of startup, however here the inodes are released at that time, files are actually deleted and start falls in nomount State. Bouncing the instance was the only way I could get the data base to protest against the removal of a data file, too.

2. No, if a file has disappeared in a way allowing to detect Oracle, it wouldn't matter if the folder was empty because he's worried the presence/absence of the datafile headers. They need to be updated, even if nothing else does.

3. it would be in the alerts log if SMON has detected the lost file at startup (one of his jobs is, explicitly, to verify the existence of all the files mentioned in the control file). CKPT would not trigger an alert, because concerned, all right. Inodes are still held, after all. Your attempts to create tables and so forth inside the lost file do not generate display errors (I think) at this time, it's your server process that seeks to do things for the file, not CKPT or pre-existing other background process, constantly running.

4. it's specific to Unix, anyway, that Linux is a Variant.

Tags: Database

Similar Questions

  • RMAN duplicate for standby the active database and the missing data files

    We have a car of 2 node ASM 11 GR 2 and 11.1 of database and a standby with ASM also. Our database is relatively low (300 GB)

    and in one recent event the day before was such a departure from the primary that we decided to "repopulate" the data using duplicate RMAN.

    I deleted the data files of the previous day and followed the Oracle documentation to duplicate a database. In the waiting

    I created a static listener and a pfile containing only the essential information (db_unique_name). I started the day before with nomount using the 'empty' pfile.

    I run RMAN, connected to the target and ancillary catalogues and run this command:

    run {
    allocate channel prmy1 type disk;
    allocate channel prmy2 type disk;
    allocate channel prmy3 type disk;
    allocate channel prmy4 type disk;
    allocate channel prmy5 type disk;
    allocate auxiliary channel stby1 type disk;
    duplicate target database for standby from active database nofilenamecheck;
    }
    

    RMAN duplication completed without errors, so I started the rescue database and got

    an error saying that datafile XXX is missing. I checked XXX datafile at the primary level

    and it is in a DISCONNECTED state. In the standby database the same data file is in the online state.

    So I think the problem is that during the duplication, RMAN (as documentation States) does not work

    Copy the files of data in offline mode, but the standby control file seem to think that these data files

    are online and should be present.

    Can someone please help me solve this problem? From my understanding, I could just copy the missing persons

    data files (there are many however) and in the standby go offline, but I don't think it's

    the right solution, edit this file for control of the standby? I would add another option

    in the RMAN script?

    Take the data file in offline mode on the site of the previous day.

    I don't think that two COPIES try to manage separately offline files.

    Hemant K Collette

  • ORA-01111 name for the 10 data file is unknown

    Hello
    I created two new areas of storage (11 and 12) with 1 data file in each of them in my primary database,
    I forgot to set the parameter in the server backup standby_file_management = AUTO,
    auto standby server to create tablespace data file in D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\UNNAMED00010 11,
    Although there is no "UNNAMED00010" in D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\ file.
    in the tablespace $ v and v$ datafile, I can see that the entry was created in the control to the standby server file.
    Here is the list of the data file in my backup server

    TS # name
    ----- --------------------------------------------------------
    G:\OFSDB\OFS4\ORADATA\OFS4\SYSTEM01 0. DBF
    1 G:\OFSDB\OFS4\ORADATA\OFS4\UNDOTBS01. DBF
    G:\OFSDB\OFS4\ORADATA\OFS4\SYSAUX01 2. DBF
    G:\OFSDB\OFS4\ORADATA\OFS4\USERS01 4. DBF
    6 G:\OFSDB\OFS4\ORADATA\OFS4\DATA_SE. ORA
    7 G:\OFSDB\OFS4\ORADATA\OFS4\INDEX_SE
    8 G:\OFSDB\OFS4\ORADATA\OFS4\FLOW_1.DBF
    G:\OFSDB\OFS4\ORADATA\OFS4\CJHIT01 9. DBF
    G:\OFSDB\OFS4\ORADATA\OFS4\DBMON_TS 10. DBF
    11 D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\UNNAMED00010

    Someone knows how to fix this problem?

    Thank you

    Another way try this,

    1 put the tablespace that holds the database without name begin backup mode.

    SQL > alter tablespace mytbs begin backup;

    2 copy the missing data (copy of the OS) file to the location of the files of pending data.

    3. run the end backup command.

    SQL > alter tablespace mytbs end backup;

    4. create a controlfile for the use of the database pending,

    SQL > alter database create standby controlfile as ' / D:/oracle/stdcontrol.ctl';

    5. move the alos for standby server.

    In the standby mode,

    1 cancel the recovery mode.
    2 stop and change the controlfile.
    3. start the day before db in the editing phase.
    4 restore database pending.

    Thank you

  • create an exception in avast for the nsemail.html file in the temp folder

    I was pulling out my hair trying to find if there could be anything in the temporary files that I have to keep the last few weeks. Then I came across this: "the release of Avast 10.3.2223 (we think it's this version) has resulted in questions with avasts prevention of Thunderbird.
    to function properly. The solution seems to be to create an exception in avast for the nsemail.html file in your
    computers temp folder. "So now I'm completely confused. Why would I put something I need all the time in a temporary file to have remove for cleaning ccleaner?

    Matt, thanks. I read your blog post. I need to replace my HD and I've been fretting over if I have to loose important data from the temporary files. Apparently not. When I talked about ccleaner, it was in the generic sense. I avoided ccleaner because I thought it was a big hammer and some data that he brags about getting rid of I really want to continue. I know that I can choose what remains and what is happening, I'll have to give him another look. Once again thank you.

  • create a link to the missing project file

    Hello community,

    for reasons beyond my control some PDF files in one of my projects have been moved on the server of the company structure and should stay there.

    Naturally, these files are now marked as missing in my project. I know where they are - I'm looking for a way to tell LabVIEW.

    If I their right click in the Project Explorer and select "Search for the missing items", I get only a seemingly useless window listing all missing PDFs with no apparent way to solve the problem.

    This should be easy to do, Miss me just something, no?

    My Google search suggested that this could be possible with the professional package (not sure), but no help for me.

    LV 2014 SP1, full development on Win7 64 system.

    Any ideas?

    Best regards

    Florian

    Here's what I'd do:

    1) Save my file .lvproj

    Open 2) with a good text editor

    (3) find the old path and replace the entire (or individually... If you have other files that has not moved) with the new path, taking care that the structure/format remains the same (for example the path separators)

    (4) save and reopen in LabVIEW

    Either that or remove the elements missing in the project and then re-add-the manually or fix them individually.

  • Cannot find the locale data files. Please reinstall

    I had a problem with Google Chrome, so I uninstalled via the control panel. I then reinstalled and I have this problem. I always present in my programs in the watched folder, but when I select to demolished, he said ' wait until the current program has finished install or changing.» I have no other program install or change. If I try to open Google, anywhere Progams, taskbar, all programs or directly from the .exe LocalApps it gives me the "could not find the locale data files. Please reinstall.

    I found the answer to my question. It seems that you can build processes, I don't understand why. For example I had a problem with my windows Explorer crashing. I disabled all the startup process of msconfig.

    In my view, there must be something in there that closes a completed process.
    Then I had, unknown to me, when I posted this problem, six or seven cases Google chrome showing the the Task Manager process tab. When I quit all instances of Google, I was able to finish the removal process and re - install Google Chrome.
    I just checked right now and I have six Google shown 3 rundll32.exe and two taskeng.exe bodies. I've never seen no more than one instance of anything in this tab before today.
    Disabling all startup stuff does not solve my problem to explore some way so I'll allow them once again.
    Thank you for helping me and I hope that someone can get useful information from my travels.

  • How to install the large data file?

    Anyone know how I can install large binary data to BlackBerry files during the installation of an application?

    My application needs a size of 8 MB of the data file.

    I tried to add the file in my BlackBerry project in the Eclipse environment.

    But the compiler could not generate an executable file with the following message.

    «Unrecoverable internal error: java.lang.NullPointerException.» CAP run for the project xxxx»

    So, I tested with a small binary file. This time, the compiler generated a cod file. but the javaloader to load the application with this message.

    "Error: file is not a valid Java code file.

    When I tried with a small plus, we managed to load, but I failed to run the program with that.

    "Error at startup xxx: Module 'xxx' has verification error at offset 42b 5 (codfile version 78) 3135.

    Is it possible to include large binary data files in the cod file?

    And what is the best practice to deal with such a large data files?

    I hope to get a useful answer to my question.

    Thanks in advance for your answer.

    Kim.

    I finally managed to include the large data file in library projects.

    I have divided the data file in 2 separate files and then each file added to library projects.

    Each project the library has about 4 MB of the data file.

    So I have to install 3 .cod files.

    But in any case, it works fine. And I think that there will not be any problem because I use library projects only the first time.

    Peter, thank you very much for your support...

    Kim

  • I accidentally the application data file in my windows 8. Help, please.

    I accidentally the application data file in my windows 8 accordingly the tile on the start menu is missing only the office and the store remained, I lost too much profile in other games, how to restore lost especially applications apps built in? Help, please.

    Hello

    Please check section of applications that the built-in apps still exists or not. This will clear if the built-in apps are only missing the start screen or permanently missing. If you find them, re-PIN. If you can't find them, Refresh and they all will be back over your app so lost data file.
    Here's how to Update:
    Hope this helps, good luck :)
  • The name of the missing photo is missing in the upper part of the finder window, when you search for the missing photo.

    Until this version, the name of a missing photo was shown in the upper part of the finder window looking for the missing file. This was very helpful during the search, Miss me ;(

    Murk-FotoHello,

    Work on Mac OS 10.11?

    As it has nothing to do with the new version of Lightroom, this was changed in the new Mac OS.

    Concerning

    Sarika

  • put the offline data file when the database is in NOARCHIVELOG mode

    My question is when the database is in log mode Archive No. I am not able to take the database offline.

    When I tried in my computer I noticed set-aside.

    CASES1:

    SYS > alter database datafile 5 offline;

    ERROR at line 1;

    ORA-01145: offline immediately rejected at least media recovery enabled.

    case 2:

    SYS > alter database datafile 5 immediate offline;

    ERROR at line 1;

    ORA - 00933:SQL not correctly completed order

    CASE3:

    I tried the command drop alter database datafile offline 6; (in NOARCHIVELOG mode) and it is to show the same effect that alter database datafile offline 6; (in ARCHIVELOG mode).

    * In NOARCHIVELOG mode are we really drop the data file to use the offline data file? You please tell me the effect of the dropkeyword.

    Oracle protects you. Please review ARCHIVELOG and NOARCHIVELOG mode.

    When you take the database offline in NOARCHIVELOG mode:

    (1) the file is offline

    (2) the RCS in which you took the database offline will be is more to be in the online redo logs

    (3) at this point, you need to perform a media recovery to enable again the file online (ie. restore the database)

    So you can see why you shouldn't do that.

    The DROP Offline command does not actually remove the data file. It removes the control file file details and updates the offline data file. It can be used for purposes of recovery or when you actually plan on deleting data files.

  • How can I change the looks of Access Infrastructure Web location for the virtual machine files?

    How can I change the looks of Access Infrastructure Web location for the virtual machine files?

    My default is set to MACHINES C:\VIRTUAL.  But I want to change it to turn to an external drive connected with an eSata cable. Can I do this?

    Hello

    Add just like a new data store.

    Login to your web access, select your host (not the virtual machines) in the left menu.

    You should see a link on the right side with "Add data store", give it a name of store and add the directory.

    Now, you can add a virtual machine to this place.

    Good luck!

    --

    Wil

    _____________________________________________________

    Visit VMware developers at http://www.vi-toolkit.com wiki

  • ESXi is unable to install 'his place on the disk for the dump data' no ideas?

    It is an older server.

    Data sheet:

    GOING Linux 2200 series

    Intel P3 700 MHz x 2

    768 MB OF RAM

    9.1 GB SCSI x 3 (configured in RAID 5 now)

    I have attached a picture of the error message that is received and typed most of the message below.

    NOT_IMPLEMENTED /build/mts/release/bora-123629/bora/vmkernel/sched/sched.c:5075

    Frame 0x1402ce0 ip = 0x62b084 cr2 = cr3 = 0 x 0 = ox3000 cr4 = 0 x 20

    are is 0xffffffff ds is 0xffffffff fs = 0xffffffff gs = 0xffffffff

    EAX = 0xffffffff = 0xffffffff = 0xffffffff edx ecx ebx = 0xffffffff

    = 0x1402e3c = 0xffffffff edi esi EBP = 0xffffffff err =-1 eflags = 0xffffffff

    * 0:0 / & lt; NULL & gt;  1:0 / & lt; NULL & gt;

    0x1402e3c: battery: 0x830c3f, 0x1402e58, 0x1402e78

    VMK availability: 0:00:00:00.026 TSC: 222483259709

    No space on disk for the dump data

    Waiting for debugger... (World 0)

    Debugger is listening on the serial port...

    Press ESC to enter the local debugger

    This could be a simple problem or not, I'm not sure. I spent several hours already trying to reconfigure the readers to try to get the installation to recognize.

    Any help is greatly appreciated.

    I agree with Matt, the material can be simply too old-

    If you find this or any other answer useful please consider awarding points marking the answer correct or useful

  • Users of readers to save the xml data file

    Hello
    We can e-mail through the form xml data file without its extension drive. It is very good. Instead of emailing, I want just to save the xml data file in my local system.
    What is the syntax to get it? To send email, I usually create a "submit" button and the area of the submittoURL write us mailto:[email protected].
    What to write to save it on the local computer instead of emailing? I tried saveto: C:\NewFolder or fileto:C:\NewFolder. Nothing works. I think I'm missing the good syntax here.
    I know its possible by RE the pdf, you can get using savedataXML(). I want to achieve this goal without the form.
    Thanks in advance,

    Chaitanya

    The best you can do is set up a submitForm action and uses a type mailto URL. This will prompt the user to attach to an e-mail message using their email client or save it to a file.

  • How to change the setting of the Siebns.dat file

    Hi all

    Can change us the Siebns.dat file?
    If Yes, then what is the procedure to do?

    I thing some command is available for this.

    Some body can help me in this.


    Thanks in advance

    Remy

    You can type help to list the usual orders, or refer to shelf Siebel System Administration Guide >
    Using the Siebel Server Manager command-line Interface.
    http://download.Oracle.com/docs/CD/B40099_02/books/SystAdm/SystAdm_SrvrMgrCLI.html

    If you would like more information, let me know what you want to do, and I'll do my best to help
    Best regards
    EvtLogLvl

  • Not able to start agent cache for the requested data store

    Hello

    This is my first attempt in TimesTen. I am running TimesTen on the same host Linux (RHES 5.2) running Oracle 11 g R2. TimesTen version is:

    TimesTen Release 11.2.1.4.0


    Trying to create a simple cache.

    The DSN entry section for ttdemo1 to. odbc.ini is as follows:

    + [ttdemo1] +.
    Driver=/home/Oracle/TimesTen/TimesTen/lib/libtten.so
    Data store = / work/oracle/TimesTen_store/ttdemo1
    PermSize = 128
    TempSize = 128
    UID = hr
    OracleId = MYDB
    DatabaseCharacterSet = WE8MSWIN1252
    ConnectionCharacterSet = WE8MSWIN1252

    With the help of ttisql I connect

    Command > Connect "dsn = ttdemo1; pwd = oracle; oraclepwd = oracle;
    Successful login: DSN = ttdemo1; UID = hr; DataStore = / work/oracle/TimesTen_store/ttdemo1; DatabaseCharacterSet = WE8MSWIN1252; ConnectionCharacterSet=WE8MSWIN1252;DRIVER=/home/oracle/TimesTen/timesten/lib/libtten.so;OracleId=MYDB; PermSize = 128; TempSize = 128; TypeMode = 0; OracleNetServiceName = MYDB;
    (Default AutoCommit = 1).
    Command > call ttcacheuidpwdset ('ttsys', 'oracle');
    Command > call ttcachestart;
    * 10024: could not start agent cache for the requested data store. Could not initialize Handle.* Oracle environment
    The command failed.

    The following text appears in the tterrors.log:

    15:41:21.82 Err: ORA: 9143: ora-9143 - 1252549744-xxagent03356: database: TTDEMO1 OCIEnvCreate failed. Return - 1 code
    15:41:21.82 Err: 7140: oraagent says it failed to start: could not initialize manage Oracle environment.
    15:41:22.36 Err: 7140: TT14004: failed to create the demon TimesTen: couldn't reproduce oraagent for "/ work/oracle/TimesTen_store/ttdemo1 ': has not been initialized Handl Oracle environment

    What are the reasons that the demon cannot happen again to another agent? FYI, the environment variables are defined as:

    ORA_NLS33=/U01/app/Oracle/product/11.2.0/Db_1/ocommon/NLS/Admin/data
    ANT_HOME = / home/oracle/TimesTen/ttdemo1/3rdparty/ant
    CLASSPATH=/home/oracle/TimesTen/ttdemo1/lib/ttjdbc5.jar:/home/oracle/TimesTen/ttdemo1/lib/orai18n.jar:/home/oracle/TimesTen/ttdemo1/lib/timestenjmsxla.jar:/home/oracle/TimesTen/ttdemo1/3rdparty/jms1.1/lib/jms.jar:.
    Oracle@rhes5:/Home/Oracle/TimesTen/ttdemo1/info% echo $LD_LIBRARY_PATH
    /home/oracle/TimesTen/ttdemo1/lib:/home/oracle/TimesTen/ttdemo1/ttoracle_home/instantclient_11_1:/u01/app/oracle/product/11.2.0/db_1/lib:/u01/app/oracle/product/11.2.0/db_1/network/lib:/lib:/usr/lib:/usr/ucblib:/usr/local/lib


    See you soon

    I see no problem here. The ENOENTs are superfluous because it locates libtten here:

    23302 open ("/ home/oracle/TimesTen/11.2.1.4.0/TimesTen/ttimdb1/lib/libtten.so", O_RDONLY) = 3

    without doubt, it does the same thing trying to find the libttco.so?

    23302 open ("/ home/oracle/TimesTen/11.2.1.4.0/TimesTen/ttimdb1/ttoracle_home/instantclient_11_1/libttco.so", O_RDONLY) =-1 ENOENT (no such file or directory)

    Thank you for taking the trace. I really want to have a look at the complete file if you can send it to me?

Maybe you are looking for

  • Restore OSX 10.6.4

    short story back. I recently acquired a mid 2010 Mac Pro "eight Core" 2.4 Mac Pro 5.1 - A1289-2314-2 The previous owner wiped the hard drive and installed Win 7 Professional (why I have no idea). But I try to restore to mac OSX and bought a 10.6.3 Sn

  • What screen made TE2000 uses?

    can we all now what are screen goes into the te2000 and its model number

  • Envy 15 BEATS 3040NR audio dial/button replacement

    I got this laptop from a friend for free, it is out of warranty and I had the problem of button sticking audio BEATS feared the second time I tried to turn on the laptop. It seems quite common problem and I basically disconnected the button/wheel of

  • KB970653 evolves Lotus Notes client and servers of the zone.

    Installation KB970653 client Lotus Notes as well as time zone local change to + 1. Is it really nessasary for countries that are not assigned to the summer time?

  • FreeCell aligned?

    About a month back, I was playing Freecell and one of the columns 'stuck' (I don't know how else to describe it, sorry) because I don't know how to include attatchments, if possible, I will describe it. My second column from the left slipped down, di