Problem rename temp file

Hi all, I´m using oracle 9.2.0.4 and I ´m trying to do a rename of a temp
file, so I´ve tried to do this:
1- shutdown immediate;
2- move the file to new local;
3- startup mount;
4- alter database rename file
          '/oracle1/oradata/devdb/data/basic/tbs_temp_basic01.dbf'
      to '/oracle_1/oradata/devdb/data/basic/tbs_temp_basic01.dbf';
5- open.but the following error occurs:
ERROR at line 1:
ORA-01511: error in renaming log/data files
ORA-01516: nonexistent log file, datafile, or tempfile
"/oracle1/oradata/devdb/data/basic/tbs_temp_basic01.dbf"I did not understand this error cause in the new local, the file exists.
So, I´ve tried to do a copy instead of move, but the error persists.
Somebody can help me?
thank U
[]´s

Hi,
What's the significance of renaming a temp file ?
Simply drop this file and create a new one....
You have two options :
Solution 1
Drop the temporary locally-managed tablespace and recreate it
assigning the tempfiles in the new destination.
   SQL> select file_name, tablespace_name from DBA_TEMP_FILES;
   FILE_NAME                                           TABLESPACE_NAME
   /V816/temp01.dbf                                    USER_TEMP_1 
   SQL> drop tablespace user_temp_1;
   Tablespace dropped.
   SQL> create temporary tablespace user_temp_1
     2  tempfile '/V816/temp02.dbf' size 2M extent management local;
   Tablespace created.
Solution 2
Drop the tempfile and add a new one to the tablespace. Then remove the OS file.
   SQL> alter database tempfile '/V90164/temp02.dbf' drop;
   Database altered.
   SQL> alter tablespace USER_TEMP_1 add tempfile '/V90164/temp03.dbf' size 2M;
   Tablespace altered.
   $ rm /V90164/temp02.dbf
In 9i, you can drop the tempfile and the OS file within the same statement:
   SQL> alter database tempfile '/V901/temp02.dbf' drop including datafiles;
   Database altered.
   SQL> alter tablespace USER_TEMP_1  add tempfile '/V90164/temp03.dbf' size 2M;
   Tablespace altered.

