ORA-01157: cannot identify/lock data file [HELP! PLEASE!]

I'm under Oracle 11 GR 2. When I tried from Oracle sqlplus, I got the following errors:
ORA-01110: data file 8: '/dev/raw/raw8'
ORA-01157: cannot identify/lock data file 8 - see DBWR trace file
I used "the judgment" to stop the Oracle. I'm sure that there are 2 sessions to approve the changes to the database while I closed the Oracle. Is there anyone know how to fix this?

Many thanks for any help!

Hmm...

change 315220074 September at 12/10/2011 14:34:12 necessary

but your newspapers online redo is 2011-10-12 16:31:54 from only.
So, there are some transactions in the stream of roll forward relative to this data file between 14:34:12 and 16:31:54.

Hemant K Collette

Tags: Database

Similar Questions

  • ORA-01157: cannot identify/lock data file 6 - see DBWR trace file

    Dear all,

    I use a machine to the BSG that is 64-bit, I installed the oracle 119 in that. First, he was installed at u01 volume root but the size was enough for me, so I changed the volume and new volume as u01. now when I try to start the database his past does not

    Here is the error

    SQL > startup

    ORACLE instance started.

    Total System Global Area 3206836224 bytes

    Bytes of size 2217632 fixed

    1744832864 variable size bytes

    1442840576 of database buffers bytes

    Redo buffers 16945152 bytes

    Mounted database.

    ORA-01157: cannot identify/lock data file 6 - see DBWR trace file

    ORA-01110: data file 6: ' / u01/app/oracle/product/11.2.0/db_1/dbs/tbs_data.dat'

    and u01/app/oracle/product/11.2.0/db_1/dbs/tbs_data.dat that this file is not present it may I know how to recover from this.

    Can someone help me please.

    Thank you

    Gallot

    Dear all,

    It was because the size of the data file. so I increased the size of the database and has solved this problem

  • ORA-01157: cannot identify/lock data file 6

    I work for a school district and recently ran into problems with writing data in a database by using ASP.

    Background:
    We are currently running Oracle Database 11 g Release 11.1.0.6.0 - 64 bit Production With the Real Application Clusters on Linux systems option.

    We have a workable tablespace/database using our system of management of the school called "Genesis." There is no problem reading, writing or deletion of records through this site web-based application.

    Problem:
    I wrote a few ASP pages that read from the 'background' database tablespace that works reliable. The problem is that I created a new tablespace/user/database with two tables that I write for.

    If I run a test trying to add new records via my ASP page Let's say 5 times, it cannot work more than 3 of those times.

    The error I get is as follows:

    Error Automation Oracle '800a01b8 '.

    Data retrieval error, ORA-01157: cannot identify/lock data file 6 - see the file trace DBWR ORA-01110: data file 6: ' / u01/app/oracle/product/11.1.0/db_1/dbs/ORCL_GENESIS'

    / Parent_Portal/Confirmation.asp, line 40

    Looking at the knowledge base (Article NOTE: 268061.1) mentions that there are maybe not ebough available file descriptors. We increase the amount, the same results.

    Also, if it's important, it's the code that I use to write to the database:

    Set OraSession = CreateObject ("OracleInProcServer.XOraSession")
    Set OraDatabase = OraSession.OpenDatabase ("ORCL" _
    (' Username/password name', cint (0))

    Set OraDynaset = OraDatabase.CreateDynaset ("SELECT * FROM PARENT_PORTAL.") (The STUDENTS", cint (0))

    OraDynaset.AddNew
    OraDynaset.Fields ("Email"). Value = strEmail
    OraDynaSet.Fields ("STUDENTID"). Value = strStudentID
    OraDynaset.Update

    Set OraDynaset = OraDatabase.CreateDynaset ("SELECT * FROM PARENT_PORTAL.") (Accounts", cint (0))

    OraDynaset.AddNew
    OraDynaset.Fields ("Email"). Value = strEmail
    OraDynaset.Fields ("LASTNAME"). Value = strPLName
    OraDynaset.Fields ("FIRSTNAME"). Value = strPFName
    OraDynaSet.Fields ("PHONE"). Value = strPhone
    OraDynaset.Update

    Set OraSession = Nothing


    Any help on this would be greatly appreciated.

    Thank you
    Jason

    Query

    Select file_name in dba_data_files
    Union
    Select Member from v$ logfile
    Union
    Select name from v$ controlfile;

    to identify all the database controlfiles and redo online.

    A database is the database files.
    An instance is all the processes running on a node.
    To the CARS, you have 2 (or more) of the instances that are running on 2 nodes (or more) to access the same database simultaneously.
    A node can go down or die or be shot in the head, but the database continues to be available through the second instance on the other node. This is the reason for all of the CARS.

  • ORA-01157: cannot identify/lock data file error in database pending.

    Hello

    I have a back-end database and the base ensures (11.2.0.1.0) that runs in ASM with the names of different diskgroup. I applied an incremental backup on a standby database to solve the gap newspaper archive and generated a controlfile to standby in the primary database and restore the standby database controlfile. But when I started the MRP process his starts not and lift error in the alerts log ORA-01157: cannot identify/lock file. When I questioned the standby database file it shows the location on primary data filenames not the database pending.

    ******************************

    PRIMARY DATABASE

    *****************************

    SQL > select name from v$ datafile;


    NAME

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

    +Data/OraDB/datafile/system.256.788911005

    +Data/OraDB/datafile/SYSAUX.257.788911005

    +Data/OraDB/datafile/undotbs1.258.788911005

    +Data/OraDB/datafile/users.259.788911005

    ****************************************

    BACKUP DATABASE

    ****************************************

    SQL > select name from v$ datafile;


    NAME

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

    +STDBY/OraDB/datafile/system.256.788911005

    +STDBY/OraDB/datafile/SYSAUX.257.788911005

    +STDBY/OraDB/datafile/undotbs1.258.788911005

    +STDBY/OraDB/datafile/users.259.788911005

    The actual physical location of files of database Eve in ASM in the standby server is shown below

    ASMCMD > pwd

    + STDBY/11gdb/DATAFILE

    ASMCMD >

    ASMCMD > ls

    SYSAUX.259.805921967

    SYSTEM.258.805921881

    UNDOTBS1.260.805922023

    USERS.261.805922029

    ASMCMD >

    ASMCMD > pwd

    + STDBY/11gdb/DATAFILE

    I even tried to rename the data files in the database backup, but it throws error

    ERROR on line 1:

    ORA-01511: Error renaming data/log files

    ORA-01275: RENAME Operation is not allowed if management undo file is

    Automatic.

    Kind regards

    007

    You must specify the complete location

    *.db_file_name_convert='+data/OraDB/datafile/,'+STDBY/11gdb/DATAFILE /'

    and to rename the data file, your standby_file_management parameter must be set to MANUAL.

  • ORA-01124: cannot retrieve the data file 1 - file is in use or recovery

    I'm trying to recover the database in waiting, but it gives the error below.

    ORA-00283: cool cancelled due to errors
    ORA-01124: cannot retrieve the data file 1 - file is in use or recovery, the recovery is already said
    ORA-01110: data file 1: ' I:\ORACLE\QAS\SAPDATA1\SYSTEM_1\SYSTEM. DATA1'

    When I checked in the alert log recovery is not started. and later I hae given ' alter database recover Cancel "and the command to meet with the threshold.

    "media recovery has not started.

    It seems that the recovery was stuck between the two.
    Please advise me how to kill the recovery session that is stuck. because I don't want to bounce the database pending.

    Thanks in advance.

    Dataguard and MRP, you run a script before.

    In a standby scripted, a session to RETRIEVE the DATABASE would an UNTIL clause (SEQUENCE up to THAT most likely). At the end of the recovery at this point (SEQUENCE #), he left and stop at the database.

    In addition, the script is such that when a RECOVERY session is active, another session is not authorized to start. It can loop in pending state or go out and do it again the next scheduled interval.

    Apparently your startup script is not strong enough to prevent another session of RECOVERY to start even though the first is active (or it doesn't have a good up to THAT clause and stop, exit, closing stocks)

    What you have is a custom implementation of a database of pending. Without all the details of the script, the 'blocking' between sessions (to avoid a second RECOVER start when one is already running) etc... We can't really do much to help you.
    Your scripts must be standing with status information. It should be possible for you to discover the 'other' sqlplus session which emanates a DATABASE to RECOVER, but not yet out (p. ex... How about a simple "ps - ef |") grep sql' and ' ps - ef | combination of grep ora"?)

    Hemant K Collette

    Published by: Hemant K Collette on May 29, 2013 17:47

  • You cannot change the data file

    Unable to Alter Database Datafile

    Hi all

    Using Alter database datafile ' C:\Oracle\APP\ORADATA\...\USERS01. DBF' SIZE 100M;

    getting this error.

    SQL > Alter database datafile ' C:\Oracle\APP\ORADATA\...\USERS01. DBF' SIZE 100M;
    Error report:
    SQL error: ORA-01237: do not extend datafile 4

    ORA-01110: data file 4: ' C:\Oracle\APP\ORADATA\...\USERS01. DBF'

    ORA-27059: reduce file size

    OSD-04005: SetFilterPointer() failure, unable to read the file

    s/o-error: (OS 112) there is not enough space on the disk.

    01237 00000 - "cannot extend %s datafile.

    * cause: year Operating system error has occurred during resizing.

    * Action: Resolve the cause of the error of operating system and start the command

    I understand that the OS space is full and I guess this isn't specific Oracle error, but certainly an OS level error, someone could suggest me how to deal with the erasure of space, is it possible to erase and reuse the data files? Please suggest.

    Help out me

    Thank you and best regards,
    Cabbage

    You need create more space by deleting unnecessary files or narrowing of the files.

  • 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.

  • ORA-19838: cannot use this control file to open the database

    Dear all,

    While making RMAN cloning, we are facing problem,

    SQL > alter database open resetlogs;

    ALTER database open resetlogs

    *

    ERROR on line 1:

    ORA-19838: cannot use this control file to open the database

    Concerning

    Villi Kumar

    Dear all,

    While checking the database,

    Control the name of the database file is PROD

    In the instance, database name is TEST.

    So we took the PROD and edited control file trace file based on the TEST environment.

    Then run the script published in the TEST database trace file.

    Now we can open the database by using below command

    ALTER database open resetlogs;

    Concerning

    Villi Kumar

  • Error: Could not find the locale data files. Please reinstall when you try to open Facebook.

    Original title: locale data file errors... How can I fix it?

    can't the facebook home page and when I search the

    "Cannot find the locale data files. Please reinstall"pop box.

    Hi kjkin,

    1 did you change on your computer before this problem?

    2 are you able to access other Web sites correctly?

    3. what browser do you use?

    If you are using Internet Explorer, follow these methods & check if the problem persists:


    Method 1

    You can follow this link & check if the problem occurs:

    Can't access some Web sites in Internet Explorer


    Method 2

    You can also follow this link:

    How to delete the contents of the temporary Internet files folder?


    Reference:
    Internet Explorer does not start or stops responding

    Hope the helps of information.

  • I forgot my password and got my iphone disabled after several attempts. its display to connect to itunes, but I am unable to connect to itunes too. How can I unlock my phone without losing any data? Help, please

    I forgot my password and got my iphone disabled after several attempts. its display to connect to itunes, but I am unable to connect to itunes too. How can I unlock my phone without losing any data? Help, please

    In short - you can't

    IF you have a computer with iTunes on which you did a prior backup - the phone will be recognized and iTunes offer todo backup before it clears your device - that - except if you know the access code the content cannot be saved

  • My iPAD asks me to update to OS 9.3, but the update fails because it says that the iPAD is not connected to the internet and when I connect to my computer iTunes it say my OS is up to date.  Help, please.

    My iPAD asks me to update to OS 9.3, but the update fails because it says that the iPAD is not connected to the internet and when I connect to my computer iTunes it say my OS is up to date.  Help, please.

    I'm surprised to hear that for an iPad 2 that the issue had apparently been set for 2 s. Please see this for more details as I know them. Maybe the servers at your site have not been updated yet for the new version of the iPad 2.  ???

    Apple released the update iOS 9.3 for older devices (air of iPad and previous iPhone, 5 s and previous) due to problems with Activation. See the following for details and possible solutions.

    http://www.IMore.com/Apple-working-iOS-93-fix-older-iPhone-iPad

    https://support.Apple.com/en-us/HT206203

    A new version for the iPad 2 is now available which does not require the activation step. A new version for other devices is not yet available.

  • How could a routine walk-run? Inside, Indoor walk or another run? I do this routine outdoors with Gps first so that I'm not kidding my calibration data? Help please and thank you!

    How could a routine walk-run? Inside, Indoor walk or another run? I do this routine outdoors with Gps first so that I'm not kidding my calibration data? Help please and thank you!

    Hello

    Choose indoor walk or run Indoor (it does not matter which) to an indoor walk-run routine.

    Even if Apple Watch does not currently offer as a workout interval training, choose one of these allows the most appropriate data sources (which are the same for market and short) to use to track your training.

    If walking or running, the accelerometer is used to estimate pace and the distance (allow your arms swinging naturally) as well as the frequency heart sensor for the estimation of calories burned.

    Run or walk inside will not affect your calibration data. Calibration is based on the GPS of the iPhone data and is only held during the outdoor walking training or race outdoors when the iPhone combined is taken along.

    More information:

    Use of the workout on your Apple Watch - Apple Support

    Calibrate your Apple Watch for better accuracy of training and activity - Apple Support

  • Lightroom 6 suddenly very slow.  All my changes drag on the screen at least + 10 seconds.  The screen seems frozen between each edition.  I use a macbook pro and all my programs are up to date.  Help, please

    Lightroom 6 suddenly very slow.  All my changes drag on the screen at least + 10 seconds.  The screen seems frozen between each edition.  I use a macbook pro and all my programs are up to date.  Help, please

    Hi janeslens,

    • Go to Lightroom > Preferences.
    • Also please go to preferences > Performance tab and uncheck the box "use graphics processor.
    • Restart Lightroom and see if it works.
    • Please make sure you also update of Lightroom to the latest version, which is 6.3 Lightroom

    Let me know if it helps.

    Kind regards

    Tanuj

  • AutoConfig error: ORA-12705: cannot access NLS data or invalid environment specified files

    Hi, experts:

    When it is run on the database layer, obtained adautocfg.sh

    ====

    ....

    Executable: /ap10/immted/db/tech_st/11.2.0.3/bin/sqlplus

    SQL * more: Production of liberation 11.2.0.3.0 Sat Jun 28 23:30:17 2014

    Copyright (c) 1982, 2011, Oracle.  All rights reserved.

    Enter the value 1: enter the value 2: enter the value 3: ERROR:

    ORA-12705: cannot access files of NLS data or invalid environment specified

    =====

    We have 12.1.3, 11.2.03 and Linux. I've issued $unset NLS_LANG, set ORA_NLS10 = "' in the .env file." What should I check?

    In the $ORACLE_HOME/appsutil/contextfile.xml the following:

    "s_db_oranls" = "unix" OSD > /ap10/immted/db/tech_st/11.2.0.3/nls/data/9idata < / ORA_NLS >

    Thanks and greetings

    Now, I got the same error when doing $sqlplus / as sysdba. $sqlplus/nolog is fine.

    Hello

    AutoConfig was successful before?

    Are there any recent book.

    If you're upgrading from 11.2.0.3 or recently updgraded to 11.2.0.3 database, then course do perofmed you listed in article - 7 for creating data 9i of the below TechNote MOS.

    Interoperability note Oracle EBS R12 with Oracle Database 11 g 2 (11.2.0.3) (Doc ID 1585578.1)

    See also below the TechNote if is not for 11.2.0.3 but his relevant:

    Upgrade 9i to 10 g 2 fails with ORA-12709: error loading creates characters of the base set (Doc ID 732861.1)

    Thank you

    A H E E R X

  • 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

Maybe you are looking for

  • property of the mouse to the image control

    In LV 8.5 I noticed that if you reset your image to the default control (using the menu drop-down), the position property of the mouse no longer works, it will always return 0.0 no matter where the mouse is in control.  You must destroy and recreate

  • Ox800CC90 Ox800CC92 error code

    There was a problem connecting to your e-mail server. Your password was rejected. Account: Server: 'mail.tcctransmissions.com', Protocol: POP3, server response: '-ERR failed authorization ', Port: 110, secure (SSL): no, Server error: 0x800CCC90, erro

  • How to migrate from Pegasus Mail to Thunderbird?

    I use Windows 7 > Pegasus Mail 4.74. I'm trying to migrate to Thunderbird 45.4.0. How can I do this? I have a lot of files and several e-mail address. I have also 4 identities. I really want to switch to Thunderbird.

  • Color of taskbar of Windows 7 (no Aero)

    How can I change the color of the taskbar when the don't use no Aero? I have a powerful enough computer, but I like to pinch every bit of speed I can get to it and which includes the use only no Aero. Currently the task bar are blue but I want a simp

  • Activation error code: 0xC004F063

    Hi, I ran the same copy of windows 7 for probably around 8 years now, he spent from my old house built computer that I used for about 7 years on my new computer, which is now 1 year old and has been fine so far. The next day (26 December), I installe