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

Restore imposible

Yavor Ivanov


 Hello, gurus

 I am practicing some hard restore scenarios. I got to the following unsolvable (for me) case:
 This is on Windows. Backup is made on RAC database stored on ASM. Restore has to be done on simple database on simple file system. The database is in archivelog. No catalog database is used.
 The catch is, that AFTER the last backup, a new tablespace is created (undo3). I cannot use SET NEWNAME for it's file because it does not exist before I reach it with RECOVER. The RECOVER command cannot create it because it tries for ASM. Here's the script so far:

RMAN> run {
set newname for datafile '+DGINKASO/inkaso/datafile/system.259.614014161' to 'c:\oracle\oradata\inkaso\system.dbf';
set newname ...
restore database;
switch datafile all;
-- No problems so far
RMAN> recover database until sequence 50 thread 1;

starting media recovery
archive log filename=C:\ARCHIVE\ARC00019_0614014506.002 thread=2 sequence=19
archive log filename=C:\ARCHIVE\ARC00016_0614014506.001 thread=1 sequence=16
archive log filename=C:\ARCHIVE\ARC00017_0614014506.001 thread=1 sequence=17
creating datafile fno=6 name=+DGINKASO/inkaso/datafile/undo3.272.614107635
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 02/13/2007 14:31:22
ORA-01119: error in creating database file '+DGINKASO'
ORA-17502: ksfdcre:4 Failed to create file +DGINKASO
ORA-15001: diskgroup "DGINKASO" does not exist or is not mounted
ORA-15077: could not locate ASM instance serving a required diskgroup
ORA-29701: unable to connect to Cluster Manager

 The question is: is there any way to change datafile name/location during RECOVER?

Yavor Ivanov
Senior Database Expert
Stemo Ltd