Cant open the database

hi
i ve two server... test1 and test2
i have shutdown instance and copy all files redo, control , and init from TEST1 TO TEST2 at same location.
now i cant up the database..
i tried to backup controlfile to trace of TEST1 and tried to open database on TEST2
but it i cant open the db
here is some example ...
SQL> CREATE CONTROLFILE REUSE DATABASE "AMD751" RESETLOGS NOARCHIVELOG
2 MAXLOGFILES 20
3 MAXLOGMEMBERS 5
4 MAXDATAFILES 999
5 MAXINSTANCES 1
MAXLOGHISTORY 292
6 7 LOGFILE
8 GROUP 1 (
9 '/oravl04/oradata/amd751/rdl/redo01a.log',
10 '/oravl03/oradata/amd751/rdl/redo01b.log'
11 ) SIZE 50M,
12 GROUP 2 (
13 '/oravl04/oradata/amd751/rdl/redo02a.log',
14 '/oravl03/oradata/amd751/rdl/redo02b.log'
15 ) SIZE 50M,
16 GROUP 3 (
'/oravl04/oradata/amd751/rdl/redo03a.log',
17 18 '/oravl03/oradata/amd751/rdl/redo03b.log'
19 ) SIZE 50M
-- STANDBY LOGFILE
20 21 DATAFILE
22 '/oravl04/oradata/amd751/dfl/system01.dbf',
23 '/oravl04/oradata/amd751/dfl/undotbs01.dbf',
24 '/oravl04/oradata/amd751/dfl/sysaux01.dbf',
25 '/oravl04/oradata/amd751/dfl/users01.dbf'
26 CHARACTER SET AL32UTF8
27 ;
-- Commands to re-create incarnation table
-- Below log names MUST be changed to existing filenames on
-- disk. Any one log file from each branch can be used to
-- re-create incarnation records.
-- Recovery is required if any of the datafiles are restored backups,
-- or if the last shutdown was not normal or immediate.
RECOVER DATABASE USING BACKUP CONTROLFILE
-- Database can now be opened zeroing the online logs.
ALTER DATABASE OPEN RESETLOGS;
Control file created.
SQL> SQL> SQL> SQL> SQL> SQL> SQL> ORA-00279: change 2797632 generated at 09/22/
2009 12:36:30 needed for thread 1
ORA-00289: suggestion : /oravl01/oracle/10.2.0.1/dbs/arch1_1_698243790.dbf
ORA-00280: change 2797632 for thread 1 is in sequence #1
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
ORA-00308: cannot open archived log '--'
ORA-27037: unable to obtain file status
SVR4 Error: 2: No such file or directory
Additional information: 3
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
auto
ORA-00308: cannot open archived log 'ALTER'
ORA-27037: unable to obtain file status
SVR4 Error: 2: No such file or directory
Additional information: 3
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
auto
ORA-00308: cannot open archived log
'/oravl01/oracle/10.2.0.1/dbs/arch1_1_698243790.dbf'
ORA-27037: unable to obtain file status
SVR4 Error: 2: No such file or directory
Additional information: 3
ORA-00308: cannot open archived log
'/oravl01/oracle/10.2.0.1/dbs/arch1_1_698243790.dbf'
ORA-27037: unable to obtain file status
SVR4 Error: 2: No such file or directory
Additional information: 3
SQL> select open_mode from v$database;
OPEN_MODE
MOUNTED
SQL> alter database noarchive log;
alter database noarchive log
ERROR at line 1:
ORA-02231: missing or invalid option to ALTER DATABASE
SQL> alter database noarchivelog;
Database altered.
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: '/oravl04/oradata/amd751/dfl/system01.dbf'
============================================
============================================
specially
'/oravl01/oracle/10.2.0.1/dbs/arch1_1_698243790.dbf' this file don exist on test1 or test2
any idea guys how to open db in this situations.....
Edited by: jignesh kankrecha on Sep 22, 2009 2:24 AM

