Home
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

oradebug dump processstate 10

Muqthar Ahmed

2005-06-09

Replies:
Hi,

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. Therefore, I have used oradebug command to get more info:


********************  Cursor Dump  ************************
Current cursor: 1, pgadep: 0
 pgactx: 7000000182800f0 ctxcbk: 700000018280540 ctxqbc: 1104fdd30 ctxrws: 0
Cursor Dump:
----------------------------------------
Cursor 1 (1104d8a68): CURBOUND curiob: 1104e2aa8
curflg: 4c curpar: 0 curusr: 0 curses 7000000129fcfa0
cursor name: alter function get_utl_dir compile
child pin: 700000014013d98, child lock: 700000014d3d630, parent lock: 700000015013a68
xscflg: 2264, parent handle: 70000001c220800, xscfl2: c000400
nxt: 1.0x00000168
Cursor frame allocation dump:
frm: -------- Comment -------- Size Seg Off
End of cursor dump
***************** dump of cursor xsc=1104e2aa8 **********************

Can anyone let me know what is PARENT LOCK???????

Note: If I bounce the database, I can re-compile the function. But I would like to find out the cause.

Muqthar



* * * * * * * * *

The information contained in this E-mail message is privileged, confidential, and may be protected from disclosure; please be aware that any other use, 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 reply to the sender and delete it from your computer. T
hank you.

--
http://www.freelists.org/webpage/oracle-l