Got error when creating a standby DB from rman: no backup or copy... Why?
We try to create standby database from a production DB on another server (10.2.0.4). The RMAN backup is in the nfs file system which is also mounted to the target server (the DR box). So, the access path for the rman backup is the same look from primary DB server and DR DB server. I started the RMAN run:
RMAN> RUN
2> {
3> ALLOCATE AUXILIARY CHANNEL aux1 DEVICE TYPE DISK;
4> ALLOCATE AUXILIARY CHANNEL aux2 DEVICE TYPE DISK;
5> DUPLICATE TARGET DATABASE for standby
6> nofilenamecheck
7> dorecover;
8> }
9>
10> exit
using target database control file instead of recovery catalog
allocated channel: aux1
channel aux1: sid=582 devtype=DISK
allocated channel: aux2
channel aux2: sid=584 devtype=DISK
Starting Duplicate Db at 21-JUN-12
contents of Memory Script:
set until scn 12198261770353;
restore clone standby controlfile;
sql clone 'alter database mount standby database';
executing Memory Script
executing command: SET until clause
Starting restore at 21-JUN-12
released channel: aux1
released channel: aux2
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 06/21/2012 16:33:36
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06024: no backup or copy of the control file found to restore
===========================================================================
The backups should have controlfile. There is rman show all display:
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
CONFIGURE BACKUP OPTIMIZATION OFF;
CONFIGURE DEFAULT DEVICE TYPE TO DISK;
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/backup/inbound/online/controlfile_auto%F';
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT '/backup/inbound/online/%d_%T_%t_%s';
CONFIGURE MAXSETSIZE TO UNLIMITED;
CONFIGURE ENCRYPTION FOR DATABASE OFF;
CONFIGURE ENCRYPTION ALGORITHM 'AES128';
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/backup/inbound/online/snapcf_inbound.f';
Why and how to fix? Thanks for help!
Here is the list of command:
RMAN> list backup of controlfile ;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
5518 Full 4.57M DISK 00:00:07 17-JUN-12
BP Key: 5518 Status: AVAILABLE Compressed: NO Tag: TAG20120617T035926
Piece Name: /backup/inbound/online/controlfile_autoc-2080040856-20120617-00
Control File Included: Ckp SCN: 12197994840698 Ckp time: 17-JUN-12
BS Key Type LV Size Device Type Elapsed Time Completion Time
5522 Full 4.57M DISK 00:00:00 18-JUN-12
BP Key: 5522 Status: AVAILABLE Compressed: NO Tag: TAG20120618T010158
Piece Name: /backup/inbound/online/controlfile_autoc-2080040856-20120618-00
Control File Included: Ckp SCN: 12198041382572 Ckp time: 18-JUN-12
BS Key Type LV Size Device Type Elapsed Time Completion Time
5526 Full 4.57M DISK 00:00:01 19-JUN-12
BP Key: 5526 Status: AVAILABLE Compressed: NO Tag: TAG20120619T010352
Piece Name: /backup/inbound/online/controlfile_autoc-2080040856-20120619-00
Control File Included: Ckp SCN: 12198090424606 Ckp time: 19-JUN-12
BS Key Type LV Size Device Type Elapsed Time Completion Time
5530 Full 4.57M DISK 00:00:02 20-JUN-12
BP Key: 5530 Status: AVAILABLE Compressed: NO Tag: TAG20120620T010304
Piece Name: /backup/inbound/online/controlfile_autoc-2080040856-20120620-00
Control File Included: Ckp SCN: 12198146424201 Ckp time: 20-JUN-12
BS Key Type LV Size Device Type Elapsed Time Completion Time
5534 Full 4.57M DISK 00:00:02 21-JUN-12
BP Key: 5534 Status: AVAILABLE Compressed: NO Tag: TAG20120621T010357
Piece Name: /backup/inbound/online/controlfile_autoc-2080040856-20120621-00
Control File Included: Ckp SCN: 12198210334547 Ckp time: 21-JUN-12
==================================================================
I tried to catalog the controlfile:
RMAN> catalog controlfilecopy '/backup/inbound/online/controlfile_autoc-2080040856-20120621-00';
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of catalog command on default channel at 06/21/2012 17:24:32
ORA-19563: control file header validation failed for file /backup/inbound/online/controlfile_autoc-2080040856-20120621-00
====================================================================
We have level 1 backup everyday, except Sunday. I have level 0 backup on Sunday. I alos tried the metalink note RMAN Duplicate For Standby Fails with Rman-06024: No Backup Or Copy Of The Control File Found To Restore [ID 466321.1]. It does not work.
Thanks for help!
Similar Messages
-
Error when creating link to documents from material
Hi all,
while creating the purchase order the error message "Error when creating link to documents from material 61260224060" is displayed.
why this error message is displayed.?
Regards,
GaneshRajaHello Ganesh
Please check material master - view 'Bases data 2'.
There is checkbox 'No link'. You can activate this checkbox if you are not storing any drawing/designe docuemnt for this material.
Try to do this and check out again.....
If this helps you in resolving your issue, i would appreciate if you reward the answer with suitable points.
Best Regards
Avinash -
Got Error when creating application server connection
Hi Guys...I am using SOA 10.1.3.1.0
I got the following error when creating application server connection
In Step 1:
I selected the Connection type as Standalone OC4J 10.1.3 (Why because I use this one)
In Step 2:
In this step I gave username and password (same username and password to connect to BPEL console)to authenticate connection
In step 3:
It is asking for Hostname, RMI port and URL path. My computer name is gopal-computer. I gave this hostname. RMI port number is 23791 by default. I kept this one as it is and URL path optional I think. I did not give any thing.
In step 4:
When I hit the test connection button its giving the following error
Error while getting remote MBeanServer for url: ormi://gopal-computer:23791/default:
Error reading application-client descriptor: Error communicating with server: Connection refused: connect; nested exception is:
javax.naming.CommunicationException: Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]
Please help me.
Thanks,
Gopal.....For SOA Suite connection you should choose "Oracle application server 10g 10.1.3"
-
Getting errors when creating physical standby.
Hello All,
i am getting following error when i creating a physical standby for production,
i used below command to do it
duplicate target database to standby dorecover;
after some time it throwed this error.
Oracle Error:
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: '+DATA/solfho2/datafile/system.382.764328493'
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 10/12/2011 13:04:06
RMAN-03015: error occurred in stored script Memory Script
RMAN-11003: failure during parse/execution of SQL statement: alter database recover logfile '/arch/SOLFHO2/PROLHO01_1_25224_740461103.arc'
ORA-16145: archival for thread# 1 sequence# 25224 in progressHello;
Looks like a do over.
I have my short notes here:
http://www.visi.com/~mseberg/duprman2.html
This has been tested several times.
Best Regards
mseberg -
Error - when creating a standby database with EM 10g Grid Control
Hi,
I am experiencing some problems when I want to create through the EM 10g Grid Control a standby database from a allready existing db. At step 2 when the files should be generated and copied to the other system, I am always getting the error that there isn't enough disk space on the other system. This can't be because there is at least 30GB free and the installer is asking for less than 1GB. I was searching the whole internet for a solution to this issue, but there was just nothing that could help me out with that point...
Has someone an idea at this point? Thanks for helping...
I am working on a Windows 2003 Server - Enterprise Edition for every system (Grid Control, Primary DB and Standby DB).
Best regards,
Patrick.Check that filesystem space using GC under targets>hosts on which you are trying to create standby. Do you have any specific error message from GC ? If GC shows proper size under host filesystem section then there shuld be no such problem. Double chk ur locations too.
Regards,
http://askyogesh.com -
Error when creating BufferedImage with IndexColorModel from a byte array.
Hi, I have a 1-dimentional byte array and an IndexColorTable, and I can't figure out how to combine the 2 into an BufferedImage without unnecessary copying/reallocating of the image buffer.
The color model I have is:
int [] cmap = new int [numColors];
cmap[i++] = 0xffa0f000; /etc.
new IndexColorModel(8, 22, cmap, 0, true, transparentIndex, DataBuffer.TYPE_BYTE );Thanks for your help
-Ben
Ps.
I've was looking at some example code (http://javaalmanac.com/egs/java.awt.image/Mandelbrot2.html?l=rel), and can't figure out how to go from the color model they're using to the one I have (the 8 bit one specified above). When I replace the 4bit colormodel in the code below with the 8bit color model specified above, I get the following error:
[java] java.lang.IllegalArgumentException: Raster ByteInterleavedRaster: width = 5120 height = 3520 #numDataElements 1 dataOff[0] = 0 is incompatible with ColorModel IndexColorModel: #pixelBits = 8 numComponents = 4 color space = java.awt.color.ICC_ColorSpace@c51355 transparency = 2 transIndex = 22 has alpha = true isAlphaPre = false
[java] at java.awt.image.BufferedImage.<init>(BufferedImage.java:613)
Code:
byte[] pixelArray = (byte[]) getData_CHAR();
int width = 5120;
int height = 3520;
int numbytes = width*height;
//create DataBuffer using byte buffer of pixel data.
DataBuffer dataBuffer = new DataBufferByte(pixelArray, numbytes, 0);
//prepare a sample model that specifies a storage 8-bits of pixel data in an 8-bit data element
int bitMasks[] = new int[]{0xf};
SinglePixelPackedSampleModel sampleModel = new SinglePixelPackedSampleModel(DataBuffer.TYPE_BYTE, width, height, bitMasks);
//create a raster using the sample model and data buffer
WritableRaster writableRaster = Raster.createWritableRaster(sampleModel, dataBuffer, new Point(0,0));
//generate 16-color model
byte[] r = new byte[16];
byte[] g = new byte[16];
byte[] b = new byte[16];
r[0] = 0; g[0] = 0; b[0] = 0;
r[1] = 0; g[1] = 0; b[1] = (byte)192;
r[2] = 0; g[2] = 0; b[2] = (byte)255;
r[3] = 0; g[3] = (byte)192; b[3] = 0;
r[4] = 0; g[4] = (byte)255; b[4] = 0;
r[5] = 0; g[5] = (byte)192; b[5] = (byte)192;
r[6] = 0; g[6] = (byte)255; b[6] = (byte)255;
r[7] = (byte)192; g[7] = 0; b[7] = 0;
r[8] = (byte)255; g[8] = 0; b[8] = 0;
r[9] = (byte)192; g[9] = 0; b[9] = (byte)192;
r[10] = (byte)255; g[10] = 0; b[10] = (byte)255;
r[11] = (byte)192; g[11] = (byte)192; b[11] = 0;
r[12] = (byte)255; g[12] = (byte)255; b[12] = 0;
r[13] = (byte)80; g[13] = (byte)80; b[13] = (byte)80;
r[14] = (byte)192; g[14] = (byte)192; b[14] = (byte)192;
r[15] = (byte)255; g[15] = (byte)255; b[15] = (byte)255;
//create buffered image
ColorModel colorModel = new IndexColorModel(4, 16, r, g, b);
BufferedImage image = new BufferedImage(colorModel, writableRaster, false, null);Message was edited by:
ben_weisburd
Message was edited by:
ben_weisburdI had the same problem too.
anyone found the solution for this problem?
thanks
Bruno Rabino
When I try to make a MD-form, where the base-table for the detail contains a column with a BLOB-datatype. I get following error when I finish creation of the form.
Error: Exception from wwv_generate_component.build_procedure (WWV-01821)
Error creating module: ORA-01403: no data found (WWV-16042)
When I use the table with the BLOB as master or in a form, it works fine.
Has anyone else experienced this problem? Or knows a way to fix or work around it. Thanks in advance.
Portal version: 3.0.6.6.5
null -
Error when creating a Proxy Object from WSDL
Hi,
when creating a proxy object in abap based on the [WSDL|http://download.mapandguide.com/EN/dev/xserver/XLocate-1.6.0.3.wsdl] i get the error 'Incorrect value: Unknown Type Referencens0:ArrayOfString'.
1- Is there a conflict with the type 'String' that's also a type in ABAP
<complexType name="ArrayOfString">
<sequence>
<element name="String" type="xsd:string" minOccurs="0" maxOccurs="unbounded" nillable="true" />
</sequence>
</complexType>
2- Is it a name space problem?
xmlns:ns0="http://types.xlocate.xserver.ptvag.com"
type="ns0:ArrayOfString"
3- Something else?
Please Help!
Thank
FouadHi Isaias,
we are working with this versions:
SAP_BASIS 700 0015 SAPKB70015 SAP Basiskomponente
SAP_AP 700 0013 SAPKNA7013 SAP Application Platform
We are not working with developer studio, only with the regular tools of the abap development workbench Transaction SE80.
Thanks,
Fouad -
Hi Guys,
In My application, I need to search a directory on my machine like if i give abc, it should display all files that match "abc". For that i have a Jsp page which accepts the pattern and am using MVC architecture for developing this application and I got this error when i ran the application. My jsp page:
<body>
<html:form action="/searchPattern">
<TABLE border="0">
<TBODY> <TR>
<TH>File Pattern</TH>
<TD><html:text property="pattern" /></TD></TR> <TR><TD><html:submit property="submit" value="Submit" /></TD></TR>
</TBODY>
</TABLE>
</html:form>
</body>
another Jsp for displaying the results:
<body>
<jsp:useBean class="com.mot.struts.form.SearchForm" id="fileDetail" scope="session"/>
<table>
<tr><td>File Names</td>
<td><jsp:getProperty name="fileDetail" property="pattern"/></td>
<td><ul>
<logic:iterate name="fileDetail" property="listFiles"
id="fileDetails" scope="session">
<li><bean:write name="fileDetails" property="listFiles" />
</li>
</logic:iterate>
</ul></td>
</tr>
</table>
</body>
and the Action servlet is:
public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response) {
SearchForm searchForm = (SearchForm) form;
String pattern=request.getParameter("pattern");
File dir = new File("D:\\satish\\archive");
System.out.println("Searching....");
File[] children=dir.listFiles();
for (int i=0; i<children.length; i++) {
String fileMatch=children.getAbsoluteFile().getName();
if(fileMatch.contains(pattern)==true){
System.out.println("File pattern with .log found, File Name "+ fileMatch);
request.setAttribute("fileDetail", searchForm);
return mapping.findForward("success");
else{
System.out.println("File pattern does not found");
return mapping.findForward("failure");
and the FormBean is:
public class SearchForm extends ActionForm {
private List pattern;
private List fileName;
private List listFiles;
public SearchForm(){
public SearchForm(List pattern, List fileName, List listFiles){
this.pattern=pattern;
this.fileName=fileName;
this.listFiles=listFiles;
public static class Files{
private Object fName;
public Files(){
public Files(Object fName){
this.fName=fName;
public Object getFName() {
return fName;
public void setFName(Object name) {
fName = name;
public List getListFiles() {
int size=pattern.size();
List listFiles=new ArrayList(size);
for( int p = 0; p < size; p++ ) {
listFiles.add(new Files(fileName.get(p)));
return listFiles;
public void setListFiles(List listFiles) {
this.listFiles = listFiles;
public List getPattern() {
return pattern;
public void setPattern(List pattern) {
this.pattern = pattern;
public List getFileName() {
return fileName;
public void setFileName(List fileName) {
this.fileName = fileName;
and I got the following error:
javax.servlet.ServletException: BeanUtils.populate
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1254)
.........root cause:
java.lang.IllegalArgumentException: argument type mismatch
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Plz help me in solving thisyour form bean probably has a property that was declared using the wrong data type
-
Got error when creating stored procedure
Hi,
I am a rookie in Oracle. I created a stored procedure:
create or replace procedure my_first_sp
as
begin
select cid from actions where rownum<3;
end;
And I got an error : "**** compilation error"
After I "show error" I got the description to see a "into" is expected.
But if I change the select statement to a insert statement, no error.
Please advice.
Thanks a lot.When you have a standalone SELECT statement in PL/SQL, you have to have an INTO clause if you want the results to be stored in a local variable.
In your case, it would appear that you want your query to return multiple rows. In that case, you'd want to create a cursor, i.e.
CREATE OR REPLACE my_first_sp
AS
BEGIN
FOR cursor_name IN (SELECT cid FROM actions WHERE rownum < 3)
LOOP
<<Do something>>
END LOOP;
END;I would also tend to suspect that your SELECT statement is wrong. This statement will return an arbitrary two cid values from the actions table, which is not likely what you want.
Justin -
Error when create JLabel with ImageIcon from server
Hi!
When I run applet that contain JLabel(String, ImageIcon, int) from server I get follow error: "java.security.AccessControlException: access denied (java.io.FilePermission middle-1.gif read)". .gif-file and .class-file are located in the same directory. From local disk this applet run successfully. Who can help me?
Thanks.Look at the docs for Applet class, and use getImage()
from there. Running in browser is quite different
than to run locally...
Better yet to pack image and classes in jar file,
and read from there with getResourceAsStream()
( search forums, there were examples ) -
Strange error when creating an iCal event from Addressbook
Hi all,
When I drag/drop an Addressbook vCard on a specific date/time in iCal, iCal automatically creates a 1hour event, e.g "Meeting with CompanyName", iCal also inserts the mail address of the Contact person, but the Location (physical Address) is missing, even if its in the Addressbook vCard. Can someone explain whats wrong?
I have a few Addressbook plug-ins: BT Google Directions, BT Google Maps etc. Can this be causing the error?
Thanks for your help! / PaulI really don't think it's the page since web pages can't "manipulate" built-in iOS views. At least I can't find an example where it actually does work the way it should and used to work in iOS 7. Here's another example: http://www.premierleague.com/en-gb/matchday/matches.html?paramClubId=ALL¶mCo mp_100=true&view=.dateSeason (click the Calendar icon)
Also tried it now on a iPhone with iOS 8. There it still works because there's a Done button in the upper right corner which can close the calendar view, so I'd say this is definitely a iPad/iOS8 bug. -
Got error when create new category
Hello,
when I wanted to create a category problematically, I saw this error:
atg.repository.RepositoryException: createItem called with id of valid item: category:6552:1
at atg.adapter.gsa.GSARepository.findItemToUndelete(GSARepository.java:871)
at atg.adapter.gsa.GSARepository.createItem(GSARepository.java:810)
at atg.adapter.version.VersionRepository.createItem(VersionRepository.java:1972)
at atg.adapter.version.VersionRepository.createItem(VersionRepository.java:1201)
Can anyone give me some hint about what it means?
Thanks ahead!
~RussellLooks like an issue related to IdGenerator which sometimes might happen when you try to create items after some data import. You can check the DAS_ID_GENERATOR table in your CA schema and look for the row corresponding to "category" (the id_space_name column would be having item-descriptor names) and for that row you can try to update the seed value to a higher value or try to add a prefix or suffix on it. Restart your server after the changes. See if it helps.
-
Error when creating Z*BSP component from BSP_WD_CMPWB
Hi,
I have created a BSP component with one view. But, alwayz it is saying one message : "View is not loaded into runtime repository".
Can you please tell me, what I need to do to remove this message?
Thanks,
SandeepHi Sandeep,
The message will come up as long as you have not assigned the view to any of the window/view sets in the repository. You can of course safely ignore it if it's not meant to be(for example interface views that are meant to be used as popups)
Regards,
Arun Prakash -
Error when creating delivery referenced by STO doc. from vl10b
Hi All,
We are getting an error when creating delivery as background from vl10b t-code referenced by STO. The error message " Global official numbering: Input parameter incomplete " .
Please give me a hand for this problem.
Thanks in advance for your helps.
Regards,Hi,
One of the possibilities of the error could be
if i_BuKrs eq space or i_BuPla eq space or i_PostDate eq space.
i.e Compnay code or Posting date ro Business Place is Blank.
Please Take help of ABAPEr to resolve the isssue
Thanks
Murtuza -
Apple ID couldn't be created because of a server error when i try to restore from a backup
Apple ID couldn't be created because of a server error when i try to restore from a backup from iCloud?
Also my mail works fine, and if i bypass everything and sign in tomy apple id in settings it will work!I don't know, but it's not working for me.
I went to Apple ID website and everything is fine there, But I can't restore my phone from iCloud.
Maybe you are looking for
-
Memory Upgrade on Satellite Pro A10
Can anyone advise me as to the correct RAM type to upgrade my Satellite Pro A10. Its a standard 256mB at the minute and I'm thinking of slotting in an additional 512mB next to it - but am bemused by the array of memory types and nomenclatures - DDR -
-
Service Desk: Can't find Support Team when creat.message in satellite syste
Hi all, strange thing: In service desk I customized the partner determination rule for the support team with the rule AC13200137. (In the rule pretty much everything is filled with * ) a) when creating a message via transaction NOTIF_CREATE within so
-
PLEASE HELP. =) we are about 4 minutes into editing a video for the first time on final cut pro x 10.1. everything was going very smoothly, but then it started freezing up. I had to do a hard reset and took it into the computer store that actually
-
We haven't got this program to work yet on a failry new Mac. Tried the delete preference route as listed in other areas, still crashes within the first 2 mins. Very frustrating and cannot use it even though we really need it ASAP. Please help! Crash
-
Strange burn folder behaviour; lost files, sort of...
I was trying to back up several folders from iTunes onto a DVD. I did this earlier today, and it worked fine. When I tried it again, by highlighting 5 folders and dragging them to a second burn folder, the following happened: 1. The folders did not a