Opening database read only

I am unable to open database in read only mode i used
SQL> STARTUP NOMOUNT
ORACLE instance started.
Total System Global Area 101784276 bytes
Fixed Size 453332 bytes
Variable Size 75497472 bytes
Database Buffers 25165824 bytes
Redo Buffers 667648 bytes
SQL> ALTER DATABASE MOUNT;
Database altered.
SQL> ALTER DATABASE OPEN READ ONLY;
ALTER DATABASE OPEN READ ONLY
ERROR at line 1:
ORA-01187: cannot read from file 1 because it failed verification tests
ORA-01110: data file 1: 'G:\ORACLE\ORADATA\ORCL\O1_MF_SYSTEM_ZYJOFL00_.DBF'
even
SQL> shut
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup open read only
ORACLE instance started.
Total System Global Area 101784276 bytes
Fixed Size 453332 bytes
Variable Size 75497472 bytes
Database Buffers 25165824 bytes
Redo Buffers 667648 bytes
Database mounted.
ORA-01187: cannot read from file 1 because it failed verification tests
ORA-01110: data file 1: 'G:\ORACLE\ORADATA\ORCL\O1_MF_SYSTEM_ZYJOFL00_.DBF'
this does'nt works though i am able to open read write
SQL> alter database open;
Database altered.

I RENAMED FILE TO SYSTEM01.DBF ????
why you relocate that file ?. That was not the file with problems.
The file with problems is this one.
'G:\ORACLE\ORADATA\ORCL\O1_MF_SYSTEM_ZYJOFL00_.DBF'
I propose you to set offline the tablespace that is related to this file ( 'G:\ORACLE\ORADATA\ORCL\O1_MF_SYSTEM_ZYJOFL00_.DBF'
) and try to open the database in read only mode if this get succesful, after we can try to relocate the another file.
What is the tablespace that is related to that datafile ?
Joel P�rez

