Some Schedule jobs are not running in Oracle 10g

i have total of 8 Schedules jobs in Oracle 10g test database which were not in sync with prod database . So i re-created all of them again and then enbled them . but some 4 of them didnt ran on their NEXT_RUN_DATE . Showing NULL on LAST_START_DATE and LAST_RUN_DURATION . How to make them Run
select OWNER,JOB_NAME,START_DATE,STATE,SCHEDULE_NAME,LAST_START_DATE,LAST_RUN_DURATION,NEXT_RUN_DATE from ALL_SCHEDULER_JOBS
where OWNER='MESH_FOR' and last_start_date is NULL;
OWNER     JOB_NAME     START_DATE     STATE     SCHEDULE_NAME     LAST_START_DATE     LAST_RUN_DURATION     NEXT_RUN_DATE
MESH_FOR     REFRESH_TERMINALS_J     27.07.2010 11:00:00,000000000 +02:00     SCHEDULED     DAILY_EVERY_30_MINUTES     NULL     NULL     27.07.2010 11:00:00,000000000 +02:00
MESH_FOR     REFRESH_MN_SERVERS_J     27.07.2010 11:00:00,000000000 +02:00     SCHEDULED     DAILY_EVERY_30_MINUTES     NULL     NULL     27.07.2010 11:00:00,000000000 +02:00
MESH_FOR     REFRESH_EVENT_INFO_J     27.07.2010 11:00:00,000000000 +02:00     SCHEDULED     DAILY_EVERY_30_MINUTES     NULL     NULL     27.07.2010 11:00:00,000000000 +02:00
MESH_FOR     UPDATE_MV_CHANGES_J     27.07.2010 11:00:00,000000000 +02:00     SCHEDULED     DAILY_EVERY_30_MINUTES     NULL     NULL     27.07.2010 11:00:00,000000000 +02:00

Hi,
Could you please explain, what is OS authentication?
I created a new user for creating and runing jobs.
I have given following priveleges to the new User.'
1)Connect
2)SELECT_CATALOG_ROLE
3)Create Job
Then, I created the job as follows.
BEGIN
sys.dbms_scheduler.create_job(
job_name => 'SMPL_TST_JB',
job_type => 'PLSQL_BLOCK',
job_action => 'Declare
Result Integer;
begin
Result:=1;
/* Other statments */
Exception
when others then
Result:=3;
end;',
repeat_interval => 'freq=daily;byhour=10;byminute=00;bysecond=00',
start_date => systimestamp,
job_class => 'DEFAULT_JOB_CLASS',
auto_drop => FALSE,
enabled => TRUE);
sys.dbms_scheduler.set_attribute( name => 'SMPL_TST_JB', attribute => 'logging_level', value => DBMS_SCHEDULER.LOGGING_FULL);
sys.dbms_scheduler.set_attribute( name => 'SMPL_TST_JB', attribute => 'restartable', value => TRUE);
END;
Then, I run the job as following.
SQL> begin sys.dbms_scheduler.run_job ('SMPL_TST_JB'); end;
2 /
begin sys.dbms_scheduler.run_job ('SMPL_TST_JB'); end;
ORA-03113: end-of-file on communication channel
Thank you,
Regards
Gowtham Sen.

