Oracle initialization or shutdown in progress solution steps: shutdowninprogress

Source: Internet
Author: User

Oracle initialization or shutdown in progress solution steps: shutdowninprogress
Today, as usual, I started my computer and started the plsql tool to connect to the database, but I couldn't connect it. I reported the message "oracle initialization or shutdown in progress, from the service list of the operating system, it is found that both the listener and the oracle service are started, but the connection fails, and this error is always reported. No matter, try restarting the listener and service, but the result is still not good, or the above message is reported. Therefore, you can use sysdba to connect to oracle from the command line. Then, you can use select status from v $ instance to check the startup status. The mounted mode is used. No wonder you cannot connect to the database, because the database is not open yet, manually try to open the database: alter database open; the result is an error: "ORA-16014: log 3 serial number 286 not archived, no available destination "; it is estimated that the space in the flash back area is insufficient, and logs cannot be archived. The command operation is as follows:

-- 1. Check the size of the Space set for db_recovery_file_dest_size.

SQL> show parameter db_recovery

NAME TYPE VALUE
-----------------------------------------------------------------------------
Db_recovery_file_dest string D: \ oracle \ product \ 10.2.0/flash
_ Recovery_area
Db_recovery_file_dest_size big integer 2G

 

-- 2. Check the usage of the flash recovery area:

SQL> select * from v $ flash_recovery_area_usage;

 

-- 3. Calculate the space occupied by the flash recovery area:

SQL> select sum (percent_space_used) * 3/100 from v $ flash_recovery_area_usage;

 

-- 4. Increase the value of db_recovery_file_dest_size.

SQL> alter system set db_recovery_file_dest_size = 3G scope = both;

The system has been changed.

SQL> alter database open;

The database has been changed.

 

-- 5. You can also delete unnecessary backups in the flash recovery area in rman to release the flash recovery area space:

Delete obsolete;

Crosscheck backupset;

Delete expired backupset;

Db_recovery_file_dest_size: Set the directory size for storing archived log files, that is, the size of flash_recovery_area in the flash back area.

Related Article

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.