ORA-27038: created file already exists

BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
RMAN-03009: failure of backup command on t1 channel at 01/06/2013 21:24:49
ORA-19504: failed to create file "/oradbs/disk_bakup/amx53s/amx53s_arch_060113_1747"
ORA-27038: created file already exists
MY RMAN SCRIPT:
export ORACLE_HOME
ORACLE_SID=amx53s
export ORACLE_SID
date=`date '+%d%m%y_%H%M`
JOBLOG=/oradbs/disk_bakup/amx53s/amx53s.rman_$date.log
$ORACLE_HOME/bin/rman target / NOCATALOG log "$JOBLOG" <<EOF
run {
allocate channel t1 type disk;
backup
format '/oradbs/disk_bakup/amx53s/amx53s_offline_$date'
tag='amx53s_offline'
database;
backup
format '/oradbs/disk_bakup/amx53s/amx53s_arch_$date'
tag='amx53s_ARC_Tape_backup'
archivelog all delete input ;
backup current controlfile format '/oradbs/disk_bakup/amx53s/amx53s_Ctl_$date';
crosscheck backup;
release channel t1;
}

Hi,
format '/oradbs/disk_bakup/amx53s/amx53s_offline_$date'Can you modify output file format to amx53s_offline_%p_%s_$date to add piece number set number to make the outpfile name unique? Because here RMAN is creating a backup set with the name you are providing, and then for next backup set, it uses same name and thats why returns you error message of "file already exists". If you second backup set is created on next minute, file name will be different, but if in the same minute, file name will be same and this error will come.
Salman

