Can't backup database in NOarchivelog mode

Hi there,
I get this error when I run this command from rman:
backup database
Starting backup at 19-JAN-11
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 01/19/2011 17:18:10
ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
please help.
Thanks in advance!

user13286861 wrote:
ok it finally shutdown cleanly.
I altered it in archivelog mode.
Now I can run a backup database command from rman?What does it cost to try it and see? What would be the worst thing that could possibly happen? An error message saying you can't do that?
And please note, this forum is not a chat line. Operators are NOT standing by. Posting a new message every two minutes to give an update on the fact that the database hasn't shut down yet is not necessary and not productive.
If there are a lot of pending transactions when you issue SHUTDOWN IMMEDIATE, they will all have to be rolled back as part of the shutdown. That can take some time. And if you bypass that with SHUTDOWN ABORT, they will have to be rolled back as part of instance crash recovery on the next startup, which will also take some time. Five minutes may feel like an eternity when you are sitting there waiting for your command to complete, but is no reason to panic.

Similar Messages

  • Restoring backup taken in NOARCHIVELOG mode

    Hi I have a test database in noarchivelog mode. The backup I am implementing involves:
    Shutting down the database in immedtiate mode. Taking a complete backup of the
    a) Datafiles
    b) Controlfiles
    c) Redo log files
    d) Parameter file
    e) Password file
    Now, when I want to restore in case of any media failure, I will copy all the above file to their respective locations.
    Here my question is that, do I require to open the database after restoring all the datafiles,controlfile and redo files(in particular) in the RESETLOG mode or as I will be overwriting the current useless redo log files with the backup redo log files, I can just open the database normally?
    What I am thinking is to open the database with alter database open
    Please comment with full explanation.

    >
    Hi I have a test database in noarchivelog mode. The backup I am implementing involves:
    Shutting down the database in immedtiate mode. Taking a complete backup of the
    a) Datafiles
    b) Controlfiles
    c) Redo log files
    d) Parameter file
    e) Password file
    Now, when I want to restore in case of any media failure, I will copy all the above file to their respective locations.
    Here my question is that, do I require to open the database after restoring all the datafiles,controlfile and redo files(in particular) in the RESETLOG mode or as I will be overwriting the current useless redo log files with the backup redo log files, I can just open the database normally?
    What I am thinking is to open the database with alter database open
    >
    Your thinking is right :-) You have chosen the simplest but not necessarily most efficient or reliable backup method. You simply get the whole database back from backup, so there is no resetlogs necessary. But keep in mind that you lose all modifications since your backup.
    Kind regards
    Uwe
    http://uhesse.wordpress.com

  • Database in noarchivelog mode, truncate command issued

    Database in noarchivelog mode, truncate command has been issued how to restore the table?
    FACTS:-
    1. DB In noarchivelog Mode
    2. Cannot enable flash back mode because of 1. above
    3. No exports available
    4. No backup's Available.
    Any thoughts ?

    Oracle Support/ Professional Services has a Data Unloader (DUL) and ORA-00600 has DUDE, both of which may be able to extract information from data files that are corrupted, where the control files are lost, etc.
    These are not, however, cheap utilities. Unless the data itself is really valuable, it is generally not a viable option.
    Justin

  • ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode

    Hi All,
    Need help from the gurus.
    Currently we are in state unable to do anything.
    Was using a database and all of a sudden it crashed. Tried to mount the database, open it, it failed. Also tried the recover and alter database open, even that failed. Errors are as follows.
    Errors in file e:\oracle\product\10.2.0 \admin\devrevdb\bdump\devrevdb_p000_2620.trc:
    ORA-00603: ORACLE server session terminated by fatal error
    ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
    ORA-00449: background process 'DBW0' unexpectedly terminated with error 1242
    ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
    In my spfile, the administrator has set only two control files and there is no mirroring and hence do not have another control file that will help me boot the db.
    Please let me know how I should go about it. I am only a timebeing person trying to carryout a db activity. Any help would be of great help.

    Hemant,
    thanks for the reply.
    I tried the way you suggested and it threw an error.
    ORA-01145: offline immediate disallowed unless media recovery enabled
    I searched and found that an additional tag of drop needs to be added to the command which you suggested.
    ALTER DATABASE DATAFILE '<filename>' OFFLINE DROP.
    i don't know what will the drop command have an effect ?
    i have copied the data file to another location. Since i don't know much, i just want to be sure of what im doing.
    if the above command is successfull, will it drop the datafile or the tablespace and i can no more use it. How can i use the copied datafile.
    Thanks,
    Sachin
    I

  • Changing database to noarchivelog mode during impdp

    Hi Guys,
    I am using Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production on RHEL5.
    I am in the middle on the impdp and I want my database to run on noarchivelog as it creates a lot of archivelogs.
    Will it be proper if I stop the import:
    e.g Import> STOP_JOB=IMMEDIATE
    and shutdown the database put the database on noarchivelog mode.
    then opne database and
    impdp hr/hr@mydb ATTACH=myfulljob Will these work fine?
    Or should I execute:
    alter system archive log stop;
    Please Help !!!!!!!!!!!

    Vinod Dhandapani wrote:
    Running the database in Noarchivelog mode means you should be ready to lose data incase there is any crash. I would recommend you to change the size of the redologs so that it will not create frequent archivelogs. Which does nothing about the space required for the archivelogs. If you are generating redo at the rate of 1gb/hour, you will consume archivelog dest space at the rate of 1gb/hour. Doesn't matter if those files are 10mb each or 100mb each.
    If space is the problem then use a shell script to move the archivelog to another location (Tape)....And hopefully that shell script is invoking rman to do the work, so that in the event of recovery, rman will know that backups were taken and where they are located.
    >
    Incase you want to convert the database from archivelog to noarchivelog, follow the steps provided in the following link.
    http://racadmin.blogspot.com/2011/06/convert-archivelog-mode-to-noarchivelog.html
    Thanks

  • Running a physical standby database in noarchivelog mode

    Primary Database: 2 node rac cluster, 11.2.0.2 GI and RDBMS
    Standby Database: single instance 11.2.0.2
    OS: AIX 7.1
    Hello,
    I'm in the process of implementing a data guard standby system. To make this system simpler to admin, I want to run the standby database in NOARCHIVELOG mode. This standby is used only as a mirror of production (to be copied to a 3rd site for separate user activity) and will never be switched to active mode. Maintaining another set of archive logs seems to be redundant to me and another point of failure, so I want to disable archiving. I wanted to ask if any of the DG experts on the forums have ever had experience with this? Does anyone know if this is recommended? I've searched the Oracle Data guard documentation online... it says that the primary obviously needs to be in archive mode, but I'm not seeing anything specific about the standby. Please let me know if anyone has experience with this.
    Thanks

    Hello again;
    If this is the case, then I have nothing to worry about here. Does that sound right to you?Yes.
    For this :
    b) monthly, shutdown this system and copy it to a 3rd site to host a separate set of business activityI would consider RMAN Duplicate in which case you may avoid the shutdown.
    And for this :
    resync the "mirror" with productionAll you have to do if DEFER the primary to the standby, then ENABLE and Data Guard will catch up.
    --- Will post a detailed example here in a moment.
    Right at the first of the year they wanted to work on our Primary server room ( Power ). What I did was switchover to the Standby but I kept log_archive_dest_state_2 on the new primary set to DEFER. Then I shutdown
    all the databases at the Primary site. At the end of work two days later I started the databases at the Primary site in standby mode. Switched log_archive_dest_state_2 to ENABLE. When the databases were back in SYNC
    I did another switchover and it was done. I used TAF and none of the users even noticed.
    Best Regards
    mseberg

  • System datafile block corruption - no backups and database in NOARCHIVELOG mode

    Dear All,
    Database version - oracle 11.1 Enterprise
    OS - RHELinux 5.8
    What are the options of recovering from physical block corruption when there are no backup available to perform block media recovery?
    V$DATABASE_BLOCK_CORRUPTION reports two segments corrupted (please see attached image for details).
    1 table in system datafile - sys_fba_barrierscn
    1 index - (applicaiton index)
    What are my options?
    I know there is a possibility that the database will not restart after a shutdown due to corruption in system tablespace.
    Database is in noarchivelog mode. So online backups are not possible and there aren't any full backups either.
    I am thinking of below,
    1. Run dbms_repair with fix_block_corruption. - Still database startup might fail?
    2. Shutdown the database and take offline full backup with RMAN MAXCorrupt option.
    Appreciate your suggestions and advises.
    Thanks
    Stefan

    Thanks Sybrand,
    Agree with your first two suggestions .
    Also scheduled a expdp job tonight. (Only backup like thing they had was a expdp cron, but until today all the large tables were failing due to small undo_retention).
    Yes. Flashback is not used. So hopefully it will not affect the a database restart i guess?
    Related to dbms_repair, I was referring to - http://askdba.org/weblog/2010/08/physical-corruption-ora-1578-part-3/.
    Where DBMS_REPAIR.FIX_CORRUPT_BLOCKS and DBMS_REPAIR.SKIP_CORRUPT_BLOCKS used.
    Which i think will not use any redo.
    Thanks
    Stefan

  • How to set the database in NOARCHIVELOG mode

    hellow world,
    I knewly joined this organization.
    Our database is very small < 4GB data.
    Database is running in ARCHIVELOG MODE.
    since we are not keeping any physical backup, so I opted to run the datbase in NOARCHIVELOG mode.
    For bringing the database in NOARCHIVE MODE, I simply changed the init.ora parameter LOG_ARCHIVE_START = FALSE and restart the database.
    offcourse the archiving stopped, but to my strange after 30 to 40 minutes my all log files filled an error message is being displayed to the server, saying
    log files are filled, waiting for the archiving, Oh my God, What has happened, All users came to my head, DATABASE HANGED, NOT RESPONSING.
    SIR, MY QUESTION IS
    WHAT FOR ALL LOG FILES WAITING?
    when i am saying NOARCHIEVE than
    please explain me, where i committed mistake. I am new to ADMINISTRATION.

    1. Not keeping any physical backup is all the more reason to stay in archivelog mode.
    2. You need to shutdown the database, startup mount, and issue 'alter database noarchivelog', the alter database open.

  • Start database in NOARCHIVELOG mode

    Hi,
    I would like to know if there is a way to set some oracle paramete so that each time database is restarted, it comes up in NOARCHIEVELOG mode.
    Regards,
    Andrija

    your answer is completelly wrong.
    Please check description of log_archive_start parameter in documentation:
    LOG_ARCHIVE_START
    Parameter type
    Boolean
    Default value
    false
    Parameter class
    Static
    Range of values
    true | false
    Real Application Clusters
    Multiple instances can have different values.
    LOG_ARCHIVE_START is applicable only when you use the redo log in ARCHIVELOG mode. It indicates whether archiving should be automatic or manual when the instance starts up.
    Values:
    true
    Indicates that archiving is automatic
    false
    Indicates that the database administrator will archive filled redo log files manually
    The SQL*Plus statements ARCHIVE LOG START or ARCHIVE LOG STOP override this parameter.
    In ARCHIVELOG mode, if all online redo log files fill without being archived, Oracle issues an error and suspends instance operations until the necessary archiving is performed. This delay is more likely if you use manual archiving. You can reduce its likelihood by increasing the number of online redo log files.
    To use ARCHIVELOG mode while creating a database, set this parameter to true. Normally, a database is created in NOARCHIVELOG mode and then altered to ARCHIVELOG mode after creation.

  • Recover database in NOarchivelog mode :)

    Hi all. How to recover a database wich is in noarchivelog mode? B-)
    Suppose,
    I have 3 redolog groups (with two members in each, the second members are located on another drive ). When first redo log group was 1/2 full I took a full backup. Then there were 2 switches from first to second and from second to third. Now the currnet redolog group - 3 (just started). At this point we faced media failer. How to roll forward changes using backup + online redologs?
    Edited by: Junior Oracle DBA on Oct 16, 2008 1:53 PM

    Restore your database cold backup (excluding redo logs).
    Then issue this command :
    RECOVER DATABASE USING BACKUP CONTROLFILE
    provide the names of the last ACTIVE / CURRENT Redo Logs in the database when Oracle prompts for an ArchiveLog.
    When Oracle has finished recovery to a consistent point in time, it will return to the command prompt without any error.
    Now issue this command :
    ALTER DATABASE OPEN RESETLOGS
    You would have a Complete Recovery.
    This is provided that Oracle had NOT cycled through all the Online Redo Logs since the time when the Cold Backup was taken. (If Oracle had cycled through all the Online Redo Logs, it would have overwrriten the oldest log because it wasn't in ArchiveLog mode).
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • I can't backup database plus archivelog

    Hi.
    I lost few previous archivelogs, and can't run "backup database plus archivelog;".
    That's what I got from rman:
    RMAN> backup database plus archivelog;
    Starting backup at 12-APR-09
    current log archived
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup plus archivelog command at 04/12/2009 13:06:14
    RMAN-06059: expected archived log not found, lost of archived log compromises recoverability
    ORA-19625: error identifying file /u01/app/oracle/backup/ORCL/archivelog/2008_08_04/o1_mf_1_11_49f37bn1_.arc
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    How to fix it ?
    Hi
    Run commands:
    RMAN> CROSSCHECK ARCHIVELOG ALL;
    RMAN> DELETE NOPROMPT EXPIRED ARCHIVELOG ALL;
    And then "backup database plus archivelog;"
    Edited by: val75 on Apr 12, 2009 11:31 AM

    After deleting expired archivelogs, backup is working fine...
    RMAN>delete noprompt expired archivelog all;
    RMAN>crosscheck archivelog all;
    RMAN>backup database plus archivelog;
    Actually, what is doing while issuing "crosscheck archivelog all" command????
    thanks

  • My database in noarchivelog mode. How I can open it?

    -bash-3.00$ sqlplus system as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jul 17 15:24:45 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select open_mode from v$database;
    OPEN_MODE
    MOUNTED
    SQL> startup;
    ORA-01081: cannot start already-running ORACLE - shut it down first
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01190: control file or data file 1 is from before the last RESETLOGS
    ORA-01110: data file 1: '/oracle/app/oradata/Arju/system01.dbf'
    SQL> !rman
    Recovery Manager: Release 10.2.0.1.0 - Production on Tue Jul 17 15:27:28 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    RMAN> connect target;
    connected to target database: ARJU (DBID=222697548, not open)
    RMAN> list backup;
    using target database control file instead of recovery catalog
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    1 Full 521.71M DISK 00:01:11 11-JUL-07
    BP Key: 1 Status: AVAILABLE Compressed: NO Tag: TAG20070711T105344
    Piece Name: /oracle/app/flash_recovery_area/ARJU/backupset/2007_07_11/o1_mf_nnndf_TAG20070711T105344_399vqr8f_.bkp
    List of Datafiles in backup set 1
    File LV Type Ckp SCN Ckp Time Name
    1 Full 598070 11-JUL-07 /oracle/app/oradata/Arju/system01.dbf
    2 Full 598070 11-JUL-07 /oracle/app/oradata/Arju/undotbs01.dbf
    3 Full 598070 11-JUL-07 /oracle/app/oradata/Arju/sysaux01.dbf
    4 Full 598070 11-JUL-07 /oracle/app/oradata/Arju/users01.dbf
    5 Full 598070 11-JUL-07 /oradata1/test02.dbf
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    2 Full 6.80M DISK 00:00:01 11-JUL-07
    BP Key: 2 Status: AVAILABLE Compressed: NO Tag: TAG20070711T105459
    Piece Name: /oracle/app/flash_recovery_area/ARJU/autobackup/2007_07_11/o1_mf_s_627648694_399vt445_.bkp
    Control File Included: Ckp SCN: 598070 Ckp time: 11-JUL-07
    SPFILE Included: Modification time: 11-JUL-07
    RMAN> restore database from tag TAG20070711T105344;
    Starting restore at 17-JUL-07
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=158 devtype=DISK
    skipping datafile 1; already restored to file /oracle/app/oradata/Arju/system01.dbf
    skipping datafile 2; already restored to file /oracle/app/oradata/Arju/undotbs01.dbf
    skipping datafile 3; already restored to file /oracle/app/oradata/Arju/sysaux01.dbf
    skipping datafile 4; already restored to file /oracle/app/oradata/Arju/users01.dbf
    skipping datafile 5; already restored to file /oradata1/test02.dbf
    restore not done; all files readonly, offline, or already restored
    Finished restore at 17-JUL-07
    RMAN> ^D
    Recovery Manager complete.
    SQL> select log_mode from v$database;
    LOG_MODE
    NOARCHIVELOG

    In 10gR2, you can drop a datafile, however the following restrictions apply:
    * The database must be open.
    * If a datafile is not empty, it cannot be dropped.
    * You cannot drop the first or only datafile in a tablespace.
         (This means that DROP DATAFILE cannot be used with a bigfile tablespace.)
    * You cannot drop datafiles in a read-only tablespace.
    * You cannot drop datafiles in the SYSTEM tablespace.
    * If a datafile in a locally managed tablespace is offline, it cannot be dropped.
    Otherwise, there is no SQL command that you can issue to delete all the files associated with a tablespace and still keep the tablespace.

  • Test cold backup database in archive mode

    Hello,
    We doing every week a cold backup from Oracle database, us database is in archive mode.
    We would like to test us cold backup in other server but the drive where we have to copy
    the datafiles and logs and rollback are different on this server.
    In the production server the oracle_home and the oracle_sid:
    ORACLE_HOME=E:\oracle\product\10.2.0\db_1
    ORACLE_SID=ENCY
    and on the other server to test the backup are:
    ORACLE_HOME=I:\oracle\product\10.2.0\db_2
    ORACLE_SID=ENCY
    Can somebody help me saying please the steps that I have to follow to restore the database in other server
    to test if the last cold backup is fine?
    My understand is copy the files(datafiles, log files, control files, pfile,...) in the new server, when everything is copied into new server,
    I have to:
    Modify the parameter CONTROL_FILES in the pfile
    Mount the database and rename the datafiles and redolog files
    Thanks.

    user641364 wrote:
    Hello,
    We doing every week a cold backup from Oracle database, us database is in archive mode.
    We would like to test us cold backup in other server but the drive where we have to copy
    the datafiles and logs and rollback are different on this server.
    In the production server the oracle_home and the oracle_sid:
    ORACLE_HOME=E:\oracle\product\10.2.0\db_1
    ORACLE_SID=ENCY
    and on the other server to test the backup are:
    ORACLE_HOME=I:\oracle\product\10.2.0\db_2
    ORACLE_SID=ENCYThe only difference between servers is different ORACLE_HOME path?
    All other directories are the same?
    >
    Can somebody help me saying please the steps that I have to follow to restore the database in other server
    to test if the last cold backup is fine?
    My understand is copy the files(datafiles, log files, control files, pfile,...) in the new server, when everything is copied into new server,
    I have to:
    Modify the parameter CONTROL_FILES in the pfile
    Mount the database and rename the datafiles and redolog filesYou shoud modify and rename only in case if path to datafiles, redologs, controlfiles, dump, archive log directories is different on test server.
    If that will be the same, then no need to rename.
    If it is different, then modify pfile in order to meet correct one paths.

  • ORA-00257: archiver error. and database is noarchivelog mode

    Hi,
    I've a Oracle 10.2.0.4 64bit database under Windows. The database has been from the beginning in noarchive log mode. How is it possible it's generating ora-0257 errors?
    regards,
    Ivan

    Helios and oradba,
    This is the output of archive list:
    SQL> archive log list;
    Database log mode No Archive Mode
    Automatic archival Disabled
    Archive destination d:\oradata\DBN\arch
    Oldest online log sequence 5249
    Current log sequence 5251
    On D: there is 10 Gbyte free space. And the error in the alert-log is:
    Thu Oct 06 08:30:37 2011
    Errors in file d:\oracle\product\10.2.0\admin\dbn\bdump\dbn_j000_3612.trc:
    ORA-12012: error on auto execute of job 143
    ORA-00257: archiver error. Connect internal only, until freed.
    Ivan

  • Can't backup databases

    I am trying to switch to a new device (9000) from my 8800. When I connect the 8800 there are only 3 databases 'visible' by the PC: Handheld agent and two others.The PC cannot 'see' any of the other databases such as the adress book and messages. At first I thought this was the software (desktop manager 4.6) but have connected both a 7230 and 9000 and there are tens of databases visible. It's almost asif something is blocking access to the data on the 8800. I would be grateful for any help. Thank you!

    All of the MySQL databases are visable within the phpMyAdmin application.  phpMyAdmin can export, import, manage the databases directly.
    To use the remote replication feature from the GUI, you need the databases visible in a share.  I'm sure that is possible through the CLI, but I'm not able to tell you how to do it.  Maybe someone else on the forum can help provide a solution.
    You can also use the rsync command in the CLI directly.
    Did you find any ideas on the phpMyAdmin website?  This must be a common task that someone has worked out a solution for.

Maybe you are looking for

  • &apos; and &quot; prob

    hello i got a massive problem so can someone please help me i am getting extrnal text but all the apostrophies and quoteation marks are coming out as ' and " i undersatnd that tis is happening as if the " or ' is in the string then it terminates earl

  • Problem with  date format "dd-MM-yyyy"

    hi all, i am using jdev 10.1.3.2 My application ADF Swing app. in my database i have a table employee which contains "birthday". my problem is that i must use date format"dd-MM-yyyy". i added this format into "formatinfo.xml" file. than i choose it i

  • Averaging output over one second while taking a 5Hz sample

    Aloha Everyone, I'm a engineering student tasked with understanding how to use SignalExpress2013 with a USB-6341 device. This is my situation. I have an anemometer that feeds a voltage to the USB device betwee 0-4V. I am taking this data at 5Hz. I ne

  • Manual image transformation: Losing top of the image

    With LR3 I often use the manual image transformations and observe an undesirable effect, which I cannot explain to myself: When changing the Vertical Perspective to a negative value, the image will be transformed to cope with the perspective as inten

  • Central User Administration (CUA): Remote Change of User

    Dear experts, I have following CUA scenario within my company: We have a CUA which provides a couple of R/3 daughter systems/clients. Further we have a HR system stand-alone-system which is also integrated in our CUA. I tried to create a ABAP on the