Solved

Unable to perform the backup because the database is closed

Posted on 2009-07-14
6
1,991 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 48

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 48

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 48

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Oracle - SQL Parse String 5 45
PL/SQL More than one element associated with another element 7 45
migration MS SQL database to Oracle 30 68
oracle date format checking 7 26
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…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
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 shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

861 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