HELP: scheduled jobs no run---searched a lot but still cannot resolve

As for this problem, I have searched a lot by google, but I still cannot resolve it.
I am using 11g on Linux.
I delete all of jobs in my database.Then I configured a very simple periodic job as follows:
begin
DBMS_SCHEDULER.create_job (job_name => 'test2',
program_name => 'test_program',
repeat_interval => 'freq=secondly; INTERVAL= 4',
auto_drop => FALSE);
dbms_scheduler.set_attribute(name => 'test2',
attribute => 'max_runs',
VALUE => 100);
dbms_scheduler.enable('test2');
end;
The program which the job is associated with is as follows:
create or replace PROCEDURE TEST AS
BEGIN
INSERT INTO print_tab VALUES('come on');
commit;
END TEST;
However the table is always empty and the job never runs, and the state shows "SCHEDULED".
The facts are as follows:
1. My database worked very fine until yesterday. This problem occurs suddenly.
2. I also tried to reboot the system, but it did not work.
3. I can manually run the job by DBMS_SCHEDULER.RUN_JOB('test2', TRUE);
4 The process of CJQ, J0 are both running;
5. the value of "job_queue_processess" is 10000, and also i changed it to other values, it did not work;
6. the value of "MAX_JOB_SLAVE_PROCESSES" is 999.
I really do not understand the reason. Who could you give me some guidance. If you need more diagnostic, please tell me how to get them. Great thanks.
Message was edited by:
KingMing

There are many logs in      /u01/app/oracle/diag/rdbms/orcl/orcl/alert, which I checked from the manager console. Could you please help me take a look? Thanks
r 22, 2008 8:16:47 PM EDT     UNKNOWN     16     
     Thread 1 advanced to log sequence 3114
Apr 22, 2008 8:16:47 PM EDT     UNKNOWN     16     
     Current log# 3 seq# 3114 mem# 0: /u01/app/oracle/oradata/orcl/redo03.log
Apr 22, 2008 8:16:46 PM EDT     UNKNOWN     16     
     Thread 1 cannot allocate new log, sequence 3114
Apr 22, 2008 8:16:46 PM EDT     UNKNOWN     16     
     Private strand flush not complete
Apr 22, 2008 8:16:46 PM EDT     UNKNOWN     16     
     Current log# 2 seq# 3113 mem# 0: /u01/app/oracle/oradata/orcl/redo02.log
Apr 22, 2008 8:00:46 PM EDT     UNKNOWN     16     
     Thread 1 advanced to log sequence 3113
Apr 22, 2008 8:00:46 PM EDT     UNKNOWN     16     
     Current log# 2 seq# 3113 mem# 0: /u01/app/oracle/oradata/orcl/redo02.log
Apr 22, 2008 1:25:35 PM EDT     UNKNOWN     16     
     Thread 1 advanced to log sequence 3112
Apr 22, 2008 1:25:35 PM EDT     UNKNOWN     16     
     Current log# 1 seq# 3112 mem# 0: /u01/app/oracle/oradata/orcl/redo01.log
Apr 22, 2008 4:39:32 AM EDT     UNKNOWN     16     
     Thread 1 advanced to log sequence 3111
Apr 22, 2008 4:39:32 AM EDT     UNKNOWN     16     
     Current log# 3 seq# 3111 mem# 0: /u01/app/oracle/oradata/orcl/redo03.log
Apr 21, 2008 9:15:42 PM EDT     UNKNOWN     16     
     Thread 1 advanced to log sequence 3110
Apr 21, 2008 9:15:42 PM EDT     UNKNOWN     16     
     Current log# 2 seq# 3110 mem# 0: /u01/app/oracle/oradata/orcl/redo02.log
Apr 21, 2008 8:15:54 PM EDT     UNKNOWN     16     
     Thread 1 advanced to log sequence 3109
Apr 21, 2008 8:15:54 PM EDT     UNKNOWN     16     
     Current log# 1 seq# 3109 mem# 0: /u01/app/oracle/oradata/orcl/redo01.log
Apr 21, 2008 8:15:54 PM EDT     UNKNOWN     16     
     Thread 1 cannot allocate new log, sequence 3109
