Problem Note 52807: Errors occur when you submit a job from SAS® Enterprise Guide® to a SAS® grid or you use a BSUB command to submit the job directly to IBM Platform LSF
The following error might occur when you submit a job from SAS Enterprise Guide to a SAS® grid in the AIX operating environment:
Unable to initialize grid environment
This problem occurs when you use user IDs that are configured in the Lightweight Directory Access Procotol (LDAP).
An error also occurs if you use an LDAP user ID with the bsub sleep 30 command to submit the job directly to Platform LSF. The error, shown below, is displayed when you submit the command bhist -l job-ID:
'Exited by signal 4.'
Note also that the above message might show a signal 132 instead. They are the same.
If instead you use the bjobs -l job-ID command, you will see these messages:
'Exited with exit code -1.'
'Completed ; TERM_EXTERNAL_SIGNAL: job killed by a signal external to LSF.'
If you check the sbatchd.log.xxxx log file that resides in the LSF_TOP/ directory, you will see the following message:
"7.06 lsbatchDir(): neither <home>/.lsbatch nor spool dir could be used by the job xxxx, temp dir will be used"
Typically, this problem occurs after you upgrade the AIX operating system with the most current AIX Technology Level at 7100-03-01-1341 (produced by submitting the command oslevel -s).
You can circumvent the problem in either of the following ways:
- Circumvention 1: Click the Downloads tab in this note to access the patch for the sbatchd module.
- Circumvention 2: Follow these steps:
- In the lsf.conf file that resides in the $LSF_ENVDIR/ directory, define the following option:
lsf_am_options=amnever
- Restart all LSF services.
- As the root user, make sure that you source the profile by submitting the following command:
# cd LSF_TOP/conf
# . ./profile.lsf
- Issue the following commands from the command line:
# badmin hshutdown
# lsadmin resshutdown
# lsadmin limshutdown
- Then restart the daemons with the following commands:
# lsadmin limstartup
# lsadmin resstartup
# badmin hstartup
Operating System and Release Information
SAS System | Platform LSF | 64-bit Enabled AIX | 7.06 | | 9.3 TS1M2 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
The errors "Unable to initialize grid environment" and "Exited by signal 4" can occur when you submit a job either from SAS Enterprise Guide or directly to Platform LSF.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2014-05-08 11:16:57 |
Date Created: | 2014-04-23 11:32:09 |