Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 

 
 

ORA-01187: cannot read from file nnn because it failed verification tests

Oracle Database Tips by Donald Burleson

 

Question:  This happened on Oracle 10.2.0.3 on linux, and I created a duplicate database using RMAN's duplicate utility, there wasn't any problem in duplicating the db; however i am not able to list my temp files in newly created db.

SYSTEM @ VQA02>select file_name from dba_temp_files
select file_name from dba_temp_files
*
ERROR at line 1:
ORA-01187: cannot read from file 501 because it failed verification tests
ORA-01110: data file 501: '/u04/oradata/vqa02/temp/temp.dbf'

I checked files are physically available on the mentioned directory.  MOSC Note 18760.1 says to issue command ALTER DATABASE CHECK or open the database.

Database is already opened. Here I try this "alter database check" command:

SYSTEM @ VQA02>alter database check
2 ;
alter database check
*
ERROR at line 1:
ORA-02231: missing or invalid option to ALTER DATABASE

What i am missing?

Answer:   First, MOSC is incorrect in this case and there is no "alter database check" command!

Here is the correct listing for ORA-01187:

ORA-01187: Cannot read from file string because it failed verification tests

Cause: The datafile did not pass the checks to insure it is part of the database. Reads are not allowed until it is verified.

Action: Make the correct file available to the database. Then, either open the database, or execute ALTER SYSTEM CHECK DATAFILES.

Since the TEMP tablespace was not be used at copy time, I would simple drop and recreate them.


MOSC note Note:18760.1 (dated 1999) and titled ?OERR: ORA 1187 cannot read from file because it failed verification test? is indeed incorrect:

ORA 1187 : cannot read from file <name> because it failed verification tests

Cause:  The datafile did not pass the checks to ensure it is part of the database.  Reading the file is not allowed until it is verified.

Action: Make the correct file available to database.  Then either open the database or execute ALTER DATABASE CHECK.


 

 

��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.