Similar Messages

  • Scheduled jobs are not running DPM 2012 R2

    Hi,
    Recently upgraded my dpm 2012 sp1 to 2012 R2 and upgrade went well but i got 'Connection to the DPM service has been lost.(event id:917 and other event ids in the eventlog errors ike '999,997)'. Few dpm backups are success and most of the dpm backups consistenancy
    checks are failed.
    After investigating the log files and found two SQL server services running in the dpm 2012 r2 server those are 'sql server 2010 & sql server 2012 'service. Then i stopped sql 2010 server service and started only sql server 2012 service using (.\MICROSOFT$DPM$Acct).
    Now 'dpm console issue has gone (event id:917) but new issue ocurred 'all the scheduled job are not running' but manully i can able to run all backup without any issues. i am getting below mentioned event log errors 
    Log Name:      Application
    Source:        SQLAgent$MSDPM2012
    Date:          7/20/2014 4:00:01 AM
    Event ID:      208
    Task Category: Job Engine
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      
    Description:
    SQL Server Scheduled Job '7531f5a5-96a9-4f75-97fe-4008ad3c70a8' (0xD873C2CCAF984A4BB6C18484169007A6) - Status: Failed - Invoked on: 2014-07-20 04:00:00 - Message: The job failed.  The Job was invoked by Schedule 443 (Schedule 1).  The last step to
    run was step 1 (Default JobStep).
     Description:
    Fault bucket , type 0
    Event Name: DPMException
    Response: Not available
    Cab Id: 0
    Problem signature:
    P1: TriggerJob
    P2: 4.2.1205.0
    P3: TriggerJob.exe
    P4: 4.2.1205.0
    P5: System.UnauthorizedAccessException
    P6: System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal
    P7: 33431035
    P8: 
    P9: 
    P10: 
    Log Name:      Application
    Source:        MSDPM
    Date:          7/20/2014 4:00:01 AM
    Event ID:      976
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      
    Description:
    The description for Event ID 976 from source MSDPM cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event: 
    The DPM job failed because it could not contact the DPM engine.
    Problem Details:
    <JobTriggerFailed><__System><ID>9</ID><Seq>0</Seq><TimeCreated>7/20/2014 8:00:01 AM</TimeCreated><Source>TriggerJob.cs</Source><Line>76</Line><HasError>True</HasError></__System><Tags><JobSchedule
    /></Tags></JobTriggerFailed>
    the message resource is present but the message is not found in the string/message table
    plz help me to resolve this error.
    jacob

    Hi,
    i would try to reinstall DPM
    Backup DB
    uninstall DPM
    Install DPM same Version like before
    restore DPM DB
    run dpmsync.exe -sync
    finished
    Seidl Michael | http://www.techguy.at |
    twitter.com/techguyat | facebook.com/techguyat

  • Scheduled Brio/IR Jobs are not running as expected in EPM 11.1.2.2

    Hi All,
    We are observing some scheduled jobs are not running as expected,they are not running on the scheduled time.
    Given below are more details.
    We have 2 Jobs running at 6:00 AM daily based on single Recurring Time Event and it is observed that this jobs are not running on time(ex: 6:06 AM EST).
    I tried verifying Consolidate Job Status in workspace admin options and the v8_RecurtimeEvent table for any miss in the 'Next Run Time',
    but they were having the scheduled date/time of run.No clue from EPM Logs.
    Interesting observation is the same jobs are running after updating the schedule time a little bit further(ex: 6:06 AM to 6:07 AM),but again after some days
    the updated job(6:07 AM ) will stop running.
    Thanks,

    Put the IR job logs in TRACE:32 mode which will give more information in the logs . Refer this document link to put in TRACE mode :http://docs.oracle.com/cd/E17236_01/epm.1112/epm_install_troubleshooting_1112200.pdf
    Thanks,
    KK

  • Scheduled jobs do not run as expected after upgrading to 10.2.0.3 or 4

    FYI, we've had a ticket open for several days because our scheduled jobs (dbms_scheduler) would no longer run as scheduled after an upgrade to 10.2.0.4 on HPUX, couldn't find the solution by searching in metalink, nor did I find it here or using Google - obviously I wasn't searching correctly. There is a note id that references a set of steps that appears to have resolved our problem. I am putting this note out here so that if you encountered the same difficulty you may come across this note earlier in your troubleshooting efforts rather than later. The full title of the note is: 'Scheduled jobs do not run as expected after upgrading to either 10.2.0.3 or 10.2.0.4'. The Doc ID is: 731678.1.

    Thanks - our ticket should be getting closed out on it (our dba will be updating it), the scheduler has been running reliably since we took the steps in the doc mentioned.

  • Hi in my browser some urls are running and some of them are not running EX: google and facebook kindly help

    hi in my browser some urls are running and some of them are not running EX: google and facebook kindly help

    Hi
    It may be virus, please reset all IE settings and try antivirus and scan your PC. Before that esure that other PC connected to the same internet is able to access the Site which will let you know if this is issues with ISP or not

  • Forms are not compiled in oracle 10g database

    Dear Experts
    I have upgraded my database from oracle 9i r2 32bit windows to 10g r2 64bit linux 5.
    Now is it possible to run application on 10g developed in developer 6?
    If possible then how? Please help me out.
    Regards

    Hi,
    Did you try to clear the Jinitiator Cache.
    some times you have to accept the digital security and it hides behind. So please minimize all the windows and see if there is any other message.
    Before opening form, If you open java console and press 5, it will show you the exact error message.
    Thanks

  • Jobs in oracle are not running properly -

    Hi
    In my database i have some 10 jobs and they are running successfully but the next date is not getting updated to athe new interval. Because of that the jobs are not running furhter.
    Is there any solution for this
    Oracle 9.2.0.6
    O/S linux
    Rp

    RAJ> @JOBS2
    scheduled jobs
    Last This Next Run
    WHAT LOG_USER Job B fail Date Date Date Interval
    DQ_UPDATION; DOTSOFT 124 N 0 11-NOV-08: 15:59:35 : 16-NOV-08: 15:59:35 5.00
    P_SEND_PG_MAILS; DOTSOFT 250 N 0 14-NOV-08: 02:00:03 : 15-NOV-08: 02:00:00 1.00
    PLRANL; DOTSOFT 83 N 0 14-NOV-08: 00:00:03 : 15-NOV-08: 00:00:00 1.00
    P_MAIL_DIS; DOTSOFT 492 N 0 14-NOV-08: 00:00:03 : 15-NOV-08: 00:00:00 1.00
    FRSJOBS; DOTSOFT 106 N 0 14-NOV-08: 00:00:03 : 15-NOV-08: 00:00:00 1.00
    bill_net_os_details_proc; DOTSOFT 24 N 0 14-NOV-08: 00:00:03 : 15-NOV-08: 00:00:00 1.00
    FRS_REPEAT_UPDT; DOTSOFT 674 N 0 14-NOV-08: 07:00:03 : 14-NOV-08: 15:00:00 .33
    FRS_REPEAT_FAULT_UPDT; DOTSOFT 675 N 0 14-NOV-08: 07:00:05 : 14-NOV-08: 15:00:00 .33
    portal_application; DOTSOFT 692 N 0 14-NOV-08: 07:02:01 : 14-NOV-08: 08:02:01 .04
    an_printpack.an_process(sysdat DOTSOFT 532 N 0 14-NOV-08: 06:35:40 : 14-NOV-08: 07:05:40 .02
    e-1,sysdate, 'DOTSOFT', 'D');
    MONTHCRON; DOTSOFT 164 N 0 11-NOV-08: 15:59:35 : 11-DEC-08: 00:00:00 29.33
    npc_scan_job; DOTSOFT 392 N 11 14-NOV-08: 00:00:03 : 15-NOV-08: 00:00:00 1.00
    RECON_ALLPAID_PKG.RECON_ALLPAI DOTSOFT 228 N : : 18-NOV-08: 16:48:15
    D;

  • Report job is not run at scheduled time

    OS:WindowsServer2008R2
    Oracle BI 11g(11.1.1.6.0)
    CT defined a report job
    ====
    Frequency Daily
    Start 2013/01/14 AM 06:00:00
    End 2020/01/14 PM 11:59:00
    timezone [GMT+09:00]Osaka,Tokyo
    ====
    but he found the report is not run at 06:00:00
    at 2013/01/16 08:50AM,he login to BIP,and got to Report Job history.
    he found the staus of this report is running and
    start processing is 2013/01/16 08:51:32AM
    It seems the report job is run after login.
    In CT's environment , the followinig work are done Every Day
    22:00 stop OracleBI  (opmnctl.bat→stopManagedWebLogic.cmd→stopWebLogic.cmd)
    00:00 restart server
    05:45 clear cashe (nQCmd.exe)
    05:45 start OracleBI(BI_START.bat)
    06:00 report job is not run for no mail received.-->★
    Could you tell me why the report job are not run at 06:00AM
    Does any one can give me some advice on investigating this issue, which information are needed?

    Any suggestion on this issue?

  • Scheduled jobs fail to run after reboot

    A couple of months back we moved our CF 8 server to a VM (VMWare). We have noticed that after the server (Windows OS) is rebooted, all scheduled jobs do not run. There are no errors in the logs. One oddity is that after the reboot in the scheduler log there are a series of entries for all jobs with the ThreadID of "main", after that there are no other entries. Normally when the job runs the ThreadID will be something like “Scheduler-1”. Here is where it gets really strange. Simply logging into the console will “trigger” the jobs and they will run. I do not have to manually initiate on of the jobs. This can be repeated over and over simply by rebooting the server. Manually stopping and starting the service does not trigger this issue nor will it “kick start” the jobs to run.

    Update:
    I opened up a case with Microsoft Support and resolved the issue. Apperantly this is a known issue and the bug will be addressed in CU6. Microsoft was able to give me a hotfix (QFE_MOMEsc_4724.msi) which I applied on all systems that have SCOM Console. I
    am told that this issue occurs when SCOM 2007 R2 CU5 runs on SQL 2008 R2.
    I hope it helps to others that run into same problem.
    ZMR 

  • Jobs are not Runnig

    Hi Experts
    we are using Oracle 10g Database Release 2 on Server 2000 ,
    Since a Month Jobs are not Running,
    I Created the Jobs from Toad,
    for the last one and Half years the Jobs were Running Fine
    what could be the Cause for this Behaviour,
    my Jobs Status is in online Status only but not Getting Executed
    There is no Error i am finding ,
    i need to Run the Job Manually Executing Every time
    please Suggest
    many thanks

    Jobs are Runnig Prporperly running Manually,
    please Find the out put for the Below Query
    SQL>select job, schema_user, last_date, last_sec, next_date, last_date,last_sec, next_sec, total_time, broken, failures, what from dba_jobs
    JOB SCHEMA_USER LAST_DATE LAST_SEC NEXT_DATE LAST_DATE LAST_SEC NEXT_SEC TOTAL_TIME B FAILURES WHAT
    1 SYSMAN 07-JUNE-09 12:14:47 07-JUNE-09 07-JUNE-09 12:14:47 12:15:47 45084 N 0 EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS();
    4001 FLOWS_030100 07-JUNE-09 04:53:44 07-JUNE-09 07-JUNE-09 04:53:44 12:53:44 706 N 0 wwv_flow_cache.purge_sessions(p_purge_sess_older_then_hrs => 24);
    4002 FLOWS_030100 07-JUNE-09 12:13:42 07-JUNE-09 07-JUNE-09 12:13:42 12:23:42 1661 N 0 wwv_flow_mail.push_queue(wwv_flow_platform.get_preference('SMTP_HOST_ADDRESS'),wwv_flow_platform.get_preference('SMTP_HOST_PORT'));
    121 user_dml 06-JUNE-09 16:07:42 07-JUNE-09 06-JUNE-09 16:07:42 16:07:42 111 N 0 doclib.do_alert_todos;
    122 user_dml 07-JUNE-09 12:12:42 07-JUNE-09 07-JUNE-09 12:12:42 12:27:42 1029 N 0 ctx_ddl.sync_index('doclib_docs_idx2', '2M');
    184 user_dml 07-JUNE-09 00:00:04 08-JUNE-09 07-JUNE-09 00:00:04 00:00:00 19852 N 0 user_dml.CREATE_STC_CIRCUIT_PATH_DAILY;
    201 user_dml 07-JUNE-09 00:00:04 08-JUNE-09 07-JUNE-09 00:00:04 00:00:00 92 N 0 user_dml.CREATE_STC_HELD_TX_REQUEST_DLY;
    521 FLOWS_030100 04-MAR-09 15:30:30 0 N wwv_flow_mail.push_queue;
    641 FLOWS_030100 13-JUN-09 12:21:35 0 N wwv_flow_mail.push_queue;
    681 FLOWS_030100 15-JUL-09 12:32:49 0 N wwv_flow_mail.push_queue;
    Thanks a lot

  • Identify Jobs that are not running on their Scheduled date time

    I have 29 scheduled jobs that run at different intervals of time. Some run once a day. few others run on hourly basis while others run on Sundays.
    I was working on a query that would let me know if a particular job did not run on its scheduled date and time.
    SELECT * from all_scheduler_jobs WHERE state <>'DISABLED'; will give me a list of all jobs that I have to monitor and that are not in the disabled state. But how can I verify that the jobs are running at their scheduled date time?
    Any help please? I need to create a view of all such jobs and then plan to send an alert so that appropriate action can be taken and it is assured that all important jobs run as per schedule.
    Thanks.

    Hi,
    I can see 2 approaches.
    - for jobs that have run but ran very late you should query dba_scheduler_job_run_details and filter by the difference between req_start_date and actual_start_date
    - for jobs that should have run but shouldn't, query for DBA_SCHEDULER_JOBS jobs that are SCHEDULED where next_run_date is in the past
    Hope this helps,
    Ravi.

  • Oracle automatic statistics optimizer job is not running after full import

    Hi All,
    I did a full import in our QA database, import was successful, however GATHER_STATS_JOB is not running after sep 18 2010 though its enable and scheduled, i did query last_analyzed table to check and its confirmed that it didnt ran after sep18,2010.
    Please refer below for the output
    OWNER JOB_NAME ENABL STATE START_DATE END_DATE LAST_START_DATE NEXT_RUN_D
    SYS GATHER_STATS_JOB TRUE SCHEDULED 18-09-2010 06:00:02
    Oracle defined automatic optimizer statistics collection job
    =======
    SQL> select OWNER,JOB_NAME,STATUS,REQ_START_DATE,
    to_char(ACTUAL_START_DATE, 'dd-mm-yyyy HH24:MI:SS') ACTUAL_START_DATE,RUN_DURATION
    from dba_scheduler_job_run_details where
    job_name='GATHER_STATS_JOB' order by ACTUAL_START_DATE asc; 2 3 4
    OWNER JOB_NAME STATUS REQ_START_DATE ACTUAL_START_DATE
    RUN_DURATION
    SYS GATHER_STATS_JOB SUCCEEDED 16-09-2010 22:00:00
    +000 00:00:22
    SYS GATHER_STATS_JOB SUCCEEDED 17-09-2010 22:00:02
    +000 00:00:18
    SYS GATHER_STATS_JOB SUCCEEDED 18-09-2010 06:00:02
    +000 00:00:26
    What could be the reason for GATHER_STATS_JOB job not running although its set to auto
    SQL> select dbms_stats.get_param('AUTOSTATS_TARGET') from dual;
    DBMS_STATS.GET_PARAM('AUTOSTATS_TARGET')
    AUTO
    Does anybody has this kind of experience, please share
    Apprecitate your responses
    Regards
    srh

    ?So basically you are saying is if none of the tables are changed then GATHER_STATS_JOB will not run, but i see tables are updated still the job is not running. I did >query dba_scheduler_jobs and the state of the job is true and scheduled. Please see my previous post on the output
    Am i missing anything here, do i look for some parameters settings
    So basically you are saying is if none of the tables are changed then GATHER_STATS_JOB will not run,GATHER_STATS_JOB will run and if there are any table in which there's a 10 percent change in data, it will gather statistics on that table. If no table data have changes less than 10 percent, it will not gather statistics.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/stats.htm#i41282
    Hope this helps.
    -Anantha

  • Schedule lines are not getting generated during MRP Run

    Schedule lines are not getting generated during MRP Run. I have maiantained source list for the material with proper validity date and also maintained scheduling agreement . MRP relevvant Indicator , I have marked - 2 which means -Record relevant to MRP. Sched. lines generated automatically.
    Still I am not able to get schedule lines and instead of that *Purchase Requisitions* are getting generated.
    Can any one help me and suggest me what to be done in this case .
    Thanks & Regards ,
    Nirmalya

    Dear,
    Welcome to SDN,
    In transaction OMDT you have to enable the indicator create schedule lines
    In MD02 MRP control Prameter here select the Delivery schedules -3- Schedule line. Processing Key as NETCH and Planning Mode - 3 delted and recreated.
    Maintain source list ME01, in that put MRP indicator as '2' i.e. schedule lines via MRP.Put your agreement no in that.
    If u run MRP properly u will get schedule lines automatically in ME38.
    Make the schedule agreement, make it source relevent in the source list make is FIX and MRP indicator as 3.
    Regards,
    R.Brahmankar

  • Job are not getting Triggered

    Hi All,
    I Have encountered an Issue with JOB not getting Triggered in BI system .
    For Datasource 2LIS_04_P_ARBPL , I have created Infopackage , when I am going to schedule tab and running an Infopackage. Job is not getting trigger  . And it is going on Hold for a longer period.
    Data is in the source system and  I am unable to fetch data from source system .
    One more thing there was some upgration activity happened in the source system one day before.
    Could u please let us know , Is the reason behind could be upgration in source system  ?
    Please let me know what needs to be crosschecked and what could be the solution for this Issue.
    Looking for response .....
    Regards,
    Mahesh

    Hi ,
    In the Source system Data is fetching I mean through RSA3.
    Even I able to replicate the Datasource as well.
    Also in T-code : SM59 , when I am checking Source system Connection check , it is not poping any error.
    But When I am Checking through RSA1 - > Source System
    Source system connection by clicking CHECK Option  then it is poping an error "Check Failed for RFC Connection ; Check Destination ".
    Also In Source system T-code :SM50 I can see three BGD WP which are in waiting status.
    In T-code : BD87 I have checked I didnt find any IDOC's in Yellow colour .
    How do we need to check whether ALEREMOTE is active or not?
    Actually my Issue is Jobs are not getting trigger in BI . So what all things needs to be taken care apart from this.
    So Is there any thing to be taken care from Basis team for Restarting of BI Jobs after any kind of Upgration activity in general?
    Regards,
    Mahesh

  • Spawn jobs are not getting priority and target servergiven at selection scn

    Hi Abapers,
    I am scheduling main program as a job in backend through FMs JOB_OPEN, JOB_SUBMIT and JOB_CLOSE with priority and target server taken from user at selection screen through SE38,after executing the job,job will generate the spawn jobs (i.e child jobs). The spawn jobs  also be scheduled with same priority and target server from taken user. But after completion of main job execution, the spawn jobs are not generating with same priority and target server taken from selection screen. May be its getting refreshed.
    Please give me an idea how the spawn jobs also have to get the same priority and server of main job?
    Please reply as soon as possible. I need it urgently.

    Hi,
    I have used below statements for ADD EXTRACT and ADD REPLICAT.
    ------Extract
    ADD EXTRACT ext_1, TRANLOG, BEGIN NOW
    -------Data Pump
    ADD EXTRACT pump_1, EXTTRAILSOURCE /app/ggs/trail/local_trail_1/ta, BEGIN NOW
    -------Replicat
    ADD REPLICAT rep_1, EXTTRAIL /app/ggs/trail/remote_trail_1/tb, BEGIN NOW, CHECKPOINTTABLE ogg.tarun_chk
    Yes, i have tried tutorial at Oracle Learning Library.
    Thanks
    Tarun
    Edited by: user8886876 on Feb 12, 2012 9:56 PM

