Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. Batch queue not processing jobs; aleph_shutdown stalls shutting down batch que

    Batch queue not processing jobs; aleph_shutdown stalls shutting down batch que

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    • Article Type: General
    • Product: Aleph
    • Product Version: 16.02

    Description:
    Various jobs have been submitted to the xxx50 batch queue, both from the job_list and from the GUI Services, in recent days, but none of these jobs have been executed: there is no output for them in xxx50 $data_print and there is no log in $alephe_scratch.

    We have have stopped/restarted the batch que (util c/3, util c/2) several times, but that has not helped.

    Also, we find that the aleph_shutdown stalls in trying to stop this batch queue.

    Resolution:
    This can happen when the batch que (lib_batch) process is not stopped by aleph_shutdown prior to a shutdown of Oracle.

    Do the following:

    1. util c/1: check the date of the process; if it is prior to the last time you did the util c/3 "stop", the stop has not actually been working.

    2. util c/7 to see if any jobs show in the queue; if not, then go to step 11.
    If the jobs which show are all ones which can be resubmitted without any problem, go to step 11.

    3. df1, then "vi que_batch".
    4. util c/1; note the process number nnnn (the first number) of the lib_batch process
    5. kill -9 nnnn <where nnnn is the number from step 4>
    6. util c/2 to start the batch queue (this is necessary to make the jobs viewable)
    7. util c/3 to stop the batch queue {this lets you delete duplicates (step 9) before the jobs actually run}
    8. util c/7 -- you will now see all the jobs which have been waiting to run
    9. If you see duplicates and want to delete them, do util c/8 to delete entries from the queue
    10. util c/2 to restart the batch queue

    If the preceding does not work (that is, the jobs still do not run), then proceed to step 11

    11. df1, "rm que_batch" (to delete the existing one), then "touch que_batch" (to create a new, empty one)

    You should now find that util c/3 successfully stops the queue (and the shutdown doesn't stall at the step for this library).

    See also KB 5672.


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Batch queue does not start for first library in QUE_STARTUP_LIBS; ORA-27101error
      • Batch queue not running; util c/2 fails to start it
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 16.02
      2. contype:kba
      3. Prod:Aleph
      4. Type:General
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved