I am running OpenLDAP 2.4.11 and I am getting an error when I attempt to modify, delete, or add to the directory with a credentialed user (has worked for the past few years perfectly).  I did a debug-level report on the server and it’s giving me with respect to my modify request, I am getting the following results:

 

bdb_modify: updated id=00013892 dn="mbiUniqueID=669103f11bb82ef68f6adbcf75216c1b,ou=people, dc=XXXXXX,dc=XXX "

send_ldap_result: conn=1057 op=1 p=3

send_ldap_result: err=0 matched="" text=""

=> bdb_entry_get: ndn: "mbiUniqueID=669103f11bb82ef68f6adbcf75216c1b,ou=people, dc=XXXXXX,dc=XXX "

=> bdb_entry_get: oc: "(null)", at: "(null)"

bdb_dn2entry("mbiUniqueID=669103f11bb82ef68f6adbcf75216c1b,ou=people, dc=XXXXXX,dc=XXX ")

=> bdb_entry_get: found entry: "mbiUniqueID=669103f11bb82ef68f6adbcf75216c1b,ou=people, dc=XXXXXX,dc=XXX "

bdb_entry_get: rc=0

=> test_filter

    PRESENT

=> access_allowed: search access to "mbiUniqueID=669103f11bb82ef68f6adbcf75216c1b,ou=people, dc=XXXXXX,dc=XXX " "objectClass" requested

<= root access granted

=> access_allowed: search access granted by manage(=mwrscxd)

<= test_filter 6

syncprov_matchops: sid 000 fscope 1 rc 6

./slapd-PRODM1: line 227: 26203 File size limit exceeded$SLAPD_BIN -h "$SLAPD_SERVICES" $SLAPD_PARAMS

slapd-PRODM1[26473]: [ALERT] slapd not running

 

Also, the service script in /etc/init.d is named slapd-PRODM1.  The line number given in the second to last line of the error corresponds to the line where the start_slapd function (to start the service) is declared.  The function is as follows:

 

start_slapd() {

        # Check if db_recover is required

        if [ $RECOVER_AT_STARTUP -eq 1 ]

        then

                db_recover

        else

                message "info" "[INFO] no db_recover done"

        fi

 

        # Start message

        message "info" "Launching OpenLDAP..."

 

        # File descriptor limit, only for root

        if [ `id -u` -eq 0 ]

        then

                ulimit -n $FD_LIMIT

                if [ $? -eq 0 ]

                then

                        message "info" "[OK] file descriptor limit set to $FD_LIMIT"

                else

                        message "warning" "[WARNING] Fail to set file descriptor limit to $FD_LIMIT, going to next step"

                fi

        else

                message "info" "[INFO] file descriptor limit not modified (require root privileges)"

        fi

 

        # Parameters

#       if [ "$SLAPD_CONF" ]

#       then

#               SLAPD_PARAMS="$SLAPD_PARAMS -f $SLAPD_CONF"

#       fi

#       if [ "$SLAPDD_DIR" ]

#       then

#               SLAPD_PARAMS="$SLAPD_PARAMS -F $SLAPDD_DIR"

#       fi

        SLAPD_PARAMS="$SLAPD_PARAMS $SLAPD_CONF_LOAD"

 

        if [  "$SLAPD_USER" -a `id -u` -eq 0 ]

        then

                SLAPD_PARAMS="$SLAPD_PARAMS -u $SLAPD_USER"

        fi

 

        if [ "$SLAPD_GROUP" -a `id -u` -eq 0 ]

        then

                SLAPD_PARAMS="$SLAPD_PARAMS -g $SLAPD_GROUP"

        fi

 

        # It's time to start slapd

        $SLAPD_BIN -h "$SLAPD_SERVICES" $SLAPD_PARAMS

        sleep 1

 

        # Presence of PID file

        if [ ! -r $SLAPD_PID_FILE ]

        then

                message "alert" "[ALERT] no PID file for slapd"

                exit 1

        fi

 

        # Is slapd launched?

        PID=`cat $SLAPD_PID_FILE`

        if [ ! -e /proc/$PID ]

        then

                message "alert" "[ALERT] slapd not running"

                exit 1

        else

                message "info" "[OK] OpenLDAP started on port $PORT"

        fi

}                                                             

 

It should be noted that this machine has been working without problems for the past year or more, so I can only assume that the “File Size Limit Exceeded” error above relates to one of the Berkley DB files.  Is this correct?  Let me know if you have any thoughts.  Thanks much!!!,

 

Andy Carlson

Moody Bible Institute

Identity Administrator | Information Systems
312-329-4385

www.moody.edu