Maybe you are looking for

  • Data arrived in ODS new data - all  data fields are cleared

    Hello Experts We are loading every day since 3 years data into a DSO   There is a simple start routine. Issue: Suddenly 1x  record out of 12'000 records loses the data fields or in other words the data fields are cleared. The key part of the record s

  • SQL works fine in SQLPLUS but not in Report25 ???

    I have the following query written in Reports 2.5.5.2.5, it works fine when I connect to Oracle 7.3.2.3. However, when I connect to a Oracle 9i database, it returns ORA-00904: "ABC":invalid identifier. SELECT SV_TYPE|| SV_DESC ABC FROM SERVICE ORDER

  • XQuery sorting issue

    Hi, Right now I am in a big trouble. I am new in XQuery, but right now I'm in a project using Xquery using PHP and XSLT.. In our project we have large no. data (its a property listing site) and I'm storing that data to Berkeley DB (XML DB). The probl

  • Double counting an insert in the db

    When I run the following code – the INSERT INTO occurrence seems to repeat itself – Thus, I am double counting each word: Example, if I have three words, (Help, Hope & Peace) – each word is placed in the word table – but, when inserted into the occur

  • Auto Alerts for Background Work Process

    Hello, I am configuring auto alerts in solution manager. I would like to configure auto alerts for background jobs that's been running for more than 10 hours. Can someone help me with which MTE class to use for this configuration? Thank you.