Remove RMAN information from target database control file
Dear Gurus,
Can any one inform me that how I can remove RMAN related information from Target database control file without recreating the control file.
Regards,
asif
I want to remove all RMAN related infromation from control file including the destination specification where backup sets were being created becuase that destination is no more available,
configuration information also need to be removed from control file without recreating the control file.
kindly help,
regards,
asif
Similar Messages
-
Remove RMAN information from target control file
Dear Gurus,
Can any one inform me that how I can remove RMAN related information from Target database control file.
Regards,
asifRecreate the Controlfile.
1. Generate the script with "ALTER DATABASE BACKUP CONTROLFILE TO TRACE;"
2. Shutdown the database
3. Obtain the script from the tracefile in user_dump_dest
4. Run the CREATE CONTROLFILE portion of the script
Note : Oracle generally advices a Cold Backup before doing a CREATE CONTROLFILE. If you edit the script and inadvertently miss one or more datafiles from the CREATE command, those datafiles would no longer belong to the database and you wouldn't be able to "add" them back -- you'd have to RESTORE the controlfiles and database.
Recreating the Controlfile clears all information about recent backups from the controlfile. So this is not a step to be taken lightly. If you do this and, later, need to do a Restore/Recover operation, RMAN wouldn't find information. But that, based on a reading of your question, seems to be what you DO want to do.
Hemant K Chitale
http://hemantoracledba.blogspot.com -
How to get RMAN catalog information from Target database?
Hi,
How to get RMAN catalog information from Target database because i don't know about catalog database? is it possible?
ThanksIf you run RMAN backups of a target database using a Catalog schema in another database, the target is not aware of the catalog.
The RMAN backup script would have the connection identifier for the Catalog.
Hemant K Chitale -
Job output is no longer available in the database control file
Im running my rman backup with Oracle Enterprise manager grid control 10.2.0.1.
In nocatalog mode.
When I look for the job output in the "View Backup Report" section, it says
Job output is no longer available in the database control file.
Here is my rman setup:
RMAN> show all;
using target database control file instead of recovery catalog
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 7;
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 2;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE CHANNEL DEVICE TYPE DISK MAXPIECESIZE 5 G;
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/opt/oracle/app/oracle/product/10.2.0/db_1/dbs/snapcf_mus_prod.f'; # default
anyone knows why i cannot see my rman job output?show parameter control_file_record_keep_time;
NAME TYPE VALUE
control_file_record_keep_time integer 7
The backup is usually the last one. And it's the day before.
If i go to the JOB tab in oem, then click on the job detail, i can see the detail of my rman backup. But i cannot see the backup detail in the View Backup Report section off the database. It says the error message : Job output is no longer available in the database control file -
RMAN-04005: error from target database:
Hi,
when I want register my target by
]$ rman catalog prdrman/prdrman@PRD target sys/manager@DEV
I receive this :
RMAN-04005: error from target database:
ORA-01031: insufficient privileges
Do you have any idea ?
Many thanks before.Here are some further hints from documentation:
ORA-01031: insufficient privileges
When : SQL> connect sym/sym as SYSDBA
Additional : init.ora remote_login_passwordfile=EXCLUSIVE or SHARED
Cause : Username/password is not correct (if the user is added by granting
SYSDBA to the user, this user is added to the passwordfile with the
password from the data dictionary)
or:
Password file has
-> incorrect name orapw<name_of_database>
-> is not in $ORACLE_HOME/dbs
-> has wrong privileges
They should be -rwSr-----
For example:
-rwSr----- 1 server sdb 1536 Mar 25 08:12 orapwv901
Solve : You can set the correct privileges (Unix) by issueing
$ chmod 4640 passwordfile
As a last resort, recreate the password file and remind to add
additional privileged (sysdba or sysoper) users -
Output is no longer available in the database control file
Hi All
in Oracle 10g (10.2.0.1.0) - on suse Linux 9, OEM (10.2.0.1.0); I'm getting when I try to look at RMAN reports that databases reports are "Job output is no longer available in the database control file." - one one database.
I've searched forum and only found one thread
(25/9/2007 - Re: rman backups )
that doesn't have any conclusion to the problem. Has anyone seen this problem before, and do you know if it means there is a problem with the control file?
Thanks, DWLooks like Bug 4659734
I totally agree with what you say grylew "If you use rman catalogue you shouldn't get this error"; for me, on a Suse 9 Linux server (10.2.0.1.0 db), the error eventually found was ORA-19921 ;
RMAN-06900: WARNING: unable to generate V$RMAN_STATUS or V$RMAN_OUTPUT row
RMAN-06901: WARNING: disabling update of the V$RMAN_STATUS and V$RMAN_OUTPUT rows
ORACLE error from target database:
ORA-19921: maximum number of 64 rows exceeded
Which turns out to say it is a bug fixable by only 10.2.0.4.0 patch or 11g. So awaiting 10.2.0.4.0 I guess.
It all seems to be error assocaited with control file space; and I'f rather keep my control files healthy thanks.
Besides all this; for me the problem is pretty innocuous; it means OEM mis-reports success of archivelog backups; I can see they're successful in 'job's but not in 'backup reports'.
Thanks all for help, DW -
ORA-01017 when RMAN duplicate from active database
Hello, ORACLE guru's!
I've got some trouble trying to duplicate DB via RMAN duplicate from active database.
The script is simple:
run
allocate channel ch1 device type disk;
allocate auxiliary channel aux1 device type disk;
duplicate target database to mydb from active database;
The problem is in this statement:
Starting backup at 15-JAN-14
channel ch1: starting datafile copy
copying current control file
Oracle instance started
Total System Global Area 10689474560 bytes
Fixed Size 2237776 bytes
Variable Size 4227861168 bytes
Database Buffers 6442450944 bytes
Redo Buffers 16924672 bytes
contents of Memory Script:
sql clone "alter system set db_name =
''mydb'' comment=
''Reset to original value by RMAN'' scope=spfile";
sql clone "alter system reset db_unique_name scope=spfile";
shutdown clone immediate;
executing Memory Script
sql statement: alter system set db_name = ''mydb'' comment= ''Reset to original value by RMAN'' scope=spfile
sql statement: alter system reset db_unique_name scope=spfile
Oracle instance shut down
released channel: ch1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 01/15/2014 12:16:07
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on ch1 channel at 01/15/2014 12:15:57
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-01017: invalid username/password; logon denied
ORA-17629: Cannot connect to the remote database server
RMAN>
RMAN>change:
export ORACLE_SID="mydb"
export ORACLE_HOME="/u/app/oracle/product/11.2/db_1"
FILE1 = "/u/app/oracle/product/11.2/db_1/bin/"
cat > $FILE1/sqlplus sys/karen as sysdba << EOF
startup nomount;
exit;
EOF
cat > $FILE1/rman target sys/karen@mytargetdb auxiliary sys/karen@mydb << EOF
run
allocate channel ch1 device type disk;
allocate auxiliary channel aux1 device type disk;
duplicate target database to mydb from active database;
EOF
tell us if it works and again, from what host are you running the script? -
RMAN restore from active database, ASM
I'm attempting to refresh a stage database from a prod database using RMAN restore from active database. Both are on ASM. After working through various hurdles, I've got one issue I'm a bit stuck on. I've got a handful of data files that do NOT have OMF names (ie MSTRDATA/mstrmdpd/datafile/gsa_indx instead of MSTRDATA/mstrmdpd/datafile/gsa_indx.351.714779777) and these are failing when I do the restore. The syntax I'm using in RMAN is as follows:
duplicate target database to dwstage
from active database
spfile parameter_value_convert 'dwprod','dwstage'
SET DB_FILE_NAME_CONVERT '+DWPROD','+DWSTAGE'
SET LOG_FILE_NAME_CONVERT '+DWPROD','+DWSTAGE';
The error message I'm getting is this:
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 04/21/2011 13:26:24
ORA-17628: Oracle error 19505 returned by remote Oracle server
continuing other job steps, job failed will not be re-run
Normally from what I've seen/read this error can be traced back to needing to pre-create the directories for the controlfiles etc, but since 90% of the datafiles copied correctly...
Any suggestions as to a way around this, or am I going to be forced to restore from a backupset?This fails saying that "ORA-12528: TNS:listener: all appropriate instances are blocking new connections" which is quite normal given that the listener is havig a handle in BLOCKED state for this AUXDB as it is in NOMOUNT state.
Could you please help me on how to proceed?
One option can be to create the controlfile manually and mount the instance before doing the duplicate. I hope Rman can continue from there.
Another option is to go for backup based duplicate.
Is there any other way to go?
Provide static registration on AUXILIARY side for your auxiliary instance and try again.For example change listener.ora file as
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = AUXDB)
(ORACLE_HOME = <your oracle home>)
(SID_NAME = AUXDB)
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = <auxiliary host/ip>)(PORT = 1521))
)And restart listener on auxiliary host then try again -
Views to check the catalog database name from target database.
Hi,
Please help me to find view to check the catalog database name which is connected to my target database because I am new to the current environment where I am working now and the previous DBA have done the set up having 2 catalog database. I want view to check from target database, which can show the catalog database name to which it is connected to.
We can check the catalog database name from the following ways but I want views to check it from target database.
1.TNSnames.ora
2.Any backup script connecting to catalog database.
3.From catalog database we can use rc_database view to check the databases registered with the catalog database.Please help me to find view to check the catalog database name which is connected to my target databaseYou can check for any RMAN backup jobs that been scheduled on the server.
In the scheduled script check rman command.
You can then identify the database alias (of the catalog db) that is used in the rman backup script.
Once you have found the database alias, check for the database alias entry in tnsnames.ora file present in your target database server.
Once the entry is found, you can find the IP address and catalog db name from the tns entry.
Edited by: st. osh on Nov 22, 2012 11:38 PM -
Old atcsn value from target database
database version: 11.2.0.4.0
goldengate version: 12.1.0.2.0
OS: SunOs 5.10
Hello guys I have a scenario.
I start the primary extract & datapump extract
(primary extract)
register extract <extract group name> database
add extract <extract group name>, integrated tranlog, begin now
add exttrail <extract trail path>, extract <extract name>
start extract <extract group name>
(datapump extract)
add extract <datapump extract name>, exttrailsource <extract trail path>
add rmttrail <remote trail path>, extract <datapump extract name>
start extract <datapump extract name>
and after I start the primary extract & datapump extract, for the initial load I take an export datapump with flashback_scn=<some_value> from the source database.
I import the data into the target database and I start the replicat
(replicat)
add replicat <replicat group name>, integrated extrail <extract trail path>
start replicat <replicat group name>, atcsn <flashback_scn value given in datapump export>
Now my question if I want to start the replicat after one week, and I start it with the atcsn taken during the export datapump for initial load (which was taken one week ago), how would the replicat start if that scn is not present in the source database?
Thank YouDBA2008 wrote:
oracle:tulpcorpadb03$ rman TARGET sys/*****@wcmp AUXILIARY /
Recovery Manager: Release 9.2.0.8.0 - 64bit Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-01031: insufficient privileges
I findout this, this is prod db and not allowed to bounce to change, any other workaround to make rman duplicate work without changing this?
SQL> show parameter password
NAME TYPE VALUE
remote_login_passwordfile string NONE
SQL> connect /as sysdba;
Connected.
SQL> select * from v$pwfile_users;
no rows selectedYou are trying to connect from remote host to target host as SYSDBA. It will not be possible unless you have setup password file at target host.(remote_login_passwordfile=EXCLUSIVE). As RMAN automatically tries to connect as SYSDBA, you will fail.
I recommend, you execute duplication command from target host:
rman TARGET sys/***** AUXILIARY sys/password@AUX_TNS -
RMAN duplicate from ACTIVE DATABASE
Hi,
I am trying to create a new 11.2.0.1 database by duplicating an existing 11.2.0.1 database using Rman with 'from active database' option.
I have created a password file and listener is configured as well.
The aux database is started in nomount state.
rman
connect target sys/pwd123@SRCDB
connect auxiliary sys/pwd123@AUXDB
duplicate target database to AUXDB
FROM ACTIVE DATABASE;
This fails saying that "ORA-12528: TNS:listener: all appropriate instances are blocking new connections" which is quite normal given that the listener is havig a handle in BLOCKED state for this AUXDB as it is in NOMOUNT state.
Could you please help me on how to proceed?
One option can be to create the controlfile manually and mount the instance before doing the duplicate. I hope Rman can continue from there.
Another option is to go for backup based duplicate.
Is there any other way to go?
Regards,
AravindThis fails saying that "ORA-12528: TNS:listener: all appropriate instances are blocking new connections" which is quite normal given that the listener is havig a handle in BLOCKED state for this AUXDB as it is in NOMOUNT state.
Could you please help me on how to proceed?
One option can be to create the controlfile manually and mount the instance before doing the duplicate. I hope Rman can continue from there.
Another option is to go for backup based duplicate.
Is there any other way to go?
Provide static registration on AUXILIARY side for your auxiliary instance and try again.For example change listener.ora file as
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = AUXDB)
(ORACLE_HOME = <your oracle home>)
(SID_NAME = AUXDB)
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = <auxiliary host/ip>)(PORT = 1521))
)And restart listener on auxiliary host then try again -
Query to identify the recovery catalog database name from target database
Hi,
How to get the recovery catalog database name from the registered target database?
i dont know my recovery catalog database for my target database.
I know we can use the query
select * from rc_database;
from recovery catalog database to know all the registered database with the recovery catalog but I want to know is there any way or query to identify the recovery catalog database name from target database to which the target database is registered
With Regards
Boobathi PYou can check the backup scripts which you use to backup your target database to get the catalog database name.
And check the corresponding connect string in TNSNAMES.ORA file or tnsping to get the server details of the catalog database.
Edited by: gopal on Apr 12, 2013 12:59 PM -
How to remove namespace prefix from target payload when using HTTP in PI7.0
Hi,
i have a requirement to remove namespace prefix from target payload when receiver receives the payload by an HTTP request.
i am not able to use XML Anonymizer Bean as in HTTP channel its not possiile.
Target structure after mapping now is:
<?xml version="1.0" encoding="UTF-8"?>
<ns3:Order xmlns:ns3="urn:xxx-com:pi:project">
fields
</ns3:Order>
i need the target structure after mapping should look like:
<?xml version="1.0" encoding="UTF-8"?>
<Order xmlns:="urn:xxx-com:pi:project">
fields
<Order>
i removed namespace from source and target Message Type of message mapping but still getting "ns3" prefix. My requirement is to just have this ns3 removed.
Please reply if anyone has solved this problem before.
ThanksHi ,
>>>i removed namespace from source and target Message Type of message mapping but still getting "ns3" prefix. My requirement is to just have this ns3 removed.
Which process you've used for removing namespace...java/xslt mapping. In case of java mapping plese remove ns3 while creating the target element. Please go through the below blog it may help you.
Quick Tips: Dealing with Namespaces in XI/PI
Regards,
Priyanka -
How do you remove duplicate images from your all images file on your mac desktop
How do you remove duplicate images from your all images file on your mac desktop?
Don't under any circumstances.
All images is not a file. It's not a place. It's a list. Specifically, it's the result of an instruction: List all the images on my machine.
When you delete something from All Images, then you have no idea what you're removing from where - files that are part of word processing docs, interface elements, corrupting your iPhoto Library. There are many perfectly legitimate reasons why you might have what appears to be duplicates but are not.
Rule number One: Never delete anything on your machine whose job you don't understand. -
Hi. I lost my IPad. I left it on a plane. What can be done to locate it and / or remove my information from it and / or disable it. Thanks
ThanksThese links may be helpful.
How to Track and Report Stolen iPad
http://www.ipadastic.com/tutorials/how-to-track-and-report-stolen-ipad
Reporting a lost or stolen Apple product
http://support.apple.com/kb/ht2526
Report Stolen iPad Tips and iPad Theft Prevention
http://www.stolen-property.com/report-stolen-ipad.php
How to Find a Stolen iPad
http://www.ehow.com/how_7586429_stolen-ipad.html
Oops! iForgot My New iPad On the Plane; Now What?
http://online.wsj.com/article/SB10001424052702303459004577362194012634000.html
Cheers, Tom
Maybe you are looking for
-
How do I get a refund after I downgarded my icloud storage?
I upgraded my icloud storage but my son I did not need the extra storage. I want to cancel the extra storage and get a refund but I can not find it any where on line and customer spport will not tell me on the telephone how do get a refundort. What d
-
How to transfer purchased and other music onto the itunes library
I was just wondering how do i transfer new purchased music nd other music onto itunes library
-
How to use JDBC driver (type 4) with struts?????
Hi! have a nice day!!!!! i want to connect database use struts with JDBC driver type 4. i must add <data-source/> to <data-sources></data-sources> tag but i don't know how to use <data-source/> with it's properties. please tell me! thank very much
-
When click on button in jsp portlet, the portlet is reloaded
Hi all I have a jsp portlet containing a number of divs and buttons. When the user clicks on a specific button, I use javascript to hide and/or display specific divs. However, in Weblogic Portal 10.3 (using IE 8 or FF 3.5.3) the whole portlet is relo
-
How to correct layout of videos saved to/viewed on my PC?
I have an iPHONE 5C and an HP laptop PC (Windows 7 OS). When I copy (backup) my videos onto my PC from my iPHONE 5c, they all display/play in a ROTATED way, NOT in the way/layout that I recorded them! My videos were all recorded using my iPHONE, stor