Home » RDBMS Server » Server Administration » control files messed up
control files messed up [message #62246] Wed, 07 July 2004 07:57 Go to next message
naga
Messages: 5
Registered: January 2002
Junior Member
We had a hard disk corruption, which was fixed using 'fsck -y'. This somehow corrupted the control files. When I tried to start the database, I got 'ORA-00214' error, which essentially said, inconsistent control files in 2 different locations of the /ora01 and /var/ . So I copied the /var/ control file to /ora01 to suppress the error message. But I am getting the following error now.

ORA-01110: data file 1: '/ora01/app/oracle/product/8.0.5/oradata/WG8/system01.dbf'

I am thinking, this is because of the old control file I am using. How do I fix the problem? I need some help with ALTER DATABASE RECOVER command. Please help.

Thanks

 
Re: control files messed up [message #62251 is a reply to message #62246] Wed, 07 July 2004 22:51 Go to previous messageGo to next message
Satheesh Babu.S
Messages: 35
Registered: July 2004
Member
if you have problem only with the controlfile, why can't you create the control file newly.

You can generate the controlfile script using,
alter database backup controlfile to trace;

modify this trace file to your db requirement and start the db in nomount run the script and open the db

Thanks and Regards,
Satheesh Babu.S
bangalore.
Re: control files messed up [message #62269 is a reply to message #62251] Thu, 08 July 2004 11:17 Go to previous messageGo to next message
naga
Messages: 5
Registered: January 2002
Junior Member
Thanks for your help.
I did 'ALTER DATABASE BACKUP CONTROLFILE TO TRACE'.
Where can I find the generated control script file?
Re: control files messed up [message #62273 is a reply to message #62269] Thu, 08 July 2004 20:58 Go to previous messageGo to next message
Satheesh Babu.S
Messages: 35
Registered: July 2004
Member
it will be in the udump directory.

Thanks and Regards,
Satheesh Babu.S
Bangalore.
Re: control files messed up [message #62274 is a reply to message #62273] Fri, 09 July 2004 05:15 Go to previous message
naga
Messages: 5
Registered: January 2002
Junior Member
Yes, I see the wg8_ora_22328.trc file. What do I do next?
Previous Topic: Datafiles on different disks
Next Topic: Unsubscribe
Goto Forum:
  


Current Time: Fri Sep 20 14:26:12 CDT 2024