Errors when trying to run a job from a different user.

Document ID : KB000090225
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Errors when trying to run a job from a different user.
Resolution:
Detailed Description and Symptoms

?

Trying to run a job with a login that is assigned to a different user to the OS. You get errors:
?
U2001007 User "USER1234\DOMAIN_NAME' is unknown or an invalid password has been specified.
U0011000 'JOBS.WIN' (RunID: '0001224048') could not be started on 'AGENT'. See next message.
U2001042 Starting the job with user ''*OWN'', domain 'Automic' is not allowed.
 
 

 

The user you see in the error U2001007 is not the same as the use in your login object.  The user is the one you see in the U2001042 error.

 


Solution

?

Solution/Information: You have the following set in the agent's ini file:
[GLOBAL]
...
userid_type=INCL
[USERID]
; This section depends on userid_type above
; user/domain=START
USER1234/DOMAIN_NAME=START
 
Here you are restricting what users can run jobs.
 
You can comment the two likes out, to turn off the restriction:
 
; userid_type=INCL
; USER1234/DOMAIN_NAME=START
 
Or you will need to add users to the list to allow then to run jobs on this agent.
 
[GLOBAL]
 
...
 
userid_type=INCL
 
[USERID]
; This section depends on userid_type above
; user/domain=START
 
USER1234/DOMAIN_NAME=START
USER9876/DOMAIN_NAME=START
JOHN1234/DOMAIN_NAME2=START