Solved

shutdown not possible

Posted on 2012-03-21
4
534 Views
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'
SQL>
0
Comment
Question by:b7dba
  • 2
4 Comments
 
LVL 16

Accepted Solution

by:
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..
0
 
LVL 8

Expert Comment

by:PeteEngineer
ID: 37746450
Have u seen this?

http://ora-01149.ora-code.com/
0
 
LVL 5

Expert Comment

by:manzoor_dba
ID: 37751944
Hi,

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  ' || a.name || ' 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.
0
 
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

http:#a37746362
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Oracle Database Upgrade 13 59
Oracle RMAN Database Restore 5 51
Oracle - SQL Script to test for bill dates 3 or more times in SAME WEEK? 11 44
Get the parent node - XMLTYPE 9 55
Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

948 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now