Nov 2, 2008

Continue talk about ORA-01110 error

From Oracle Error Tips by Burleson Consulting (S. Karam)


The Oracle docs note this on the ora-01110 error:

ORA-01110: data file string: "string"
Cause: Reporting file name for details of another error
Action: See associated error message
ORA-01110 is thrown in conjunction with other errors.
Resolving ORA-01110 consists of viewing error message associated with the string you are running.
--------------------------------------------------------------------------------
Don Burleson offers great advice on retrieving the associateded errors on
BC Praetoriate Oracle Support in an excerpt from the book
<Oracle Internals Monitoring & Tuning Scripts>:
Statement processed.
ALTER DATABASE OPEN resetlogs
*
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/u03/oradata/tstc/dbsyst01.dbf'
Or:
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01194: file 48 needs more recovery to be consistent
ORA-01110: data file 48: '/vol06/oradata/testdb/ard01.dbf'

If all available archive logs and online redo logs are applied, and the error is not corrected, then the use of the _allow_resetlogs_corruption parameter should be considered. Make sure a good backup of the database in a closed state (all files) is taken before attempting recovery using this parameter.

It cannot be emphasized enough that the database will no longer be supported by Oracle until it is rebuilt after using _allow_resetlogs_corruption for recovery.
Another helpful link to resolving ORA-01110 and ORA-01116 is on the IBM website:

Problem

The ITM for Oracle agent may fails in retrieving data and the TEP workspaces show up empty. The log file shows errors ORA-01116 and ORA-01110

Solution

1. Problem:

Oracle Workspace do not report any data from the oracle agent being monitored

2. Cause:

The log files called *_col.out may shows ORA-01116 and ORA-01110 errors when retrieving info for some cursors, for example:

=============================================
ORU0007T (161958) Stmt = SELECT /*+RULE*/ COUNT(*) EXTENTS FROM
SYS.DBA_EXTENTS
ORU0008W (161958) ORACLE Message ORA-01116: error in opening database
file 26
ORA-01110: data file 26: for OPEN
=============================================
3. Solutions:

It could be due to authorization issue or due to the fact the data files does not exists anymore

1) check the data file corresponding to ID 26 in the sys.dba_data_files table
2) check the user specified in korgrant.sql or korgrantcustom.sql can access that directory
--> if cannot be access make sure to that the user has read access to it
3) check that the files corresponding that ID still exist in the reported location
--> if not you need to contact the Oracle DBA to re-establish consistency across info stored in Oracle system table.


No comments:

Post a Comment