Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: RE: How to find out what caused job to fail?
LOL Roland, The alert log will usually be stored in your background_dump_dest as specified in your init<SID>.ora file:
background_dump_dest = C:\oracle\admin\SALES\bdump <- on an Win2K system.
You use this by opening and reading through it (usually from the end, as this is where the most up to date info is (tail)). You really should be "monitoring" (either as above or with a tool) the alert log every day in case any errors occur. To give you and example:
----from my alert log----
Mon Feb 04 08:55:04 2002
Errors in file C:\oracle\admin\SALES\udump\ORA01168.TRC:
ORA-00604: error occurred at recursive SQL level 1
ORA-04031: unable to allocate 4032 bytes of shared memory ("shared
pool","java/lang/StringSYS","joxlod: in ehe","ioc_allocate_pal")
ORA-06512: at "SYS.DBMS_JAVA", line 0
ORA-06512: at line 2
You see above that the trace file is fully qualified within the error text. If not, then trace files will usually be generated within the udump directory, or in the bdump directory for Oracle process trace files.
Break out the docs (Concepts manual) on the Alert log, there is a lot more in there than just trace file generation logging. The alert log also catches shutdown/startup, redo switches, automatic recovery info, tablespace management (create / drop etc.), and catches errors such as the infamous ORA-600. This is one of the basic things that you should already know about managing an Oracle system - one of the quickest ways to see if anything has gone wrong with your system..
HTH Mark
-----Original Message-----
Lee - lerobe
Sent: 04 February 2002 10:05
To: Multiple recipients of list ORACLE-L
Here we go again !!!
-----Original Message-----
Sent: 04 February 2002 09:36
To: Multiple recipients of list ORACLE-L
But how do I use the alert log and where canI find the trace file?
Roland
yen-wee.tan_at_amd.com_at_fatcity.com den 2002-02-04 01:05 PST
Sänd svar till ORACLE-L_at_fatcity.com
Sänt av: root_at_fatcity.com
Till: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> Kopia:
Hi, you can find the reason in alert log or trace files.
-----Original Message----- From: Daiminger, Helmut [mailto:Helmut.Daiminger_at_KirchGruppe.de] Sent: Monday, February 04, 2002 4:40 PM To: Multiple recipients of list ORACLE-L Subject: How to find out what caused job to fail? Hi! Is there a way to find out, why a database job failed? in dba_jobs (oruser_jobs), I can only see that it failed, but no indication of the reason why it failed. Any ideas?
This is 8.1.7 on Solaris.
Thanks, Helmut
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
INET: Roland.Skoldblom_at_ica.se
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
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
re-send this communication to the sender and delete the
original message or any copy of it from your computer
system.
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Robertson Lee - lerobe
INET: lerobe_at_acxiom.co.uk
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Mark Leith
INET: mark_at_cool-tools.co.uk
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Mon Feb 04 2002 - 05:30:58 CST
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
![]() |
![]() |