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?
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:
//LDAP EXEC PGM=BPXBATA8,REGION=0M,TIME=NOLIMIT, PARM='PGM slapd -d &DEBUG. -f ./slapd.conf'