Solved

Unable to perform the backup because the database is closed

Posted on 2009-07-14
6
1,927 Views
Last Modified: 2012-05-07
OK....I have painstakingly been going through this over and over; I have no idea why Oracle makes this so dfifficult.  I have a windows account with administrator privledges...all i sgood there.  I connect through the Enterprise Manager (same as RMAN really according to the script) using SYSTEM account.  OK...all is good there but then when the job is executing, I am getting this error:

Unable to perform the backup because the database is closed

Really need to resolve this...thx
0
Comment
Question by:Glen_D
  • 3
  • 2
6 Comments
 
LVL 40

Expert Comment

by:mrjoltcola
ID: 24852945
Is the database open?

What happens if you try?

sqlplus / as sysdba

SQL> alter database open;
0
 

Author Comment

by:Glen_D
ID: 24852994
I receive an error stating that "a database already opened by the instance"

Thx
0
 
LVL 47

Expert Comment

by:schwertner
ID: 24853113
This happens often when the DB is not registered.
Backup LISTENER.ORA file!!!!!!!

In ...\network\admin open listener.ora

see

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = PLSExtProc)
      (ORACLE_HOME = D:\Ora10g)
      (PROGRAM = extproc)
    )
    (SID_DESC =
      (SID_NAME = test)
      (ORACLE_HOME = D:\Ora10g)
    )
  )

Add the entry
    (SID_DESC =
      (SID_NAME = test)
      (ORACLE_HOME = D:\Ora10g)
    )
with regard to the particular Oracle Home and SID Name.


In Oracle 11g you have to create from scratch in the listener.ora file the section

SID_LIST_LISTENER =
&..

mentioned above.

Restart the listener:
c:>lsnrctl stop
c:>lsnctl start

Only after that we can go further,
0
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.

 
LVL 47

Accepted Solution

by:
schwertner earned 500 total points
ID: 24853141
Alternativelly you have to ensure correct ORACLE_SID and other parameters.
Possibly there are other instances on your computer that do not run
and RMAN get loosed.

I will recommend do not use OEM for backups although the new trend of Oracle is to advise to use it.
0
 

Author Comment

by:Glen_D
ID: 24853335
I used the SYS account instead of SYSTEM and logged in as SYSDBA.  Ran one immidiate backup and then set a job for daily backups.

Should be good...thx
0
 
LVL 47

Expert Comment

by:schwertner
ID: 24853376
Good luck!
Please - use only SYS account working with OEM and doing
administrative tasks. Other accounts do not have the needed privileges and the worst thing is that it is hard task to figure out which privileges have to
be assigned to do a particular job.
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.

Join & Write a Comment

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 setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

708 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

18 Experts available now in Live!

Get 1:1 Help Now