All Oracle Error Codes
Oracle DBA Forum

Frequent Oracle Errors

TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated

Re: Unable to recover datafile - urgent

Manjula Krishnan


Unfortunately, there are 85 blocks in that datafile.

SQL> select * from dba_extents
2 where file_id=48 and extent_id=225;

--------------- -------------------- ------------------------------
------------------ ------------------------------ ---------- ----------
---------- ---------- ---------- ------------
TABLE         LAWDATA01                   225      48
     2   348160      85       48

What would be the best way to get around this situation? We do not
have the archive log required to recover that datafile.


On Wed, 22 Sep 2004 13:25:54 -0400, Powell, Mark D <mark.powell@(protected):
> If the job is trying to reference the file that would seem to indicate that
> some object referenced by the job may be assigned to the file.
> Query dba_extents for allocations made to the file in question.
> HTH -- Mark D Powell --
> -----Original Message-----
> From: oracle-l-bounce@(protected)
> [mailto:oracle-l-bounce@(protected)
> Sent: Wednesday, September 22, 2004 1:12 PM
> To: oradba.la@(protected)
> Cc: oracle-l@(protected)
> Subject: Re: Unable to recover datafile - urgent
> Why not:
> Get the archive logs needed to recover, and recover the file.
> Rename the file to go with the TBS it is in.
> Shrink the file down to as small as possible.
> Just leave the file there.
> Jared
> On Wed, 22 Sep 2004 11:44:01 -0500, Manjula Krishnan
> <oradba.la@(protected):
> > There is one datafile which shows status of "RECOVER". This datafile
> > was created in the wrong tablespace and immediately offlined. For some
> > reason a batch job is trying to read from this datafile, and it comes
> > up with ORA-376 and ORA-1110. I am not able to recover this datafile
> > because it needs an old archive log and that archive log does not
> > exist on the system.
> >
> > How can I find out if this datafile has any objects in it? (I am
> > pretty sure it does not). And if it does not I would like to remove
> > this datafile.
> >
> > Is exporting tablespace/dropping tablespace and reimporting my only
> option?
> >
> > Thanks,
> >
> > Manjula
> > --
> > http://www.freelists.org/webpage/oracle-l
> >
> --
> Jared Still
> Certifiable Oracle DBA and Part Time Perl Evangelist
> --
> http://www.freelists.org/webpage/oracle-l
> --
> http://www.freelists.org/webpage/oracle-l