Getting ORA-19700 with various RMAN Commands [message #465752] |
Thu, 15 July 2010 09:11 |
eigeneachse
Messages: 37 Registered: July 2008
|
Member |
|
|
Hi@all,
i have the following configuration.
The production server and the development server have an shared storage via nfs. The development server has the physical files and the production server has the nfs mounted.
Here is my config.
RMAN> show all;
using target database controlfile instead of recovery catalog
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION ON;
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/oradata3/transfer/%F';
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE /ORADATA3/TRANSFER/%D_%T_%U.BKP TO '%F'; # default
CONFIGURE DEVICE TYPE '/ORADATA3/TRANSFER/%D_%T_%U.BKP' PARALLELISM 1;
CONFIGURE DEVICE TYPE DISK PARALLELISM 1; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE /ORADATA3/TRANSFER/%D_%T_%U.BKP TO 1; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE /ORADATA3/TRANSFER/%D_%T_%U.BKP TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/oradata3/transfer/%d_%T_%U.bkp';
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/product/9.2.0/dbs/snapcf_DATABASENAME.f'; # default
No i wanted to do the following
RMAN> delete noprompt obsolete;
RMAN retention policy will be applied to the command
RMAN retention policy is set to redundancy 1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of delete command at 07/15/2010 16:09:52
ORA-19700: device type exceeds maximum length of 16
The same error occurs when i try to use an crosscheck backupset command.
Have you any hints whats wrong here?
Thanks in advance
Regards
Ralph
|
|
|
|
|
|
|
|
Re: Getting ORA-19700 with various RMAN Commands [message #465768 is a reply to message #465765] |
Thu, 15 July 2010 09:38 |
eigeneachse
Messages: 37 Registered: July 2008
|
Member |
|
|
rahulvb wrote on Thu, 15 July 2010 16:34
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/oradata3/transfer/%F';
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE /ORADATA3/TRANSFER/%D_%T_%U.BKP TO '%F'; # default
if you are on unix dont you think so Both path should be in CAPS or other way round..
People please correct if I am wrong..
But i did not configure the second entrie youve listet. I think this is automatically generated from the first one? Isn't it?
|
|
|
|
|
Re: Getting ORA-19700 with various RMAN Commands [message #465773 is a reply to message #465772] |
Thu, 15 July 2010 09:53 |
eigeneachse
Messages: 37 Registered: July 2008
|
Member |
|
|
Mahesh Rajendran wrote on Thu, 15 July 2010 16:49>>
But i did not configure the second entrie youve listet
Quote:
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/oradata3/transfer/%F';
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE /ORADATA3/TRANSFER/%D_%T_%U.BKP TO '%F'; # default
Well, somebody did. And the syntax is wrong with second entry.
Ok. Can you please tell me how to clear it?
I tried it using the following
RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE /ORADATA3/TRANSFER/%D_%T_%U.BKP TO '%F' clear;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01006: error signalled during parse
RMAN-02001: unrecognized punctuation symbol "/"
RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE /ORADATA3/TRANSFER/%D_%T_%U.BKP TO '%F' clear
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01006: error signalled during parse
RMAN-02001: unrecognized punctuation symbol "/"
RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE clear
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01005: syntax error: found "clear": expecting one of: "double-quoted-string, disk, identifier, single-quoted-string"
RMAN-01007: at line 1 column 57 file: standard input
Thank you for your help..
|
|
|
|
Re: Getting ORA-19700 with various RMAN Commands [message #465780 is a reply to message #465773] |
Thu, 15 July 2010 10:20 |
John Watson
Messages: 8962 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
You've messed up your configuration, at some point you must have executed this:
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE '/ORADATA3/TRANSFER/%D_%T_%U.BKP' to '%F%';
which is wrong, it worked only because you used quotes. You must clear it with this,
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE '/ORADATA3/TRANSFER/%D_%T_%U.BKP' clear;
and then use the correct command, which (remember your case sensitivity) might be
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/ORADATA3/TRANSFER/%F';
and do the same for backup copies and archivelog configured defaults.
|
|
|
Re: Getting ORA-19700 with various RMAN Commands [message #465837 is a reply to message #465780] |
Thu, 15 July 2010 13:11 |
eigeneachse
Messages: 37 Registered: July 2008
|
Member |
|
|
Hi John,
thank you for your suggestion.
I've tried this but i am not able to reset the config.
RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE '/ORADATA3/TRANSFER/%D_%T_%U.BKP' clear;
RMAN configuration parameters are successfully reset to default value
RMAN> show all;
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE /ORADATA3/TRANSFER/%D_%T_%U.BKP TO '%F'; # default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE /ORADATA3/TRANSFER//%D_%T_%U.BKP TO '%F'; # default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE '/ORADATA3/TRANSFER/%D_%T_%U.BKP' PARALLELISM 1;
CONFIGURE DEVICE TYPE '/ORADATA3/TRANSFER//%D_%T_%U.BKP' PARALLELISM 1;
CONFIGURE DEVICE TYPE DISK PARALLELISM 1; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE /ORADATA3/TRANSFER/%D_%T_%U.BKP TO 1; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE /ORADATA3/TRANSFER//%D_%T_%U.BKP TO 1; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE /ORADATA3/TRANSFER/%D_%T_%U.BKP TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE /ORADATA3/TRANSFER//%D_%T_%U.BKP TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/oradata3/transfer/%d_%T_%U.bkp';
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/product/9.2.0/dbs/snapcf_CXTEST.f'; # default
Is there any way to force resetting all rman configurations? Then i could start from the beginning.
Thanks for any help.
Regards
Ralph
|
|
|
|
|
|
|
|