Similar Messages

  • Access Database Opens in Read Only for Users

    I just moved an Access Database to a new server (from Server 2003 to Server 2012). From the server, using Office 2010, I can open the database without issue but, if a user try's to open the same database from either a shortcut or mapped with Office 2010,
    they get the message that the database is Read Only. Did I miss a step in moving the database to the new server? Thanks

    Hi,
    Did your user get the error message "You are trying to open a read-only database..."? If it was, please try the following method:
    On the desktop, double-click My Computer.
    Locate the Microsoft Access database that you moved.
    Right-click the database name, and then click Properties.
    In the Properties dialog box, clear the Read-only check box under
    Attributes.
    Click OK to apply the change.
    Open your database in Access.
    Resource:
    http://support.microsoft.com/kb/324666/en-us (It also applies to Access 2010)
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Generating EXPLAIN PLAN on a database which is opened in READ-ONLY mode

    Hi,
    I am using Oracle 10.2.0.3 version.
    If my database is opened in READ-ONLY mode, means no insert/update/delete operations are permitted here.
    While generating EXPLAIN PLAN for any SQL, it does entries in PLAN_TABLE. But my database is opened in READ-ONLY mode, means no inserts can happen.
    So how can I generate EXPLAIN PLAN for my SQL in this condition?
    Thanks in advance.
    Best Regards,
    oratest

    oratest wrote:
    I am using Oracle 10.2.0.3 version.
    If my database is opened in READ-ONLY mode, means no insert/update/delete operations are permitted here.
    While generating EXPLAIN PLAN for any SQL, it does entries in PLAN_TABLE. But my database is opened in READ-ONLY mode, means no inserts can happen.
    So how can I generate EXPLAIN PLAN for my SQL in this condition?
    You can always do: "explain plan into some_table@remote_database" to avoid inserting into the local database. Unfortunately 10g added a sequence fetch to the "explain plan" code, and this is where the call would fail if you tried this remote approach on your version.
    Here's an idea I haven't tested. If you set up a database link from your production database to the read-only database, you could then do an "explain plan" in the production database for the SQL statement by changing every object reference in the SQL statement to "object@readonlydatabase". In most cases this will allow the optimizer to recognise the statement as "fully remote" and get the optimizer on the readonly database to create the execution plan - which would then be written to the production database.
    Regards
    Jonathan Lewis

  • Query faild against database that is opened in read only mode

    ORA-16000: database open for read-only access
    Hi ,
    I am quering against a database that been opened in read only mode (10g version)
    SQL> select controlfile_type,open_mode,database_role from v$database;
    CONTROLFILE_TYPE OPEN_MODE DATABASE_ROLE
    STANDBY READ ONLY PHYSICAL STANDBY
    Currently when selecting against this database
    i am getting the following error:
    SELECT PS_RF_PROVGRP_VW.SETID, PS_RF_PROVGRP_VW.PROVIDER_GRP_ID, PS_RF_PROVGRP_VW.NAME1,
    PS_RF_PROVGRP_VW.STATUS, PS_RF_PROVGRP_VW.SYNCID, PS_RF_PROVGRP_VW.SYNCDTTM
    FROM PS_RF_PROVGRP_VW
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-16000: database open for read-only access
    The owner of the object is PSSYS and i am running the queries as user INFORMIX.
    select owner,object_name,object_type from dba_objects where object_name ='PS_RF_PROVGRP_VW';
    OWNER OBJECT_NAME OBJECT_TYPE
    INFORMIX PS_RF_PROVGRP_VW SYNONYM
    PSSYS PS_RF_PROVGRP_VW VIEW
    User informix have "SELECT ANY TABLE" privilage
    In the source database (e.g: not the cloning one) the queries results are returning susseccfully ,
    and only in the clonning the database the problem exists.
    Does someone have an idea what the problem could be ?
    Thanks.

    Hi
    Object can become invalid, if the underlying objects are dropped/invalidated.
    So even if you create or validate the underlying objects these objects by themself do not become valid. You have to either make them valid or you should use it atleast one time as select/desc or any other query so that Oracle implicitly make it valid.
    Your source datatabase has valid synonym because after dropping/creating you must have selected that synonym atleast one, but this selection procedure would be after you copied your data to the target database.
    Regards

  • Database opens as read only

    I have installed the application of mine to the my computer and the other computer that are running on Windows 7 64 bit and all of the function are worked fine (adding the data to the database through system, delete a single data or clear all of the data from
    the database through system, edit the data in the database through system and look at whether the user has correct login username and password from the database through system).
    But, when I installed the application of mine to the other computer that are running on Windows 7 32 bit, all of the functions not worked (object reference not set to the instance of the object when I want to adding the data to the database), but the user can
    login to the system (look at whether the user has correct login username and password from the database through system), but all of the functions except that (login to the system), are not worked, and when I open the database, the database has been opened
    as read-only. This problem has been bugged me, because I have been searching what's is the problem and cannot find the problem at all.
    Anyone know what is the problem? Is it the operating system that restricted the database to be accessed by 64 bit only?
    Thank you very much!
    Your answer much appreciated!

    Hi,
    Change the database to
    Read-write mode.
    sathya - www.allaboutmssql.com ** Mark as answered if my post solved your problem and Vote as helpful if my post was useful **.

  • Database open for read-only access ORACLE

    while building a universe with a dblink betweens oracle databases, i try to create a derived table in the form
    select field1 from table@db_to_db2
    but i get the following message:
    Exception: DBD, ORA-16000: database open for read-only acces State N/A.
    I understand the statement "Set Transaction for read only"  must be set before any transaction during the session, but still dont know how to trigger it in bo universe designer.
    Can someone know how to solve it?

    I suggest you fill-in the BEGIN_SQL parameter on the Universe to turn on the read-only transaction.
    Here is an excerpt from the Universe Designer guide:
    The BEGIN_SQL parameter allows you to prefix SQL statements with the same parameters each time a SQL statement is generated.
    1. Open the "Universe Parameters" dialog box in Designer.
    2. Click the Parameter tab.
    3. In the "Parameter" list, select the BEGIN_SQL parameter and enter the
    appropriate prefix commands.
    4. Save the settings.
    5. Save the universe.

  • Make CA database read-only?

    Is it possible to make Firefox not accept any new Certificate Authorities without user interaction?
    Long story short, I have having a problem where Firefox is adding a CA to it's database that is hosing things up. The actual problem is with the cert that is being offered to me, and I am working with that system owner to fix the cert, but in the mean time I would like to have Firefox not ever load the CA into it's database. This new CA is added without the user being prompted at all. Simply visiting a specific website causes this new CA to be added to the list (but again, not trusted, just added to the list).
    By default when it is loaded the new cert has no permissions so it is not trusted, but the problem is the fact that the CA that is added is a duplicate name with another known good CA in my list and it causes things to go wacky when there are two with the same name (different signatures, different issuer, the only thing the same is the nickname).
    I know this isn't a problem with Firefox directly. In 99.9999% of cases when it adds an additional CA to the list it doesn't cause a problem at all because it is not trusted and it won't inherently allow the secure connection. But since fixing the real problem with the owner of the website is going to take a long time (weeks/months) I would like to put a band-aid on the symptom so that I can cut my maintenance of this topic down greatly.
    I am running Red Hat Enterprise Linux 5.9 with Firefox 10.0.12 (RHEL distributed Firefox).
    I could go into extreme detail to explain what is causing my problem, but the short question I have is "Is there a way to make the CA database read-only"?
    I have tried editing the permissions of cert8.db in ~/.mozilla/firefox/*.default/ to only be readonly (0400) vice read-write (0600) currently. However this causes Firefox to have kittens when I try to use anything that reads the CA list so I had to change it back.
    I have a hacky script to remove the CA using certutil, but since certutil uses the 'nickname' of the cert to decide which one to delete, and both the good cert and the bad cert have the same nickname I get worried I'll blow away the good one and not the bad one. So far it has consistently matched the bad cert, but I don't have enough confidence that it will do that every time to push it out to my users. If I could use certutil -D with something more specific than nickname (fingerprint, signature value, etc) I would be OK with that as well.
    I know there are options to restrict user changes to things like proxies and the such, is there a similar way to do it with CAs? about:config doesn't appear show anything that looks like it would do it.
    Can I have it prompt me when it tries to add a CA to the database and allow me to say yes/no?
    I am OK if the change is something that requires manual intervention if we do decide to add another CA to the list. Currently I am having to repair this problem multiple times a day and new CAs don't come all that often.
    Unfortunately, I can't simply upgrade to the latest Firefox as software restrictions are in place. I'm open to any ideas you may have.

    Seems unlikely two unrelated CA or sub-CA certs would have the exact same issuer name. Was the name too generic? If they actually related and I assume created by your organization perhaps you could simply add the "Integration CA 456" certificate to your root store -- assuming you trust it.
    Firefox validates certificate chains by looking up issuers, and in case of duplicates by default it grabs the one with the most recent "Not Before" date. There is a newer algorithm under development that won't stop at the first match but will continue to trying intermediate combinations until it finds a match or runs out of options. If you'd like to try it you need to add the boolean preference "security.use_libpkix_verification" and set it's value to true. This pref will not appear in about:config by default, but you can right-click in about:config to add it.

  • It is possible to apply redo while the standby is open in read only mode ?

    Hi,
    I am using Oracle 11g R2 (11.2.0.1.0)
    Step 1: Two node RAC is Configured.
    Step 2: One node Data Guard RAC is configured.( i,e Standby is one node RAC).
    Primary:
    SQL> select open_mode,database_role,PROTECTION_MODE,PROTECTION_LEVEL from v$database;
    OPEN_MODE DATABASE_ROLE PROTECTION_MODE PROTECTION_LEVEL
    READ WRITE PRIMARY MAXIMUM AVAILABILITY MAXIMUM AVAILABILITY
    Standby:
    SQL> select open_mode,database_role,PROTECTION_MODE,PROTECTION_LEVEL from v$database;
    OPEN_MODE DATABASE_ROLE PROTECTION_MODE PROTECTION_LEVEL
    READ ONLY WITH APPLY PHYSICAL STANDBY MAXIMUM AVAILABILITY MAXIMUM AVAILABILITY
    Question:
    I have not purchased active dataguard license.
    In my case In Data Guard RAC it is possible to apply redo while the database is open in read only mode?
    Thanks
    Solaiman

    876149 wrote:
    SQL> select open_mode,database_role,PROTECTION_MODE,PROTECTION_LEVEL from v$database;
    OPEN_MODE DATABASE_ROLE PROTECTION_MODE PROTECTION_LEVEL
    READ ONLY WITH APPLY PHYSICAL STANDBY MAXIMUM AVAILABILITY MAXIMUM AVAILABILITY
    "READ ONLY WITH APPLY" in V$DATABASE.OPEN_MODE means Active Data Guard is enabled.
    Oracle code cannot check if you have the right license: it is up to you to know which license you have for your database environments.

  • Database read only and an ERP

    I have a great database of 2 T opened read write. To open it read only I do:
    alter database mount
    alter database open read only
    isn't it?
    When I open it in mode read only I try to connect at an ERP with a user who has also write rights. Can work?
    Thank you,
    Mihaela

    user588072 wrote:
    When I open it in mode read only I try to connect at an ERP with a user who has also write rights. Can work?Which ERP are you working on ?
    I know Peoplesoft, and because of a lot of internal stuff (i.e. audit) the frontend application, developement tools... cannot be open for business when the database is open in read-only mode.
    Indeed, when starting the application server, or process scheduler..., they needs to be registered against the database, and consequently, need to update tables... which obviously cannot be done in read-only mode.
    Because every single ERP is unique with their own properties, you should ask to your ERP vendor.
    Nicolas.
    Edited by: N. Gasparotto on May 21, 2009 1:22 PM

  • MS Access 2007 opening in read only for a client

    Hi all,
    I have a client that is using a shared database with 6 other people in their office. He is the first one to move to Windows 7.
    He can open the database without any problem, but it opens as read only. I've seen others with similar issues in this and other forums. I wondered if there are solutions out there for this?

    Smorley,
    > I have a client that is using a shared database with 6 other people in
    > their office. He is the first one to move to Windows 7.
    >
    Please ask in novell.support.netware.client.winnt-2x-xp and tell us what
    version of the client you are using.
    - Anders Gustafsson (Sysop)
    The Aaland Islands (N60 E20)
    Novell has a new enhancement request system,
    or what is now known as the requirement portal.
    If customers would like to give input in the upcoming
    releases of Novell products then they should go to
    http://www.novell.com/rms

  • Generally when creating a Word file from either a Mac or Win7 pc and opening it on two different machines (either one first) it always prompts that the file is open and will be opened as read only. However opening a CSS file does not prompt that it is alr

    Generally when creating a Word file from either a Mac or Win7 pc and opening it on two different machines (either one first) it always prompts that the file is open and will be opened as read only.
    However opening a CSS file does not prompt that it is already open on or from any machine which is causing code edits to be lost.
    What we found from out testing:
    - The file can be saved from one user to the server and WILL NOT PROMPT on other machines until the saving machine has the Dreamweaver program closed completely
    - The file can be closed and  Dreamweaver minimised to the launch bar but it still will not register on other machines that it has been changed.
    - Also, until the  Dreamweaver program is closed on the machines, it will continue to open it's saved version of the file. 
    Example Scenario:
    - User 1 opens test.css (which is 2000 lines) and adds some code to the end of the file to bring it up to 2500 lines
    - Meanwhile User 2 opens test.css as well (opens as 2000 lines as User 1’s edits have not yet been saved) and adds in code to bring it to 2300 lines
    - User 1 saves his file and closes it - but  Dreamweaver is still open.
    - User 2 also saves his file and leaves  Dreamweaver  open.
    - The server will report the size and last edit of the file the same as User 2 as he was the last person to save it (and if you open from the Win7 Machine it will show as User 2’s 2300 line version)
    - If User 1 then open's the file again (from either the 'recent' in Dreamweaver OR clicking on the file directly in Finder...which version opens.... The version that User 1 saved! Not the true version on the server, but the version that User 1 edited and saved with 2500 lines in it.
    - Same for User 2, he will open 'his' version with 2300 lines in.
    Other information:
    - Files are opened directly from the server
    - Sometimes the users will save incrementally and re-open
    - Most of the time users will save incrementally and keep the files open
    - The users will never not save incrementally and just save when closing the file once finished
    - The users are usually working on the files all day
    - It is always the bottom lines of code that are lost. It could be a case of the two versions being mixed up and cutting off the newly added lines based on the line count (possibly).
    It is as if Dreamweaver is holding a cache of the version locally and then only properly looking back to the server when it has been completely closed. It is very difficult to see how the server is causing such an impact on these files, there are very few logs which are giving any indication to the root cause of the problems.
    Anyone know if this is a known issue?
    Is there a way that there can be a featured implemented on the server that doesn't allow another user to open a file if it is already open on another machine?
    Thanks

    Your server file handling has nothing, and really nothing to do with Adobe software. If files don't get locked for (over-)writing and/or lose connection to the program opening them, then your server is misconfigured. It's as plain and simple and that. Anything from "known file types"/ file associations not being set correctly, MIME types being botched, crooked user privileges and file permissions, missing Mac server extensions, delayed file writing on the server, generic network timeout issues and what have you. Either way, you have written a longwinded post with no real value since you haven't bothered to provide any proper technical info, most notably about the alleged server. Either way, the only way you can "fix" it is by straightening out your server and network configuration, not some magic switch in Adobe's software.
    Mylenium

  • When I converted a file from PDF to WORD.DOC it opened as Read Only and I'm unable to alter any of the text.  How can I solve this problem?

    When I tried to convert a file from PDF to WORD.DOC it opened as Read Only and I'm unable to alter any of the text.  How do I solve this problem?  I don't know how to change it from Read Only.

    Dear Sara
    Thank you very much for sending the converted file.  Yes, I am able to edit it - that will be very useful to me and I appreciate your help.
    Referring to your previous message when you said you'd converted via Acrobat and not Acrobat.com, I'm converting via Acrobat.com because that's the only option that is shown (how do I convert via Acrobat? - perhaps that would be more successful).  I'm using the Export PDF website, and the OCR is enabled to "Recognize text in English UK".  However, I've just tried converting a different LPA pdf form, this time for Health & Welfare https://www.gov.uk/government/uploads/system/uploads/attachment_data/file/245571/LPA114_He alth_welfare_LPA.pdf and again I have the same problem as before.  I've altered it from "Read only" and thought I'd then be able to enter text, but "Drawing Tools" is shown in the pane and I'm unable to enter anything onto the form - everything appears to be in images.  Also, the lettering on the heading of' page 1 has become jumbled, with the word "Public" overlaying the word "Guardian."  Any suggestions as to what it is I'm doing wrong would be welcome - I don't like to be beaten!
    Regards,
    Judith.

  • GPO settings - documents in sharepoint 2007 sometimes open in read-only mode - needs IE reset to fix

    Hi,
    We've got an intranet running on SharePoint 2007.
    We also enforce alot of group policies to our users.
    But there is a problem that keeps reoccuring:
    On random moments, when a user tries to edit a document on any random document library in SP 2007, it gets opened in read-only mode.
    The only temporary fix we found for this is resetting the IE settings in Internet Options -> 'tab' advanced -> Reset IE settings... and pressing Reset.
    We think it is some GPO setting that we have malconfigured or forgot to configure and we hope that someone could point us  in a direction to troubleshoot or even solve this.
    Thanks in advance for reading and providing help.
    Inkendaal

    Hello,
    I also suspect that there might be issue with IE plug-in so could you confirm that? you can also tell su what plug-in you see in IE.
    You might also want to look at this similar threads:
    http://stackoverflow.com/questions/19164313/sharepoint-opens-documents-in-read-only-mode-for-users-with-office-2010
    http://social.technet.microsoft.com/Forums/windows/en-US/a0849e73-d347-4d12-8424-9d5bb6bfb004/all-office-files-from-sharepoint-are-opened-read-only?forum=w8itproappcompat
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • SP2013 and Project 2013 - project files open in read-only mode with no options to edit only Save As

    Hi all,
    Environment:
    SharePoint 2013 (15.0.4420.1017)  RTM
    Windows 8 - Project 2013 (15.0.4433.1506) 32Bit
    Issue details:
    When opening .mpp files stored within SharePoint they are opened successfully within Project 2013 however they are opened in Read-Only mode with no options to edit/check out only Save As.  The
    same outcome is experienced if you click the document link within SharePoint or you chose to edit from the document menu. 
    Opening the file through windows explorer also opens only in read-only mode.
    To date we’ve tested the following
    Windows 7 – Office 2010 = working as expected
    Windows 8 – Office 2010 = working as expected
    Windows 7 – Office 2013 = opening as read only, no prompt to edit
    Windows 8 – Office 2013 – opening as read only, no prompt to edit
    Current thinking is that it is an issue with either the SharePoint Office Documents Class ActiveX control or Project 2013 itself interacting with SharePoint 2013.
    We have tested this in multiple SP2013 environments with the same outcomes.
    The workaround therefore is to save locally and then upload again which is not ideal.
    Unable to find an exact issue match to this.
    Any help with this appreciated.

    Hi Dan,
    For us after investigating this further it was found that using the document menu to edit or checkout and then edit results in the project file being opened in read-only mode. 
    The same issue was present for Visio files.
    Using the FILES ribbon menu results in the document being opened in edit mode successfully in both Project and Visio.
    Please note that we found that this issue only exists within document libraries where checkout is required to edit which was our case.  If checkout is not required the document
    menu can also be used as expected.
    Cheers,
    Dan

  • Word 2007 - documents open in read only mode

    Got a couple of users who are getting this issue. When they want to open some documents from a file share, it opens as read only (this is random)  - comes up with a prompt saying that this file is locked for editing by another user. If they close
    it, wait a few minutes then it opens fine and they can edit it. It has nothing to do with permissions and no one else has this document open.
    Any ideas?

    Thanks for the reply.
    Anything is welcome at this point.
    And yes, I did try both through PowerShell and through the Unlocker and the behavior is pretty much the same. If the item is checked in, there is no trace that it is locked, if I Check it Out (the only thing I can really do with it) it shows as "LongTerm"
    but then throws the same exception
    Unlocking...
    Error occurred. Details:
    Save Conflict
    Your changes conflict with those made concurrently by another user. If you want your changes to be applied, click Back in your Web browser, refresh the page, and resubmit your changes.
       at Microsoft.SharePoint.SPFile.CheckIn(String comment, SPCheckinType checkInType, Boolean bIsMigrate, SPUser modifiedBy)
       at Microsoft.SharePoint.SPFile.CheckIn(String comment)
       at ForceSPItemUnlock.UnlockerForm.UnlockButton_Click(Object sender, EventArgs e)
    The method UpdateItemCheckoutExpiration sounds insteresting though.
    "The more difficult something became, the more rewardant it was in the end"
    http://ftduarte.blogspot.com

Maybe you are looking for