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

RE: Daily Heath report script

Herring Dave - dherri

2005-11-04

Replies:
Chris,

It should capture all ORA- errors, but I also assume some are severe
enough to complete crap out the process so it doesn't get captured. For
example, I did find a few ORA-600 errors that were captured, but no
7445s. I checked all alert logs for the past 90 days (they are weekly
renamed/date stamped, gzip'ed, then deleted after 90 days) and found all
but the ORA-07445 errors were captured that also appeared in the alert
log.

This has worked fine for releases 9.2.0.4, 9.2.0.5, and 9.2.0.6.

For what its worth, I thought I'd add the DDL for the Oracle table used
to hold error detail:

CREATE TABLE <audit user>.AUD_ORA_ERROR_TB
 (   ORA_ERROR NUMBER,
    RUN_DT DATE,
    USERNAME VARCHAR2(30),
    ORA_ERROR_NBR_SEQ NUMBER,
    OSUSER VARCHAR2(30),
    MACHINE VARCHAR2(64),
    PROCESS VARCHAR2(12),
    PROGRAM VARCHAR2(48),
    SQL_TEXT VARCHAR2(4000)
 ) PCTFREE 0 TABLESPACE TOOLS
PARTITION BY RANGE (RUN_DT)
(PARTITION AUOE_200503_RP VALUES LESS THAN ('01-APR-2005')
PCTFREE 0 TABLESPACE TOOLS,
PARTITION AUOE_200504_RP ... )

I also loaded all ORA- error descriptions, causes, actions off oraus.msg
into an Oracle table, so that I could join to it yielding a little help
on messages when reporting.

Dave

> -----Original Message-----
> From: Marquez, Chris [mailto:cmarquez@(protected)]
> Sent: Friday, November 04, 2005 12:35 PM
> To: Herring Dave - dherri; oracle-l@(protected)
> Subject: RE: Daily Heath report script
>
> Dave,
>
> This looks really interesting...not sure I'm aware of the
> DBMS_STANDARD.SERVER_ERROR package.
>
> I'm trying to follow the logic of the code...one question.
> Does code/proc track *all* db "server" errors or only "ORA-" errors
that
> happen for (failed) executed SQL.
> Meaning catch all of the (same) ORA- errors found in the alert log,
plus
> those thrown to individual SQL sessions?
>
> What version of Oracle do you run this on?
>
> Thanks,
>
> Chris Marquez
> Oracle DBA
***************************************************************************
The information contained in this communication is confidential, is
intended only for the use of the recipient named above, and may be legally
privileged.

If the reader of this message is not the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited.

If you have received this communication in error, please resend this
communication to the sender and delete the original message or any copy
of it from your computer system.

Thank You.
****************************************************************************
--
http://www.freelists.org/webpage/oracle-l