Home » RDBMS Server » Backup & Recovery » RMAN Error..
RMAN Error.. [message #136129] Tue, 06 September 2005 05:54 Go to next message
sunil_v_mishra
Messages: 506
Registered: March 2005
Senior Member

hi every one
i am getting the error which is mention below...

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 09/06/2005 15:30:
18
ORA-19504: failed to create file "D:\Oracle\sunilbackup\bck\ora_df568308617_s15_
s1"
ORA-27040: skgfrcre: create error, unable to create file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.

***************************************************************
Note :- I dont have o/s write permission on the folder where i am trying to put my backup.....
***************************************************************


Please check the below written things to know what i am doing to create back on another server...


Edit in TNSNames.ora file at hdchbscgn20710.hclt-guindy.co.in (i.e at My Pc which has database)

ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST =Dexter.hclt-guindy.co.in)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.world)
)
)

---------------------------------------------------------------------------------------
Now connect to the server on which you want to put your database

===================================================
From 10g database(If your target database is 10g)
===================================================

D:\oracle>sqlplus system/oracle@dexter:1521/orcl.world

SQL*Plus: Release 10.1.0.2.0 - Production on Mon Sep 5 16:24:30 2005

Copyright (c) 1982, 2004, Oracle. All rights reserved.

Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.4.2 - Production
With the Partitioning, OLAP and Data Mining options

===================================================
For 9i database(If your target database is 9i)
===================================================

D:\oracle\ora92\bin>sqlplus system/oracle@orcl.world

SQL*Plus: Release 9.2.0.1.0 - Production on Tue Sep 6 12:53:25 2005

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.4.2 - Production
With the Partitioning, OLAP and Data Mining options

--------------------------------------------------------------------------------------

****************************
Now Create Recovery catalog
****************************

[1] Create A specific tablespace to store your schema object.

SQL> create tablespace rman_cat datafile 'D:\Oracle\sunil1backup.dbf' size 50M;

Tablespace created.


[2] Create a catalog schema (Users)

SQL> Create user rman identified by rman default tablespace rman_cat temporary tablespace temp quota unlimited on

rman_cat;

User created.


[3] Issue appropriate Grants to schema before creating the catlog object.

SQL> Grant recovery_catalog_owner,connect, resource to rman;

Grant succeeded.

SQL> Grant Create type to rman;

Grant succeeded.


[4]Now create the schema object within new scheman rman.

D:\oracle\ora92\bin>rman catalog rman/rman@orcl.world

Recovery Manager: Release 9.2.0.1.0 - Production

Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.

connected to recovery catalog database
recovery catalog is not installed

RMAN> create catalog;

recovery catalog created

RMAN> exit

Recovery Manager complete.

******************************
Registering a Target Database.
******************************

D:\oracle\ora92\bin>rman target / catalog rman/rman@orcl.world

Recovery Manager: Release 9.2.0.1.0 - Production

Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.

connected to target database: HCLSUNIL (DBID=2298601507)
connected to recovery catalog database

RMAN> register database;

database registered in recovery catalog
starting full resync of recovery catalog
full resync complete

********************************
CONFIGURING the Rman Environment
********************************
We will configure the following parameters:

[1] Two backup of each datafile
[2] Backup to be stored on disk in the D:\Oracle\sunilbackup\bck directory.
[3] Two server process to do backup/restore operation in parallel
[4] Using new feature controlfile autobackup.
[5] Set backup optimization on.


RMAN> configure default device type to disk;

old RMAN configuration parameters:
CONFIGURE DEFAULT DEVICE TYPE TO DISK;
new RMAN configuration parameters:
CONFIGURE DEFAULT DEVICE TYPE TO DISK;
new RMAN configuration parameters are successfully stored
starting full resync of recovery catalog
full resync complete

RMAN> configure retention policy to redundancy 2;