SQL> connect / as sysdba
Connected to an idle instance.
SQL> startup nomount;
ORACLE instance started.
Total System Global Area 687865856 bytes
Fixed Size 1981192 bytes
Variable Size 369100024 bytes
Database Buffers 314572800 bytes
Redo Buffers 2211840 bytes
SQL> CREATE CONTROLFILE REUSE DATABASE "AMD751" RESETLOGS NOARCHIVELOG
2 MAXLOGFILES 20
3 MAXLOGMEMBERS 5
4 MAXDATAFILES 999
5 MAXINSTANCES 1
6 MAXLOGHISTORY 292
7 LOGFILE
8 GROUP 1 (
9 '/oravl04/oradata/amd751/rdl/redo01a.log',
10 '/oravl03/oradata/amd751/rdl/redo01b.log'
) SIZE 50M,
GROUP 2 (
11 12 13 '/oravl04/oradata/amd751/rdl/redo02a.log',
14 '/oravl03/oradata/amd751/rdl/redo02b.log'
15 ) SIZE 50M,
16 GROUP 3 (
17 '/oravl04/oradata/amd751/rdl/redo03a.log',
18 '/oravl03/oradata/amd751/rdl/redo03b.log'
19 ) SIZE 50M
20 -- STANDBY LOGFILE
21 DATAFILE
22 '/oravl04/oradata/amd751/dfl/system01.dbf',
23 '/oravl04/oradata/amd751/dfl/undotbs01.dbf',
24 '/oravl04/oradata/amd751/dfl/sysaux01.dbf',
25 '/oravl04/oradata/amd751/dfl/users01.dbf'
26 CHARACTER SET AL32UTF8
27 ;
Control file created.
SQL> recover database until cancel;
ORA-00283: recovery session canceled due to errors
ORA-01610: recovery using the BACKUP CONTROLFILE option must be done
SQL> RECOVER DATABASE USING BACKUP CONTROLFILE
ORA-00279: change 2797631 generated at 09/16/2009 18:13:06 needed for thread 1
ORA-00289: suggestion : /oravl01/oracle/10.2.0.1/dbs/arch1_70_681310441.dbf
ORA-00280: change 2797631 for thread 1 is in sequence #70
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
CANCEL
Media recovery cancelled.
SQL> ALTER DATABASE OPEN RESETLOGS;
ALTER DATABASE OPEN RESETLOGS
ERROR at line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: '/oravl04/oradata/amd751/dfl/system01.dbf'
HI HEMANT THIS WAT I GOT AFTER RUNNING COMMANDS....
IS THERE ANY BAD SEQUENCE OF COMMANDS ????