Apr 21, 2008 8:15:54 PM EDT     UNKNOWN     16     
     Private strand flush not complete
Apr 21, 2008 8:15:54 PM EDT     UNKNOWN     16     
     Current log# 3 seq# 3108 mem# 0: /u01/app/oracle/oradata/orcl/redo03.log
Apr 21, 2008 3:19:00 PM EDT     NOTIFICATION     16     
     process start     ksbrdp:3527:3697353022     CJQ0 started with pid=39, OS id=8880
Apr 21, 2008 3:19:00 PM EDT     NOTIFICATION     16     
     process start     ksbs1p_real:2133:2371767696     Starting background process CJQ0
Apr 21, 2008 3:15:48 PM EDT     NOTIFICATION     16     
     admin_ddl     opiexe:2995:2802784106     Completed: ALTER DATABASE OPEN
Apr 21, 2008 3:15:46 PM EDT     UNKNOWN     16     
     db_recovery_file_dest_size of 2048 MB is 0.00% used. This is a
Apr 21, 2008 3:15:46 PM EDT     UNKNOWN     16     
     user-specified limit on the amount of space that will be used by this
Apr 21, 2008 3:15:46 PM EDT     UNKNOWN     16     
     database for recovery-related files, and does not reflect the amount of
Apr 21, 2008 3:15:46 PM EDT     UNKNOWN     16     
     space available in the underlying filesystem or ASM diskgroup.

