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.

Similar Messages

  • 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

  • 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

  • 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

  • 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

  • While updating iphone, itune gave me error of 1015 which tells that my iphone is much better than from which that i am updating. But now my iphone is still in restoring mode how i can resolve this problem.please tell me

    while updating iphone, itune gave me error of 1015 which tells that my iphone is much better than from which that i am updating. But now my iphone is still in restoring mode how i can resolve this problem.please tell me

    I just had the same problem with my iphone, only thing i could do was completely restore factory settings, lost a bunch of pics and contacts in the process... hope you have better luck than me

  • HT204074 i forgot my ipad password,how i can open it?

    my ipad is locked,and i forgot the password how i can open it?

    If you cannot remember the passcode, you will need to restore your device using the computer with which you last synced it. This allows you to reset your passcode and resync the data from the device (or restore from a backup).
    If you restore on a different computer that was never synced with the device, you will be able to unlock the device for use and remove the passcode, but your data will not be present.
    You may have to force iPad/iPod into Recovery Mode
    http://support.apple.com/kb/ht1808

  • MY IPOD LOCKED, HOW I CAN OPEN WITH ITUNES

    please any body tell me how i can open my Ipod again

    Place the iPod in Recovery mode and connect to your computer and restore via iTunes.

  • How i can open my ipod if i forgot my code

    hi
    how i can open my ipod if i dont rememeber my code

    If you cannot remember the passcode, you will need to restore your device using the computer with which you last synced it. This allows you to reset your passcode and resync the data from the device (or restore from a backup).
    If you restore on a different computer that was never synced with the device, you will be able to unlock the device for use and remove the passcode, but your data will not be present.
    You may have to force iPad/iPod into Recovery Mode
    http://support.apple.com/kb/ht4097

  • How we can open pdf files in epic browser in English

    how we can open pdf files in epic browser in English
    message is appearing in epic browser during opening pdf files in browser " The adobreader /acrobat reader is running cannot be used to view pdf files , please exit and try again "

    I already fixed it. I never exited out of Firefox before deleting the mime file. it works now.

  • How i can open a zip file xlxsand the zip

    how i can open the files xlxs

    That kind of file format is based on Open XML Office 2007 & later Document File.
    You may have an application that could open the file, such as an iWorks application, or some other one. There also may be a way to save the file as something else more readily seen in another application, such as .pdf. If you have some versions of Word, it may be able to handle the file content, it could become a .doc, etc. If you have MS Office for Mac, it should be able to open or convert this.
    Some information and also an online file conversion is available from following site. I  have not tried it to see how it works, and as it would not be secure (not https:// page) consider that, too regarding content if uploaded to convert. While the converter itself may be marginal or worthless, the other free information may be helpful to know. And anything else there could be considered bait until proven otherwise. I do not know how valid the following link is, but you could search google for XLSX to Office for Mac (or Pages?) conversion information. Depends on what software your Mac has. LibreOffice or another free office-like suite could be downloaded to see if it'd handle the file format or conversion. Those site links are a search away, too. NeoOffice is another one.
    claims to convert the file to xls; has other info.
    http://www.zamzar.com/convert/xlsx-to-xls/
    Not sure if this helps...
    Good luck & happy computing!

  • How i can Open/run VBS file

    Hi ,
    How i can open or run external *.vbs file from director by
    pressing in o button on stage
    i try mostly every things like:-
    - open "XXX.vbs" with "cscript.exe"
    - baOpenFile(XXXXXXXXXXXXXXXXXXXXXXXXXXX)
    - open moviespath (XXXXXXXXXXXXXXXXXXXX)
    no things works could any body can help

    If you can double-click on a file and expect it to open, then
    baOpenFile
    is the best option (assuming you have BuddyAPI installed).
    The syntax is like this:
    baOpenFile(the moviePath&"XXX.vbs","normal", FALSE)
    Check out the BuddyAPI docs for more specifics on that or
    what the
    different parameters mean.
    If you need to specify which program to open the file with,
    then the
    open..with.. command if best. The biggest problem with that
    is that you
    need to include the entire pathnames like this:
    open the moviePath&"XXX.vbs" with
    "c:\myProgram\cscript.exe"
    Change the addresses to whatever is correct for your project.
    If you
    don't know the path to one or both of the programs, then you
    are kind of
    out of luck.

  • How i can open my ipad if the previous owner forget his apple ID

    how i can open my ipad if the previous owner forget his apple ID

    A valid bill of sales with serial number would be a good start.
    Probably a better solution would be have the previous owner check with Apple to find out what his old password was.
    Allan

  • I want to open a radio file that is .rm.  I get a message that says I need additional Quicktime software, but I cannot locate what I need to download on the QT website.  Anyone got ideas about how I can open this file?

    I want to open a radio file that is .rm.  I get a message that says I need additional Quicktime software, but I cannot locate what I need to download on the QT website.  Anyone got ideas about how I can open this file?

    Hi bert,
    the ".rm" extension is created by 'Real Media' application.
    The easiest way to use it is to install the 'Real Media' player:
    1. RealPlayer BBC.app
    2. RealPlayer 12.app
    I have both installed & use them sometimes.
    (The 'BBC' wersion doesn't have any adverts with-in the app.)

  • How i can open it ??

    Hello
    It has been a problem at my apple store
    I went to the phones shop and the technician told me that there is another thing looks like apple store and I can get the apps free everything was good until my iphone be come closed with an apple ID which is not mine and now I can’t get my iphone to be activated how I can open it???? 
    The technical told me that my iphone closed because the icloud its provide my info to not being hacked
    so Please help 

    moon d wrote:
    yes this is waht did i mean
    and now my iphone can't be activated
    Sorry, if you've jailbroken your iPhone, you're on your own.  Neither Apple nor this forum support jailbroken devices.

  • My i pad is disabled how i can open it

    how i can open my ipad it is disabeld
    urgent reply

    What to Do When Your iPad Won't Turn On
    http://ipad.about.com/od/iPad_Troubleshooting/ss/What-To-Do-When-Your-Ipad-Wo-No t-Turn-On.htm
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    iPad Frozen? How to Force Quit an App, Reset or Restart Your iPad
    http://ipadacademy.com/2010/11/ipad-frozen-how-to-force-quit-an-app-reset-or-res tart-your-ipad
    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
    iOS: Resolving update and restore alert messages
    http://support.apple.com/kb/TS1275
    iPad: Unable to update or restore
    http://support.apple.com/kb/ht4097
     Cheers, Tom

Maybe you are looking for

  • ERROR 1604 --- Windows XP 64 NOT Vista

    i just received my iPod touch 8gb last night, i won it on ebay. brand new, had not been opened. i know that apple, in its infinite wisdom has made iTunes not easily compatible with XP 64, but i read a simple tutorial on how to get Vistas 64-bit iTune

  • Mini-vga out for browser video

    How can I direct video from browser windows (when at www.livescorehunter.com) to the external video port? I only know that in VLC you can select external display in the menu.

  • Need to test db connectivity from Oracle 8.1.6 NT client

    Our applications run on Windows NT servers and connect to the Oracle db server through an Oracle 8.1.6 NT Client. The Oracle db server is running Oracle 8.1.6.2 on HPUX 11.0. I am using commands in a batch file to restart the application services on

  • Amua: Last.FM playing through iTunes

    I wanted to stream Last.FM using iTunes so I could share it with my network using airport express attached to my remote speakers. A short search turned up this free app called Amua. A quick download and install and it's working perfectly. Songs strea

  • Iphone configuration Utility Wifi proxy settings

    Hy Guy's I have a simple question, I have configured an ipad with the iphone configuration utility. Everything works fine, but the proxy in the wifi Policy doesn't appear on the device. It makes no difference if i choose Manual Proxy or Automatic Pro