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: oradebug dump processstate 10

cichomitiko gmail


I think it will be much easier to check the v$access view and find who
is accessing the object ...

This view displays objects in the database that are currently locked
and the sessions that are accessing them.

Column Datatype Description =20
Session number that is accessing an object=20
Owner of the object=20
Name of the object=20
Type identifier for the object=20


Support and Historical Notes for "V$ACCESS"
View Definition:
  Use the following SQL to see the view definition of the related GV$ vie=

   SELECT view_definition FROM v$fixed_view_definition
    WHERE view_name=3D'GV$ACCESS';

Useful Join Columns:
  SID   - Join to <View:V$SESSION> . SID



On 6/9/05, Muqthar Ahmed <Muqthar.Ahmed@(protected):
> Thanks Egor....I am reading Metalink Note:215858.1
> Muqthar
> -----Original Message-----
> From: Egor Starostin [mailto:egorst@(protected)]
> Sent: Thursday, June 09, 2005 1:19 PM
> To: Muqthar.Ahmed@(protected)
> Cc: oracle-l@(protected)
> Subject: Re: oradebug dump processstate 10
> > I have a function called GET_UTL_DIR and currently it is locked in the =
database. When I try to re-compile it I get the following error:
> > ORA-04021: timeout occurred while waiting to lock object GET_UTL_DIR
> >
> > I have verified in v$lock but no user is locking.
> Such locks (when someone is executing function and you are trying to
> recompile it) are not displayed in v$lock.
> > Therefore, I have used oradebug command to get more info:
> I'd say that 'oradebug dump processstate 10'' is some kind of overkill
> in such situation.
> You can easily find locker (not only for your case but for every
> locking situation) issuing either "oradebug hanganalyze 2" or just
> "alter session set events 'immediate trace name hanganalyze level
> 2';". You will quickly get easily readable and small trace file with
> tree(s) of blockers/waiters.
> Read Metalink Note:215858.1 (Interpreting HANGANALYZE trace files to
> diagnose hanging and performance problems) for further info about
> hanganalyze event.
> --
> Egor
> http://www.oracledba.ru/orasrp/
> Free Oracle Session Resource Profiler
> * * * * * * * * *
> The information contained in this E-mail message is privileged, confident=
ial, and may be protected from disclosure; please be aware that any other u=
se, printing, copying, disclosure or dissemination
> of this communication may be subject to legal restriction or sanction. If=
you think that you have received this E-mail message in error, please repl=
y to the sender and delete it from your computer. T
> hank you.
> --
> http://www.freelists.org/webpage/oracle-l