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: can't connect '/ as sysdba'

Kevin Closson



Replacing $ORACLE_HOME/bin/oracle with a script that does truss or
strace is
called a wrapper. It is not necessary to use a wrapper with strace. If
you use the -f
option strace will follow all of sqlplus' kids and each line in the file
with the -o option will be prefaced with the pid that made the system


-bash-3.00$ strace -o foo -f sqlplus '/ as sysdba'

SQL*Plus: Release - Production on Thu Dec 7 10:09:54 2006

Copyright (c) 1982, 2005, Oracle. All rights reserved.

Connected to:
Oracle Database 10g Enterprise Edition Release - 64bit
With the Partitioning, OLAP and Data Mining options

SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release - 64bit Production
With the Partitioning, OLAP and Data Mining options
-bash-3.00$ cat foo | awk '{ print $1 }' | sort | uniq

...16132 is the shadow process

 To "strace" your Oracle server processes is a little more
tricky, and can get kinda icky. This technique is called a "trojan
 1. Shutdown the Oracle database instance
 2. cd $ORACLE_HOME/bin
 3. mv oracle oracle.tmpexe
 4. echo "strace -o /tmp/oracle_strace_$$.out
$ORACLE_HOME/bin/oracle.tmpexe \$*" > oracle
 5. chmod 755 oracle
 6. startup the Oracle database instance
 Needless to say, make sure you understand exactly what steps
#3-5 are doing here!!! If you don't, then think it through carefully,
ask questions, or don't proceed.