DataBase Open Problem

Hi Gurus ,
             I restored the online backup of our R3 server to different hardware with different file structure using brtools . But after restore the DB am not able to open the database . here with below i mentioned the error while starting the database .
SQL> startup
ORACLE instance started.
Total System Global Area 1627389952 bytes
Fixed Size                  2004648 bytes
Variable Size             822085976 bytes
Database Buffers          788529152 bytes
Redo Buffers               14770176 bytes
Database mounted.
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
So kindly

Hi,
Goto sql prompt
sqlplus u201C/ as sysdbau201D
Execute the below commands for recovery and open reset logs.
SQL> recover automatic database until cancel using backup controlfile;
SQL> alter database open resetlogs;
and try to open the Database.
Regards
Krishna

Similar Messages

  • ORA-01589: must use RESETLOGS or NORESETLOGS option for database open

    Hello,
    Yesterday i did a clean install of XE on my Windows 7 64bit laptop. The installation went well. Today when i tried to connect to the database i got ORA-01033 initialization or shutdown in progress.
    So i started sqlplus as sysdba and executed
    SQL> shutdown abort
    ORACLE instance shut down.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 1071333376 bytes
    Fixed Size 1388352 bytes
    Variable Size 620757184 bytes
    Database Buffers 444596224 bytes
    Redo Buffers 4591616 bytes
    Database mounted.
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
    The alert log is showing the following output
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_1 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =19
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up:
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production.
    Using parameter settings in server-side pfile C:\ORACLE\APP\ORACLE\PRODUCT\11.2.0\SERVER\DATABASE\INITXE.ORA
    System parameters with non-default values:
    sessions = 176
    spfile = "C:\ORACLE\APP\ORACLE\PRODUCT\11.2.0\SERVER\DBS\SPFILEXE.ORA"
    memory_target = 1G
    control_files = "C:\ORACLE\APP\ORACLE\ORADATA\XE\CONTROL.DBF"
    compatible = "11.2.0.0.0"
    db_recovery_file_dest = "C:\oracle\app\oracle\fast_recovery_area"
    db_recovery_file_dest_size= 10G
    undo_management = "AUTO"
    undo_tablespace = "UNDOTBS1"
    remote_login_passwordfile= "EXCLUSIVE"
    dispatchers = "(PROTOCOL=TCP) (SERVICE=XEXDB)"
    shared_servers = 4
    job_queue_processes = 4
    audit_file_dest = "C:\ORACLE\APP\ORACLE\ADMIN\XE\ADUMP"
    db_name = "XE"
    open_cursors = 300
    diagnostic_dest = "C:\ORACLE\APP\ORACLE"
    Wed Sep 07 09:26:50 2011
    PMON started with pid=2, OS id=4936
    Wed Sep 07 09:26:50 2011
    PSP0 started with pid=3, OS id=4756
    OER 7451 in Load Indicator : Error Code = OSD-04500: illegal option specified !
    Wed Sep 07 09:26:51 2011
    VKTM started with pid=4, OS id=5772 at elevated priority
    VKTM running at (10)millisec precision with DBRM quantum (100)ms
    Wed Sep 07 09:26:51 2011
    GEN0 started with pid=5, OS id=5424
    Wed Sep 07 09:26:51 2011
    DIAG started with pid=6, OS id=5928
    Wed Sep 07 09:26:51 2011
    DBRM started with pid=7, OS id=4000
    Wed Sep 07 09:26:51 2011
    DIA0 started with pid=8, OS id=3876
    Wed Sep 07 09:26:51 2011
    MMAN started with pid=9, OS id=6004
    Wed Sep 07 09:26:51 2011
    DBW0 started with pid=10, OS id=5252
    Wed Sep 07 09:26:51 2011
    LGWR started with pid=11, OS id=848
    Wed Sep 07 09:26:51 2011
    CKPT started with pid=12, OS id=2420
    Wed Sep 07 09:26:51 2011
    SMON started with pid=13, OS id=2424
    Wed Sep 07 09:26:51 2011
    RECO started with pid=14, OS id=2396
    Wed Sep 07 09:26:51 2011
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Wed Sep 07 09:26:51 2011
    MMON started with pid=15, OS id=2388
    starting up 4 shared server(s) ...
    ORACLE_BASE from environment = C:\oracle\app\oracle
    Wed Sep 07 09:26:51 2011
    ALTER DATABASE MOUNT
    Wed Sep 07 09:26:51 2011
    MMNL started with pid=16, OS id=1288
    Successful mount of redo thread 1, with mount id 2642331547
    Database mounted in Exclusive Mode
    Lost write protection disabled
    Completed: ALTER DATABASE MOUNT
    Wed Sep 07 09:26:56 2011
    ALTER DATABASE OPEN
    Errors in file C:\ORACLE\APP\ORACLE\diag\rdbms\xe\xe\trace\xe_ora_2212.trc:
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
    ORA-1589 signalled during: ALTER DATABASE OPEN...
    Wed Sep 07 09:41:54 2011
    db_recovery_file_dest_size of 10240 MB is 0.98% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.
    Can anybody tell me what to do to solve this problem?
    Kind Regards,
    D.

    DennisV wrote:
    Starting ORACLE instance (normal)What do you have in the alert.log above that line?
    OER 7451 in Load Indicator : Error Code = OSD-04500: illegal option specified !This is one of the symptoms reported earlier when running on unsupported platform (x64) and maybe there's some connection with your issue.
    See {thread:id=2278170}.
    Errors in file C:\ORACLE\APP\ORACLE\diag\rdbms\xe\xe\trace\xe_ora_2212.trc:What errors does trace file reveal?

  • Oracle error - Open problem

    hi friends,
    on accessing the database i get this following error:
    Open Problem - ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist Execution Problemnull
    How can i resove it...

    Here's a wild idea.... check the Oracle site/documentation for suggestions ?

  • 'alter database open resetlogs' didn't reset one of the datafiles

    I've spent the last three and a half weeks recovering an oracle database (11g 64-bit linux) because of a corrupt block in an online redo log (which I thought was being written to multiple locations). I restored the files, moving some of them around in the process; recovered to the latest possible point; moved files back to their proper location; ran 'alter database open resetlogs'; and one of the datafiles (from a bigfile tablespace) didn't get reset. I checked afterward, and it was marked offline. I do not remember placing the file offline, and cannot find such a statement in my last 300 sqlplus commands, which includes commands well before I renamed this file and the commands surrounding the rename.
    Restoring/recovering the database again will take too long, and is a remarkably poor option. Even if the database had opened correctly, the affected tablespace would not have been touched in the two or three minutes the database was open. Is there any way to force oracle to reset the logs again or otherwise fix this one file to mark it with the same date? Only allowing the resetlogs option after an incomplete recovery seems a poor restriction, especially, if files can slip through like this. I'm suspecting there is someway to just fix the checkpoint values for the tablespace, but I don't know where to begin. This particular file is <5% of the database, so if I have to do some sort of backup/restore with just it, that is probably doable.

    0: 11.1.0.6.0 on SUSE Linux Enterprise Server 10 SP2
    1: rman
    backup format '/opt/oracle/backup/mydatabase_%Y-%M-%D_%s_datafiles_%p' (database);
    backup format '/opt/oracle/backup/mydatabase_%Y-%M-%D_%s_archivelogs_%p' archivelog all delete input;
    backup format '/opt/oracle/backup/mydatabase_%Y-%M-%D_%s_control_%p' current controlfile spfile;
    2:
    restore database; --not sure what datafiles were restored with this
    restore datafile X; --several files were restored individually
    recover database until scn 1137554504; -- I verified that all datafiles were on the same checkpoint after this finished. Not having placed any files offline, I didn't bother checking that.
    3:
    SQL> alter database open resetlogs;
    Database altered.
    Elapsed: 00:04:20.34
    SQL> quit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    4: Nothing in the tablespace has been touched since I ran 'alter database open resetlogs;'. It also appears that oracle placed the file offline (without me telling it to do so) and left it that way through the resetlogs, leaving the tablespace unusable during the time it was opened. The only things that would be out of date are the 'RESETLOGS_CHANGE#', the 'CHECKPOINT_CHANGE#', and associated values. It's still at the last scn before the resetlogs, and the system has been in archivelog mode the entire time. This is all information that Oracle could be tracking, and from a program logic standpoint there is no reason why Oracle cannot tie together the changes before the resetlogs, the resetlogs command and the changes after the resetlogs into a new, continuous string of changes. I assume there is some such feature in a high-caliber program because I'm actually a programmer (who would have included such advanced tracking features), and I've become a DBA out of necessity. I admit to not knowing all of the oracle DBA commands, hence me posting here before doing the work of submitting a request to metalink.
    5: I consider it a poor restriction because it doesn't always reset the logs on all files, and as far as my knowledge goes it has rendered my 3.5 week recovery process WORTHLESS. I suppose it could cause numerous errors, especially if the database wasn't cleanly shut down, but having the ability to do something equivalent to datafiles that oracle skipped the process on seems quite useful in my situation. I guess the more fundamental problem to complain about is that it would apply such changes to only some of the files, while leaving others unusable, instead of just giving me an error that some files weren't going to be reset, but I think I'm done venting my Oracle frustrations for now.
    Am I stuck with a tablespace that I cannot bring online with the database open, or is there some sort of 'alter database datafile' command (or anything else) that I know nothing of that will fix the straggling file?
    Edited by: jbo5112 on Oct 5, 2009 3:33 PM -- obfuscated some file names to secure identity.

  • Database copy problem

    Hello,
    I have cloned the databse to a new server using a cold backup.
    I used alter database backup controlfile to trace as '/home/oracle/control.sql' on the source database and recreated the controlfiles on the target database.
    Everything works fine. The database opened and the data are ok. The problem is that in the database was an apex application and when i want to connect to the application from the http server it doesn't work. I get 404 error.
    What could be wrong? Am i missing something in the new controlfiles?
    Could be the problem that in the trace from which i created the new controlfiles there was this line: "CHARACTER SET EE8ISO8859P2"... maybe the application is using somthing else?
    Please advise.

    I have pointed dads to the new server with correct SID and it doesn't work.
    It does however work when i clone the database with using cold backup with controlfiles.
    But when i recreate controlfiles from trace, the apex application stops working.

  • Database Initialization Problem in Linux

    Hi
    This is the first time I am using oracle in linux.Over here we have installed Oracle 9.2.0.1.0 in RedHat linux 9 with a RAM of 512 MB and a hard disk of 80 GB.The problem is that when we start sqlplus as sysdba .I am saying "startup" to initialise the DB ....The process of starting was slow ...and finally I was getting "end-of-file communication" error ...I read somewhere in the Alert Log that we need to give atleast half the RAM size in the shmmax ...I did that and restarted the server ....Now when I follow the same procedure I am getting a different error in the SQL prompt
    ORA-01092: ORACLE instance terminated. Disconnection forced
    in the LOG file I am getting the lines
    Errors in file /usr1/app/oracle/product/9.2.0.1.0/rdbms/log/tsh1_ora_1140.trc:
    ORA-01403: no data found
    Error 1403 happened during db open, shutting down database
    USER: terminating instance due to error 1403
    Instance terminated by USER, pid = 1140
    ORA-1092 signalled during: ALTER DATABASE OPEN...
    Please help me in this regard ..as this is urgent ...Thanx

    There are the latest entries in the file alert_%^$%^.log
    I am getting a EINVAL problem here as I reverted back to the original value of my shmmax ...for previous entries where my shmmax was half the size of my 512MB ram I dint get that problem
    Fri May 13 16:36:40 2005
    Starting ORACLE instance (normal)
    Fri May 13 16:36:40 2005
    WARNING: EINVAL creating segment of size 0x0000000003000000
    fix shm parameters in /etc/system or equivalent
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    SCN scheme 2
    Using log_archive_dest parameter default value
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up ORACLE RDBMS Version: 9.2.0.1.0.
    System parameters with non-default values:
    processes = 50
    shared_pool_size = 4194304
    control_files = /usr1/app/oracle/oradata/TSH1/control/ora_control1, /usr1/app/oracle/oradata/TSH1/control/ora_control2
    db_block_buffers = 100
    log_buffer = 32768
    log_checkpoint_interval = 10000
    db_files = 80
    db_file_multiblock_read_count= 8
    global_names = TRUE
    parallel_max_servers = 5
    max_dump_file_size = 10240
    db_name = TSH1
    PMON started with pid=2
    DBW0 started with pid=3
    LGWR started with pid=4
    CKPT started with pid=5
    SMON started with pid=6
    RECO started with pid=7
    Fri May 13 16:36:43 2005
    ALTER DATABASE MOUNT
    Fri May 13 16:36:47 2005
    Successful mount of redo thread 1, with mount id 1076997467.
    Fri May 13 16:36:47 2005
    Database mounted in Exclusive Mode.
    Completed: ALTER DATABASE MOUNTFri May 13 16:36:47 2005
    ALTER DATABASE OPEN
    Fri May 13 16:36:47 2005
    Beginning crash recovery of 1 threads
    Fri May 13 16:36:47 2005
    Started first pass scan
    Fri May 13 16:36:47 2005
    Completed first pass scan
    8 redo blocks read, 5 data blocks need recovery
    Fri May 13 16:36:47 2005
    Started recovery at
    Thread 1: logseq 51, block 3, scn 0.511026
    Recovery of Online Redo Log: Thread 1 Group 1 Seq 51 Reading mem 0
    Mem# 0 errs 0: /usr1/app/oracle/product/9.2.0.1.0/dbs/log1TSH1.dbf
    Fri May 13 16:36:48 2005
    Ended recovery at
    Thread 1: logseq 51, block 11, scn 0.531072
    5 data blocks read, 5 data blocks written, 8 redo blocks read
    Crash recovery completed successfully
    Fri May 13 16:36:48 2005
    Thread 1 advanced to log sequence 52
    Thread 1 opened at log sequence 52
    Current log# 2 seq# 52 mem# 0: /usr1/app/oracle/product/9.2.0.1.0/dbs/log2TSH1.dbf
    Successful open of redo thread 1.
    Fri May 13 16:36:48 2005
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    Fri May 13 16:36:48 2005
    SMON: enabling cache recovery
    SMON: enabling tx recovery
    Fri May 13 16:36:48 2005
    Database Characterset is US7ASCII
    Updating 7.0.0.0.0 NLS parameters in sys.props$
    -- adding 9.2.0.1.0 NLS parameters.
    Fri May 13 16:36:49 2005
    Errors in file /usr1/app/oracle/product/9.2.0.1.0/rdbms/log/tsh1_ora_1107.trc:
    ORA-01403: no data found
    Error 1403 happened during db open, shutting down database
    USER: terminating instance due to error 1403
    Instance terminated by USER, pid = 1107
    ORA-1092 signalled during: ALTER DATABASE OPEN...

  • MS Access database opens read only

    An Access application with linked databases opens read only, but sometimes is editable. The system was developed in Access 10 on a Win 7 machine and migrated to a standalone laptop running Win 8 and Office 365.
    The Access 10 has no problem in operating the application. The Win 8 laptop randomly opens the application read only. I have reviewed Trust settings and there is no difference between the different laptops and systems. 
    Is this a common problem? Is it associated with Win 8? Is it associated with Access form Office 365? The application is crucial to the business and we are getting way behind because we don't have a reliable or useful system. Last year the same application
    ran satisfactorily on Win 7 and Access 10.
    I would welcome some thoughts leading too a solution.

    Hi,
    Did you get the error message like "You are trying to open a read-only database". If yes, this issue may be due to the permission of the Access database. If we migrate the Access database from Access 2010 to Access 2013, the user/account's permission
    may be changed with different Windows operation system. We need the full control permission of the Access database. To workaround this issue, follow these steps:     
    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.
    Please note: Make sure the user has full control of the root folder.
    If no, please tell us the whole error message, we'd like to do further troubleshooting.
    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.

  • Database restore problem with BRTOOLS

    Hi Experts,
    I am tring to migrate an SAP system from host A to host B.
    OS: windows server 2003 DB: oracle 10g
    Homogeneous migration.
    The database were backed up with BRTOOLS (whole database offline backup) to Location L:\QCO_BCK @hostA
    After that I moved folder QCO_BCK together with folder "sapbackup" from hostA to hostB, placed under F:\QCO_BCK
    And then start to perform "whole database reset" with BRTOOLS, but BRTOOLS can not verify the datafile/control files since they are under different location(hostA and hostB), So, I modified initQCO.ora and the BRTOOLS log file begprhrg.afd, all the relevant directories were changed from L:\ to F:\, after trying again, BRTOOLS performed well, all datafiles, redo logs, control files were copied to the right location, but problems encountered at step 7 - "open database and post-processing", BRTOOLS returns oracle error message:
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1: 'H:\oracle\QCO\sapdata5\system_1\SYSTEM.DATA1'
    database can be mounted but can not be open.
    I think this is because the control file is the old one which records the old file locations in hostA, in hostA, file SYSTEM.DATA1 actually located under H:\ but in hostB, it is copied under D:\
    My question is:
    1.  Is it obligatory by BRTOOLS that the file structure on hostB(new) must be totally the same as hostA(old)? if the file (for example) SYSTEM.DATA1 is located at H:\ of hostA, then, in new hostB, it must be located at the same directory H:\?
    2. Is there any workaround to open the database in this situation? like modifing the control file?
    Thank you in advance.
    Freshman

    Hi Sunny and Juan,
    Thanks so much for your valuable information for me.
    Yes, before restoring the DB, I used oraBRCopy tool to generate CONTROL.SQL and CONTROL.TRC file. But I didn't execute CONTROL.SQL after that. I'd like to know which timepoint should I execute it to generate the new control file? (file directory had already been corrected within CONTROL.SQL). is it before doing step 7: open database and post-processing, I should open a new command windows to enter SQLPlus to execute CONTROL.SQL? I tried to do this:
    SQL>conn / as sysdba
    Connected to an idle instance.
    SQL>@C:\CONTROL.SQL
    Oracle instance started
    Total system global area xxx bytes
    Fixed size xxx
    varianble size xxx
    Control file created.
    SQL>alter database open;
    alter database open
    Error at line 1
    ORA-01589 must use RESETLOGS or NORESETLOGS option for database open.
    SQL>alter databse open resetlogs;
    Error at line 1
    ORA-01092: oracle instance terminated.Disconnected forced.
    Strange thing is, in my last trial, when I execute step 7: open database and post processing, BRRECOVER gives me two sub options:
    1 ~ Reset logs option (reset_logs) ..[resetlogs]
    2 * Open databse command (command) .[alter database open resetlogs]
    the final result is:
    ORA-01139: Resetlogs option only valid after and incomplete database recovery.
    I am not familiar with oracle db and is totally confused/frastrated now... Please kindly help.
    Thank you very much
    Freshman

  • DB- put blocking when database opened with DB_READ_UNCOMMITTED

    Hi,
    Please excuse me if I am missing something obvious, but is there any reason why a DB->put would block just because a database file is opened with the DB_READ_UNCOMMITTED?
    I am using Berkeley DB 5.1.19 and I have been having some cursors block so I have added the DB_READ_UNCOMMITTED flag to my database file opens.
    With the flag on the first time I try and put a record it just blocks indefinitely. When I remove the flag the put goes through no problem.
    Gerard

    I have been doing some testing on this and have found the following.
    (1) I open the database with a DB_READ_UNCOMMITTED flag
    (2) I create a cursor with the DB_READ_UNCOMMITTED flag and read the file
    (3) I close the cursor with no problems (RC=0)
    (4) I try a put operation and it blocks
    (5) I run db_deadlock from the command line and the put returns DB_LOCK_DEADLOCK
    If I change the cursor to be opened with DB_READ_COMMITTED I get the same situation.
    If I comment out the DB_READ_UNCOMMITTED from the database open put does not block (as DB_READ_UNCOMMITTED is not honored for cursor if DB_READ_UNCOMMITTED is not specified for cursor).
    If I remove the DB_READ_UNCOMMITTED or DB_READ_COMMITTED from the cursor the put also does not block.
    From my reading the use of DB_READ_UNCOMMITTED should reduce the chance of a deadlock not guarantee a deadlock. Is this a bug or am I missing something.
    BTW, the doco for cursor open says that DB_BULK is an option but there is no DB_BULK defined in db.h.
    Any help greatly appreciated.
    Gerard

  • ORA-07445: exception encountered: core dump during database open

    Hi,
    after running OracleXE for 1 year on my notebook, I am running into a strange problem. During startup of the database ( opening the DB ) I get the following error:
    ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [__VInfreq__kmmlrl+6329] [PC:0x2D7DF01] [ADDR:0x8] [UNABLE_TO_READ] []
    I then tried to reinstall the DB but the problem persists. I have no clues what influences this error.
    Any ideas welcome

    The machine is a notebook which is remotely administrated. The admin says there has not been a major software update.
    The notebook has 2 GB of main memory and 4 GB of free disk space.
    The database was up and running since 1 year. The first time I ran into this problem, was when I dropped a user from database. But that for sure was not the reason, as I totally removed oraclexe and reinstalled it from scratch and the problem persists.
    Interestingly the installation doesn't fail, but the final startup, so it might be one of the last packages being installed which produces the error.
    I'm looking forward to find some more details.

  • Database termination Problem

    Hi every body ..plz help me on this..
    We are facing database termination problem in ECC6 production syste.
    Database: Oracle 10.2, O/S: Windows 2003. Spam  :27, SP level 13.
    Error is:
    Errors in file f:\oracle\p02\saptrace\background\p02_ckpt_6520.trc:
    ORA-00206: error in writing (block 3, # blocks 1) of control file
    ORA-00202: control file: 'D:\ORACLE\P02\ORIGLOGB\CNTRL\CNTRLP02.DBF'
    ORA-27072: File I/O error
    OSD-04008: WriteFile() failure, unable to write to file
    O/S-Error: (OS 33) The process cannot access the file because another process has locked a portion of the file.
    When we are performing backup then data base termination occuring freequently.
    Give right solution as early as possible.
    Thanks,
    Nani.

    Hi,
    Have a look at below snote which actually speaks about the oracle error codes
    Snote :  546006
    within the Snote it says :-
    " If you cannot access a database file (for instance a data file, control file or RedoLog) for whatever reason, an ORA-270xx appears. The actual cause comes from additional error messages (usually in the operating system) that occur on ORA-270xx. "
    And as per your last update
    " ORA-00206: error in writing (block 3, # blocks 1) of control file
    ORA-00202: control file: 'D:\ORACLE\P02\ORIGLOGB\CNTRL\CNTRLP02.DBF' "
    i think there is problem accessing the database control file. Hence you  are facing the above problem.
    I think if you recreate your control file i think, it should resolve the problem.
    Hope it will be helpful to resolve your problem.
    Rgds
    Radhakrishna D S

  • Database Open in Read Only Mode

    Hi
    I would like to open database in read only mode
    like
    SQL> startup mount
    SQL> ALTER DATABASE OPEN READ ONLY
    this will open database for read only mode for all user
    i want to give read write access on database to one user
    any idea how i can proccess
    Thanks
    Chetan

    Hi,
    Alter database open read only;
    this should work fine and everything will be in read only mode. Hence if any auditing is going on and audit_trial=db then it fails to open the database in read only mode.
    If you want to control only users to stop writing to it, you may remove tablespace quotas for those users. Also, you may control them through grants. Remove any current grants assigned to them or to roles through which the grants are assigned.
    Several ways to do this. If you tell us the particular scenario then we might help in getting a solution.
    Regards,
    Vasu.

  • Image open problem in nokia 5230

    Dear All,
    I have nokia 5230 mobile & i am using from last 10 months but from past few days i am facing problem regarding image/songs open problem.  whenever i trying to open image my phone gets hang & it shows nothing in it but i have 100 pics in memory card, same problem is with songs whenever i put some songs in memry card but songs gallery after refreshing shows nothing.
    Please help me to resolve this issue.
    Vipul

    im not sure what to do about the images but the same happened with the songs. here is waht i did:
    1. make sure you have the latest firmware installed (fw. 50).
    2. when it is installed copy all tracks to pc and install nokia ovi music.
    3. delete the folder called 'music' on your memory card.
    4. open ovi music and add songs to playlists and copy to device. this will create a new folfre called 'music' and the error should be fixed
    if that fails you should try a program called lcg jukebox as this is a much better music player 

  • Desktop.open() Problem

    I recently put together an application that relied heavily on the Desktop.open( ) method and several other methods from the Desktop class. However, all of a sudden the Desktop.open() does not work. I believe I read some where that this was due to the ShellExecute function or dll or something like that.
    However, since my app is targetted at the Windows platform I resorted to using windows Explorer to launch the system default applications for files using a the code below
    public static void openFile(File file) {
      try {
        Runtime runtime = Runtime.getRuntime();
        runtime.exec( "explorer.exe \"" + file.getAbsolutePath() + "\"" );
      } catch(IOException) {
        ioe.printStackTrace();
        JOptionPane.showMessageDialog(null, "Could Not Open File Location: " + file.getAbsolutePath());
    }The code works as expected, but my problem is that I am loosing cross-platform functionality.
    Can any point my to solution to this Desktop.open( ) problem, or probably add the my list platform dependent launch procedures so at least the code works on Windows,Linux and Mac.
    ICE

    Thanks Andrew,
    I've do a more simple example of the problem. I create two files on "\\fiuu\proyectosShared", one called "test.txt" and the other one called "te st.txt". I execute your exact source for the who paths whith these results:
    File f = new File("//fiuu/proyectosShared/test.txt");
    System.out.println(f + "  exists: " + f.exists());
    dt.open(f);
    RESULT:
    \\fiuu\proyectosShared\test.txt  exists: true
    (notepads opens the file)The second test does'nt work:
    File f = new File("//fiuu/proyectosShared/te st.txt");
    System.out.println(f + "  exists: " + f.exists());
    dt.open(f);
    RESULT:
    \\fiuu\proyectosShared\te st.txt  exists: true
    Exception in thread "main" java.io.IOException: Failed to open file:////fiuu/proyectosShared/te%20st.txt. Error message: El sistema no puede hallar la ruta especificada.
         at sun.awt.windows.WDesktopPeer.ShellExecute(WDesktopPeer.java:59)
         at sun.awt.windows.WDesktopPeer.open(WDesktopPeer.java:36)
         at java.awt.Desktop.open(Desktop.java:254)
         at DesktopTest.main(DesktopTest.java:14)
    (translation of error message: System can't find specified path)I've also done some tests with Desktop.browse(file.toURI), and some others with no success.
    Something curious: try to execute Runtime.getRuntime().exec("explorer " + f.getAbsolutePath) for a file that has thow white spaces on his name....
    File f = new File("//fiuu/proyectosShared/te  st.txt");//with two white spaces
    System.out.println(f + "  exists: " + f.exists());
    Runtime.getRuntime().exec("explorer " + f.getAbsolutePath());
    \\fiuu\proyectosShared\te  st.txt  exists: trueSystem says:
    Explorador de Windows
    La ruta '\\fiuu\proyectosShared\te st.txt' no existe o no es un directorio.
    Aceptar  
    (spanish version of File not found alert message)Note that in alert message one white space of filename is lost!
    Thanks again
    Edited by: pakomail on Nov 24, 2008 6:12 AM

  • Queries on DATABASE OPEN RESETLOGS and lost Control Files

    Hi I have some queries on RESETLOGS I would be keen to hear some answers on
    Q1. If I am doing a PITR and I end in ALTER DATABASE OPEN RESETLOGS, what happens about any Archived Redo Log files ( still in situ ) that were from the original source database but were at a future point in time ? Are they just ignored by any future restore ( since their log sequence number will be different ? ) and eventually over written or purged out ?
    Q2. When you create a new incarnation using RESETLOGS can you Flashback Database to before this ?
    Q3. If I have lost all my Control Files and have not created a backup control file or done a backup to trace of the control file, can I simply restore one of the actual control files from my last backup and use RECOVER DATABASE USING BACKUP CONTROLFILE AUTO; or will this only work with a bonafide backup control file ( i.e. one created via ALTER DATABASE BACKUP CONTROLFILE TO ‘<file spec>’; )
    Q4. When I issue RECOVER DATABASE USING BACKUP CONTROLFILE AUTO;
    Do I have to ALTER DATABASE OPEN RESETLOGS at the end of the recovery ? I have seen this documented but I am not sure why I would need to reset the redo logs and instead simply open the database ?
    Q5. If I am running the CREATE CONTROL FILE command from an ALTER DATABASE BACKUP CONTROLFILE TO TRACE;
    Do I need to use the NORESETLOGS or RESETLOGS ? How do I know which to use ?
    thanks,
    Jim

    Jimbo wrote:
    Hi I have some queries on RESETLOGS I would be keen to hear some answers on
    Q1. If I am doing a PITR and I end in ALTER DATABASE OPEN RESETLOGS, what happens about any Archived Redo Log files ( still in situ ) that were from the original source database but were at a future point in time ? Are they just ignored by any future restore ( since their log sequence number will be different ? ) and eventually over written or purged out ?
    what happens when you try it?
    Q2. When you create a new incarnation using RESETLOGS can you Flashback Database to before this ?
    what happens when you try it?
    Q3. If I have lost all my Control Files and have not created a backup control file or done a backup to trace of the control file, can I simply restore one of the actual control files from my last backup and use RECOVER DATABASE USING BACKUP CONTROLFILE AUTO; or will this only work with a bonafide backup control file ( i.e. one created via ALTER DATABASE BACKUP CONTROLFILE TO ‘<file spec>’; )
    what happens when you try it?
    Q4. When I issue RECOVER DATABASE USING BACKUP CONTROLFILE AUTO;
    Do I have to ALTER DATABASE OPEN RESETLOGS at the end of the recovery ? I have seen this documented but I am not sure why I would need to reset the redo logs and instead simply open the database ?
    what happens when you try it?
    Q5. If I am running the CREATE CONTROL FILE command from an ALTER DATABASE BACKUP CONTROLFILE TO TRACE;
    Do I need to use the NORESETLOGS or RESETLOGS ? How do I know which to use ?
    what happens when you try it?

Maybe you are looking for

  • Forced restart loop/not recognizing restarts

    Hello, when I power on my MacBook, I get the message You Need to Restart your computer, Hold the power button for several seconds or press the restart button. Naturally I hold down the power button image displayed the in the backround and sure enough

  • How to Install PSE13/32-Bit on Win7/64-Bit

    Because PSe13/64-Bit has no support for TWAIN scanners anymore, I was trying to install PSE13/32-Bit which includes TWAIN support. The installation of the 32-Bit version fails with: ERROR: This installer does not support installation on a 64-Bit Wind

  • Trouble Playing Audio Files

    I downloaded Itunes 7.0.2 and I am having a hard time playing some of my imported music..even some of the itunes store bought music. I have tried to re-install the new version and I am having the same problem. I checked the music folders and the song

  • After safari,java, flash player updates videos are not displaying on some sites

    youtube videos are fine, but other linked videos on blogs show only a white space, Anyone lese experiencing this?

  • General questions about Dreamweaver

    Hi, I'm somewhat a newbie to web development (mostly do windows application development) so I'm trying to determine the best tools to acquire to learn and work in. I have done a little in Visual studio with asp.net (2.0) so I'm somewhat familiar with