Similar Messages

  • My iTunes library data file has been renamed temp file.tmp

    Can I just rename it iTunes Library? It is a functioning iTunes Database file and it works perfectly well - it is just weird!
    I have iTunes 7.6.2 (9).
    My library resides on my external hard drive.
    In my iTunes folder on that drive, I also find Temp file.tmp.xml and iTunes Library.xml.
    I believe this got screwed up on May 31st (that is the last modified date on iTunes Library.xml) when I was showing a slide show in iPhoto which used music from my iTunes library. At one point I disconnected the external drive to use the USB cable to upload photos to iPhoto from another camera.
    I have read through a lot of the discussion topics about library issues and temp files, but cannot find anything that deals with this issue to answer my question.
    Thanks to anyone who can help.

    Never mind.
    I copied it and renamed it and all is well.

  • Informatica DVO - Installation problem - Remove temp files

    We have common interprise licence for Powercenter Data Validation Option for which we don't need to give licence file while installing for common username.While installing I given wrong username and other Db information at 1st step and setup asked for licence file.I tried to run again, it directly lands on licence file step.I tried resintall by removing installation directory, cleaning registry realated to DVO tool but when ever I install again setup directly goes to licence page. How get rid of this problem? Possibly if anyone know where username stored and any ohter temp/app data for DVO, I can try removing them too. Totally stuck , following screen I am getting on restart (after reinstall) instead of user and db info page.

    Hi Pavithra,
    here is doc which you can follow and see if that helps. https://community.informatica.com/servlet/JiveServlet/download/86304-28392/Informatica_9.1_Server_Client_Installation.docx
    try changing the compatibility of the install.bat or install.exe to windows 7 or vista or xp or 2008 and then run the client install see if that helps

  • Renaming a file on a server

    I'm having some problems renaming a file from a form I created... here is my code below
    String file = request.getParameter("file");
    String newfile = request.getParameter("newfile");
    File f = new File("/my path/" + file + "");
    File newf = new File("/my path/" + newfile + "");
    f.renameTo(newf);
    Any idea why this is not working?
    Thanks in advance!

    Hi,
    It may due to space in your folder name.
    Try using quote with escape sequence for your folder + file name.
    File f = new File("\"/my path/" + file + "\"");
    File newf = new File("\"/my path/" + newfile + "\"");
    f.renameTo(newf);
    Hope this helps.
    KD

  • Rename temporary File

    HI,
    I am doing a RFC to File scenario , at the Receiver Communication channel I am using the Use Temporary file with the " Put File " option , Now my requirement is to rename this temporary file Else file ca nt be picked by AS400 system.
    So My question  is can we rename this temporary file ?
    If yes then how .
    Thanks and Regards,
    KLK

    Hi,
    <i>As renaming temp file is not possible .. If I directly drop my Temp final file on As400 as Venkataramanan was saying and rename it to the required target file name . I am supposed to run a remote command on As400 from XI to do that
    using Shell ..</i>
    When you choose the option temp file then the file adapter transfers the data of the file by writing the file in the specified directory by a temporary name ( You don't have to choose the temp file name. the system creates the name on its own)
    Once the file is fully written the file is renamed with the name that you specified in the FileName paramter of the Adapter.
    1. So you don't have to write the shell script.
    2. the file adapter generates it's own temp name
    3. the file adpater renames it once the file is fully written. you don't have to rename it.
    Hope this helps
    Regards
    Vijaya

  • Renaming a temp file

    When I try to rename a temp file with renameto() method,
    it is not renaming. Either it didn't throw any error exceptions. The original file (not the temp file) has the write permission also.
    Anybody knows what may be the problem ?
    Any sample codes ?

    One thing to take a look at: I have seen renaming problems when attempting to use a File object for opening/writing/closing, and then renaming.
    If you are executing this sequence, try creating a second File object with the same temp path, and using that to do the renaming.

  • CS6 temp file blunder - can you repeat this problem?

    There is a serious root problem with Adobe's implemented permissionless-temp-file creation methods (pun intended.) The problem is that during startup, both Bridge and Photoshop CS6 try to make temp files on the root folder of the OS drive. Its affecting many peoples' installations by crashing them on application launch if not run by the super-administrator account on the computer. Adobe says to just run as admin to fix it, which does fix the start up crash. However, for me, it creates a gigantic problem: it breaks OS-to-PS and OS-to-Bridge drag and drop functionality completely!!! I literally was slowed to a crawl in my workflow having to import photos 1 at a time through the file-> open menu because I couldn't drag and drop various files from various locations on my computer. Not everything is clumped in 1 area neatly for Bridge to open everything, and I never realized just how much I used this function until this run as admin band-aid broke it. Eventually I fixed the CS temp location after 10-12 hours of hair pulling research and trial and error, and I finally have Photoshop CS6 working without admin permissions and everything is dandy with drag and drop, but only in PS. Bridge still cannot be run without administrator privileges and cannot have files dropped in or out of it to or from Explorer, and I am getting really frustrated here.
    Its kind of disheartening that I have to work for 10 hours in order for me to be able to pay and fully utilize Adobe's software. Even 3 months after being made aware of this issue in other forums, and for how many people it is affecting, they still don't fix it when all they need to do is move the default location of the temp file to somewhere without a need for admin permissions! (I.E. documents folder?)
    So does anyone else find their drag and drop ability gone once running Bridge/PS CS6 in admin mode? Am I the only one? Is there a way to move the default temp creation location of Bridge as well? I'm frustrated and I think Adobe seems to be taking this permissions issue way too lightly!

    I'm running Windows 7x64 Professional. Temp is actually on my RAMdisk but using a folder junction to trick the programs into thinking its on the default temp folders of the C drive. Disabling UAC will fix it yes, but I don't want to disable UAC as I travel with this computer and security is something I prefer to have with me. Its only set to minimal UAC as well, but still its nice for spotting some things. And now, I really am going to look stupid here, but some reason now I can run Bridge without admin permissions without crashing, but now I can't preview or play .mp4 files which was a problem I had before!!! So, now I have a big WTF? expression on my face right now since I've been meticulously trying to get Bridge to work with drag and drop for over a week (and I guess now it magically does once someone actually pays attention to my posts lol) but now .mp4 functionality is poof without admin rights, no matter where the files reside. I think I give up on Bridge I'll just run it as admin but sheesh...
    [[ giant pointless image removed by admin ]]
    But, I still can post references... these all have a problem with 'MMXCore.8BX_unloaded' on startup (there are more elsewhere but it takes time to find them all):
    http://feedback.photoshop.com/photoshop_family/topics/bridge_cs6_release_crashes_on_startu p
    http://forums.adobe.com/thread/1001298
    http://www.sjogrens.nu/?p=106
    Junction points are mentioned in the second post, and that's what I have done on my system (I did it with a program not command prompt, though)
    Really though, after all I've read through and tried, changing the default location of where Photoshop and Bridge intitially put their TMP files to a permission-lax folder would really fix all the problems with this, even if it is caused by changing the default temp area, it would solve the issue for everyone that does do it. A user's documents folder would work perfectly. Sorry if I'm a little inconsistent with information I'm tired and just about burnt out on this stuff (including a lack of sleep)

  • Success with iTunes but a problem with a temp file

    Further to my recent post, I have now had some form of success with opening iTunes but I can only do this if my external hard drive (which has the remnants of some file left).
    I have tried to copy and paste the files relating to iTunes but for some reason, I am unable to even access a file labelled "TEMP FILE".
    Can anybody help or indeed send via email a copy of the file as I dont think there is anything in it. I know that when I have my external drive repaired I will not be able to access iTunes.
    PLEASE HELP !!!!!!!

    iTunes cannot run because it has discovered a problem with your audio configuration.
    That one is most commonly caused by a problem with your QuickTime. (iTunes uses QuickTime for audio and video playback.)
    The following document may be of some assistance:
    iTunes 7 for Windows: iTunes has detected an audio configuration problem

  • How to rename sap data temp file

    Hello
    my sapdata temp file can not rename
    so how to renama
    thanks
    salil
    Edited by: Moderator on Oct 24, 2011 9:18 PM

    You can use OS command line feature to rename / modify the file name
    Check this wiki
    http://wiki.sdn.sap.com/wiki/display/XI/SAPXIFileAdapterOSCommandLine+Feature

  • I use firefox to show jpg's from newsgroups via Agent. It now cannot find the file in Agent's temp file if it is not a single word. It will read itemone.jpg but not item one.jpg. I'm using Firefox 3.6.8. I've had this problem since I stated using firefox

    I use firefox to show jpg's from newsgroups via Agent. It now cannot find the file in Agent's temp file if it is not a single word. It will read "itemone.jpg" but not "item one.jpg". I'm using Firefox 3.6.8. I've had this problem since I stated using firefox 3. How can I correct it? in English
    == This happened ==
    Every time Firefox opened
    == I upgraded to Firefox 3

    I use firefox to show jpg's from newsgroups via Agent. It now cannot find the file in Agent's temp file if it is not a single word. It will read "itemone.jpg" but not "item one.jpg". I'm using Firefox 3.6.8. I've had this problem since I stated using firefox 3. How can I correct it? in English
    == This happened ==
    Every time Firefox opened
    == I upgraded to Firefox 3

  • Problem saving FrameMaker files

    I have recently installed FrameMaker 11 (v11.0.0.380) and have created a book with several files and a TOC. I am working on a network (I've tried both wired and wireless connections) and have the same problem: When I try to save a file, most of the time I get an error message that FM cannot save the file to the disk. It lists the file name, but adds a 3-character file exension after ".fm" at the end of the file name. Each time I try to save, the file extra file extension changes somewhat randomly. I can do a "save as" and save to my laptop's hard drive (most of the time) and, very occasionally, I can actually save the file to the network drive if I work in another application and come back to FM and *immediately* try to save a file.
    I am using Windows Professional with Service Pack 1 on a Dell laptop.

    I'm assuming you're using simple files, and not storing the FM files in a CMS.
    > It lists the file name, but adds a 3-character file exension after ".fm" at the end of the file name.
    The way Frame save appears to work is:
    Create and write docname.fm.tmp, and only when successfully written ...
    Delete docname.backup
    Rename docname.fm to docname.backup
    Rename docname.fm.tmp to docname.fm
    This is cautious practice. Consider what might happen if it really re-wrote docname.fm in-place, and failed partway through.
    Due to creating the temp file, the only obvious scenario that leads to this result is insufficient free space on the logical drive. That's pretty unlikely.
    A less likely scenario is that you have write permissions on the files, but not on the directory, so the create-docname.fm.tmp fails.
    So this does not a first glance look like an FM problem. It looks like a network FS problem, usually Windows Server. I blame Bill Gates. Get I.T. involved.

  • RECOVER RENAMED KEYNOTE FILE

    Hello,
    My mistake:
    im new to keynotes and its icloud, and figured it would work like dropbox.
    I finished my 6 hours keynote session.
    So, working on Keynotes and the file in Cloud, i decided to make a stripped version of less MB by deleting slides.
    Renamed the file, moved the file to my desktop, and started deleting images and sensitive text slides
    Than I realised, i might have not been back-uped from icloud.
    PROBLEM
    file not in Icloud anymore
    half of my keynote file stripped, and cannot undo anymore
    looked on discussions for hours, no real solutions yet
    Also file not in "HIDDEN" Library/mobile documents...
    Status: all software updated.
    Downloaded: Diskdrill
    Found: file00075.db3 file (could be about the size of my file)
    Issue: cannot retrieve the file, even just the text back im already happy
    QUESTION:
    is there any way:
    1) Icloud somehow has a backup of a file that is moved from icloud to desktop?
    2) once the files was fully on the desktop, but was renamed and closed, is  there no temp file? How to find?
    3) how can i open this *.db3 files, or even, how to find them back in finder?
    I fear the worst...
    Thanks

    Just happened to my  lost 12 hours of work,  been saving just fine all day then WHAM.

  • Crystal Server 2013: How to troubleshoot "Can not create temp file---- Error code:-2147215357"

    We have a Java7 web app, which generate PDF report by calling Crystal Server 2013 SP4.
    The app is being deployed on many different servers. We sometimes got the error below when generating report:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Can not create temp file---- Error code:-2147215357 [CRSDK00000615] Error code name:internal
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.controllerExportInternal(PrintOutputController.java:280)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(PrintOutputController.java:152)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(PrintOutputController.java:130)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(PrintOutputController.java:113)
    Problem is, this seems to be  a pretty generic exception. It could be caused by many different reasons.
    e.g. network connection problem, wrong DB login, wrong folder path, lack of folder access right, etc.
    Each time we could only guess what's wrong.
    We are running into it again, and this time everything seems correctly configured so far.
    We wonder if there are more info we can get to troubleshoot? For example, any log file of Crystal Server we should look into? Or does Crystal Server has debug mode which prints more details to tell us what goes wrong?

    Prithviraj Shekhawat wrote:
    Hi Henry,
    I believe you are using RAS SDKs to export the reports to PDF.
    Apply trace on RAS server and check what you find in RAS logs.
    Check whether you can see timeout error is RAS logs. Usually if connection is lost and the RAS server no more have the session to write to the temp directory, we do see these errors.
    Also, does the account that runs RAS have permissions to create a file in RAS's default temp directory? Are you getting any out of memory or out of disk space exceptions on App server or RAS, tracing RAS server is the way to move forward.
    Thanks,
    Prithvi
    >>I believe you are using RAS SDKs to export the reports to PDF.
    Yes
    >>Apply trace on RAS server and check what you find in RAS logs.
    >>Check whether you can see timeout error is RAS logs.
    How to configure tracing, and where are RAS logs? Is it configured in CMC --> Servers --> Crystal Report Services?
    >>Also, does the account that runs RAS have permissions to create
    >>a file in RAS's default temp directory?
    Pretty sure yes.
    >> Are you getting any out of memory or out of disk space exceptions
    >>on App server or RAS, tracing RAS server is the way to move forward.
    Not on App server.
    For RAS, that's the problem, I am not sure where to look.......

  • Can not create temp file---- Error code:-2147215357 [CRSDK00000615] Error code name:internal

    Hello,
    While exporting Export reporting from BI4 getting exception
    Can not create temp file---- Error code:-2147215357 [CRSDK00000615] Error code name:internal
    In Trace Log I am getting
    com.crystaldecisions.xml.serialization.XMLWriter||Failed to create an object instance for CrystalReports.TextObjectFormat
    java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key CrystalReports.TextObjectFormat
      at java.util.ResourceBundle.getObject(ResourceBundle.java:374)
      at java.util.ResourceBundle.getString(ResourceBundle.java:334)
    I tried following solution according to the all forums but still issue exist.
    Done changes mention in KB article In <Installation-dir-of-BO>\Common\4.0\java\CRConfig.XML we have to increase the JAVA heap MIN and Max size
              <JVMMaxHeap>64000000</JVMMaxHeap>          <JVMMinHeap>32000000</JVMMinHeap>
    Increase the value in the ReportApplicationServer Services in the CMC for "Number of database records to read when previewing or refreshing a report". The value -1 is for unlimited records but not recommended for performance.
    Check for temporary read write permission on server
    Using SDK library from C:\Program Files (x86)\SAP Business Objects\SAP BusinessObjects Enterprise XI 4.0\java\lib
    Can you please let me know is there anything missing.

    Hi,
    We face the same problem with some BI4 reports.
    The same report works well with the "Crystal Reports Viewers API", as used in Infoview, but not with the "Report Application Server (RAS) API".
    This error appears after some time working on a report. If we reproduce the same report, but from zero, no problem.
    Hope it can help.
    Ludovic.

  • Confuse between temp file error and perment file error

    during the weekend, i usually maintain our database and this weekend i end up with strange situation,
    i lunched my scripts to reorginize datafiles, however the scripts is crash all the time due to weird message which is in my opinion is misleading ora message.
    this is the situaion:
    i am using this scripts to tell me if my datafiles are full or not
    1 L_INDEX 24 107.12109375 103.74609375 3.375 0 96.8493600262553 3.15063997374467
    2 L_TABLES 30 108.2939453125 97.1689453125 11.125 0 89.7270341680719 10.2729658319281
    as you can see, the free space on the l_index tablespace is now 3G and need to reogrinze to free space, however when we run our scripts to free spaces by moving objects to tools tablespace and then return them back,
    I recieve this message:
    ORA-01652: unable to extend temp segment by .......
    to solve this error is adding new temp files, however we have 5 temps file and there were pantly of space there and also i add 2 new files with size 1g and maxsize is 32G, still i am receving this error and my scripts crash when i try to rebuild the index,
    the workaround was is adding new datafile to l_index and try again to rebuild the index and it works,
    so i am wondering if the problem was on the datafiles, why i recieved error about temp, i waste some time thinking that my problem was with temp, however the real problem came from l_index tablespace.
    oracle verison is 10.1.0.4 and os is windows
    Thanks

    ORA-01652: unable to extend temp segment by Temporary tablespace is also used when re-creating or creating indexes in database.
    A temp segment is created the moment create or re-build indexes command is issued and will be held until the index is being created completely. If either of the tablespace have insufficient space, you might get the error ORA-1652 or ORA 1654.
    You should be looking at the tablespace name for adding space instead of looking temp segment.
    ORA-1652: unable to extend temp segment by in tablespace

Maybe you are looking for