Problem with renaming datafile [message #124483] |
Sun, 19 June 2005 06:14 |
Achchan
Messages: 86 Registered: June 2005
|
Member |
|
|
Hi all,
Scenario:
I want to move a recovered datafile from "C:\Windows\System32" to "%ORACLE_BASE%\oradata\myinstance".
I made the tablespace offline and move the file to destination in mounted state. Now I am trying to rename file using this command:
ALTER DATABASE RENAME FILE 'dest_path\old_name.dbf' TO 'dest_path\new_name.dbf';
It throws these errors:
ORA-01511: error in renaming log/data files
ORA-01516: nonexistent log file, datafile, or tempfile "E:\oracle\product\10.1.0\oradata\myinstance\old_name.dbf"
What is the problem?! I can see my datafile using OS but Oracle cant see it?
|
|
|
|
|
Re: Problem with renaming datafile [message #124624 is a reply to message #124483] |
Mon, 20 June 2005 09:28 |
smartin
Messages: 1803 Registered: March 2005 Location: Jacksonville, Florida
|
Senior Member |
|
|
Originally you said you were trying to move the datafile from c:\windows\system32. But your error message says you are trying to move the file from ORA-01516: nonexistent log file, datafile, or tempfile "E:\oracle\product\10.1.0\oradata\myinstance\old_name.dbf". Which is it? Double check your file names and paths.
|
|
|