ORA-27086: unable to lock file - already in use, Help

We have a windows 2003 server running 10.1.02 w/multiple instances. I created a new, fresh database using DBCA. the db created OK, and I can login as sys.
When I try to create a tablespace, I get these errors. Any suggestions, please?
Thanks,
Leor
SQL> CREATE TABLESPACE BGEN_DATA
2 DATAFILE 'BGEN_DATA.ora' SIZE 1000M REUSE
3 AUTOEXTEND ON NEXT 2M MAXSIZE UNLIMITED
4 ;
CREATE TABLESPACE BGEN_DATA
ERROR at line 1:
ORA-01119: error in creating database file 'BGEN_DATA.ora'
ORA-27086: unable to lock file - already in use
OSD-04002: unable to open file
O/S-Error: (OS 5) Access is denied.

We have a windows 2003 server running 10.1.02
w/multiple instances. I created a new, fresh
database using DBCA. the db created OK, and I can
login as sys.
When I try to create a tablespace, I get these
errors. Any suggestions, please?
Thanks,
Leor
SQL> CREATE TABLESPACE BGEN_DATA
2 DATAFILE 'BGEN_DATA.ora' SIZE 1000M REUSE
3 AUTOEXTEND ON NEXT 2M MAXSIZE UNLIMITED
4 ;
EATE TABLESPACE BGEN_DATA
ERROR at line 1:
ORA-01119: error in creating database file
'BGEN_DATA.ora'
ORA-27086: unable to lock file - already in use
OSD-04002: unable to open file
O/S-Error: (OS 5) Access is denied.First of all, you need to give an absolute path to your datafile. Otherwise, it's going to be hard to track where's the file.
Do you have other database instance running on the same server?
PS, don't cross post on many forum.

