LDAP startup fails and shows BPXM047I error RETURN CODE 00000081 REASON CODE 053B006C
search cancel

LDAP startup fails and shows BPXM047I error RETURN CODE 00000081 REASON CODE 053B006C

book

Article ID: 47984

calendar_today

Updated On:

Products

Top Secret Top Secret - LDAP LDAP SERVER FOR Z/OS

Issue/Introduction

When starting LDAP, the following error is seen and the started task fails:

BPXM047I BPXBATCH FAILED BECAUSE SPAWN (BPX1SPN) OF SLAPD FAILED WITH
        RETURN CODE 00000081 REASON CODE 053B006C.                  
IEF142I CALDAP CALDAP - STEP WAS EXECUTED - COND CODE 2816           
By BPXMTEXT BPXFSSTA 07/13/11       

How can this issue be resolved?

Resolution

IBM documentation for the BPXM047I error message states the following:

BPXBATCH encountered an error when trying to issue a spawn (BPX1SPN) callable service to the program name specified. An incorrect program name may have been specified.

The return code 81 indicates: ENOENT No such file, directory, or IPC member exists.

The reason code '053B006C' during LDAP initialization usually means that the LDAP install directory or the slapd.conf file cannot be found.

To resolve the error:

  1. Ensure that the file system where the LDAP install directory resides is mounted.

  2. Confirm that all references to the LDAP directory name are spelled correctly and proper case used (lowercase/uppercase) in the LDAP startup JCL and slapd.env files.

  3. The LDAP started task OMVS segment must have a HOME directory that points to the LDAP directory name. Verify that it is spelled correctly and properly cased.

  4. For Top Secret LPARs: Make sure the LDAP configuration file slapd.conf specification in the Top Secret startup JCL is spelled correctly and proper case used. It is specified on the statement that executes BPXBATA8 on the PARM parameter. For example:
    //LDAP EXEC PGM=BPXBATA8,REGION=0M,TIME=NOLIMIT,
    PARM='PGM slapd -d &DEBUG. -f ./slapd.conf'