Home
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: recovery error

Hemant K Chitale

2004-07-14

Replies:

1. I presume that you included all the datafiles of the database in your
CREATE CONTROLFILE ?
If not, you are trying to recover only some datafiles. If the files being
recovered have no transactions
to be applied, then the recovery would not do much -- ie, when recovering,
it would read the archive
logs, match them against the files being recovered and if the archive logs
have no transactions for
these files would not write back from the archivelogs to the files.

2. As you are doing a time-based recovery, you are doing an incomplete
recovery. You MUST
issue an ALTER DATABASE OPEN RESETLOGS. Have you tried issuing the command
? If any
files are inconsistent, you would get an error there.

3. I don't see why you attempted an ARCHIVELOG ALL. What files are you
archiving out ?
A RESETLOGS would clear your online redo logs and reset the Log Sequence
Number to 0.


Your email :
================
I just had this dropped on my desk. Oracle 8.1.7.3 . The objective was to
restore a backup of PRD on a different host and recover from the 6/30 5:00
AM backup until 7/1 at 4:30 AM.

I was told that the media recovery complete was almost instantaneous
(didn't show processing of any archive logs, should have processed 15) and
the ALTER SYSTEM ARCHIVE LOG ALL took about 45 seconds to complete.

The following file with datafiles removed was executed after connect internal.

STARTUP NOMOUNT pfile=/u01/app/oracle/admin/fin/pfile/initprd.ora
CREATE CONTROLFILE REUSE DATABASE "PRD" NORESETLOGS ARCHIVELOG
  MAXLOGFILES 32
.
. datafiles
.
CHARACTER SET WE8ISO8859P1
;
recover database until time '2004-07-01:04:30:00';
ALTER SYSTEM ARCHIVE LOG ALL;
ALTER DATABASE OPEN;

Produced the following.
ORACLE instance started.
Total System Global Area                966713504 bytes
Fixed Size                            73888 bytes
Variable Size                       693010432 bytes
Database Buffers                     253952000 bytes
Redo Buffers                         19677184 bytes
Statement processed.
SVRMGR> recover database until time '2004-07-01:04:30:00';
Media recovery complete.
SVRMGR> ALTER SYSTEM ARCHIVE LOG ALL;
Statement processed.
SVRMGR> ALTER DATABASE OPEN;
ALTER DATABASE OPEN
*
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open

I have access to the backed up files so I can restore what I need to. I'm
not sure why the archive logs weren't processed. If anyone can shed some
light I'd appreciate it. Do I have to recover all the datafiles?

Thanks - Mike




Hemant K Chitale
Oracle 9i Database Administrator Certified Professional
http://web.singnet.com.sg/~hkchital
"A man's reputation is what other people think of him; his character is
what he really is."
                          -- Miner, Jack

----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request@(protected)
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------