Similar Messages

  • ORA-27086: unable to lock file - already in use

    Hi All,
    Can any one having Idea about this Error while Upgrading from 9.2.0.4.0 to 10.2.0.2.0 on AIX 5.2 after software Installation before patch set apply when i try to start the Database im Getting this Error Below
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area 784334848 bytes
    Fixed Size 2022384 bytes
    Variable Size 550634512 bytes
    Database Buffers 229507072 bytes
    Redo Buffers 2170880 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    Alert_LOG
    Mon Jul 3 09:17:15 2006
    ORA-00202: control file: '/oracle/QAS/sapdata1/cntrl/cntrlQAS.dbf'
    ORA-27086: unable to lock file - already in use
    IBM AIX RISC System/6000 Error: 13: Permission denied
    Additional information: 8
    Additional information: 26492
    Please Help me..........
    Ahmed

    check do u have proper permission to access this file?
    and also check whether Is this file is access by 9i database or not.if this is the condition then shutdown the database and startup from 10g home.
    27086, 00000, "skgfglk: unable to lock file - already in use"
    // *Cause:  the file is locked by another process, indicating that it is
    // currently in use by a database instance.
    // *Action: determine which database instance legitimately owns this file.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Online backup failure due to ORA-27086: unable to lock file - already in us

    Hi All,
      Online backup has failed due to the error
    =========================================================
    BR0301E SQL error -27086 at location BrInitOraCreate-5, SQL statement:
    '/* BRBACKUP AT PROF_CONN */ CREATE PFILE = '/oracle/SID/102_64/dbs/sap.ora' FROM SPFILE = '/oracle/SID/102_64/dbs/spfileSID.o
    ra''
    ORA-27086: unable to lock file - already in use
    IBM AIX RISC System/6000 Error: 13: Permission denied
    Additional information: 8
    Additional information: 1388548
    BR0303E Determination of Oracle version failed
    ==========================================================
    Please suggest.

    Check the file permissions on your Oracle_home...
    And kill all the processes, which already running for backup..
    Regards,
    Nick Loy

  • ORA-27086: unable to lock file over NFS -- but it's NOT Netapp!

    My 10.2 database crashed, and when it came back I got the following error:
    ORA-00202: control file: '/local/opt/oracle/product/10.2.0/dbs/lkFOOBAR'
    ORA-27086: unable to lock file - already in use
    Linux-x86_64 Error: 11: Resource temporarily unavailable
    This is a classic symptom of a Netapp problem, which likes to hold file locks open on NFS mounts. There is a standard procedure for clearing those locks; see, for instance, document 429912.1 on Metalink.
    Unfortunately, my files are mounted on an Isilon, one of Netapp's twisted cousins. I can find no references to "isilon" on Metalink, and we are at a loss how to resolve this.
    My sysadmin assures me that "there are no locks on the Isilon". But I know this cannot be the case, because if I do the following:
    1. delete the lockfile /local/opt/oracle/product/10.2.0/dbs/lkFOOBAR, and then
    2. move my controlfiles aside, and then copy them back into place,
    then the database will mount. However, it will not open, because now all the datafiles have locks.
    Is there anyone with experience in clearing NFS locks? I know this is more of a SA task than DBA, but I am sure my SA has overlooked something.
    Thanks

    New information:
    As stated above, I moved the controlfiles aside and then copied them back into place, like this:
    mv control01.ctl control01-bak.ctl
    cp control01-bak.ctl control01.ctlDid that for each controlfile, and then the database mounted.
    But, after rebooting the machine, we discovered that all locks were back in place-- it looks like the system is locking the files on boot-up, and not letting them go. The lock is held by PID 1, which is init.
    sculkget: lock held by PID: 1This is definitely looking like a major system issue, and not a DBA issue, and hence I have little right to expect assistance in this forum. But nonetheless I lay my situation out here before you all in case someone else recognizes my problem before the server bursts into flames!
    The system is CentOS 4.5-- not my choice, but that's the way it is.

  • ORA-27086: skgfglk: unable to lock file - already in use

    Hi,
    I advance I appreciate your time for assistance.
    Thu Sep 30 23:07:08 2010
    Errors in file /opt/app/oracle/admin/EDITDATA/bdump/editdata_dbw0_21124.trc:
    ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
    ORA-01110: data file 6: '/opt/app/oracle/oradata/EDITDATA/users01.dbf'
    ORA-27086: skgfglk: unable to lock file - already in use
    Linux Error: 11: Resource temporarily unavailable
    I am getting this error for last 2-3 days. I need to start up the database manually.
    Daily there is crontab schedule which will take the cold backup and startup the database. When I am checking daily morning. DBt is going into MOUNT stage instead of OPEN stage. I have check the script every thing is fine.
    Note: This is happening intermetendly. Also is error is happening with different datafiles each time.
    Regards

    user818118 wrote:
    This is the cold_backup Script ...
    1) First, it will shutdown the db.
    2) Copy all the crb files to the backup location.CRB files? Do you mean data files, control files and spfile/pfile?
    3) Startup the db.
    4) ZIp the files.
    5) Deletes the old uncompress files.Any special reason why you use this approach? It may in fact be slower than zipping and compressing on the fly.
    For example, 10GB of data files need to be be backed up. You can follow the above approach and make a 10GB copy. Then read that copied 10GB (20GB in total read at this stage) and then compress it (CPU resources needed) and then write 5GB of compressed data (assuming a 50% compression ratio was achieved).
    Now compare this with reading 10GB, compressing it (CPU resources needed) and then writing 5GB. Not only is this significantly less I/O to do, but less physical space is needed too.
    As for your problem - you can add some debugging code into the cold backup script to show whether any processes are using any of the Oracle datafiles prior to starting the Oracle instance. If so, then doing a process listing of the "guilty" process to determine who it is.
    Also keep in mind that you also need clean starts and exits from shell scripts... in other words, what happens if a 2nd copy of the cold backup is started? Or when a previous run failed and is stuck as a background process?
    In my experience, this is often the cause of the problem you're seeing - the database is started up, but the cold backup has a rogue process (remnant of some script failure) that still locks Oracle datafiles.

  • Disconnected Analytics Sybase Specified database file already in use Error

    Hi:
    what do i have to configure on the OBI Disconnected Client, because any time i try to create an a request in answers iin my disconnected application i get the following error
    Sybase][ODBC Driver][Adaptive Server Anywhere]Specified database file already in use. (HY000)
    Do i have to create an ODBC connection? Which db do i have to point?
    Thank in advanced
    Cheers

    Please see response in your ORA-27086: unable to lock file - already in use, Help

  • ORA-27037: unable to obtain file status

    what is the solution of this error
    skipping archive log file /u02/proddata/ARCH/1_1150_742566836.dbf; already backe
    d up 1 time(s)
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup command at 02/24/2011 18:00:52
    RMAN-06059: expected archived log not found, lost of archived log compromises re
    coverability
    ORA-19625: error identifying file /u02/proddata/ARCH/1_1152_742566836.dbf
    ORA-27037: unable to obtain file status
    IBM AIX RISC System/6000 Error: 2: No such file or directory
    Additional information: 3

    It appears that an archivelog is missing.
    You should perform the following:
    CROSSCHECK ARCHIVELOG ALL;
    DELETE EXPIRED ARCHIVELOG ALL;

  • ORA-27041: unable to open file

    Hi,
    while opening the DB by giving startup command ,i am getting following error
    Errors in file d:\oracle\admin\pdonds\udump\pdonds_ora_4120.trc:
    ORA-00206: error in writing (block 1, # blocks 1) of controlfile
    ORA-00202: controlfile: 'C:\ORACLE\CONTROLFILE2\CONTROL02.CTL'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 5) Access is denied.
    please tell me ,where is the mistake.

    Hi..
    Check permission on control file.
    Do you have a pfile of the database. If , you have remove this controlfile (CONTROL02.CTL) entry from control_files in the pfile,and try to start the database.
    If you don't have a pfile, do
    sql> startup
    --- You will get error.Database will not go to mount stage.
    sql> alter system set control_files='location\CONTROL01.CTL','location\CONTROL03.CTL' scope=spfile;
    sql> shu immediate;
    sql> startup -- This will start the database.
    Anand
    Edited by: Anand... on Jan 6, 2009 11:20 AM

  • Novell-named Unable to lock file /etc/nam.conf..?!?

    Getting this error on startup of novell-named
    >>
    # rcnovell-named restart
    Shutting down name server BIND waiting for novell-named to shu(28s) done
    Starting name server BIND Unable to lock file /etc/nam.conf.
    Permission denied
    <<
    Seems superficial, as dns seems to work fine. However, wondering what/why/etc. Can't think of a relationship...
    Anyone any suggestions?
    Cheers
    David

    djbrightman,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • Untitled File Already in Use or Protected

    Hi everyone,
    from the starting point when I click on the text editor of Apple Work, a box appears; it says: "untitled file already in use or protected; open a copy?", but I just opened AppleWorks and not one AW file was opened or protected.
    I have a .doc file in the trash, and every time I try to empty the trash, another similar box opens (can't empty the trash because the .doc file is still in use - Stop - Continue-). Useless to say that it's not in use at all.
    Help would be SO appreciated...
    Thanks.

    Unless your new account has the same user name, it is almost certainly a permissions issue. Select this templates folder in the Finder, Get Info (File > Get Info, ⌘ i or through the contextual menu), click the triangle next to Details under Ownership & Permissions & change the permissions on the folder to Read & Write for all users &, lastly, click the button to apply to enclosed items. Hopefully, this will reset them. I have found that sometimes the change isn't applied to items in folders inside the first folder, so you may have to do this in several steps.
    Peggy

  • Could not use file ''; already in use

    Setup: DW8, asp VBscript, DNS less connection to Access
    database, localhost
    In DW8, open web page that has a Dynamic table using any
    recordset. Live Data View. No problem. Data displays.
    Now in Server Behaviors double click Recordset1. Click test.
    No problem. Data displays in popup window.
    Now click Live Data View again and get the error
    "Microsoft Jet Database Enging (0x80004005)
    Could not use ''; file already in use"
    It seems that Dreamweaver still holds the Access file open
    even after displaying the Recordset1 data in Server Behviors.
    Any solution?
    (Permission setting on the Access database seem to be ALL
    ok.)
    Joe in Redmond, Washington

    There is a problem with both Photoshop and InDesign, then we can blame wich ever it is.
    1. I open a .psd file in Photoshop CS4 by double clicking it in Bridge
    2. This image is placed on a page in a open InDesign document.
    3. Doing some changes in Photoshop on the image.
    4. Trying to save and get this error message (this topics subject)
    5. Deleting the image from the page in ID doc, it is the only one in the document.
    6. Can't still save file.
    7. Closing ID completely and now I am able to save the file.
    I tried turning of Live preflight in Indegisn but that didn't help.
    So probably the fault is InDesign or the MacOS. I didn't have this problem with CS3. It is a stupid problem because this type of workflow is pretty common and one would expect it to be solved by now.
    Jan Suhr
    Stockholm, Sweden

  • Form open error, File already in use

    Hello,
    if i wish to open a FMB file just by click on the file name inside the explorer (NT4.0)
    i got the message, 'file already in use'
    and then i can open the file. But the message is wrong, because i have not opened the file befor.
    Any help

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Nandlal Govan ([email protected]):
    Delete the existing association with fmb .
    Create a new one. This solves this problem.<HR></BLOCKQUOTE>
    Hello,
    you mean the association withhin the NT environment ? Will do so and test it.
    Thank's for your help
    Wolfgang
    null

  • SL and SMB file shares gives 'file already in use' errors

    Hi all,
    I'm posting a question which has been asked here before but not answered.
    We have several Mac users accessing files on a SMB share running on a Windows 2003 Server.
    Everything worked fine for years until they upgraded to Snow Leopard, then they started experiencing errors when saving changes to an already-created file; they are thrown the error "Could not save <filename> because the file is already in use or was left open" - however it is clearly not open and nobody else has accessed it from the share.
    There seems to be a lot of allusions made to this problem and I've seen hints that it was supposed to have been fixed in 10.6.3 - but we're still experiencing it and it's driving our users nuts!
    Any help would be greatly appreciated.

    I have similar problems with my new MacPros loaded with SL 10.6.4. Every time when the next network user want to open the file the 1st user opened (closed already), it keeps saying the file is in use.

  • ORA-13050:unable to construct spatial object in using SDO_INTERSECTION

    Hi Specialists,
    I am using Oracle Spatial and getting the ORA-13050 error when using the SDO_Intersection procedure. Below are the details of this.
    Objective: To find the addresses whose boundary lie within a user defined polygon.
    Input: List of coordinates for the user defined poygon.
    Query I am using: SELECT SDO_GEOM.SDO_INTERSECTION (add.boundary, SDO_GEOMETRY(2003,8311,NULL, SDO_ELEM_INFO_ARRAY(1,1003,1),
    SDO_ORDINATE_ARRAY( 149.986507,-36.727242,149.985898,-36.726819,149.986756,-36.726512,149.987288,-36.726803,149.986507,-36.727242)), 0.000001)
    FROM address add
    WHERE add.id = '254378298'
    Error Received:
    ORA-13050: unable to construct spatial object
    ORA-06512: at "MDSYS.SDO_3GL", line 715
    ORA-06512: at "MDSYS.SDO_3GL", line 745
    ORA-06512: at "MDSYS.SDO_GEOM", line 3016
    ORA-06512: at "MDSYS.SDO_GEOM", line 3065
    Please can any one help me in this issue very urgent.
    Thanks,
    Ashish

    Hi All,
    The problem has been resolved by transforming the user defined polygon coordinates into the database specific coordinate system.
    Thanks

  • File already in use ?

    Hello,
    When I open and close a pdf file with acrobat, then it's impossible for me to edit and save with another program.
    "File already opened".
    I think Acrobat keep it open or something like that, even if I close it.
    Is there an option to clear the cache when I close Acrobat ?
    Maybe another solution ?
    Thanks for your help.

    up

Maybe you are looking for