old RMAN configuration parameters:
CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
new RMAN configuration parameters:
CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
new RMAN configuration parameters are successfully stored
starting full resync of recovery catalog
full resync complete

RMAN> configure device type disk parallelism 2;

old RMAN configuration parameters:
CONFIGURE DEVICE TYPE DISK PARALLELISM 2;
new RMAN configuration parameters:
CONFIGURE DEVICE TYPE DISK PARALLELISM 2;
new RMAN configuration parameters are successfully stored
starting full resync of recovery catalog
full resync complete

RMAN> configure channel device type disk format 'D:\Oracle\sunilbackup\bck\ora_df%t_s%s_s%p';

old RMAN configuration parameters:
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'D:\Oracle\sunilbackup\ora_df%t_s%s_s%p';
new RMAN configuration parameters:
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'D:\Oracle\sunilbackup\bck\ora_df%t_s%s_s%p';
new RMAN configuration parameters are successfully stored
starting full resync of recovery catalog
full resync complete

RMAN> configure controlfile autobackup on;

old RMAN configuration parameters:
CONFIGURE CONTROLFILE AUTOBACKUP ON;
new RMAN configuration parameters:
CONFIGURE CONTROLFILE AUTOBACKUP ON;
new RMAN configuration parameters are successfully stored
starting full resync of recovery catalog
full resync complete

RMAN> configure controlfile autobackup format for device type disk to D:\Oracle \sunilbackup\bck\ora_cf%F';

new RMAN configuration parameters:
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'D:\Oracle\sunil
backup\bck\ora_cf%F';
new RMAN configuration parameters are successfully stored
starting full resync of recovery catalog
full resync complete

RMAN> configure backup optimization on;

old RMAN configuration parameters:
CONFIGURE BACKUP OPTIMIZATION ON;
new RMAN configuration parameters:
CONFIGURE BACKUP OPTIMIZATION ON;
new RMAN configuration parameters are successfully stored
starting full resync of recovery catalog
full resync complete


To see all configure parameter
------------------------------

RMAN> show all;

RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
CONFIGURE BACKUP OPTIMIZATION ON;
CONFIGURE DEFAULT DEVICE TYPE TO DISK;
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'D:\Oracle\sunilbackup\bck\ora_cf%F';
CONFIGURE DEVICE TYPE DISK 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 FORMAT 'D:\Oracle\sunilbackup\bck\ora_df%t_s%s_s%p';
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'D:\ORACLE\ORA92\DATABASE\SNCFHCLSUNIL.OR
A'; # default

RMAN>

======================================================================================================


RMAN> backup database format 'D:\Oracle\sunilbackup\bck\ora_df%t_s%s_s%p';