Similar Messages

  • Restore (file already exists)

    Hello
    1-)Why does restore fail in below scenerio?
    2-)'C:\TEST.DBF' datafile is not in my backupset,Why oracle attempts to restore it?
    rman target /
    Recovery Manager: Release 10.2.0.1.0 - Production on Sun Jul 26 12:29:42 2009
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    connected to target database: XE (DBID=2563855341)
    RMAN> backup database;
    Starting backup at 26-JUL-09
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=38 devtype=DISK
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00003 name=C:\ORACLEXE\ORADATA\XE\SYSAUX.DBF
    input datafile fno=00001 name=C:\ORACLEXE\ORADATA\XE\SYSTEM.DBF
    input datafile fno=00002 name=C:\ORACLEXE\ORADATA\XE\UNDO.DBF
    input datafile fno=00004 name=C:\ORACLEXE\ORADATA\XE\TEST1.DBF
    input datafile fno=00005 name=C:\ORACLEXE\ORADATA\XE\TEST2.DBF
    input datafile fno=00006 name=C:\ORACLEXE\ORADATA\XE\TUNTEMP.DBF
    channel ORA_DISK_1: starting piece 1 at 26-JUL-09
    channel ORA_DISK_1: finished piece 1 at 26-JUL-09
    piece handle=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2009_07_26\O1_MF_NNNDF_TAG20090
    726T122957_56R8JRNJ_.BKP tag=TAG20090726T122957 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:02:18
    Finished backup at 26-JUL-09
    Starting Control File and SPFILE Autobackup at 26-JUL-09
    piece handle=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2009_07_26\O1_MF_S_693232337_5
    6R8O2N0_.BKP comment=NONE
    Finished Control File and SPFILE Autobackup at 26-JUL-09
    C:\Documents and Settings> sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Jul 26 12:32:44 2009
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    sys@XE> create tablespace test datafile 'C:/test.dbf' size 3m;
    Tablespace created.
    sys@XE> shut immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    RMAN> restore database;
    Starting restore at 26-JUL-09
    using channel ORA_DISK_1
    creating datafile fno=7 name=C:\TEST.DBF
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 07/26/2009 12:41:17
    ORA-01119: error in creating database file 'C:\TEST.DBF'
    ORA-27038: created file already exists
    OSD-04010: <create> option specified, file already existsIf I restore old controlfile, it again gives the same error,old controlfile doesnt aware of the new tablespace, and this new datafile is not in my backupset. so why it gives this error?
    RMAN> restore controlfile from autobackup;
    Starting restore at 26-JUL-09
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=35 devtype=DISK
    recovery area destination: C:\oraclexe\app\oracle\flash_recovery_area
    database name (or database unique name) used for search: XE
    channel ORA_DISK_1: autobackup found in the recovery area
    channel ORA_DISK_1: autobackup found: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2009_
    07_26\O1_MF_S_693234306_56RBLMM1_.BKP
    channel ORA_DISK_1: control file restore from autobackup complete
    output filename=C:\ORACLEXE\ORADATA\XE\CONTROL.DBF
    Finished restore at 26-JUL-09
    RMAN> restore database;
    RMAN-03002: failure of restore command at 07/26/2009 12:41:17
    ORA-01119: error in creating database file 'C:\TEST.DBF'
    ORA-27038: created file already exists
    OSD-04010: <create> option specified, file already exists

    Hi Bobo Dasilva,
    What you showed according to your output is you created an autobackup without the info on the datafile called:
    C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2009_07_26\O1_MF_S_693232337_56R8O2N0_.BKP
    Than you created the tablespace which implictly created a new controlfile autobackup because you changed the structure of the database.
    C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2009_07_26\O1_MF_S_693234306_56RBLMM1_.BKP
    This last controlfile autobackup is than used by the restore process which is the reason the controlfile is aware of the extra added datafile.
    Best would be to to force the restore of the controlfile from O1_MF_S_693232337_56R8O2N0_.BKP if you want the controlfile not to contain the info.
    Regards,
    Tycho

  • EXPDP generates new dmp file and reports "file already exists" error

    Hello everyone,
    Hope you all had a wonderful holiday. I got some problems with datapump expdp 10.2.0.4. It would be appreciated if you could provide some advice. Thanks in advance.
    I newly created a 10.2.0.4 database. The database can startup and be connected via Toad without problem. I can also use impdp to import some data to the new database. But when I'm trying to use expdp to export a schema from the database, I got the following errors:
    expdp parfile=expdp_scott_mfp1.parExport: Release 10.2.0.4.0 - 64bit Production on Monday, 26 December, 2011 22:10:49
    Copyright (c) 2003, 2007, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Data Mining and Real Application Testing options
    ORA-39001: invalid argument value
    ORA-39000: bad dump file specification
    ORA-31641: unable to create dump file "/u02/exports/mfp1/expdp_scott_mfp1_12262011.dmp"
    ORA-27038: created file already exists
    Additional information: 1
    Every time I run the expdp, it just creates the dmp file (expdp_scott_mfp1_12262011.dmp) specified in the parfile under the EXPORT directory and reports "file already exists " error.
    Your advice is highly appreciated.
    Thanks.
    Edited by: 904668 on Dec 27, 2011 8:47 AM

    i thought I found the problem. Used same file name on dump file and log file. How stupid of me. Sorry for bothering. Thanks and happy new year!

  • Cannot create a file when that file already exists, but should overwrite

    Hi,
    I need the same file name which is at Sender side and when it reaches to Receiver directory without timestamp.
    for eg., Sender side : Yeswanth.txt
    and also receiver side   :  Yeswanth.txt
    but, here it should overwrite the existing file (because, the sender side file name is always constant) at receiver directory when the job schedules for each time.
    Processing parameters i has given on Receiver side:
    File Construction Mode  :  Create
    put file  : Use Temporary File
    and I enabled the Adapter Specific Message Attributes at Sender side and Receiver side.
    Error getting receiver side at communication channel :
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException:
    Yeswanth.txt: Cannot create a file when that file already exists. : com.sap.aii.adapter.file.ftp.FTPEx: 550
    Yeswanth.txt: Cannot create a file when that file already exists.
    Reward points for useful answers.
    Regards,
    Yeswanth.
    Edited by: YeswanthRaj Kumar on May 23, 2008 8:20 AM

    Hi Yeswanth
    Then you can try with a "Add Counter". This will create new file each time with the same name but a counter will be added to the file name at the end specifying the number of times it is created.
    You can also the specify the format to create the counter once select this option u can correspondingly fill the Format and step fields.
    Will this be fine.
    Regards
    Ashmi

  • FTPEx: 550  : Cannot create a file when that file already exists.

    Hi experts,
    I am working on idoc to file scenario and PI 7.1. The idoc is split into 3 files.
    In sxmb_moni , the message is successful , but in rwb( Message montoring) i am geeting the fllowing  Error message.
    ' Delivering the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: An error occurred while connecting to the FTP server '172.19.125.190:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 550 /Storedata/Outbound/0000001802: Cannot create a file when that file already exists. '. For details, contact your FTP server vendor..'
    and this error message is not displayed for all the target files , some files are getting created succesfully.
    After some times , the file in error status , gets created automatically.
    What may be the reason.?
    Thanks in advance .
    Best Regards,
    Anil

    There seem to be already some files in your Target Directory with the same name as your new files (which the CC is trying to place) and the CC is not able to overwrite the existing files and hence the error...check this.
    Check: http://help.sap.com/saphelp_nwpi71/helpdata/EN/44/69d7cfa4b633eae10000000a1553f6/content.htm
    14.      Select the File Construction Mode.
    u25CB       Create
    The file is created. The document received last is saved in each case.
    If you want the created file to be overwritten, select Overwrite Existing File. If you do not set the indicator, processing is stopped until the created file is processed.
    You can only set the indicator if you select Use Temporary File under Put File below.
    Regards,
    Abhishek.
    Edited by: abhishek salvi on Jul 28, 2009 6:59 PM

  • Cannot rename DC, "Cannot create a file when that file already exists."

    Hi,
    A long time ago we used a domain controller named jacob.mydomain.lan.  It was removed, possibly in a 'dirty' way, and now we cannot re-use that name for another domain controller.  In the meantime we have upgraded to Win 2012 domain controllers
    now, and when I enter this to rename:
    netdom computername ourdc.mydomain.lan /add:jacob.mydomain.lan
    I get the error:  "Unable to add jacob.mydomain.lan as an alternate name for the computer.  The error is:  Cannot create a file when that file already exists."
    If I enter: 
    netdom computername ourdc.mydomain.lan /remove:jacob.mydomain.lan
    I get: "The command completed successfully", but it still refuses to add jacob.mydomain.lan
    After each attempt to add a forward zone dns record 'jacob.ourdomain.lan' has been created.  I always erase this manually afterwards.
    What is the problem? How can I search to find the offending 'file' named 'jacob'?
    Thanks a lot for help on this.
    regards Tor

    Kevin,
    I suggest you wait 30 days instead of 3 days before you enthusiastically close threads. Some people might think you are being a jerk if you don't.
    "K_evin Zhu" wrote in message
    news:[email protected]...
    Hi,
    As this thread has been quiet for a while, we will mark it as �??Answered�?? as the information provided should be helpful. If you need further help, please feel free to reply this post directly so we will be notified to follow it up. You can also choose to
    unmark the answer as you wish.
    BTW, we�??d love to hear your feedback about the solution. By sharing your experience you can help other community members facing similar problems. Thanks for your understanding and efforts.
    Best Regards
    Kevin
    Tomás Mason

  • The cluster service terminated, error 7024, cannot create a file when that file already exists

    I have a test 2-node Failover cluster using Server 2012 R2
    As of last night the cluster service on one of the 2 nodes is down with this error:
    The Cluster Service service terminated with the following service-specific error: 
    Cannot create a file when that file already exists.
    EventID 7024
    The Cluster service waits 60 sec, tries to start, and the same error occurs again. 
    Any idea where to look to identify which file this error is referring to, or how to go about identifying root cause and getting a solution?
    thank you.
    samb

    Hi Yeswanth
    Then you can try with a "Add Counter". This will create new file each time with the same name but a counter will be added to the file name at the end specifying the number of times it is created.
    You can also the specify the format to create the counter once select this option u can correspondingly fill the Format and step fields.
    Will this be fine.
    Regards
    Ashmi

  • Cannot create a file when that file already exists

    When i try to use Photoshop filters: Adaptive Wide Angle, Shake Reduction and Liquify. An error pop up saying "Cannot create a file when that file already exists".
    Just one detail: The liquify filter doen't pop up the error right away, the error occurs just after i press the "ok" button to accept the changes.
    I have already tryed to Reset the preferences, tryed to reinstall the PS, Update the PS, download (and install) the latests drivers to my pc.
    My Pc fit in all the requirements, have the openGL version: 3.0
    I also have Photoshop CS5 installed, in which the liquify filter works perfectly.
    Here i have two Print Screen, how it looks:
    The first image is just right before a click the "Adaptive Wide Angle"
    The second one is right after i clicked it
    If you could help me, i already thank you for wasting you time reading this!

    Resetting the Photoshop preferences does not reset the preferences for the plugins.
    There should be a Plugins folder. If the folder cannot be created it would cause the error you are seeing.
    Can you check the permissions on the ‘Adobe’ folder at: C:\Users\jworthin\AppData\Roaming\Adobe.
    Can you manually create a Plugins folder in that location or do you get an error?

  • Weird CS4 error when saving eps files on a Mac: "...specified files already exist in the target location"

    Hi There,
    All 3 workstations in our studio are experiencing weird file behavior when re-saving eps files from Illustrator.
    Basically Illustrator creates a new file in addition to the original and adds a "-01.eps" onto the file name. If you re-save your original, Illustrator brings up a dialogue box that states:
    Some of the specified files already exist in the target location. The files marked below will be replaced:
    filename.eps
    filename-01.eps
    We've been deleting the "-01.eps" files each time but it's becoming tedious. The behaviour occurs when re-saving an eps file to a server or the desktop.
    All machines are new Quad-core MacPros running:
    - Leopard 10.5.8
    - Illustrator CS4 14.0.0
    We've checked for Illustrator updates from within Illustrator but we seem to be running the latest version.
    Is anyone else experiencing this behavior?
    Any help or pointers in the right direction would be much appreciated.
    Cheers
    Ben

    Thanks for the reply.
    The error occurs when we save the document but if we choose save as, "Use Artboards" seems to be unchecked so not sure if this issue is related or not. Will re-save the document using save as then see if the issue persists.
    Why do we still use eps?
    Basically because we've found it to be much more compatible. Our entire logo library is in eps format (18 years worth) partly because it was previously the only format to use and partly because it allows account managers to send logos to clients, printers, TV stations etc and not involve the studio (saving out an eps version).
    Although "Create PDF compatible file" is a good idea, we've encountered costly issues with colours and images - especially if the recipient is using old CS software, non-Adobe software or is using some kind of hardware RIP. We now just go with what we know works.
    But I do find saving eps versions of everything to be a bit painful. In fact, I've always found Illustrator in general to be a bit painful when compared with Photoshop or AfterEffects. Illustrator seems like it's been developed by a different company some times!
    Cheers, and thanks for the help.

  • Pop up saying File already exists when saving an excel file while running exe

    I have an excel file which I read and write in my application.
    When I run the application in development system, it works fine. However when I run the application as an exe and try to save the excel file, it says that 'The file already exists and Do you want to replace?'.
    Why does this question asked for exe?
    PFA my write excel VI
    Thanks in advance.
    Attachments:
    Write to Excel.vi ‏25 KB

    Hi Princess_swa,
    The problem may be that when you build an exe, it adds another folder called 'builds' into the filepath.
    A good way to fix this is to create a case structure, putting extra strip paths into your filepath if running an exe.
    I have attached a screenshot of my code doing exactly this for you to look at. The code creates a 'base path' which is then used to reference all of my file paths in my code - and therefore, they will always have the right number of strip paths when it is run. (Note: in my code I have 2 extra strip paths, due to where I've placed the folder, but one should be sufficient.)
    Also there is a 'Check if folder exists' VI which you can again link to a case structure, and change the filename if it already exists. Again, I have provided a screenshot of my code which does this.
    Hope this helps,
    Lou
    Attachments:
    runtime strip paths.png ‏9 KB
    check folder exists.png ‏5 KB

  • Group file already exists

    Can someone please explain what causes this error:
    OCA-30023: error fetching result set
    [POL-3253] group file already exists
    I am using Oracle Lite 8. I have created a view that returns all records from a table with the related data from other tables. Whenever I use this view in a query, adding a where clause with a date range, I get the above mentioned error. This only happens when the database is open in another application. If I use the view in a query without a where clause, it works fine, but I get more data than I want to view. The view is shown below.
    Thanks for any info.
    John Valentino
    create view EventViewEx
         (EventIndex,LogDate,Tool,ModuleId,Module,Type,Event,StrDesc1,StrDesc2,StrDesc3,StrDesc4,IntDesc1,FptDesc1,UserName) as
    select     Event.EventIndex,
         Event.EventDate,
         Tool.ShopOrder,
         Event.ModuleID,
         Module.ModuleName,
         Event.EventType,
         Names.Name,
         Event.EV_StrDesc1,
         Event.EV_StrDesc2,
         Event.EV_StrDesc3,
         Event.EV_StrDesc4,
         Event.EV_IntDesc1,
         Event.EV_FptDesc1,
         Users.UserName
    from     Event,
         Names,
         Module,
         Tool,
         Users
    where     Event.ToolIndex = Tool.ToolIndex
    and     Event.NameId = Names.NameId
    and     Event.ModuleId = Module.ModuleId
    and     Event.UserIndex = Users.UserIndex;

    Thanks John. We downloaded the omwb13100 zip file.
    Instead of using the default repository, I tried to log-in to a database on the local NT machine to recreate a new repository. Everything went fine afterwards.
    We're all set for now but it would be nice to find out what happened to the default repository. Thank you.

  • "file already exists"

    Hi there!
    Photoshop CS4 gives me a strange error. When trying to save a psd file as a jpg (using "save as"), it doesn't change the extension when selecting jpg from the format drop down menu. This results in a message, saying that the original file already exists, or when I save it to a different location, I get a psd file with jpg algoritm. Anyone any idea?
    I'm using XP SP3. Other programs do not have this issue. For instance, when working in Adobe Acrobat, and trying to save a pdf in the rtf format, it correctly changes the file extension, and saves the file as rtf.
    Thanks in advance!

    TurboPriest wrote:
     The problem must either lie with Photoshop, or a combination of Photoshop on my XP configuration.
    Most probably, since I don't get that problem. Maybe try installing the 11.0.1 update (if you haven't yet). If that doesn't work, then try to figure out the extent of the issue.  Try PS in a different Windows user account (create a new one), and turn off the unnecessary stuff that runs in the background on your computer. If you're not familiar with msconfig, then see this document for turning of background stuff:
    http://go.adobe.com/kb/ts_kb404984_en-us
    Let us know if either of these change the situation, and hopefully we can help you out from there.
    Also, have you installed any plug-ins for PS? Maybe one of these is interfering with Photoshop's jpeg plug-in somehow. Check out this document:
    http://go.adobe.com/kb/ts_kb409112_en-us
    HTH

  • Why when I scan it doesn't import because file already exists, i never scanned it before?

    Why when I scan anything in my Photoshop Elements 8, it tells me that nothing was imported because a file already exists.  I never scanned this photo before?? Please help!

    It could be a file name duplication.  Either the scanner creates some default file name, which it may have used before or you have assigned a duplicate file name.  Try renaming and see if the Organizer imports it.
    Juergen

  • Problem when saving files (file already exists-)

    Woking in CS5.1.
    When I save a document (as opposed to "save as"):
    I get a message "some of the specified files already exist in the target location. The files marked below will be replaced".
    The file I am working on gets saved, but creates a second version "file name-01.ai"
    Any ideas?

    Works fine here CS5 on Windows.
    When I save, it will warn me only if the file with the same name already exists and if I choose to replace it it will replace the existing file keeping the name I'm saving it with.

  • Skgfrcre 01119, dbf file already exists.

    Now I've done it. Migrating data from msaccess to oracle, I thought to rebuild without errors about things preexisting by dropping the tablespace over on oracle. Now I get skgfrcre 0119, file already exists, for the dbf file.
    Is there a way to tell the to-oracle migration to create the database with "reuse"? I tried generating a migration script, but don't see a tablespace definition statement there.
    Many thanks for any pointers. I'm pretty green at oracle, must sink or swim.
    Ann Cantelow

    Try to delete the file on the OS level.
    Best regards,
    Nenad Noveljic
    Clariden Bank
    Zurich

Maybe you are looking for

  • ISE 1.2 Guest Report based on specific Guest IP Address

    Hi I have a simple requirement which I am not able to find the way. Maybe someone can help me out. I have a WLC / WiSM2 (7.5) Guest Controller and ISE 1.2 (Patch5) in production with only CWA for Guest Access. Since I should create a query based on t

  • How do i set up multiple iCloud accounts on the same mac?

    how do i set up multiple iCloud accounts on the same mac?

  • Connecting Forms 6i to MS SQL Server

    Dear friends, I am really struggling to solve this connection issue. I am working with forms 6i, oracle 8i, in Windows 2000 professional environment. Developing programs using oracle 8i tables is ok, but I want to connect to SQL Server 2000 and MS Ac

  • "No Service" error in a Factory Unlocked iPhone.

    I'm using iPhone 3GS iOS 6.1 with 05.13.04 Baseband. My phone is Factory Unlocked with Turkey / Avea. But I get "No Service" error. Why does this happen and how do I fix it? I'm already using an Avea SIM Card.

  • Work and training advice

    First of all i hope this post is acceptable in this General forum, I could not find work/training advice thread. Last year i started working for an Automotive company who were changing there PLM systems and integrating SAP First of all i started work