Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> exception raised in RPC: ORA-19504: failed to create file "/filename" ORA-27038: skgfrcre: file exists

exception raised in RPC: ORA-19504: failed to create file "/filename" ORA-27038: skgfrcre: file exists

From: Cihat <c.genc_at_interpay.nl>
Date: 21 Nov 2002 04:07:09 -0800
Message-ID: <75fbbd1e.0211210407.3af107ee@posting.google.com>


Hi,

When I try to backup my archivelogs the following happens. Does anyone have a clue? It looks like that there is already a file with the same name, but there isnt't, there is just the one that it creates at that moment. The first part of the attachment is the script that i'm running en the second part is the output.

The script:



su - oracle -c rman nocatalog <<here
connect target username/password
run
{
allocate channel kanaal3 type disk;
sql "alter system archive log current";
backup archivelog all format '/backup/orabackup_archlog_`date +%Y%m%d%H%M`';
release channel kanaal3;
}
here"

The output:


Your shell is /usr/bin/ksh
Command line editing set to vi mode

Recovery Manager: Release 8.1.7.0.0 - Production

RMAN>
RMAN-06005: connected to target database: MYDB (DBID=493307983) RMAN-06009: using target database controlfile instead of recovery catalog

RMAN> 2> 3> 4> 5> 6> 7>

RMAN-03022: compiling command: allocate
RMAN-03023: executing command: allocate
RMAN-08030: allocated channel: kanaal3
RMAN-08500: channel kanaal3: sid=9 devtype=DISK

RMAN-03022: compiling command: sql

RMAN-06162: sql statement: alter system archive log current RMAN-03023: executing command: sql
RMAN-03022: compiling command: backup
RMAN-03023: executing command: backup
RMAN-08009: channel kanaal3: starting archivelog backupset
RMAN-08502: set_count=737 set_stamp=478528146 creation_time=21-NOV-02
RMAN-08014: channel kanaal3: specifying archivelog(s) in backup set
RMAN-08504: input archivelog thread=1 sequence=1550 recid=1039
stamp=477938962
Blabla.......and then....
RMAN-08013: channel kanaal3: piece 1 created RMAN-08503: piece handle=/backup/orabackup_archlog_200211211229 comment=NONE
RMAN-08525: backup set complete, elapsed time: 00:00:16
RMAN-08009: channel kanaal3: starting archivelog backupset
RMAN-08502: set_count=738 set_stamp=478528163 creation_time=21-NOV-02
RMAN-08014: channel kanaal3: specifying archivelog(s) in backup set
RMAN-08504: input archivelog thread=1 sequence=1593 recid=1082
stamp=478261919
Blabla.......and then....
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS

RMAN-00571: ===========================================================
RMAN-03007: retryable error occurred during execution of command: backup
RMAN-07004: unhandled exception during command execution on channel kanaal3
RMAN-10035: exception raised in RPC: ORA-19504: failed to create file "/backup/orabackup_archlog_200211211229" ORA-27038: skgfrcre: file exists
RMAN-10031: ORA-19624 occurred during call to DBMS_BACKUP_RESTORE.BACKUPPIECECREATE RMAN>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS

RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands RMAN-01005: syntax error: found "identifier": expecting one of: "allocate,
alter, beginline, catalog, change, connect, create, crosscheck, configure,
debug, delete, drop, exit, endinline, host, {, library, list, mount, open,
print, register, release, replace, report, renormalize, reset, resync, rman,
rpct"
RMAN-01008: the bad identifier was: here RMAN-01007: at line 1 column 1 file: standard input

RMAN>

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-02002: unexpected end of input file reached

RMAN-08031: released channel: kanaal3

Recovery Manager complete.


Received on Thu Nov 21 2002 - 06:07:09 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US