Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Are we screwed??

Re: Are we screwed??

From: Chuck <skilover_nospam_at_bluebottle.com>
Date: Fri, 13 Jan 2006 19:01:56 GMT
Message-ID: <EOSxf.42$sq.0@trnddc01>


amerar_at_iwc.net wrote:
> Ok, problem here:
>
> We copied one of our databases onto the test server.......
>
> I asked our jr. dba (mistake there) to change the SID and get the
> database up. Apparently after changing the init.ora and directory
> names, etc, he tried to open the database and got some control file
> consistancy error. So, he basically copied all 3 copies of the control
> file to make them the same.
>
> The database would not mount because the file header did not match the
> SID in the control file, etc. Hence, he could not backup the control
> file to trace.
>
> So, he went to another test database, and took a trace of that
> controlfile and brought it over, changing the necessary lines to change
> the SID along with resetlogs.
>
> Now, the database wants to recover, however, we have no archive logs
> for this.
>
> I mean, this is totally screwed! We have database files from one
> database, and a trace control file from another, and cannot mount/open
> the database......
>
> What a mess!
>
> Any help on opening this sucker?
>

Start over from scratch. Make sure the source database is down before copying the datafiles. Take a controlfile backup to trace of the original and copy that over too. Modify it to change the sid and file locations/names. Create a new controlfile using the SQL in the file just modified.

If you can't shut down the original database, and it's in archived log mode, you should be able to duplicate it with RMAN. The RMAN manual has a thorough section on how to do this.

-- 
To reply by email remove "_nospam"
Received on Fri Jan 13 2006 - 13:01:56 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US