Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ORA-1122

Posted on 2009-04-14
3
Medium Priority
?
675 Views
Last Modified: 2013-12-18
Hi.
I'm with some problems to start a database in open stage... it's giving ORA-1122. I saw that, possibly, this is a datafile problem.

Could soumeone help?

I put the alert here to you guys see more information
alert.txt
0
Comment
Question by:Thiago_corporative
3 Comments
 
LVL 18

Expert Comment

by:sventhan
ID: 24141257
01122, 00000, "database file %s failed verification check"
// *Cause: The information in this file is inconsistent with information
// from the control file. See accompanying message for reason.
// *Action: Make certain that the db files and control files are the correct // files for this database.
0
 
LVL 48

Accepted Solution

by:
schwertner earned 2000 total points
ID: 24141518
I couldn't see that message in the alert.txt
but this is my mistake.

Your database is somehow manipulated and you have to give us more details.

I  see  

alter database close normal

instead

 alter database close immediate

This means that it was closed in a very bad maner - waiting for all user to disconnect and fianally shut down (may be brutally) possibly in started state.

Possibly you have to figure out all your .dbf file and use in
startup mount
mode the command
CREATE CONTROL FILE

There are many examples on the net.
0
 
LVL 40

Expert Comment

by:mrjoltcola
ID: 24142255
>>alter database close normal

This is usually done as a 2nd part of a backup script that had already closed the database with abort or immediate, then opened in restricted mode to allow instance recovery to happen to make the database consistent. This is fine to do this.

What I do see is possibly you created a new controlfile for a new instance and your paths weren't created properly?

Were you cloning a database, or is this recovery of an existing database?



0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
Suggested Courses

879 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question