Links
Home
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
dbms_job failed to execute

dbms_job failed to execute

2005-10-27       - By Igor Neyman

Reply:     1     2     3     4     5     6     7     8     9     10     >>  

Try to find additional info in the files: <instance_name>_j0000_,,,trc
in bdump directory.
Look for the files with the timestamp close to the time when your jobs
stopped working.

__ ____ ____ ____ ____ ____ ____

From: oracle-l-bounce@(protected)
[mailto:oracle-l-bounce@(protected)] On Behalf Of Magnus Andersen
Sent: Thursday, October 27, 2005 9:32 AM
To: oracle-l@(protected)
Subject: dbms_job failed to execute


Hi All,

I have several dbms_jobs scheduled and have had them there for a long
time.  Tuesday they stopped being executed on appointed times.  I've
looked in Metalink, but have not found anything.  I have no errors in my
alert log, nor do I have any failures.  Being a "newbie" I'm not sure
where to go from here.  Below is some system information.  Please let me
know if there is anything else I need to provide for this to be
meaningful to you.

Any help/advice is greatly appreciated.

Thanks,
--
Magnus Andersen
Systems Administrator / Oracle DBA
Walker & Associates, Inc.


System Information:
Server = HP DL 580
OS = RHEL 3 AS Update 4
DB = 9.2.0.6
Output from dba_jobs =
      JOB    LOG_USER    PRIV_USER    SCHEMA_USER    LAST_DATE
