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: Restore problem

Bill Ferguson


Hi all,

Luckily this is for a non-production tablespace, but I ran into a problem yesterday with a datafile being corrupted.
I performed an RMAN restore, after double-checking the datafile was offline, with:
restore datafile 32;
It ran for a while, but then bombed out with the following:

channel ORA_DISK_1: restored backup piece 14
piece handle=E:\BACKUP\BACKED UP DATA\AJIGLMEM_14_1.BAK tag=TAG20070501T220157
channel ORA_DISK_1: reading from backup piece E:\BACKUP\BACKED UP DATA\AJIGLMEM_15_1.BAK
ORA-19870: error reading backup piece E:\BACKUP\BACKED UP DATA\AJIGLMEM_15_1.BAK

ORA-19504: failed to create file "E:\ORACLE\DATAFILES\NGDB_DATA_06.DBF"
ORA-27086: unable to lock file - already in use
OSD-00002: additional error information
O/S-Error: (OS 32) The process cannot access the file because it is being used b
y another process.
failover to previous backup

creating datafile fno=32 name=E:\ORACLE\DATAFILES\NGDB_DATA_06.DBF
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 05/03/2007 14:28:54
ORA-01119: error in creating database file 'E:\ORACLE\DATAFILES\NGDB_DATA_06.DBF'
ORA-27038: created file already exists
OSD-04010: <create> option specified, file already exists

This Oracle on a windows 2003 Server machine.
Would (could) I just take the entire tablespace offline, rename the existing datafile, and then re-run the restore? Or stop Oracle instead to rename the file, re-run the restore, then restart Oracle? Or am I missing something else here?
This is actually the first time I've ever had to perform a restore in 18 years so I'm a bit gun-shy, though it wouldn't be the end of the world if I had to drop the tablepace and recreate it, I'd only lose abround a weeks worth of work, but no big deal.

-- Bill Ferguson