Backup Failure using OEM (Oracle 9i)
Backup Failure using OEM
I have oracle 9i (windows 2000 server)
I tried to make a fullbackup using OEM, it gives me NO error messages
I got result file with 890 MB (my Db is not huge),
but when I go back to the JOBs in OEM I found the status of the job FAILED
I tried to do the same thing using incremental backup level 0, but I got the same result
any Idea why the job didn't complete successfully
thanx in advance
Here is the deal.
I need to be able to work in the OEM for my class. (Oracle DBA in Training) It is a significant part of my grade to be able to find the required help through forums like these to help me get the backup/recovery process to work through the OEM. My books deal with the OEM in a Win2000 Pro/Server environment, and don't take into consideration the variances in XP Pro. My install works great, other than I am receiving a "Fail" on my OEM Backups under Jobs. It further explains that I do not have the proper permissions to perform the backup job that was created. My instructor is completely hands off when it comes to help. So if anyone has run into this problem and been successful in fixing the problem without using a different utility. Please let me know.
Thanks in advance,
Vic
Similar Messages
-
Backup Failure using OEM
I have oracle 9i (windows 2000 server)
I tried to make a fullbackup using OEM, it gives me NO error messages
I got result file with 890 MB (my Db is not huge),
but when I go back to the JOBs in OEM I found the status of the job FAILED
I tried to do the same thing using incremental backup level 0, but I got the same result
any Idea why the job didn't complete successfully
thanx in advanceUse command line -> rman .
-
RMAN backup fails using OEM with no output error
I am trying to do a weekly automatic full backup of a database in noarchivelog mode using RMAN in Enterprise Manager. Every time I submit the backup job (even if I try to do an immediate backup) the job fails almost immediately. When I Iook at the job output for the failed attempt, it says that there is no output for the job. I believe I have all of the preferred credentials and priveleges correct. Does anyone have any ideas as to what the problem could be or maybe where I can find an error log for rman to get a better explanation of the error?
Thanksplease check in metalink.....
you find useful informations here:
RMAN backup using Oracle Secure Backup fails with ORA-19511 (sbt__rpc_connect)
Doc ID: Note:396046.1
Best Regards,
Shishir Tekade.
My Blog: http://shishirtekade.blogspot.com -
HI,
I have Oracle 10g Application Server installed on Windows server 2003, with infra and portal on two different nodes...i need to setup a backup strategy using OEM for the infra database..i already put my database in Archivelog mode and scheduled a RMAN backup through OEM at Flash Recovery Area..
Please suggest , what all precautions i need to take to preserve this backup and what steps i need to follow in case i need to recover my database ( Manually or using OEM ).
I appreciate ur answer in detail..
regards,
Sajad.I need suggestions ..please..
thanks. -
Using OEM for Database Detection
Hi. I'd like to monitor my database using OEM without any 3rd party S/W. Has anyone done this? If so, can you share some of the techniques how exactly to do it.
Thanks.Hi
You can use OEM(Oracle Enterprise Manager) for monitor your database
Thanks and regards
Sarju Patel
<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Caesar Hermogeno ([email protected]):
Hi. I'd like to monitor my database using OEM without any 3rd party S/W. Has anyone done this? If so, can you share some of the techniques how exactly to do it.
Thanks.<HR></BLOCKQUOTE>
null -
Using OEM to backup/restore DB using EMC Avamar (3rd party)
Hi,
I'm trying to find a solution for using OEM to backup and restore DB using EMC Avamar software.
Normally, we can backup/restore DB using Avamar through RMAN CLI using scripts similar to the following:
connect target /
run {
configure controlfile autobackup on;
set controlfile autobackup format for device type sbt to 'CONTROLFILE.orcl.%F';
allocate channel c0 type sbt PARMS="SBT_LIBRARY=c:\PROGRA~1\avs\bin\orasbt64.dll" format '%d_%U';
send '"--prefix=11g/orcl/" "--flagfile=c:\flagfile\avtar-flags.txt" "--bindir=c:\PROGRA~1\avs\bin"';
backup database plus archivelog delete input;
release channel c0;
Where orasbt64.dll is the name of Avamar's 64bit library and flagfile contains some internal flags necessary for backup/restore operations.
Now, I want to use OEM for the same thing so, what I did was try to specify the Media Management Vendor Library Parameters under Backup Settings in OEM. I saved the following as the parameters:
"SBT_LIBRARY=c:\PROGRA~1\avs\bin\orasbt64.dll";
Even after this, the backup script generated by OEM does not contain this parameter. Naturally, backups to EMC Avamar fail.
I would like answers to these 2 questions:
1. How to correctly specify the Media Management Vendor Library Parameters?
2. Is there a way to specify all the parameters (--prefix, flagfile, bindir, PARMS etc.) so that the script generated by OEM is same (or as close as possible) to the one I use for RMAN CLI backups.
Thanks!Hi Anant,
I'm also having the same issue. It fails because it doesn't understand the "send" command in OEM. Here is the output of the tape backup test:
RMAN> run {
2> allocate channel oem_sbt_backup type 'sbt_tape' format '%U' parms 'SBT_LIBRARY=/usr/local/avamar/lib/libobk_avamar64.so,
3> ENV=(PATH=/bin:/usr/bin:/usr/local/avamar/bin);
4> send "--flagfile=/home/oracle/scripts/backup/my-avtar-flags.txt"';
5> backup as COMPRESSED BACKUPSET current controlfile tag '04302012033156';
6> restore controlfile validate from tag '04302012033156';
7> release channel oem_sbt_backup;
8> }
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on oem_sbt_backup channel at 04/30/2012 15:32:00
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27209: syntax error in device PARMS - unknown keyword or missing =
RMAN> allocate channel for maintenance type 'sbt_tape' parms 'SBT_LIBRARY=/usr/local/avamar/lib/libobk_avamar64.so,
2> ENV=(PATH=/bin:/usr/bin:/usr/local/avamar/bin);
3> send "--flagfile=/home/oracle/scripts/backup/my-avtar-flags.txt"';
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on ORA_MAINT_SBT_TAPE_1 channel at 04/30/2012 15:32:01
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27209: syntax error in device PARMS - unknown keyword or missing =
When I use TSM it doesn't require the "send" command and it backs up successfully. I guess the other option would be to create an EM job to do the backups. However, this wouldn't populate the EM tables for backup reporting. -
Rediscover using OEM in Oracle 10.2.0.4
Hi,
Can somebody post detailed steps as to how to rediscover using OEM. (I have performed at the session level)
My system is Oracle 10.2.0.4 RAC on RHEL.
Example: Steps to rediscover an instance (or) agent (or) listener using OEM.
To put it in simple terms...mys listener is showing DOWN status in OEM, but is actually UP when I go in and check at the session level.
I do not want to restart the agent at the sesion level which I have already done. Kindly help.
Edited by: Redstorm on Feb 24, 2009 7:09 PMDo you have a lot of jobs scheduled via OEM ? (you can save the definitions in the job library and re-submit them later if not. You may also have to reset the backup preferences etc.)
This seems strange. Is there an error message with the listener status (click on the Down targets from the homepage.)
Also can you provide the output from the agent status.
cheers,
graham
Edited by: Graham_R on Feb 24, 2009 5:12 PM -
Anyone using OEM for scheduling backups?
I'd like to see a poll for the number of users using OEM for taking database backups. Had some interesting conversations with some colleagues via social media and it seems like some DBAs don't trust OEM for their backups even though the feature works IMO.
Are you using OEM to do backups?
Edited by: DBA on May 3, 2012 1:02 PMI have 91 scheduled recurring backup jobs running through OEM 12c BP1. They work quite well. I've only noticed a few problems and nitpicks:
1) Occasionally, for unknown reasons, a backup job against a newly-added database target will fail stating that the backup cannot be run since the database is closed. The database is not closed, it's up and running fine. Changing the backup job to run using SYS as SYSDBA credentials resolves this problem.
2) Identification of failed backups is not as customizable as I would like. For example, if I have a full "backup database plus archivelog" running, and during the course of that backup an archivelog backup runs and deletes archived logs, OEM will report that the backup job has failed since RMAN throws an error about not being able to backup an archivelog it expected to find. I dealt with this by adding SKIP INACCESSIBLE to the backup statement. I'm not totally comfortable about that but I monitor for offline datafiles so I consider this only a minimal risk. Our custom backup scripts used to catch this warning and ignore it.
3) It's really annoying that, after creating a backup job through the target Availability -> Schedule Backup tool, I cannot then run a 'Create Like' against that backup job to create a nearly identical one against a different database target. You have to schedule each of them from the Schedule Backup tool. Clicky clicky clicky clicky.
4) A backup job created through the 'Schedule Backup' tool has a job type of 'Database Backup', therefore when the job fails a high-availability incident is created, so you can configure incident rules to receive notification of this event. This is good. Unfortunately a backup job created from the Jobs page has a job type of 'RMAN Script' does NOT create an incident on job failure out of the box. I've had difficulty configuring incident rules to catch failures for RMAN Script job types. This is not good.
5) The repeating schedule options for jobs are limited compared even to something like cron. I can schedule a job for a day of the week, or a day of the month, but cannot easily schedule a job for "the first Tuesday of each month". This can be worked around.
6) After creating and submitting a backup job through the Schedule Backup tool, you cannot edit the RMAN script without recreating the job. You can only edit the RMAN script before submitting the job. I deal with this by having my backups run stored scripts in the recovery catalog, and make the changes there if I need to change something.
7) It is very annoying that if I 'stop' a repeating job (instead of suspend), there is no way to resume that job. It has to be recreated. This is my own user error -- I just don't click the stop button. Not OEM's fault but I'd rather not even have that button.
8) No ability to sequence jobs. You can sequence steps within a job, but then the entire job succeeds or fails as a unit. If you want to back up database A then immediately back up database B afterwards, you have to create a multi-task job. The multi-task job has the same problem as item #4 above such that it does not create a "backup failed" incident when the backup fails.
Even with all of these gripes, I am quite pleased with the backups I have running through OEM. -
Oracle Database 11g Backup Deduplication using CommVault
Hi Everyone
We have recently implemented Commvault solution for a Backup and Recovery of Oracle database and other IT softwares / fileservers. Oracle E-business suite 12.1.1 is implemented in our organization with 11g database 11.2.0.3.6, for all the backups we have enabled deduplication and it is giving more then 90& dedup on all softwares except for Oracle database, for oracle it is giving just 40% or max 50% which is not acceptable to our organization
Production DB sizee = 257 GB
Used block = 157 GB
Backup Policy = Daily Full backup incremental 0 with commvault dedup enabled
Deduplication % = 40 to 50 %
requiement = should be over 90%
Our database is small and there are around 6 to 7 GB of archives daily so the data is not changing much, commvault support is saying that the block signatures are changing due to this we are not getting the full deduplication and they are asking us to check what changes are made during the day and oracle support says that once the rman backup is completed it has nothing to do with the third party dedup, and we are stuck so i thought to put it in the forum and may be oracle gurus can help find a solution here, my questions are:
1. Is there a non issue of not getting fully deduplication of Oracle database using third party deduplication solutions? Is there any one who have used oracle backups with Commvault and dedup enabled, any help would be great
2. I also need to know how to check what changes are made in database on a daily basis.
Please help
Thank you
Regards
shahrukhThe instructions are the same, where the server is physical or virtual. Best bet is the docs at http://docs.oracle.com/database/121/RILIN/toc.htm
This may also be useful - RAC Attack - Oracle Cluster Database at Home - Wikibooks, open books for an open world -
Oracle 9i TEMP tablespace backup problem using RMAN!
Oracle8/8i whole backup is ok for our backup software(using RMAN without RC database), but for Oracle 9i, I get following error messages when backing up temp tablespace.
1. RMAN-20202: tablespace not found in the recovery catalog
2. RMAN-06019: could not translate tablespace name "TEMP"
I check some views of Oracle9i, and know some changes happen for temp tablespace in 9i, but how to deal with this problem. Any idea, please!In 9i RMAN does not restore temporary datafiles. Instead, you should create them after your restore. I believe that Oracle is going to make a change to this in the next release of 9i and have RMAN create the temporary files. You can view the temporary datafiles @ v$tempfile.
I believe RMAN doesn't restore temporary files because they are locally managed and not in the control files. RMAN reads the controlfile of the target database to obtain info about backups, datafiles, etc.
Hope this helps. -
Veritas Oracle Backup Failure "NEWFS_MAX_SERVER_CONNECTIONS"
I am fairly new at Oracle administration so bear with me. We
have been using Veritas Backup Exec (BE) 7.30 and the Oracle
agent to backup an Oracle 8.1.5 db. This occurs nightly and has
been successful for quite some time. In the last few days,
however, the backup job has failed with the following message:
"Unable to attach to ORACLE_ACME/XYZ.
NEWFS_MAX_SERVER_CONNECTIONS"
(where ACME is the server name and XYZ is the SID name)
Veritas has a technote for this error and the solution listed
is "This error will occur if a backup job of an Oracle database
is initiated while the database is already in backup mode".
I did note in review of the xyzalrt.log that the following
commands are normally issued during the backup:
ALTER TABLESPACE XYZ BEGIN BACKUP
COMPLETED.<snip>..
ALTER TABLESPACE XYZ END BACKUP
COMPLETED..
However the day this started happening the "end backup" command
never showed up in the alrt.log for the tablespace in question.
I could not figure out how to tell from my Oracle tools if the
database was truly "in backup mode". I therefore issued a sql
sommand "alter tablespace xyz end backup" which was processed.
However I then attempted a test backup with BE and got the same
error again. Any help would be appreciated.Does "newfs_max_server_connections" error will come from oracle
or veritas.
I have two backup jobs one for data tablespaces and another for
index tablespaces, I think there should be any problem if i run
these backup at a same. But when I am running same time I get
the error
"NEWFS_MAX_SERVER_CONNECTIONS" -
Oracle VM Monitoring Using OEM
Hi,
We need to monitor Oracle VM using OEM, we have Oracle VM setup with Two Guest servers (Linux and Windows 2003 server).
we have OEM 10.2.0.5.0 setup, and enabled Oracle VM Management Packeage also.
Could you please help someone, how to configure and monitor Oracle VM using OEM.Hi vdosi,
Thanks for ur promy reply....
am just confusing abt this configaration....first we need to register virtual server in OEM console or create virtual server pool....but while registering Virtual server
it telling "You are not yet licensed to use the Oracle VM Management Pack. If you like this functionality, please see your super administrator about obtaining a license"
In our Oracle VM server, we are created Two Guest server (Windows 2003, RHEL 4)..Now we need to monitor Oracle VM and two guest servers....How can do this...if it possible...can u send me the document......please help me on this.....
thanks in advance..
Jayaram -
Trying to register 10.2.0.3 db in Rec Catalog using OEM, getting errors
Hi all,
I didn't know whether to post this here in the RMAN forum or in the OEM Grid Control forum, but the issue is more related to RMAN, so I'll post it here, and hope someone can help me out!
I have a new 10.2.0.3 database that I am getting configured to manage using OEM Grid Control. Through the OEM interface, I am trying to register this database with my recovery catalog - the recovery catalog is version 10.02.00.02. When I try to register this new db with the recovery catalog, I am getting this lengthy collection of errors:
Recovery Manager: Release 10.2.0.3.0 - Production on Wed Jan 30 14:58:36 2008 Copyright (c) 1982, 2005, Oracle. All rights reserved. RMAN> connected to target database: INSIGHT (DBID=4016731035) RMAN> connected to recovery catalog database PL/SQL package RMAN.DBMS_RCVCAT version 10.02.00.02 in RCVCAT database is not current PL/SQL package RMAN.DBMS_RCVMAN version 10.02.00.02 in RCVCAT database is not current RMAN> echo set on RMAN> register database; RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of register command at 01/30/2008 14:58:40 RMAN-06004: ORACLE error from recovery catalog database: ORA-06550: line 1, column 2453: PLS-00302: component 'RESTORECMD_T' must be declared ORA-06550: line 1, column 2424: PL/SQL: Statement ignored RMAN> exit; Recovery Manager complete.
It sounds like it has something to do with the fact that my recovery catalog database is not at a current version?? In the OEM tool, I went to the page that lists the Recovery Catalog, and tried hitting the Update button, and it succeeded, but the Recovery Catalog version did not change, it is still at 10.02.00.02.
Can anyone give me some assistance on this one?
Thanks!
--BradHi,
please check with
select comp_name,status,version from dba_registry;
COMP_NAME
STATUS VERSION
Oracle Database Catalog Views
VALID 10.2.0.3.0
Oracle Database Packages and Types
UPGRADED 10.2.0.3.0
The UPGRADED status is not good. Run utlrp.sql again and then again as rman user the "upgrade catalog". Now it should work fine.
Bye
Matthias -
Cold Backup / Recovery for OEM Grid
Hi friends,
OEM 10.2.0.5
RHEL 4.6
How do you Clone or Backup OEM Grid (Management server(OMS) , agent, and repository database)?
in case of disaster?
They are all under our server dir /home/oracle. If I have a backup of my /home/oracle on external tape or disk,
and ithappened that my OEM server crashed and it can not be fixed anymore. Then we buy another server
with the same specs and OS. Then copy/download the backup. How can I start it up? Just like the original setup?
Thanks a lot.
Ms Kytterp2009 wrote:
thanks :)
So, I dont need the local OEM anymore ;)
Yes ..
By the way, does the agent keep backup of its gathered data? Or does it delete them automatically after it is sent
to the OMS server? I am afraid that my agent disk space will get full.
Does agent use oracle tables to keep data? or just text filesAgent gathers data and stores it in form of xml in $AGENT_HOME/sysman/upload and sends these xml to OMS and deletes them automatically.In OMS they are stored at $OMS_HOME/sysman/recv . Then these xmls are processed by loader and get loaded into repository DB and deleted automatically from directory.
By default your agent can store data upto 50 MB and once it is full then your agent will stop working. Check out parameters in $AGENT_HOME/sysman/config/emd.properties file.
please check :
http://racdba.wordpress.com/2009/12/05/oem-agent-common-errors/
How do I know what time/schedule or how frequent does the agent updates our OMS server?
How often does the agent gathers data from the managed database?It depends on the frequency of metric applied for the target.
Please read :
Enterprise Manager Grid Control Agent 10g, Process Control (Start, Stop & Status) Troubleshooting Guide [ID 548928.1]
Understanding the Enterprise Manager 10g Grid Control Management Agent, Directory Structure and Key Configuration Files. [ID 234872.1]
Regards
Rajesh -
We are getting export backup failures here is the export log:
Connected to: Oracle9i Release 9.2.0.5.0 - Production JServer Release 9.2.0.5.0 - Production Export done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set server uses WE8MSWIN1252 character set (possible charset conversion)
About to export the entire database ...
. exporting tablespace definitions
. exporting profiles
. exporting user definitions
. exporting roles
. exporting resource costs
. exporting rollback segment definitions . exporting database links . exporting sequence numbers . exporting directory aliases . exporting context namespaces . exporting foreign function library names . exporting PUBLIC type synonyms
EXP-00008: ORACLE error 904 encountered
ORA-00904: "DBMS_JAVA"."LONGNAME": invalid identifier
EXP-00000: Export terminated unsuccessfully
PLease help me to get the export done.
Thanks
Niketdone these steps...
startup mount;
alter system set "_system_trig_enabled" = false scope=memory;
alter system enable restricted session;
alter database open;
@?/rdbms/admin/catnojav.sql
@?/xdk/admin/rmxml.sql
@?/javavm/install/rmjvm.sql
truncate table java$jvm$status;
SQL> startup mount
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> /
SP2-0103: Nothing in SQL buffer to run.
SQL> alter system set "_system_trig_enabled" = false scope=memory
2 /
System altered.
SQL> alter system enable restricted session
2 /
System altered.
SQL> alter database open
2 /
alter database open
ERROR at line 1:
ORA-01531: a database already open by the instance
SQL> start E:\ORA924\rdbms\admin\catnojav.sql
SQL> Rem
SQL> Rem $Header: catnojav.sql 15-jul-2002.07:13:41 rburns Exp $
SQL> Rem
SQL> Rem catnojav.sql
SQL> Rem
SQL> Rem Copyright (c) 2002, Oracle Corporation. All rights reserved.
SQL> Rem
SQL> Rem NAME
SQL> Rem catnojav.sql - CATalog NO JAVa classes for RDBMS
SQL> Rem
SQL> Rem DESCRIPTION
SQL> Rem This script removes the RDBMS Java classes and system
SQL> Rem triggers created by the CATJAVA.SQL script.
SQL> Rem
SQL> Rem NOTES
SQL> Rem Must be run AS SYSDBA
SQL> Rem
SQL> Rem MODIFIED (MM/DD/YY)
SQL> Rem rburns 07/15/02 - rburns_bug-2415848
SQL> Rem rburns 06/13/02 - Created
SQL> Rem
SQL>
SQL> Rem =====================================================================
SQL> Rem Check CATJAVA and JAVAVM status; conditionally abort the script
SQL> Rem =====================================================================
SQL>
SQL> WHENEVER SQLERROR EXIT;
SQL>
SQL> BEGIN
2 IF dbms_registry.status('CATJAVA') IS NULL THEN
3 RAISE_APPLICATION_ERROR(-20000,
4 'CATJAVA has not been loaded into the database.');
5 END IF;
6 IF dbms_registry.is_loaded('JAVAVM') != 1 THEN
7 RAISE_APPLICATION_ERROR(-20000,
8 'JServer is not operational in the database; ' ||
9 'JServer is required to remove CATJAVA from the database.');
10 END IF;
11 END;
12 /
BEGIN
got this error....
Maybe you are looking for
-
CALLERS CAN'T HEAR ME - AND I'M NOT PUSHING 'MUTE'
Frequently when I answer or make a call on my Droid X the person on the other end can not hear me. I can hear them, but they can not hear me. I just replied to a recent post of someone having the same problem, but just realized the post was marked '
-
Commited changes to cvs are not seen on incomming changes in Jdeveloper
Hi, We are devlopping application on JDeveloper 10.1.3.4. We are using tortories cvs from jdeveloper. We had no problems for a while, everything worked fine(incoming changes and outgoing changes were properly seen on pending changes tab in jdev). Bef
-
Apple TV 5.1.1 Problems
Hi, ive updated my apple tv to 5.1.1 today and my itunes to 11. Now the apple TV denies that I have itunes sharing enabled, and it also won't connect via airplay from either my iPhone or iPad, all used to work fine yesterday. Anyone else having this
-
My device is not supported on my wireless network?
cannot get my tablet conneccted to wireless network
-
Hi, I need to do remote editing (with FCP7) over small bandwith WAN (1Mbps) therefore I configure Final Cut Server (V1.5.1) Edit Proxy to use a Quicktime H.264 codec with the following parameters: File Extension: mov Estimated size: unknown Audio Enc