Starting backup at 06-SEP-05
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=9 devtype=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: sid=12 devtype=DISK
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00002 name=D:\ORACLE\ORADATA\HCLSUNIL\UNDOTBS01.DBF
input datafile fno=00005 name=D:\ORACLE\ORADATA\HCLSUNIL\EXAMPLE01.DBF
input datafile fno=00021 name=D:\ORACLE\ORA92\ORADATA\OID\ICATS1_OID.DBF
input datafile fno=00006 name=D:\ORACLE\ORADATA\HCLSUNIL\INDX01.DBF
input datafile fno=00009 name=D:\ORACLE\ORADATA\HCLSUNIL\USERS01.DBF
input datafile fno=00007 name=D:\ORACLE\ORADATA\HCLSUNIL\ODM01.DBF
input datafile fno=00022 name=D:\ORACLE\ORA92\ORADATA\OID\P1ATTRS1_OID.DBF
input datafile fno=00008 name=D:\ORACLE\ORADATA\HCLSUNIL\TOOLS01.DBF
input datafile fno=00015 name=D:\ORACLE\ORA92\ORADATA\OID\CATS1_OID.DBF
input datafile fno=00017 name=D:\ORACLE\ORA92\ORADATA\OID\IATTRS1_OID.DBF
input datafile fno=00018 name=D:\ORACLE\ORA92\ORADATA\OID\IDNCAT1_OID.DBF
input datafile fno=00020 name=D:\ORACLE\ORA92\ORADATA\OID\IOBJCL1_OID.DBF
channel ORA_DISK_1: starting piece 1 at 06-SEP-05
channel ORA_DISK_2: starting full datafile backupset
channel ORA_DISK_2: specifying datafile(s) in backupset
input datafile fno=00001 name=D:\ORACLE\ORADATA\HCLSUNIL\SYSTEM01.DBF
input datafile fno=00010 name=D:\ORACLE\ORADATA\HCLSUNIL\XDB01.DBF
input datafile fno=00003 name=D:\ORACLE\ORADATA\HCLSUNIL\CWMLITE01.DBF
input datafile fno=00004 name=D:\ORACLE\ORADATA\HCLSUNIL\DRSYS01.DBF
input datafile fno=00023 name=D:\ORACLE\ORA92\ORADATA\OID\ICATSP1_OID.DBF
input datafile fno=00011 name=D:\ORACLE\ORA92\ORADATA\OID\ATTRS1_OID.DBF
input datafile fno=00016 name=D:\ORACLE\ORA92\ORADATA\OID\DEFAULT1_OID.DBF
input datafile fno=00012 name=D:\ORACLE\ORA92\ORADATA\OID\DNCAT1_OID.DBF
input datafile fno=00013 name=D:\ORACLE\ORA92\ORADATA\OID\CNCAT1_OID.DBF
input datafile fno=00014 name=D:\ORACLE\ORA92\ORADATA\OID\OBJCL1_OID.DBF
input datafile fno=00019 name=D:\ORACLE\ORA92\ORADATA\OID\ICNCAT1_OID.DBF
channel ORA_DISK_2: starting piece 1 at 06-SEP-05
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 09/06/2005 15:30:
18
ORA-19504: failed to create file "D:\Oracle\sunilbackup\bck\ora_df568308617_s15_
s1"
ORA-27040: skgfrcre: create error, unable to create file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.

RMAN>

I know some people things it very lengthy but fact i explained every thing so that i can get solution.

Waiting for your help
Always you friend
sunilkumar



Re: RMAN Error.. [message #136146 is a reply to message #136129] Tue, 06 September 2005 06:48 Go to previous messageGo to next message
girish.rohini
Messages: 744
Registered: April 2005
Location: Delhi (India)
Senior Member
Sunil

Check for the permission to write on the path specified.
You are getting error:
"ORA-27040: skgfrcre: create error, unable to create file".

Regds
Girish
Re: RMAN Error.. [message #137784 is a reply to message #136146] Fri, 16 September 2005 15:27 Go to previous messageGo to next message
sunil_v_mishra
Messages: 506
Registered: March 2005
Senior Member
hi,

Thanks for your reply

Friend
sunil
Re: RMAN Error.. [message #586959 is a reply to message #137784] Wed, 12 June 2013 00:09 Go to previous messageGo to next message
ielearn
Messages: 1
Registered: June 2013
Location: VietNam
Junior Member
thank so much for sharing the good topic, i got it and did it. you are very nice
Re: RMAN Error.. [message #586960 is a reply to message #586959] Wed, 12 June 2013 00:52 Go to previous message
Michel Cadot
Messages: 68716
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
For the record:

The main error is "O/S-Error: (OS 3) The system cannot find the path specified." and the action is to:
1/ Verify the directory (D:\Oracle\sunilbackup\bck\) exists
2/ Verify the instance owner (in Windows most likely local SYSTEM) has the right to write in this directory

Regards
Michel
Previous Topic: Protocol used by RMAN
Next Topic: Fail to open database after incomplete media recovery
Goto Forum:
  


Current Time: Tue Nov 26 22:15:05 CST 2024