Recreate control files [message #606038] |
Sat, 18 January 2014 01:18 |
|
boditza
Messages: 3 Registered: January 2014 Location: Romania
|
Junior Member |
|
|
Hello,
I recently copyed one db from one server to another. My method involves copying database files without control files and on the new server i recreate the service with oradim and after running the script for control files. The thing is i made a mistake when i created the control files and i forgot one database file. I got errors in alert log ORA-01110 and some others and then i realised i forgot it. The thing is i didn't know how to delete the control files and recreate them again so i copyed the db again, recreated the service and after that it worked. How can i delete control files and recreate them without having to recopy the db? In my case it took 8 hours each time i copied it. I tryed to manualy delete wrong control files and recreate them with the correct info but it sayd that they already exist
|
|
|
|
Re: Recreate control files [message #606040 is a reply to message #606039] |
Sat, 18 January 2014 02:00 |
|
boditza
Messages: 3 Registered: January 2014 Location: Romania
|
Junior Member |
|
|
I created the control files, i said so in the first topic, when i forgot to add the database file... Thus my problem. I wanted to recreate them and insert also the file i forgot. Practicly i created control files(with missing data), started the db, saw errors in alert, and wanted to recreate them with correct information.
P.s the db was moved from c drive to d thats why i had to recreate control files
[Updated on: Sat, 18 January 2014 02:02] Report message to a moderator
|
|
|
Re: Recreate control files [message #606042 is a reply to message #606040] |
Sat, 18 January 2014 03:19 |
|
Michel Cadot
Messages: 68732 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
Quote:I created the control files, i said so in the first topic
How?
Quote:hus my problem. I wanted to recreate them
So do it in the same way.
Quote:the db was moved from c drive to d thats why i had to recreate control files
No, you have not, you just have to rename the files.
Copy and paste all you did and got.
[Updated on: Sat, 18 January 2014 03:20] Report message to a moderator
|
|
|
|
Re: Recreate control files [message #606048 is a reply to message #606045] |
Sat, 18 January 2014 04:45 |
|
Michel Cadot
Messages: 68732 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
Quote:I didn't know how to delete them except manualy
Just use rm/del command (of course the database must be down).
And to recreate them then use the same command (with all files, of course).
|
|
|