Solution to ORA-01589 errors

Source: Internet
Author: User

SQL * Plus: Release 9.2.0.1.0-production on Thursday April 17 15:01:26 2008
Copyright (c) 1982,200 2,OracleCorporation. All rights reserved.
SQL> Conn/As sysdba;
Connected.
SQL> shutdown immediate;
ORA-01109: Database not open

The database has been detached.
The Oracle routine has been disabled.
SQL> startup
The Oracle routine has been started.
Total system global area 135338868 bytes
Fixed size 453492 bytes
Variable Size 109051904 bytes
Database buffers 25165824 bytes
Redo buffers 667648 bytes
The database has been loaded.
ORA-01589: to open the database, you must use the resetlogs or noresetlogs Option

SQL> alter database open resetlogs;
Alter database open resetlogs
*
Error is located in row 1st:
ORA-01113: File 1 requires media recovery
ORA-01110: Data File 1: 'd:/Oracle/oradata/orcl/system01.dbf'

SQL> recover database using backup controlfile;
ORA-00279: Changing 1254931418 (generated at 01:12:51 on 06/09/2011) is required for thread 1
ORA-00289: Recommended: D:/Oracle/ora92/rdbms/arc1_1.001
ORA-00280: Change 1254931418 for thread 1 is performed by sequence #1

Specified log: {<RET> = suggested | filename | auto | cancel}
D:/Oracle/oradata/eygle/redo01.log
ORA-00308: Unable to open archive log 'd:/Oracle/oradata/eygle/redo01.log'
ORA-27041: Unable to open file
OSD-04002: salesman ??????
O/s-error: (OS 3 )?????????????????

Specified log: {<RET> = suggested | filename | auto | cancel}
D:/Oracle/oradata/orcl/redo01.log
ORA-00339: archiving logs do not contain any redo
ORA-00334: archiving logs: 'd:/Oracle/oradata/orcl/redo01.log'

SQL> recover database using backup controlfile;
ORA-00279: Changing 1254931418 (generated at 01:12:51 on 06/09/2011) is required for thread 1
ORA-00289: Recommended: D:/Oracle/ora92/rdbms/arc1_1.001
ORA-00280: Change 1254931418 for thread 1 is performed by sequence #1

Specified log: {<RET> = suggested | filename | auto | cancel}
D:/Oracle/oradata/orcl/redo02.log
ORA-00339: archiving logs do not contain any redo
ORA-00334: archiving logs: 'd:/Oracle/oradata/orcl/redo02.log'

SQL> recover database using backup controlfile;
ORA-00279: Changing 1254931418 (generated at 01:12:51 on 06/09/2011) is required for thread 1
ORA-00289: Recommended: D:/Oracle/ora92/rdbms/arc1_1.001
ORA-00280: Change 1254931418 for thread 1 is performed by sequence #1

Specified log: {<RET> = suggested | filename | auto | cancel}
D:/Oracle/oradata/orcl/redo03.log
Applied logs.
Media recovery is completed.
SQL> alter database open resetlogs;

The database has been changed.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.