KBI 311010 Jobs Always Get Into Pending State And Later To Abend
Version
Argent Job Scheduler – All Versions
Date
Monday, 21 July 2014
Summary
Upon a fresh installation, Jobs submitted (Ad Hoc or Rollover) get into Pending status and never run
The Jobs get Abend around ten minutes
Technical Background
The issue occurs because the Service Logon account lacks certain privileges
The log file AJSMAIN_SQL_LOG.TXT has entry supporting this
Example:
16 Jul 2014 10:47:30.907 SVR1 ACME\user (03548-02232) 07669 ***** ERROR ***** Failed to launch Job ARS0010X (J000030) because of CreateProcessAsUser error (A required privilege is not held by the client.)
Resolution
To resolve this issue do the following:
- Go to Control Panel -> Administrative Tools -> Local Security Policy
- In tree expand ‘Local Policies‘ and click on ‘User Rights Assignment‘
- From the listed policies, find ‘Replace a process level token‘ and open it
- Add the Job Scheduler Service Logon user to the list
A sample screenshot from Windows 2008 R2 Enterprise edition is given below