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

Strange error, and libs



We did an install of Oracle on HP-UX...

Was only supposed to take a couple of hours to do that and convert the

But when it was time to bring things up:

SQL*Plus: Release - Production on Thu Oct 28 14:32:44 2004

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

/usr/lib/pa20_64/dld.sl: Unsatisfied data symbol 'kglla62_' in load
module '/u001/app/oracle/product/'.


ORA-12547: TNS:lost contact

Enter user-name:

No problem I thought since I had hits on Metalink about libraries. No
setting of any libraries helps. All metalink docs seem to not be the

I did a couple of queries on a working box:

Checking libraries



EPMD:/home/oracle> cd $ORACLE_HOME

EPMD:/u01/app/oracle/product/> find -name libodm9.sl -print

Usage: find path-list [predicate-list]

EPMD:/u01/app/oracle/product/> find . -name libodm9.sl -print


EPMD:/u01/app/oracle/product/> file ./lib/libodm9.sl

./lib/libodm9.sl:     ELF-64 shared object file - PA-RISC 2.0 (LP64)

EPMD:/u01/app/oracle/product/> ls -la ./lib/libodm9.sl

lrwxrwxr-x  1 oracle   dba         11 Aug 24 09:56
./lib/libodm9.sl -> libodmd9.sl


EPMD:/u01/app/oracle/product/> ls -la libodmd9.sl

-rwxr-xr-x  1 oracle   dba       6144 Jul 26 2003 libodmd9.sl



DPFRPT:/home/oracle> cd $ORACLE_HOME

DPFRPT:/u001/app/oracle/product/> find . -name libodm9.sl -print


DPFRPT:/u001/app/oracle/product/> file ./lib/libodm9.sl

./lib/libodm9.sl:     ELF-64 shared object file - PA-RISC 2.0 (LP64)

DPFRPT:/u001/app/oracle/product/> ls -la ./lib/libodm9.sl

lrwxrwxr-x  1 oracle   oinstall     11 Oct 26 14:21
./lib/libodm9.sl -> libodmd9.sl


DPFRPT:/u001/app/oracle/product/> ls -la libodmd9.sl

-rwxr-xr-x  1 oracle   oinstall    6144 Jul 26 2003 libodmd9.sl

This is the same on both boxes, or appears to be:

chatr oracle


     64-bit ELF executable

     shared library dynamic path search:

        LD_LIBRARY_PATH   enabled first

        SHLIB_PATH      enabled second

        embedded path    enabled third


We've tried the metalink points to the paths, we've experimented with
others, nothing seems to work.

Some clues in MetaLink:

Both of these directories contain libraries of the same name. To ensure

that 32 bit executables search the 32 bit dir, and 64 bit executables

search the 64 bit dir, set the following:

Prior to 9i:

$LD_LIBRARY_PATH - includes $ORACLE_HOME/lib64, but not $ORACLE_HOME/lib

$SHLIB_PATH    - includes $ORACLE_HOME/lib, but not $ORACLE_HOME/lib64

9i onwards:

$LD_LIBRARY_PATH - includes $ORACLE_HOME/lib, but not $ORACLE_HOME/lib32

$SHLIB_PATH    - includes $ORACLE_HOME/lib32, but not $ORACLE_HOME/lib

export SHLIB_PATH=/u001/app/oracle/product/  Doesn't seem
to matter.

There isn't a lib64 on either box.

Michael Kline
Database Administration
SunTrust Technology Center
1030 Wilmer Avenue
Richmond, Virginia 23227
Outside 804.261.9446
STNet 643.9446

Cell 804.744.1545
The information transmitted is intended solely
for the individual or entity to which it is
addressed and may contain confidential and/or
privileged material. Any review, retransmission,
dissemination or other use of or taking action
in reliance upon this information by persons or
entities other than the intended recipient is
prohibited. If you have received this email in
error please contact the sender and delete the
material from any computer.