Issue:
We have several jobs on waiting status in IBM Platform Process Manager 9.1.Solution:
IBM support team suggested us to add the parameter below to avoid creating new login shell for the submission users for each job triggered from PPM side:JS_SU_NEW_LOGIN=false
You can find this configuration in js.conf file located at /pm/conf.
bash-4.1$ grep JS_SU_NEW_LOGIN js.conf
JS_SU_NEW_LOGIN=false
# Default is JS_SU_NEW_LOGIN=true
Side effects:
There is one downside of using this parameter, that it will not get user's $HOME/.profile sourced so any environment variables set there will not be seen in job execution environment. PPM submission to LSF is by default using "su - username -c 'command' " and the dash here implies user login is invoked souring the $HOME/.profile file. When we added JS_SU_NEW_LOGIN=false to our Test environment, it broke some jobs for user that depended on variables defined in user $HOME/.profile. We resolved it by sourcing those variables in application scripts.Other symptoms for this issue:
PPM try to send the job to LSF but exits with code 125.This code is related to when "su " command fails because of a shell issue.
Other solutions tried but failed:
Moving the flow instance from active to finished:$ cd /pm/work/storage/flow_instance_storage/active/
$ ls -l 387532.dat
rw-r--r--. 1 sas sas 6354 Feb 16 00:00 387532.dat
$mv 387532.dat ../finished/
Comments
Post a Comment