shutdown not possible

Posted on 2012-03-21
Last Modified: 2012-06-27
SQL> shutdown immediate
ORA-01149: cannot shutdown - file 1 has online backup set
ORA-01110: data file 1: '/u01/app/oracle/oradata/orcl11/system01.dbf'
Question by:b7dba
  • 2
LVL 16

Accepted Solution

Wasim Akram Shaik earned 500 total points
ID: 37746362
try this first

alter database end backup;

then shutdown the database..

it seems that some online back up is going on which has not yet complete so preventing the db from shutdown..

Expert Comment

ID: 37746450
Have u seen this?

Expert Comment

ID: 37751944

Pls check the below scenairo and the solution....

SQL> alter tablespace system begin backup;

Tablespace altered.

SQL> shut immediate;
ORA-01149: cannot shutdown - file 1 has online backup set
ORA-01110: data file 1: '+DATA1/testdb/datafile/system.347.778438247'
SQL> select * from V$backup;

     FILE# STATUS                CHANGE# TIME
---------- ------------------ ---------- ---------
         1 ACTIVE                 179059 22-MAR-12
         2 NOT ACTIVE                  0
         3 NOT ACTIVE                  0
         4 NOT ACTIVE                  0

SQL> select distinct ('alter tablespace  ' || || ' end backup ; ') "Tablespace in Backup mode" from V$tablespace a, V$datafile b , V$backup c where b.file# = c.file# and
b.ts# = a.ts# and c.status = 'ACTIVE';

Tablespace in Backup mode
alter tablespace  SYSTEM end backup ;

SQL> alter tablespace  SYSTEM end backup ;

Tablespace altered.

SQL> shut immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
LVL 16

Expert Comment

by:Wasim Akram Shaik
ID: 37751963
manzoor_dba, please don't post duplicate information, the scenario which you have illustrated had already explained in simple words in my comment already,

fyi.. just refer


Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Require data to appear on a single line 2 71
Sybase and replication server 13 40
Creation date for a PDB 5 39
ORA-02288: invalid OPEN mode 2 59
Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question