Oracle login failure Error

Source: Internet
Author: User

 

The following error is reported when you log on to PL/SQL today:

Ora-01033: oracle initializationg or shutdown in progress, unable to connect to Oracle service,

The possible cause of the error is that the archive log has just been deleted, and you have checked it online. In combination with the error message, follow these steps:

-- 1. Connect to sqlplus:

> Sqlplus "/as sysdba"

-- 2. Close the database:

SQL> shutdown immediate

ORA-01109: the database is not open

The database has been detached.

The ORACLE routine has been disabled.

-- 3. Restart the database:

SQL> startup

The ORACLE routine has been started.

Total System Global Area 612368384 bytes

Fixed Size 1250428 bytes

Variable Size 230689668 bytes

Database Buffers 373293056 bytes

Redo Buffers 7135232 bytes

The database has been loaded.

ORA-16038: log 2 serial number 27 cannot be archived

ORA-19809: exceeds the limit on the number of recovery files

ORA-00312: Online log 2 thread 1:

'D: \ ORACLE \ PRODUCT \ 10.2.0 \ ORADATA \ ORA10 \ REDO02.LOG'

-- 4. Archive REDO02.LOG:

SQL> alter database clear unarchived logfile 'd: \ ORACLE \ PRODUCT \ 10.2.0 \ ORADATA \ ORA10 \ REDO02.LOG ';

The database has been changed.

-- 5. Open

SQL> alter database open;

The database has been changed.

-- 6. Shut down the database again:

SQL> shutdown immediate;

-- 7. Restart the database again and report the following error:

SQL> startup

The ORACLE routine has been started.

The database has been loaded.

ORA-16038: Log 1 Serial Number 32 unable to archive

ORA-19809: exceeds the limit on the number of recovery files

ORA-00312: Online log 1 thread 1:

'D: \ ORACLE \ PRODUCT \ 10.2.0 \ ORADATA \ ORA10 \ REDO01.LOG'

-- 8. Archive REDO01.LOG again:

SQL> alter database clear unarchived logfile 'd: \ ORACLE \ PRODUCT \ 10.2.0 \ ORADATA \ ORA10 \ REDO01.LOG ';

The database has been changed.

-- 9. Solve the problem.

SQL> conn scott/tiger @ ora10

Connected.

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.