LAST_SEC    THIS_DATE    THIS_SEC    NEXT_DATE    NEXT_SEC    TOTAL_TIME
BROKEN    INTERVAL    FAILURES    WHAT    NLS_ENV    MISC_ENV
INSTANCE
1    143    SYSADM    SYSADM    SYSADM    27-Oct-05 7:07:51 AM
07:07:51            28-Oct-05 10:03:00 PM    22:03:00    54    N
"trunc(sysdate+1) + 22.05/24
"    0    wa_service_level;    NLS_LANGUAGE='AMERICAN'
NLS_TERRITORY='AMERICA' NLS_CURRENCY='$' NLS_ISO_CURRENCY='AMERICA'
NLS_NUMERIC_CHARACTERS='.,' NLS_DATE_FORMAT='DD-MON-RR'
NLS_DATE_LANGUAGE='AMERICAN' NLS_SORT='BINARY'    0102000000000000    0
2    142    SYSADM    SYSADM    SYSADM    27-Oct-05 7:07:46 AM
07:07:46            28-Oct-05 10:00:00 PM    22:00:00    86    N
"trunc(sysdate+1) + 22.00/24
"    0    wa_ship_label_table_cleanup;    NLS_LANGUAGE='AMERICAN'
NLS_TERRITORY='AMERICA' NLS_CURRENCY='$' NLS_ISO_CURRENCY='AMERICA'
NLS_NUMERIC_CHARACTERS='.,' NLS_DATE_FORMAT='DD-MON-RR'
NLS_DATE_LANGUAGE='AMERICAN' NLS_SORT='BINARY'    0102000000000000    0
3    201    SYSADM    SYSADM    SYSADM    27-Oct-05 7:14:59 AM
07:14:59            28-Oct-05 5:24:00 AM    05:24:00    91216    N
trunc(sysdate+1) + 05.40/24    0
wa_forecast_driver('Y',12,wa_get_period(trunc(sysdate)));
NLS_LANGUAGE='AMERICAN' NLS_TERRITORY='AMERICA' NLS_CURRENCY='$'
NLS_ISO_CURRENCY='AMERICA' NLS_NUMERIC_CHARACTERS='.,'
NLS_DATE_FORMAT='DD-MON-RR' NLS_DATE_LANGUAGE='AMERICAN'
NLS_SORT='BINARY'    0102000200000000    0
4    145    SYSADM    SYSADM    SYSADM    27-Oct-05 7:07:56 AM
07:07:56            28-Oct-05 10:30:00 PM    22:30:00    21115    N
trunc(sysdate+1) + 22.50/24    0    wa_run_product_update;
NLS_LANGUAGE='AMERICAN' NLS_TERRITORY='AMERICA' NLS_CURRENCY='$'
NLS_ISO_CURRENCY='AMERICA' NLS_NUMERIC_CHARACTERS='.,'
NLS_DATE_FORMAT='DD-MON-RR' NLS_DATE_LANGUAGE='AMERICAN'
NLS_SORT='BINARY'    0102000200000000    0
5    146    SYSADM    SYSADM    SYSADM    27-Oct-05 7:11:21 AM
07:11:21            28-Oct-05 11:27:00 PM    23:27:00    396    N
trunc(sysdate+1) + 23.45/24    0    wa_wynncomm_updates;
NLS_LANGUAGE='AMERICAN' NLS_TERRITORY='AMERICA' NLS_CURRENCY='$'
NLS_ISO_CURRENCY='AMERICA' NLS_NUMERIC_CHARACTERS='.,'
NLS_DATE_FORMAT='DD-MON-RR' NLS_DATE_LANGUAGE='AMERICAN'
NLS_SORT='BINARY'    0102000000000000    0
6    161    SYSADM    SYSADM    SYSADM    27-Oct-05 7:11:36 AM
07:11:36            28-Oct-05 5:24:00 AM    05:24:00    11219    N
trunc(least(next_day(sysdate, 'MONDAY'), next_day(sysdate, 'TUESDAY'),
next_day(sysdate, 'WEDNESDAY'), next_day(sysdate, 'THURSDAY'),
next_day(sysdate, 'FRIDAY'))) + 05.40/24    0
wa_customer_profile_generator;    NLS_LANGUAGE='AMERICAN'
NLS_TERRITORY='AMERICA' NLS_CURRENCY='$' NLS_ISO_CURRENCY='AMERICA'
NLS_NUMERIC_CHARACTERS='.,' NLS_DATE_FORMAT='DD-MON-RR'
NLS_DATE_LANGUAGE='AMERICAN' NLS_SORT='BINARY'    0102000200000000    0
7    805    SYSADM    SYSADM    SYSADM    27-Oct-05 7:15:15 AM
07:15:15            28-Oct-05 6:30:00 PM    18:30:00    46549    N
trunc(least(next_day(sysdate, 'MONDAY'), next_day(sysdate, 'TUESDAY'),
next_day(sysdate, 'WEDNESDAY'), next_day(sysdate, 'THURSDAY'),
next_day(sysdate, 'FRIDAY'))) + 18.5/24    0    wa_acct_control_updates;
NLS_LANGUAGE='AMERICAN' NLS_TERRITORY='AMERICA' NLS_CURRENCY='$'
NLS_ISO_CURRENCY='AMERICA' NLS_NUMERIC_CHARACTERS='.,'
NLS_DATE_FORMAT='DD-MON-RR' NLS_DATE_LANGUAGE='AMERICAN'
NLS_SORT='BINARY'    0102000200000000    0
8    17535    SYSADM    SYSADM    SYSADM    27-Oct-05 7:17:11 AM
07:17:11            27-Oct-05 7:32:00 AM    07:32:00    86    N
trunc(SYSDATE+1/96,'MI')    0    po_notify;    NLS_LANGUAGE='AMERICAN'
NLS_TERRITORY='AMERICA' NLS_CURRENCY='$' NLS_ISO_CURRENCY='AMERICA'
NLS_NUMERIC_CHARACTERS='.,' NLS_DATE_FORMAT='DD-MON-RR'
NLS_DATE_LANGUAGE='AMERICAN' NLS_SORT='BINARY'    0102000000000000    0


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2769" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=495135213-27102005><FONT face=Arial
color=#0000ff size=2>Try to find additional info in the files:
&lt;instance_name&gt;_j0000_,,,trc in bdump directory.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=495135213-27102005><FONT face=Arial
color=#0000ff size=2>Look for the files with the timestamp close to the time
when your jobs stopped working.</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> oracle-l-bounce@(protected)
[mailto:oracle-l-bounce@(protected)] <B>On Behalf Of </B>Magnus
Andersen<BR><B>Sent:</B> Thursday, October 27, 2005 9:32 AM<BR><B>To:</B>
oracle-l@(protected)<BR><B>Subject:</B> dbms_job failed to
execute<BR></FONT><BR></DIV>
<DIV></DIV>Hi All,<BR><BR>I have several dbms_jobs scheduled and have had them
there for a long time.&nbsp; Tuesday they stopped being executed on appointed
times.&nbsp; I've looked in Metalink, but have not found anything.&nbsp; I have
no errors in my alert log, nor do I have any failures.&nbsp; Being a "newbie"
I'm not sure where to go from here.&nbsp; Below is some system
information.&nbsp; Please let me know if there is anything else I need to
provide for this to be meaningful to you.<BR><BR>Any help/advice is greatly
appreciated.<BR><BR>Thanks,<BR>-- <BR>Magnus Andersen<BR>Systems Administrator
/
Oracle DBA<BR>Walker &amp; Associates, Inc.<BR><BR><BR>System
Information:<BR>Server = HP DL 580<BR>OS = RHEL 3 AS Update 4<BR>DB = <A
href="http://9.2.0.6">9.2.0.6</A><BR>Output from dba_jobs =<BR>&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; JOB&nbsp;&nbsp;&nbsp; LOG_USER&nbsp;&nbsp;&nbsp;
PRIV_USER&nbsp;&nbsp;&nbsp; SCHEMA_USER&nbsp;&nbsp;&nbsp;
LAST_DATE&nbsp;&nbsp;&nbsp; LAST_SEC&nbsp;&nbsp;&nbsp;
THIS_DATE&nbsp;&nbsp;&nbsp; THIS_SEC&nbsp;&nbsp;&nbsp;
NEXT_DATE&nbsp;&nbsp;&nbsp; NEXT_SEC&nbsp;&nbsp;&nbsp;
TOTAL_TIME&nbsp;&nbsp;&nbsp; BROKEN&nbsp;&nbsp;&nbsp; INTERVAL&nbsp;&nbsp;&nbsp
;
FAILURES&nbsp;&nbsp;&nbsp; WHAT&nbsp;&nbsp;&nbsp; NLS_ENV&nbsp;&nbsp;&nbsp;
MISC_ENV&nbsp;&nbsp;&nbsp; INSTANCE<BR>1&nbsp;&nbsp;&nbsp; 143&nbsp;&nbsp;&nbsp
;
SYSADM&nbsp;&nbsp;&nbsp; SYSADM&nbsp;&nbsp;&nbsp; SYSADM&nbsp;&nbsp;&nbsp;
27-Oct-05 7:07:51 AM&nbsp;&nbsp;&nbsp; 07:07:51&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 28-Oct-05 10:03:00 PM&nbsp;&nbsp;&nbsp;
22:03:00&nbsp;&nbsp;&nbsp; 54&nbsp;&nbsp;&nbsp; N&nbsp;&nbsp;&nbsp;
"trunc(sysdate+1) + 22.05/24<BR>"&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;
wa_service_level;&nbsp;&nbsp;&nbsp; NLS_LANGUAGE='AMERICAN'
NLS_TERRITORY='AMERICA' NLS_CURRENCY='$' NLS_ISO_CURRENCY='AMERICA'
NLS_NUMERIC_CHARACTERS='.,' NLS_DATE_FORMAT='DD-MON-RR'
NLS_DATE_LANGUAGE='AMERICAN' NLS_SORT='BINARY'&nbsp;&nbsp;&nbsp;
0102000000000000&nbsp;&nbsp;&nbsp; 0<BR>2&nbsp;&nbsp;&nbsp;
142&nbsp;&nbsp;&nbsp; SYSADM&nbsp;&nbsp;&nbsp; SYSADM&nbsp;&nbsp;&nbsp;
SYSADM&nbsp;&nbsp;&nbsp; 27-Oct-05 7:07:46 AM&nbsp;&nbsp;&nbsp;
07:07:46&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 28-Oct-05
10:00:00 PM&nbsp;&nbsp;&nbsp; 22:00:00&nbsp;&nbsp;&nbsp; 86&nbsp;&nbsp;&nbsp;
N&nbsp;&nbsp;&nbsp; "trunc(sysdate+1) + 22.00/24<BR>"&nbsp;&nbsp;&nbsp;
0&nbsp;&nbsp;&nbsp; wa_ship_label_table_cleanup;&nbsp;&nbsp;&nbsp;
NLS_LANGUAGE='AMERICAN' NLS_TERRITORY='AMERICA' NLS_CURRENCY='$'
NLS_ISO_CURRENCY='AMERICA' NLS_NUMERIC_CHARACTERS='.,'
NLS_DATE_FORMAT='DD-MON-RR' NLS_DATE_LANGUAGE='AMERICAN'
NLS_SORT='BINARY'&nbsp;&nbsp;&nbsp; 0102000000000000&nbsp;&nbsp;&nbsp;
0<BR>3&nbsp;&nbsp;&nbsp; 201&nbsp;&nbsp;&nbsp; SYSADM&nbsp;&nbsp;&nbsp;
SYSADM&nbsp;&nbsp;&nbsp; SYSADM&nbsp;&nbsp;&nbsp; 27-Oct-05 7:14:59
AM&nbsp;&nbsp;&nbsp; 07:14:59&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; 28-Oct-05 5:24:00 AM&nbsp;&nbsp;&nbsp;
05:24:00&nbsp;&nbsp;&nbsp; 91216&nbsp;&nbsp;&nbsp; N&nbsp;&nbsp;&nbsp;
trunc(sysdate+1) + 05.40/24&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;
wa_forecast_driver('Y',12,wa_get_period(trunc(sysdate)));&nbsp;&nbsp;&nbsp;
NLS_LANGUAGE='AMERICAN' NLS_TERRITORY='AMERICA' NLS_CURRENCY='$'
NLS_ISO_CURRENCY='AMERICA' NLS_NUMERIC_CHARACTERS='.,'
NLS_DATE_FORMAT='DD-MON-RR' NLS_DATE_LANGUAGE='AMERICAN'
NLS_SORT='BINARY'&nbsp;&nbsp;&nbsp; 0102000200000000&nbsp;&nbsp;&nbsp;
0<BR>4&nbsp;&nbsp;&nbsp; 145&nbsp;&nbsp;&nbsp; SYSADM&nbsp;&nbsp;&nbsp;
SYSADM&nbsp;&nbsp;&nbsp; SYSADM&nbsp;&nbsp;&nbsp; 27-Oct-05 7:07:56
AM&nbsp;&nbsp;&nbsp; 07:07:56&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; 28-Oct-05 10:30:00 PM&nbsp;&nbsp;&nbsp;
22:30:00&nbsp;&nbsp;&nbsp; 21115&nbsp;&nbsp;&nbsp; N&nbsp;&nbsp;&nbsp;
trunc(sysdate+1) + 22.50/24&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;
wa_run_product_update;&nbsp;&nbsp;&nbsp; NLS_LANGUAGE='AMERICAN'
NLS_TERRITORY='AMERICA' NLS_CURRENCY='$' NLS_ISO_CURRENCY='AMERICA'
NLS_NUMERIC_CHARACTERS='.,' NLS_DATE_FORMAT='DD-MON-RR'
NLS_DATE_LANGUAGE='AMERICAN' NLS_SORT='BINARY'&nbsp;&nbsp;&nbsp;
0102000200000000&nbsp;&nbsp;&nbsp; 0<BR>5&nbsp;&nbsp;&nbsp;
146&nbsp;&nbsp;&nbsp; SYSADM&nbsp;&nbsp;&nbsp; SYSADM&nbsp;&nbsp;&nbsp;
SYSADM&nbsp;&nbsp;&nbsp; 27-Oct-05 7:11:21 AM&nbsp;&nbsp;&nbsp;
07:11:21&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 28-Oct-05
11:27:00 PM&nbsp;&nbsp;&nbsp; 23:27:00&nbsp;&nbsp;&nbsp; 396&nbsp;&nbsp;&nbsp;
N&nbsp;&nbsp;&nbsp; trunc(sysdate+1) + 23.45/24&nbsp;&nbsp;&nbsp;
0&nbsp;&nbsp;&nbsp; wa_wynncomm_updates;&nbsp;&nbsp;&nbsp;
NLS_LANGUAGE='AMERICAN' NLS_TERRITORY='AMERICA' NLS_CURRENCY='$'
NLS_ISO_CURRENCY='AMERICA' NLS_NUMERIC_CHARACTERS='.,'
NLS_DATE_FORMAT='DD-MON-RR' NLS_DATE_LANGUAGE='AMERICAN'
NLS_SORT='BINARY'&nbsp;&nbsp;&nbsp; 0102000000000000&nbsp;&nbsp;&nbsp;
0<BR>6&nbsp;&nbsp;&nbsp; 161&nbsp;&nbsp;&nbsp; SYSADM&nbsp;&nbsp;&nbsp;
SYSADM&nbsp;&nbsp;&nbsp; SYSADM&nbsp;&nbsp;&nbsp; 27-Oct-05 7:11:36
AM&nbsp;&nbsp;&nbsp; 07:11:36&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; 28-Oct-05 5:24:00 AM&nbsp;&nbsp;&nbsp;
05:24:00&nbsp;&nbsp;&nbsp; 11219&nbsp;&nbsp;&nbsp; N&nbsp;&nbsp;&nbsp;
trunc(least(next_day(sysdate, 'MONDAY'), next_day(sysdate, 'TUESDAY'),
next_day(sysdate, 'WEDNESDAY'), next_day(sysdate, 'THURSDAY'), next_day(sysdate
,
'FRIDAY'))) + 05.40/24&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;
wa_customer_profile_generator;&nbsp;&nbsp;&nbsp; NLS_LANGUAGE='AMERICAN'
NLS_TERRITORY='AMERICA' NLS_CURRENCY='$' NLS_ISO_CURRENCY='AMERICA'
NLS_NUMERIC_CHARACTERS='.,' NLS_DATE_FORMAT='DD-MON-RR'
NLS_DATE_LANGUAGE='AMERICAN' NLS_SORT='BINARY'&nbsp;&nbsp;&nbsp;
0102000200000000&nbsp;&nbsp;&nbsp; 0<BR>7&nbsp;&nbsp;&nbsp;
805&nbsp;&nbsp;&nbsp; SYSADM&nbsp;&nbsp;&nbsp; SYSADM&nbsp;&nbsp;&nbsp;
SYSADM&nbsp;&nbsp;&nbsp; 27-Oct-05 7:15:15 AM&nbsp;&nbsp;&nbsp;
07:15:15&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 28-Oct-05
6:30:00 PM&nbsp;&nbsp;&nbsp; 18:30:00&nbsp;&nbsp;&nbsp; 46549&nbsp;&nbsp;&nbsp;
N&nbsp;&nbsp;&nbsp; trunc(least(next_day(sysdate, 'MONDAY'), next_day(sysdate,
'TUESDAY'), next_day(sysdate, 'WEDNESDAY'), next_day(sysdate, 'THURSDAY'),
next_day(sysdate, 'FRIDAY'))) + 18.5/24&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;
wa_acct_control_updates;&nbsp;&nbsp;&nbsp; NLS_LANGUAGE='AMERICAN'
NLS_TERRITORY='AMERICA' NLS_CURRENCY='$' NLS_ISO_CURRENCY='AMERICA'
NLS_NUMERIC_CHARACTERS='.,' NLS_DATE_FORMAT='DD-MON-RR'
NLS_DATE_LANGUAGE='AMERICAN' NLS_SORT='BINARY'&nbsp;&nbsp;&nbsp;
0102000200000000&nbsp;&nbsp;&nbsp; 0<BR>8&nbsp;&nbsp;&nbsp;
17535&nbsp;&nbsp;&nbsp; SYSADM&nbsp;&nbsp;&nbsp; SYSADM&nbsp;&nbsp;&nbsp;
SYSADM&nbsp;&nbsp;&nbsp; 27-Oct-05 7:17:11 AM&nbsp;&nbsp;&nbsp;
07:17:11&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 27-Oct-05
7:32:00 AM&nbsp;&nbsp;&nbsp; 07:32:00&nbsp;&nbsp;&nbsp; 86&nbsp;&nbsp;&nbsp;
N&nbsp;&nbsp;&nbsp; trunc(SYSDATE+1/96,'MI')&nbsp;&nbsp;&nbsp;
0&nbsp;&nbsp;&nbsp; po_notify;&nbsp;&nbsp;&nbsp; NLS_LANGUAGE='AMERICAN'
NLS_TERRITORY='AMERICA' NLS_CURRENCY='$' NLS_ISO_CURRENCY='AMERICA'
NLS_NUMERIC_CHARACTERS='.,' NLS_DATE_FORMAT='DD-MON-RR'
NLS_DATE_LANGUAGE='AMERICAN' NLS_SORT='BINARY'&nbsp;&nbsp;&nbsp;
0102000000000000&nbsp;&nbsp;&nbsp; 0<BR></BODY></HTML>