ORA-00265: modifying oracle archive mode Error Analysis

Source: Internet
Author: User

The following error occurs when I open the database today and want to modify the archive mode of oracle:
 
SQL> alter database archivelog;
Alter database archivelog
 
 
*
ERROR at line 1:
ORA-00265: instance recovery required, cannot set ARCHIVELOG mode
 
I checked it online. It turned out to be caused by the abnormal shutdown of the last system. You need to re-open the database to synchronize data files, control files, and log files, and then modify the archive mode.
SQL> alter database open;
 
Database altered.
 
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount;
ORACLE instance started.
 
Total System Global Area 301305856 bytes
Fixed Size 1336148 bytes
Variable Size 167775404 bytes
Database Buffers 125829120 bytes
Redo Buffers 6365184 bytes
Database mounted.
SQL> alter database archivelog;
 
Database altered.
 
SQL> alter database open;
 
Database altered.
Review the database archive mode:
SQL> archive log list
Database log mode Archive Mode
Automatic archival Enabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 6
Next log sequence to archive 8
Current log sequence 8
OK!
Author "mood station"

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.