Similar Messages

  • My MacBook Pro cannot switch on. Need help. Charger had turn to green LED but still cannot turn on

    Please advise how to react to this problem.Thanks

    Go step by step and test.
    http://support.apple.com/kb/TS1365
    Note: Steps 5 and 6
    Step 5
    Reset SMC.     http://support.apple.com/kb/HT3964
    Choose the method for:
    "Resetting SMC on portables with a battery you should not remove on your own".

  • I'd downloaded many apps from the apps store but they're all dissappeared on my homescreen. I found them on purchased apps from the apps store as well, but still cannot run. Help. I'm using iphone 5s n latest version of ios.

    I'd downloaded many apps from the apps store but they're all dissappeared on my homescreen. I found them on purchased apps from the apps store as well, but still cannot run. Help. I'm using iphone 5s n latest version of ios.

    Thanks too all the people who responded. . . . (noone)
    Got it sorted though. Seems that Apple has issues with multiple apple id's.
    Seems i had to somehow remember and use the original id i had when i first bought my 1st iPhone. . . .
    Even after that it was extremely hard to get my apps back on my PC.
    If anyone else has the same problem. . . .email Apple. Cya.

  • I have installed Mountain Lion 10.8.2 but still cannot get email from my work exchange account. I'd appreciate any help.  Thank you.

    I have installed Mountain Lion 10.8.2 but still cannot get email from my work exchange account. I'd appreciate any help.  Thank you.

    You can go to the Apple online store and purcahse a copy of Mountain Lion.  This will give you a redemption code, which you can use to download Mountain Lion from the App Store.  Unfortuantely, I'm not aware of any other way to legally purchase it.  I have never seen Apple release Muontain Lion on DVD.
    In terms of Apple Service, they just need the serial number of the machine to check the purcahse date.  It is usually correct, to within a few weeks.  A quick Google search should give you the correct number to dial.
    I hope this helps.

  • I cannot send an email from my iPad 2? No problem receiving, why does this happen? Have tried the suggestions for setting up email and after doing the sync mail through iTunes receiving worked great but still cannot send? Any help would be great

    I cannot send an email from my iPad 2? No problem receiving, why does this happen? Have tried the suggestions for setting up email and after doing the sync mail through iTunes receiving worked great but still cannot send? Any help would be great!

    The fact that you can receive means you have a valid e mail address, and have established the connection to the incoming server, so all of that works.  Since the send does not work, that means your outgoing server is rejecting whatever settings you used formthe outgoing set up.  Try them again. 
    Google your particular isp, and ipad and many times you will find the exact settings needed for your isp.  Or tell us here, and soneone else may be on the same isp.  Some mail services need you to change a port, or have a unique name for the outgoing server.  
    Kep trying.

  • I have installed Mountain Lion 10.8.1 but still cannot get email from my work exchange account. I'd appreciate any help.  Thank you.

    I have installed Mountain Lion 10.8.1 but still cannot get email from my work exchange account. I'd appreciate any help.  Thank you.

    I would delete the account and try to re-enter it. Also, you have to let your firm's IT department know that you want to sync work email on your personal devices before they actually work.

  • HT201077 For some reason, photos taken on my iPhone did not transfer to my iPad. Apple could not help  I have now loaded the photos from my Phone to my laptop, but still cannot transfer them to the iPad. Any ideas please?

    For some reason, photos taken on my iPhone did not transfer to my iPad. Apple could not help. So I have now loaded the photos from my iPhone onto my laptop, but still cannot transfer them to the iPad. Any ideas please?

    I just had this problem as well and spent quite a bit of time reviewing all of the suggestions/ideas/comments, and since I am not that tech-savy I remembered this "suggestion" from the UK show The "IT  Crowd" which was "Have you tried turning it off and on again??" (both devices)
    http://bit.ly/18qL7OA  (apologies for short ad on the youtube clip)
    It worked!! 

  • HT4113 My Ipad is disable.Now connected to I tune. But still cannot reconginsed it. Need help.

    I am out of my place now. Due to some error, I used different pass code. Now my Ipad is disable. I manage to connect to I tune. But still cannot recongibse the Ipad.
    Need help to restore the I pad .
    Thanks

    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    Saw this solution on another post about an iPad in a school enviroment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just cancelling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • My apple 5th gen ipod is connected to wifi but still cannot access safari and other websites..can some1 help me out?

    my apple 5th gen ipod is connected to wifi but still cannot access safari,itunes and other websites. the ip address is not strtng wid 169 and i have reset the network settings also..can some one help me out

    The 169 IP address mans it did not correctly negotiate with the router:
    Does the iOS device connect to other networks? If yes that tend to indicate a problem with your network.
    Does the iOS device see the network?
    Any error messages?
    Do other devices now connect?
    Did the iOS device connect before?
    Try the following to rule out a software problem:                
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on your router
    .- Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network      
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem and it does not connect to any networks make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • Troubled to get scheduler job to run?

    Hi all friends:
    I'm having trouble getting any scheduler jobs (here, troubled job name is CUSTMASTER_CHANGES_01) to actually run.
    when
    sql>select job_name,state,enabled,retry_count,failure_count,run_count,restartable,start_date,repeat_interval,job_class
    from all_scheduler_jobs;
    JOB_NAME STATE ENABL RETRY_COUNT FAILURE_COUNT RUN_COUNT RESTA START_DATE REPEAT_INTERVAL JOB_CLASS
    CUSTMASTER_CHANGES_01 SCHEDULED TRUE 0 0 0 FALSE 14-JAN-08 09.46.14.6 FREQ=SECONDLY;I SCANNER_JO
    72965 AM AMERICA/NEW NTERVAL=5 B_CLASS
    _YORK
    for job 'CUSTMASTER_CHANGES_01'
    we can see RUN_COUNT 0 and restartable false.
    I upped slave processes to 5. dbms_scheduler.run_job('CUSTMASTER_CHANGES_01') works, but it's still not executing on the schedule
    when run as sysdba
    SQL> exec dbms_scheduler.run_job('CUSTMASTER_CHANGES_01');
    ERROR at line 1:
    ORA-27475: "SYS.CUSTMASTER_CHANGES_01" must be a job
    ORA-06512: at "SYS.DBMS_ISCHED", line 150
    ORA-06512: at "SYS.DBMS_SCHEDULER", line 441
    ORA-06512: at line 1
    to resolve that,
    we found
    When you create your job by using dbsm_scheduler, it has a parameter called ‘auto_drop’, is by default, =’true’, like, auto_drop => TRUE
    see below;
    dbms_scheduler.create_job(
    job_name IN VARCHAR2,
    job_type IN VARCHAR2,
    job_action IN VARCHAR2,
    number_of_arguments IN PLS_INTEGER DEFAULT 0,
    start_date IN TIMESTAMP WITH TIME ZONE DEFAULT NULL,
    repeat_interval IN VARCHAR2 DEFAULT NULL,
    end_date IN TIMESTAMP WITH TIME ZONE DEFAULT NULL,
    job_class IN VARCHAR2 DEFAULT 'DEFAULT_JOB_CLASS',
    enabled IN BOOLEAN DEFAULT FALSE,
    auto_drop IN BOOLEAN DEFAULT TRUE,
    comments IN VARCHAR2 DEFAULT NULL);
    The job you manually run once and then it drops itself when you test.
    so I am specifiying auto_drop to be false, but it is showing it has true as the attribute.
    DBMS_SCHEDULER.CREATE_JOB(
    job_name => scanner.scanner_name,
    job_type => 'PLSQL_BLOCK',
    job_action => 'BEGIN IF EEG_SCAN.GET_RUNNING_JOBS_COUNT('
    ||''''||UPPER(scanner.scanner_name)||''''
    ||') < 2 THEN '||scanner.scanner_proc_name||'; END IF; END;',
    repeat_interval => 'FREQ=SECONDLY;INTERVAL=5',
    job_class => c_job_class_name,
    auto_drop => FALSE,
    enabled => true
    scheduler job is still not working as expected.....?
    Can you help me for this??
    thanks a lot in advance.
    Message was edited by:
    jerrygreat
    Message was edited by:
    jerrygreat

    Hi,
    There are a few other limits you could check .
    Make sure that you have not exceeded the maximum number of sessions or the maximum number of processes or the maximum number of scheduler jobs
    select * from dba_scheduler_global_attribute;
    and
    select name,value from v$parameter where name like '%process%';
    select name,value from v$parameter where name like '%session%';
    Also check how many jobs are currently running
    select count(*) from dba_scheduler_running_jobs;
    select count(*) from dba_jobs_running ;
    select count(*) from v$session ;
    One of these limits may need to be increased.
    The run_job succeeds because it runs in the current session by default, if you use use_current_session=>false, does it still work ?
    Also auto_drop only drops the job when it has completed e.g. past its end_date or exceeded its max_runs.
    Finally note that there is a dedicated forum for dbms_scheduler located here
    Scheduler
    Hope this helps,
    Ravi.

  • DPM 2012 R2 Upgrade - Scheduled jobs not running

    Hi,
    We're having an issue after upgrading to DPM 2012 R2 where the scheduled jobs are not running.
    We're running Server 2012 R2 with SQL Server 2008 R2 SP2.
    Looking at SQL jobs, if we run the job step we get an error.
    Message
    [136] Job 18822c3e-8fe 7-47a2-bb6e-0feccecc2952 reported: The process could not be created for step 1 of job 0xA746B176EAD99943A14A57DAF684829F (reason: %1 is not a valid Win32 application)
    However, if we place quotes around the triggerjob.exe path in the SQL default job step:
    "C:\Program Files\Microsoft System Center 2012 R2\DPM\DPM\bin\TriggerJob.exe" 9b30d213-b836-4b9e-97c2-db03c3eb39d7 18822c3e-8fe7-47a2-bb6e-0feccecc2952 server.domainname.com
    It is successful. 
    We've already uninstalled DPM 2012 R2 and re-installed, restored the database and run dpmsync -sync with the same result. We've checked the DCOM Config Launch and Activation Permissions for Microsoft System Center 2012 R2 Data Protection Manager Service
    and has full access.
    Has anyone else had this issue and been able to resolve it?
    Any help would be greatly appreciated.

    Hi,
    The below blog may assist with troubleshooting your issue.
    http://blogs.technet.com/b/dpm/archive/2014/10/08/how-to-troubleshoot-scheduled-backup-job-failures-in-dpm-2012.aspx
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually
    answer your question. This can be beneficial to other community members reading the thread. Regards, Dwayne Jackson II. [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights."

  • Schedule job to run daily at specific times

    Hello,
    Not sure if this is the correct forum to post my question. If not, please advise which forum to use.
    How can I setup a background job which runs daily day, but only runs between a specific time?
    Our request is to have a job to run daily between 0700 - 1700 - then end and restarts again at 0700 the next day. How can we do this?
    Kind regards

    Check this
    https://forums.sdn.sap.com/search.jspa?threadID=&q=backgroundANDjobANDschedule&objID=f50&dateRange=all&numResults=15
    PS Please make a search this forum before posting

  • Scheduler Jobs that run between certain times?

    Is there an easy way to query which dbms_scheduler jobs run between any given times?
    If I look at repeat_interval in user_scheduler_jobs, for example, I've got things like "FREQ=DAILY; BYHOUR=14,16,18,20,8,10,12; BYMINUTE=30" and "FREQ=HOURLY; INTERVAL=2;" and "FREQ=DAILY;", and it's not therefore clear to me how I could write a query that would find which jobs run between (say) 17:00 and 19:00.
    Is there a function, or a neat bit of sql, that will 'explode' the repeat interval (presumably, in the case of the last two examples above, with reference to the start_date) into standardized times which I could then query? Or is there some other way of doing it?

    There are no schedules used here. The repeat interval is specified for all jobs at the time of creating the job.
    Besides, that wouldn't address the issue, even so. Even if schedules are in use, they declare their repeat interval in the form "freq=daily;byhour=3,4,5,6;byminute=0;bysecond=0", stored in a text field. Exactly the same, in fact, as the repeat_interval column in the user_scheduler_jobs column.
    So how do you derive from that the knowledge that the job can run some time between 2 and 8AM?
    I want to list all jobs which might start between those two times, but I do not know syntactically or logically how it is possible to query either user_scheduler_jobs or all_scheduler_schedules to select all rows where repeat_interval "is somehow covered by the time range 2 to 8".
    Thanks for replying, though.

  • Schedule jobs not running

    the user execute the abap job and execute in background, but it is not running. He execute many times, but still sit in schedule state, do you know why? there is no error in SM21, will it be authority issues? how to check? thanks

    It looks like it is an authorization issue. Ask them to do that again and immediately in another session, run SU54. This will show all the authorization checks that the user went through and tells you if it failed.
    Alternatively, they can just go to SM37 and try to release it. If it comes back with a message, you will know.
    Srinivas

  • I keep having to restart my computer. It say firefox is running in the background but I cannot load another page

    I keep getting the message that Firefox is running in the background and I cannot load another page. I have to restart my computer to get Firefox back to operating normally. I have everything closed down as far as I can tell. But when I click on the Icon it will not start another page. It just keeps telling me to shut down all browser windows and that Firefox is running in the background. I even go to ctrl/alt/delete and look at the tasks running. Nothing! It is happening a lot more often now and I hate to use Internet Explorer. I have depended a lot more on Mozilla in the past few years now and I like it. This is driving me nuts. Please help. Thank You

    Did you check the Processes tab in the Task Manager?
    See "Hang at exit":
    * http://kb.mozillazine.org/Firefox_hangs
    * [[Firefox hangs]]

Maybe you are looking for

  • Should I buy WD my passport for MAC or my passport ? for my mac book pro

    Hello, I have a mac book pro and prepare to buy a 2TB portable hard drive for it. Should I get Western Digital "my passport for MAC" or "my passport" ? Today I went to apple store and the represetative told me to buy any portable hard drive and forma

  • Bluetooth on Sat Pro L300D

    I know my Satellite Pro L300D-EZ1002V has wifi since that works.  But does that mean it also has bluetooth?  I can't get that to work. Solved! Go to Solution.

  • Disappearing buttons in applet

    When I view an applet I have created on a webpage it works fine. Then I scroll down a bit and the buttons drop out of view. Then I scroll back and the buttons seem to disappear. Placing the mouse over them brings them back. Check it out for yourself

  • Where to find facetime in my iMac?

    Pls help me! I don't know where to start facetime on my iMac. I would like to use it to chat with my sister in Taiwan. Thx a lots.

  • Problem with MIME repository (cannot find image with ReportDesigner)

    Hi, in our BW (BI7.0), on the SE80 (mime repos), i found the /SAP/BW/CUSTOMER/images i found the *jpg and other image files. But when i run the BEX Report Designer and try to add an image from that path, the BRD doesnt find any image. Tks CC