Similar Messages

  • There was an error opening the database for the library "/Volumes/Aperture Master/Unknown/Aperture Pictures/Aperture Library.aplibrary".    what do I do now?

    There was an error opening the database for the library “/Volumes/Aperture Master/Unknown/Aperture Pictures/Aperture Library.aplibrary”.
    What do I do now.  I cant access the photos on the drive.  The only option is Quit?  what ??????????
    Please help ready to throw computer and drive out the window.  I have a deadline of next Tuesdaythe 11th.

    Start Aperture while holding down the option and command keys. You'll get a Photo Library First Aid dialog as below.
    Try Repair Database first. If that doesn't work, then redo the startup with option-command and try Rebuild Database. These repair processes can take a long time with a larger library.
    If all that fails, you can try creating a new library from scratch and then try importing the old library into the new. This sometimes can fix problems that can't be repaired the First Aid way.
    Also make sure the drive where the Aperture library is located is working properly. You can check it with Disk Utility app.

  • HELP! Safari says cant open the page, too many redirects occurred trying to open (web address) when trying to access research paper sites - doesnt happen elsewhere

    Hi there,
    Ive been trying to open research articles through google scholar, when i click to open the page it doesnt load and comes up with Safari cant open the page, too many redirect occured trying to open (then the web address). This might occur if you open a page that is redirected to open another page which is then redirected to open the original page.
    This also happens when i access the databases through my universitys library web page - and it still wont let me load even the actual webpage let along particular article.
    This is happening on my ipad as well - but this is not happening on my iphone or on my other lap top which is not an APPLE.
    i know its not my internet as i used the same internet on the other comp and i also used it as wifi and without out wifi on my iphone.
    PLEASE HELP! i need to study!!
    thanks

    Safari 6
    Empty Caches
    Safari > Preference > Advanced
    Checkmark the box for "Show Develop menu in menu bar".
    Develop menu will appear in the Safari menu bar.
    Click Develop and select "Empty Caches" from the dropdown.
    Remove website data.
    Safari > Preferences > Privacy > "Remove All Website Data".
    http://support.apple.com/kb/TS3320

  • TS2518 Help, I had aperture open and working on a image and did not have a battery in and bumped the power off. As a result it will not open my master, it is locked. when I try to open that Library  it says There was an error opening the database for the

    Help, I had aperture open and working on a image and did not have a battery in and bumped the power off. As a result it will not open my master, it is locked. when I try to open that Library  it says There was an error opening the database for the library. I have tried every thing. I updated the other libr but now it will not open the main to update. What do I do?

    Try starting Aperture with the command and option keys held down.  You'll get 3 options.
    Try each, starting at the top, in order, checking after each to see if it fixes the issue.

  • En-Countering Error While trying to Open the Database

    Hi Everybody,
    Database Version:Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
    Os: Solaris9
    This is one of our Test Database which is running in No-Archivelog Mode and having no backup of Physical Datafiles.
    Due to some Server issues the Database was Shutdown Abnormally after which when we are trying to open our DB it showing the following Error......
    ORA-01172: recovery of thread 1 stuck at block 13447 of file 216
    ORA-01151: use media recovery to recover block, restore backup if needed....
    we are also not able to perform a media recovery since the database is running in No-Archivelog Mode....
    The only way we know to bring up the Database is making the Datafile=216 offline and opening the Database...
    In there any workaround in order to resolve the Block corruption of Data-File 216........Since we will be needing the data located in datafile 216.
    Any help Appreciated,
    Thanks & Regards,
    Prosenjit Mukherjee

    DBVERIFY: Release 9.2.0.4.0 - Production on Thu Feb 26 15:37:47 2009
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    DBVERIFY - Verification starting : FILE = /sts/oradata/npm/sts/STPUSER10.dbf
    DBVERIFY - Verification complete
    Total Pages Examined : 98304
    Total Pages Processed (Data) : 97673
    Total Pages Failing (Data) : 0
    Total Pages Processed (Index): 1
    Total Pages Failing (Index): 0
    Total Pages Processed (Other): 570
    Total Pages Processed (Seg) : 0
    Total Pages Failing (Seg) : 0
    Total Pages Empty : 60
    Total Pages Marked Corrupt : 0
    Total Pages Influx : 0
    This is the Output of the Dbverify Utility,but as i can see "Total Pages Marked Corrupt : 0"
    its telling me that neither of the blocks are corrupted......
    Earlier when i was trying to do a Recovery it was giving me the Following Error....
    ORA-01172: recovery of thread 1 stuck at block 13447 of file 216
    ORA-01151: use media recovery to recover block, restore backup if needed.........

  • "There was an error opening the database for the library "~/Pictures/Apert"

    Hey everyone,
    There's already another discussion thread about this at the link below, but the problem was never actually resolved. http://discussions.apple.com/thread.jspa?threadID=2343014&tstart=0&messageID=116 67261#11667261
    So I stumbled across this problem where Aperture 3 will display the following error when opening the image library.
    There was an error opening the database for the library “~[path]/Aperture Library.aplibrary”.
    One user suggested navigating to the actual library, and ⌘⌥-clicking the library to open it with the Aperture Library First Aid dialog. This however, did not work for me. I still received the error messages upon ⌘⌥-clicking the library.
    Here's a little hack I discovered for those of you still struggling. It doesn't fix the problem (leaves quite a large dent remaining actually), but hopefully someone can cultivate what little I discovered.
    ⌥-click Aperture (not the library)
    You should get to the library selection dialog box. Create a new library (bottom right corner) and remember the location of the new library. Put a few random pictures in the new one.
    Close Aperture
    ⌃-click both the old and new libraries and "Show Package Contents."
    Open the folder "Database" in both libraries.
    Cross check the folders to see if the old library is missing files that are in the new library. If your old library is missing some files (mine was), drag the missing files from the new library to the old one.
    Close both folders.
    ⌘⌥-click the old library.
    NOW, I got the Aperture Library First Aid dialog.
    Rebuild the library (3rd option)
    Wait a while.
    Aperture should open up with a folder named "Recovered Folder." Within this folder will be a SINGLE project named "Recovered Project" with ALL the images from your old library. There may be a few albums there too, but mine were all empty so it didn't matter in my case. To my knowledge, I lost all the adjustments I performed too.
    This is as far as I got. I have much of my library backed up, so I only needed to copy the most recent photos into the backup. I am NOT reorganizing and re-editing pictures in this one!
    As Aperture is a photo-organizing and photo-editing software, I understand that this by no means fixes the problem, since you lose all organization and editing. But it enables one to at least view the images lost. Hopefully a more knowledgable hacker else can figure out how to fix this completely. Unfortunately, I simply don't have the time to continue messing with this.
    Good luck to anyone else having issues! I understand the frustration you must be facing, its freaky having years worth of images simply disappear! After this incident, I'm definitely going to configure Time Machine to perform more frequent backups, since my latest backup was already a couple weeks old.

    Hey All,
    To my horror I have a similar problem and your solution didn't seem to help. To be specific, I get the error:
    "There was an error opening the database for the library “~/Pictures/Aperture Library_2.aplibrary" Everytime I try to run Aperture. This happened because my Apple computer shut off completely (due to bad battery) while importing photos from a memory card.
    I've tried "option + command" while clicking the aperture application and that gave me the same error message without any other option except to quit the program. I tried "option + command" and clicked the library package but that didn't work either. I tried creating a new aperture library, opening it which I did successfully, and then switching to my main one but that didn't work.
    Does anyone know away to get it to work again and have the edits still there?
    I'm a professional photographer and have thousands of photos or so in the library so this is distressing. The master files for the photos are located on an external hard drive, but I'm not sure how to access them in aperture. Are all the edits on the photographs are in the external hard drive or the aperture library. Is there any other way to resolve this issue without losing the edits?
    Does apple have a support number I can call? Any help would be greatly appreciated!!

  • I have three aperture libraries. But just recently two of them (old from 2011) will not open. I get the following error: There was an error opening the database for the library "~/Pictures/Family IIi.aplibrary". Please help, thanks

    I have three aperture libraries. But just recently two of them (old from 2011) will not open. I get the following error: There was an error opening the database for the library “~/Pictures/Family IIi.aplibrary”. Please help, thanks

    Are all three libraries under your account or are they in different accounts? Any other errros on the system?
    Start by doing the permission repair and library repair steps in Aperture 3: Troubleshooting Basics

  • Error while opening the database.--urgent---pls help...

    Hi,
    Got the below error while opening the database.
    Database version is :10.1.0.4.0
    database is in noarchive log mode.
    the database is coming in to no-mount state and mount state quite easily but not able to open the database.
    Got the below error while opening the database.
    ORA-00600: internal error code, arguments: [4194], [37], [31], [], [], [], [], []
    ORA-00600: internal error code, arguments: [4194], [37], [31], [], [], [], [], []
    Mon Sep 29 15:32:39 2008
    Errors in file /xxx/udump/aaa_ora_18737.trc:
    ORA-00600: internal error code, arguments: [4194], [37], [31], [], [], [], [], []
    ORA-00600: internal error code, arguments: [4194], [37], [31], [], [], [], [], []
    Mon Sep 29 15:32:41 2008
    DEBUG: Replaying xcb 0xc0000000350c1c18, pmd 0xc0000000353b21f0 for failed op 8
    Doing block recovery for file 2 block 9483
    No block recovery was needed.
    on Sep 29 15:34:01 2008
    Errors in file /xxx/udump/aaa/bdump/aaa_pmon_18723.trc:
    ORA-00600: internal error code, arguments: [4194], [37], [31], [], [], [], [], []
    Mon Sep 29 15:34:04 2008
    Errors in file /xxx/udump/aaa/bdump/aaa_pmon_18723.trc:
    ORA-00600: internal error code, arguments: [4194], [37], [31], [], [], [], [], []
    PMON: terminating instance due to error 472
    Instance terminated by PMON, pid = 18723
    Please help me....................

    Hi..
    This ORA-600 refers to a mismatch has been detected between Redo records and rollback (Undo) records.Is better to lock a call with oracle support.Secondly, apply latest patch on the DB.
    I had expereiced the same error, but my DB was in open mode, so i created a new undo tablespace and changed the undo_tablespace parameter and it worked.
    Anand

  • Unable to open the database

    I am not able to open the database: Following are the facts and things I have done so far
    1)     database is in NONARCHIVE mode
    2)     database backed up by using datafiles, controlfile, logfiles etc
    3)     datafiles, controlfile and logfiles are out of sync because the time of disk back at night a cron job also update a datafile. So one particular datafile is out of sync.
    4)     When we start the database following error comes
    a.     ora-01207:file is more recent than controlfile - old controlfile Question1: Is it because i did a hot backup and whenever there is a write, the controlfile ...
    5)     when we try use ‘alter database recover we get following
    a.     ora-01157: connot identify/lock data file 21 – DBWR file
    b.     ora-01110: data file 21 ‘…../…/../o2_mf_sys_undo_zvt7qxkf_.dbf
    6)     http://forums.oracle.com/forums/thread.jspa;jsessionid=8d92200830de9b3de878352a40c888bc8a2b521b29d5.e34QbhuKaxmMai0MaNeMb3eKaN90?messageID=1374408&#1374408
    7)     So far I have tried
    a.     RECOVER DATABASE UNTIL CANCEL & ALTER DATABASE OPEN RESETLOGS – doesn’t work
    b.     Alter database archivelog – doesn’t work
    please let know if some had any solution

    Tanwar
    Do the following and you should be fine with your database.
    The error indicates that oracle process cannot open more locks than allowed.
    I assume you are on aix/unix environment
    as oracle user run this command
    #ulimit -a
    and verify the settings. You may want to set all the setting to unlimited as below.
    Some commands may not work depending on your OS, dont worry.
    ulimit -t unlimited
    ulimit -f unlimited
    ulimit -d unlimited
    ulimit -s unlimited
    ulimit -m unlimited
    ulimit -c unlimited
    ulimit -n unlimited
    ulimit -v unlimited
    If still not resolved, ask you system adminitrator to check security setting for oracle user under /etc/security/limits.
    Change the values for oracle user to -1 which means unlimited.
    logout from oracle user session and login again, check ulimit -a. Start your instance and you are good now.
    I have seen this issue many times on many system.
    Good luck.

  • I am a OS10.7.4 user. yesterday i bought a Lacie external hard disk but error message appear said " You cant open the applicant LaCie setup assistant because PowerPC applicants are no longer support". please help me how to connect my mac with Lacie??

    i am a OS10.7.4 user. yesterday i bought a Lacie external hard disk but error message appear said " You cant open the applicant LaCie setup assistant because PowerPC applicants are no longer support". please help me how to connect my mac with Lacie??

    You do not need the Setup Assistant; in fact, you do not need any software on an external hard drive. I have two LaCie's; I erased the drive as soon as I plugged it in. You will need to format it anyway because most hard drives come Windows formatted. So, if you only want to use it with the Mac, highlight it in Disk Utility and choose Mac OS Extended (Journaled) as the format and the GUID Partition scheme under Options. While doing that, it will erase the drive (and get rid of the LaCie software) - once finished, your drive is ready to use for Time Machine or any other backup plans you have for it.

  • What is the best way to copy aperture library on to external hard drive? I am getting a message that say's "There was an error opening the database. The library could not be opened because the file system of the library's volume is unsupported".

    What is the best way to copy aperture library on to external hard drive? I am getting a message that say's "There was an error opening the database. The library could not be opened because the file system of the library's volume is unsupported". What does that mean? I am trying to drag libraries (with metadata) to external HD...wondering what the best way to do that is?

    Kirby Krieger wrote:
    Hi Shane.  Not much in the way of thoughts - - but fwiw:
    How is the drive attached?
    Can you open large files on the drive with other programs?
    Are you running any drive compression or acceleration programs (some drives arrive with these installed)?
    Can you reformat the drive and try again?
    Hi Kirby,
    I attached the UltraMax Plus with a USB cable. The UltraMax powers the cable so power is not an issue. I can open other files. Also, there is 500GB of files on the drive so I cannot re-format it. Although, I noted I could import the entire Aperture Library. However, I do not want to create a duplicate on my machine because that would be defeating the purpose of the external drive.
    Thanks,
    Shane

  • When I try to open the Iphoto it keeps on asking for the software update but when I click on the software update tab, it says that all updates are up to date. I still cant open the Iphoto, what should I do?

    When I try to open the iphoto it keeps on asking for the software update, but when I click on the software update it says that all the software in the computer are up to date. I still cant open the iphoto, what should I do?

    How old is your Mac? If it's very recent you need to update via the App Store
    If you purchased at the App Store you need to update via the App Store
    Otherwise you update via Softare Update
    If you have moved iPhoto from the default location (i.e. into a Folder) then the updater won't find it. Move it back.
    If you have renamed iPhoto, the updater won't find it. Change it back.
    Regards
    TD

  • I downloaded Aperture and now I'm getting a "There was an error opening the database for Library " and I can't do anything else.  How can I fix it so I am once again able to run Aperture?

    I Downloaded Aperture from the Apple Website then proceeded to download all my picture's frp, IPhoto.  The very next time I opened Aperture an error poped up stating, There was an error opening the database for Library "blank".  I can't do anything with the program but hit the cancel buttom which closes the program.  How do I fix it?

    Is "blank" the name of your Aperture Library? If not, then Aperture is pointing to the wrong Library. Hold down the option (⌥) key while you launch Aperture by clicking it in the Applications Folder. Then select the correct library and press the "choose" button.
    If that does not help, try to repair your library:
    Locate Aperture library in Finder. Holding down the keys option (⌥) +command (⌘) and double click on Aperture Library to show the First Aid dialogue:
    Then try to start Aperture again.  If that also should fail, try the other steps in Aperture 3: Troubleshooting Basics: http://support.apple.com/kb/HT3805
    Good Luck
    Léonie

  • Error message "There was an error opening the database for the library"

    I am getting the following error when I try to open my Aperture today: "There was an error opening the database for the library “/Users/xyz/Pictures/Aperture Trial Library.aplibrary”".
    I tried doing Option-Cmd while double clicking Aperture, but I can't get to the restore screen.  I also tried to use Time Machine to restore the library and am still getting the error.  Is there a different way to get to the restore screen??

    Someone posted in another thread that they needed to create a new library and import the old one in.

  • Error opening the database for the library "~/Pictures/Aperture Trial Library.aplibrary" error message

    When starting up Aperature 3 I get the following Error Message :
    "There was an error opening the database for the library “~/Pictures/Aperture Trial Library.aplibrary”.
    I can't di a thing except Quit. I have restored from Time Machine and reloaded the Software from Disk. Still get the same message. Any suggestions Are appreciated.
    Jim

    Hello Jim,
    I assume you trial Aperture Library is in your "Pictures" folder? Try to rename it to something like "OldApertureTrialLibrary.aplibrary", to force Aperture to create a new Application Library.
    To rename the old Trial Library, select it in the Finder and enter Command(⌘)-I (short for File-> Get Info). Click on the file name text field and enter a new name.
    Possibly you get this error message message, because there is some permissions problem. If you are not allowed to rename the file, click on the padlock in the lower right corner, authentificate as admin and give yourself read/write access to the trial library (in the "Sharing & Permissions" brick of the "Get Info" panel).
    Post back, if your "ApertureTrialLibrary.aplibrary" contains valuable images that you would like to save or if this does not work and you need further advice.
    Regards
    Léonie

Maybe you are looking for