IBM Support

Bsub fails with exit code 255

Troubleshooting


Problem

Customer saw exit code 255 when running their own script to submit LSF job with bsub. The code snippet is as below: %SYSEXEC bsub -P "maintenance" -J "promote_request" -Jd "BSub" -q "developers" -G "wbiadm" -R "WBIApp" -g "/wbi/maintenance/promote_request" -outdir "/xxx/" -oo /xxx/123_test_.lsfout -eo /xxx/123_test_.lsferr ;

Cause

In this case, the root cause of exit code 255 is that submission user wbibatch is not a member of the LSF Group wbiadm

Resolving The Problem

To make -G "wbiadm" work, customer needs to define a user group called wbiadm which should contain the member wbibatch as below:

Begin UserGroup
GROUP_NAME       GROUP_MEMBER           USER_SHARES     GROUP_ADMIN
#(This is the line to be added in lsb.users, and you may need to customize the GROUP_ADMIN value)
wbiadm            (wbibatch)     ()  (wbibatch)
End UserGroup

After making the changes, please run "badmin reconfigure" to make the
changes take effect. And you can also run "bugroup" to confirm the new
group has been added.

[{"Product":{"code":"SSETD4","label":"Platform LSF"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

More support for:
Platform LSF

Software version:
Version Independent

Document number:
664643

Modified date:
17 June 2018

UID

isg3T1027366