# sh -x /etc/init.d/ldap restart + . /etc/sysconfig/network ++ NETWORKING=yes ++ HOSTNAME=kefka.pukey + '[' yes = no ']' + '[' -f /etc/init.d/functions ']' + . /etc/init.d/functions ++ TEXTDOMAIN=initscripts ++ TEXTDOMAINDIR=/etc/locale ++ LOCPATH=/etc/locale ++ export TEXTDOMAINDIR LOCPATH ++ TMP=/tmp ++ TMPDIR=/tmp ++ export TMP TMPDIR ++ umask 022 ++ PATH=/sbin:/usr/sbin:/bin:/usr/bin ++ export PATH ++ '[' -z '' ']' +++ /sbin/consoletype ++ CONSOLETYPE=pty ++ '[' -z '' ']' ++ COLUMNS=80 ++ load_i18_settings ++ '[' -f /etc/sysconfig/i18n -a -z '' ']' ++ . /etc/sysconfig/i18n +++ LC_TELEPHONE=en_US.UTF-8 +++ LC_CTYPE=en_US.UTF-8 +++ LANGUAGE=en_US.UTF-8:en_US:en +++ LC_MONETARY=en_US.UTF-8 +++ LC_ADDRESS=en_US.UTF-8 +++ LC_COLLATE=en_US.UTF-8 +++ LC_PAPER=en_US.UTF-8 +++ LC_NAME=en_US.UTF-8 +++ LC_NUMERIC=en_US.UTF-8 +++ SYSFONT=lat0-16 +++ LC_MEASUREMENT=en_US.UTF-8 +++ LC_TIME=en_US.UTF-8 +++ LANG=en_US.UTF-8 +++ LC_IDENTIFICATION=en_US.UTF-8 +++ LC_MESSAGES=en_US.UTF-8 ++ '[' pty '!=' pty ']' ++ '[' -z '' ']' ++ '[' -n en_US.UTF-8 ']' ++ GP_LANG=en_US.UTF-8 ++ '[' -z '' ']' ++ '[' -n en_US.UTF-8:en_US:en ']' ++ GP_LANGUAGE=en_US.UTF-8:en_US:en ++ '[' -z '' ']' ++ '[' -f /etc/sysconfig/init ']' ++ . /etc/sysconfig/init +++ BOOTUP=color +++ GRAPHICAL=yes +++ RES_COL=65 +++ MOVE_TO_COL='echo -en \033[65G' +++ SETCOLOR_SUCCESS='echo -en \033[1;32m' +++ SETCOLOR_FAILURE='echo -en \033[1;31m' +++ SETCOLOR_WARNING='echo -en \033[1;33m' +++ SETCOLOR_NORMAL='echo -en \033[0;39m' +++ LOGLEVEL=3 +++ PROMPT=yes +++ AUTOSWAP=no ++ '[' pty = serial ']' ++ '[' color '!=' verbose ']' ++ INITLOG_ARGS=-q ++ __sed_discard_ignored_files='/\(~\|\.bak\|\.orig\|\.rpmnew\|\.rpmorig\|\.rpmsave\)$/d' + SLAPDCONF=/etc/openldap/slapd.conf + LDAPUSER=ldap + LDAPGROUP=ldap + SLAPTEST_OPTS=-d4 + MAXFILES=1024 + slapd=/usr/sbin/slapd + slaptest=/usr/sbin/slaptest + slurpd=/usr/sbin/slurpd + '[' -r /etc/sysconfig/ldap ']' + . /etc/sysconfig/ldap ++ SLAPDSYSLOGLEVEL=0 ++ SLAPDSYSLOGLOCALUSER=LOCAL0 ++ SLAPDURLLIST='ldap:/// ldaps:///' ++ SLAPDCONF=/etc/openldap/slapd.conf ++ LDAPUSER=ldap ++ LDAPGROUP=ldap + '[' -x /usr/sbin/slapd ']' + '[' -x /usr/sbin/slurpd ']' + export TMPDIR=/var/tmp + TMPDIR=/var/tmp + case "$1" in + check_config -u + gprintf 'Checking config file %s: ' /etc/openldap/slapd.conf + '[' -x /bin/gettext -a -n 'Checking config file %s: ' ']' + '[' -n en_US.UTF-8 ']' ++ LC_ALL=en_US.UTF-8 ++ LANGUAGE=en_US.UTF-8:en_US:en ++ gettext -e --domain=initscripts -- 'Checking config file %s: ' + local 'TEXT=Checking config file %s: ' + '[' 'Checking config file %s: ' ']' + shift + printf -- 'Checking config file %s: ' /etc/openldap/slapd.conf Checking config file /etc/openldap/slapd.conf: ++ su ldap - -s /bin/bash -c '/usr/sbin/slaptest -d4 -f /etc/openldap/slapd.conf -u' + ERROR='config file testing succeeded' + RETVAL=0 + '[' 0 -eq 0 ']' + echo_success + '[' color = color ']' + echo -en '\033[65G' + echo -n '[' [+ '[' color = color ']' + echo -en '\033[1;32m' + gprintf ' OK ' + '[' -x /bin/gettext -a -n ' OK ' ']' + '[' -n en_US.UTF-8 ']' ++ LC_ALL=en_US.UTF-8 ++ LANGUAGE=en_US.UTF-8:en_US:en ++ gettext -e --domain=initscripts -- ' OK ' + local 'TEXT= OK ' + '[' ' OK ' ']' + shift + printf -- ' OK ' OK + '[' color = color ']' + echo -en '\033[0;39m' + echo -n ']' ]+ echo -ne '\r' + return 0 + echo + return 0 + stop + local RETVAL=0 + local RETVAL2=0 + gprintf 'Stopping %s: ' slapd + '[' -x /bin/gettext -a -n 'Stopping %s: ' ']' + '[' -n en_US.UTF-8 ']' ++ LC_ALL=en_US.UTF-8 ++ LANGUAGE=en_US.UTF-8:en_US:en ++ gettext -e --domain=initscripts -- 'Stopping %s: ' + local 'TEXT=Stopping %s: ' + '[' 'Stopping %s: ' ']' + shift + printf -- 'Stopping %s: ' slapd Stopping slapd: + killproc /usr/sbin/slapd + local i + for i in '$*' + '[' -d /proc/6874 ']' + return 0 + RETVAL=0 [ OK ] + echo ++ basename /usr/sbin/slurpd + '[' -e /var/lock/subsys/slurpd ']' + '[' 0 -eq 0 ']' ++ basename /usr/sbin/slapd + rm -f /var/lock/subsys/slapd /var/run/ldap/slapd.args + '[' 0 -eq 0 -a 0 -eq 0 ']' + return 0 + dbtool fixperms + local DO_RECOVER DO_PERMS + '[' 1 -ne 0 ']' + case $1 in + DO_PERMS=yes + shift + '[' 0 -ne 0 ']' +++ awk '/^[[:blank:]]*include[[:blank:]]*/ {print $2}' /etc/openldap/slapd.conf ++ sed -e 's/"//g' ++ awk 'BEGIN {OFS=":"} /[:space:]*^database[:space:]*\w*/ {db=$2;suf="";dir=""}; /^[:space:]*suffix[:space:]*\w*/ {suf=$2;if((db=="bdb"||db=="ldbm"||db=="hdb")&&(suf!=""&&dir!="")) print dir};/^[:space:]*directory[:space:]*\w*/ {dir=$2; if((db=="bdb"||db=="ldbm"||db="hdb")&&(suf!=""&&dir!="")) print dir};' /etc/openldap/slapd.conf $'/usr/share/openldap/schema/core.schema\r' $'/usr/share/openldap/schema/cosine.schema\r' /usr/share/openldap/schema/corba.schema $'/usr/share/openldap/schema/inetorgperson.schema\r' /usr/share/openldap/schema/java.schema $'/usr/share/openldap/schema/krb5-kdc.schema\r' $'/usr/share/openldap/schema/kerberosobject.schema\r' $'/usr/share/openldap/schema/misc.schema\r' $'/usr/share/openldap/schema/nis.schema\r' /usr/share/openldap/schema/openldap.schema $'/usr/share/openldap/schema/autofs.schema\r' $'/usr/share/openldap/schema/samba.schema\r' $'/usr/share/openldap/schema/kolab.schema\r' $'/usr/share/openldap/schema/evolutionperson.schema\r' $'/usr/share/openldap/schema/calendar.schema\r' $'/usr/share/openldap/schema/sudo.schema\r' $'/usr/share/openldap/schema/dnszone.schema\r' $'/usr/share/openldap/schema/dhcp.schema\r' $'/usr/share/openldap/schema/phpgwaccount.schema\r' $'/usr/share/openldap/schema/phpgwcontact.schema\r' $'/usr/share/openldap/schema/radius.schema\r' $'/etc/openldap/slapd.access.conf\r' ' for reading (No such file or directory)NR=112) fatal: cannot open file `/usr/share/openldap/schema/core.schema + dbdirs=$'/var/lib/ldap\r' + '[' '' == yes ']' + for dbdir in '$dbdirs' + '[' yes == yes -a '' '!=' no ']' + chown -R ldap:ldap $'/var/lib/ldap\r' chown: cannot access `/var/lib/ldap\r': No such file or directory /*.bdb' '/var/lib/ldap + '[' '' -a -n '' -a '' '!=' no ']' + start + ulimit -n 1024 + local RETVAL=0 + local RETVAL2=0 + local ARGS= + ARGS='-u ldap -g ldap' + '[' -n LOCAL0 ']' + ARGS='-u ldap -g ldap -l LOCAL0' + '[' -n 0 ']' + ARGS='-u ldap -g ldap -l LOCAL0 -s 0' + '[' /etc/openldap/slapd.conf '!=' /etc/openldap/slapd.conf ']' + OUT=ldap + '[' -n 'ldap:/// ldaps:///' ']' + grep -q '^[[:space:]]*TLS' /etc/openldap/slapd.conf + OUT='ldap + ldaps' + ARGS='-u ldap -g ldap -l LOCAL0 -s 0 -h "ldap:/// ldaps:/// "' + gprintf 'Starting %s: ' 'slapd (ldap + ldaps)' + '[' -x /bin/gettext -a -n 'Starting %s: ' ']' + '[' -n en_US.UTF-8 ']' ++ LC_ALL=en_US.UTF-8 ++ LANGUAGE=en_US.UTF-8:en_US:en ++ gettext -e --domain=initscripts -- 'Starting %s: ' + local 'TEXT=Starting %s: ' + '[' 'Starting %s: ' ']' + shift + printf -- 'Starting %s: ' 'slapd (ldap + ldaps)' Starting slapd (ldap + ldaps): + daemon /usr/sbin/slapd -u ldap -g ldap -l LOCAL0 -s 0 -h '"ldap:///' ldaps:/// '"' + local gotbase= force= nicelevel corelimit + local pid base= user= nice= bg= pid_file= + nicelevel=0 + '[' /usr/sbin/slapd '!=' /usr/sbin/slapd ']' + '[' -z '' ']' + base=slapd + __pids_var_run slapd '' + local base=slapd + local pid_file=/var/run/slapd.pid + pid= + '[' -f /var/run/slapd.pid ']' + return 3 + '[' -n '' -a -z '' ']' + corelimit='ulimit -S -c 0' + '[' -n '' ']' + '[' color = verbose -a -z '' ']' + '[' -r /etc/sysconfig/system ']' + grep -q '^LIBSAFE=yes$' /etc/sysconfig/system + '[' -z '' ']' + /bin/bash -c 'ulimit -S -c 0 >/dev/null 2>&1 ; /usr/sbin/slapd -u ldap -g ldap -l LOCAL0 -s 0 -h "ldap:/// ldaps:/// "' + rc=0 + '[' 0 = 0 ']' + success '%s startup' slapd + gprintf_msg_rest '%s startup' slapd + case "$1" in ++ gprintf '%s startup' slapd ++ '[' -x /bin/gettext -a -n '%s startup' ']' ++ '[' -n en_US.UTF-8 ']' +++ LC_ALL=en_US.UTF-8 +++ LANGUAGE=en_US.UTF-8:en_US:en +++ gettext -e --domain=initscripts -- '%s startup' ++ local 'TEXT=%s startup' ++ '[' '%s startup' ']' ++ shift ++ printf -- '%s startup' slapd + GPRINTF_MSG='slapd startup' + shift 2 + GPRINTF_REST= + '[' color '!=' verbose -a -z '' ']' + echo_success + '[' color = color ']' + echo -en '\033[65G' + echo -n '[' [+ '[' color = color ']' + echo -en '\033[1;32m' + gprintf ' OK ' + '[' -x /bin/gettext -a -n ' OK ' ']' + '[' -n en_US.UTF-8 ']' ++ LC_ALL=en_US.UTF-8 ++ LANGUAGE=en_US.UTF-8:en_US:en ++ gettext -e --domain=initscripts -- ' OK ' + local 'TEXT= OK ' + '[' ' OK ' ']' + shift + printf -- ' OK ' OK + '[' color = color ']' + echo -en '\033[0;39m' + echo -n ']' ]+ echo -ne '\r' + return 0 + return 0 + unset LD_PRELOAD + return 0 + RETVAL=0 + echo + '[' 0 -eq 0 ']' ++ basename /usr/sbin/slapd + touch /var/lock/subsys/slapd + '[' 0 -eq 0 ']' + check_slurpd + grep -Eq '^[[:space:]]*replica[[:space:]]+(host|uri)' /etc/openldap/slapd.conf + '[' no == yes ']' + return 1 + '[' 0 -eq 0 -a 0 -eq 0 ']' + return 0 + RETVAL=0 + exit 0 [root@kefka ~]# sh -x /etc/init.d/ldap restart > ldap.out + . /etc/sysconfig/network ++ NETWORKING=yes ++ HOSTNAME=kefka.pukey + '[' yes = no ']' + '[' -f /etc/init.d/functions ']' + . /etc/init.d/functions ++ TEXTDOMAIN=initscripts ++ TEXTDOMAINDIR=/etc/locale ++ LOCPATH=/etc/locale ++ export TEXTDOMAINDIR LOCPATH ++ TMP=/tmp ++ TMPDIR=/tmp ++ export TMP TMPDIR ++ umask 022 ++ PATH=/sbin:/usr/sbin:/bin:/usr/bin ++ export PATH ++ '[' -z '' ']' +++ /sbin/consoletype ++ CONSOLETYPE=pty ++ '[' -z '' ']' ++ COLUMNS=80 ++ load_i18_settings ++ '[' -f /etc/sysconfig/i18n -a -z '' ']' ++ . /etc/sysconfig/i18n +++ LC_TELEPHONE=en_US.UTF-8 +++ LC_CTYPE=en_US.UTF-8 +++ LANGUAGE=en_US.UTF-8:en_US:en +++ LC_MONETARY=en_US.UTF-8 +++ LC_ADDRESS=en_US.UTF-8 +++ LC_COLLATE=en_US.UTF-8 +++ LC_PAPER=en_US.UTF-8 +++ LC_NAME=en_US.UTF-8 +++ LC_NUMERIC=en_US.UTF-8 +++ SYSFONT=lat0-16 +++ LC_MEASUREMENT=en_US.UTF-8 +++ LC_TIME=en_US.UTF-8 +++ LANG=en_US.UTF-8 +++ LC_IDENTIFICATION=en_US.UTF-8 +++ LC_MESSAGES=en_US.UTF-8 ++ '[' pty '!=' pty ']' ++ '[' -z '' ']' ++ '[' -n en_US.UTF-8 ']' ++ GP_LANG=en_US.UTF-8 ++ '[' -z '' ']' ++ '[' -n en_US.UTF-8:en_US:en ']' ++ GP_LANGUAGE=en_US.UTF-8:en_US:en ++ '[' -z '' ']' ++ '[' -f /etc/sysconfig/init ']' ++ . /etc/sysconfig/init +++ BOOTUP=color +++ GRAPHICAL=yes +++ RES_COL=65 +++ MOVE_TO_COL='echo -en \033[65G' +++ SETCOLOR_SUCCESS='echo -en \033[1;32m' +++ SETCOLOR_FAILURE='echo -en \033[1;31m' +++ SETCOLOR_WARNING='echo -en \033[1;33m' +++ SETCOLOR_NORMAL='echo -en \033[0;39m' +++ LOGLEVEL=3 +++ PROMPT=yes +++ AUTOSWAP=no ++ '[' pty = serial ']' ++ '[' color '!=' verbose ']' ++ INITLOG_ARGS=-q ++ __sed_discard_ignored_files='/\(~\|\.bak\|\.orig\|\.rpmnew\|\.rpmorig\|\.rpmsave\)$/d' + SLAPDCONF=/etc/openldap/slapd.conf + LDAPUSER=ldap + LDAPGROUP=ldap + SLAPTEST_OPTS=-d4 + MAXFILES=1024 + slapd=/usr/sbin/slapd + slaptest=/usr/sbin/slaptest + slurpd=/usr/sbin/slurpd + '[' -r /etc/sysconfig/ldap ']' + . /etc/sysconfig/ldap ++ SLAPDSYSLOGLEVEL=0 ++ SLAPDSYSLOGLOCALUSER=LOCAL0 ++ SLAPDURLLIST='ldap:/// ldaps:///' ++ SLAPDCONF=/etc/openldap/slapd.conf ++ LDAPUSER=ldap ++ LDAPGROUP=ldap + '[' -x /usr/sbin/slapd ']' + '[' -x /usr/sbin/slurpd ']' + export TMPDIR=/var/tmp + TMPDIR=/var/tmp + case "$1" in + check_config -u + gprintf 'Checking config file %s: ' /etc/openldap/slapd.conf + '[' -x /bin/gettext -a -n 'Checking config file %s: ' ']' + '[' -n en_US.UTF-8 ']' ++ LC_ALL=en_US.UTF-8 ++ LANGUAGE=en_US.UTF-8:en_US:en ++ gettext -e --domain=initscripts -- 'Checking config file %s: ' + local 'TEXT=Checking config file %s: ' + '[' 'Checking config file %s: ' ']' + shift + printf -- 'Checking config file %s: ' /etc/openldap/slapd.conf ++ su ldap - -s /bin/bash -c '/usr/sbin/slaptest -d4 -f /etc/openldap/slapd.conf -u' + ERROR='config file testing succeeded' + RETVAL=0 + '[' 0 -eq 0 ']' + echo_success + '[' color = color ']' + echo -en '\033[65G' + echo -n '[' + '[' color = color ']' + echo -en '\033[1;32m' + gprintf ' OK ' + '[' -x /bin/gettext -a -n ' OK ' ']' + '[' -n en_US.UTF-8 ']' ++ LC_ALL=en_US.UTF-8 ++ LANGUAGE=en_US.UTF-8:en_US:en ++ gettext -e --domain=initscripts -- ' OK ' + local 'TEXT= OK ' + '[' ' OK ' ']' + shift + printf -- ' OK ' + '[' color = color ']' + echo -en '\033[0;39m' + echo -n ']' + echo -ne '\r' + return 0 + echo + return 0 + stop + local RETVAL=0 + local RETVAL2=0 + gprintf 'Stopping %s: ' slapd + '[' -x /bin/gettext -a -n 'Stopping %s: ' ']' + '[' -n en_US.UTF-8 ']' ++ LC_ALL=en_US.UTF-8 ++ LANGUAGE=en_US.UTF-8:en_US:en ++ gettext -e --domain=initscripts -- 'Stopping %s: ' + local 'TEXT=Stopping %s: ' + '[' 'Stopping %s: ' ']' + shift + printf -- 'Stopping %s: ' slapd + killproc /usr/sbin/slapd + RETVAL=0 + echo ++ basename /usr/sbin/slurpd + '[' -e /var/lock/subsys/slurpd ']' + '[' 0 -eq 0 ']' ++ basename /usr/sbin/slapd + rm -f /var/lock/subsys/slapd /var/run/ldap/slapd.args + '[' 0 -eq 0 -a 0 -eq 0 ']' + return 0 + dbtool fixperms + local DO_RECOVER DO_PERMS + '[' 1 -ne 0 ']' + case $1 in + DO_PERMS=yes + shift + '[' 0 -ne 0 ']' +++ awk '/^[[:blank:]]*include[[:blank:]]*/ {print $2}' /etc/openldap/slapd.conf ++ sed -e 's/"//g' ++ awk 'BEGIN {OFS=":"} /[:space:]*^database[:space:]*\w*/ {db=$2;suf="";dir=""}; /^[:space:]*suffix[:space:]*\w*/ {suf=$2;if((db=="bdb"||db=="ldbm"||db=="hdb")&&(suf!=""&&dir!="")) print dir};/^[:space:]*directory[:space:]*\w*/ {dir=$2; if((db=="bdb"||db=="ldbm"||db="hdb")&&(suf!=""&&dir!="")) print dir};' /etc/openldap/slapd.conf $'/usr/share/openldap/schema/core.schema\r' $'/usr/share/openldap/schema/cosine.schema\r' /usr/share/openldap/schema/corba.schema $'/usr/share/openldap/schema/inetorgperson.schema\r' /usr/share/openldap/schema/java.schema $'/usr/share/openldap/schema/krb5-kdc.schema\r' $'/usr/share/openldap/schema/kerberosobject.schema\r' $'/usr/share/openldap/schema/misc.schema\r' $'/usr/share/openldap/schema/nis.schema\r' /usr/share/openldap/schema/openldap.schema $'/usr/share/openldap/schema/autofs.schema\r' $'/usr/share/openldap/schema/samba.schema\r' $'/usr/share/openldap/schema/kolab.schema\r' $'/usr/share/openldap/schema/evolutionperson.schema\r' $'/usr/share/openldap/schema/calendar.schema\r' $'/usr/share/openldap/schema/sudo.schema\r' $'/usr/share/openldap/schema/dnszone.schema\r' $'/usr/share/openldap/schema/dhcp.schema\r' $'/usr/share/openldap/schema/phpgwaccount.schema\r' $'/usr/share/openldap/schema/phpgwcontact.schema\r' $'/usr/share/openldap/schema/radius.schema\r' $'/etc/openldap/slapd.access.conf\r' ' for reading (No such file or directory)NR=112) fatal: cannot open file `/usr/share/openldap/schema/core.schema + dbdirs=$'/var/lib/ldap\r' + '[' '' == yes ']' + for dbdir in '$dbdirs' + '[' yes == yes -a '' '!=' no ']' + chown -R ldap:ldap $'/var/lib/ldap\r' chown: cannot access `/var/lib/ldap\r': No such file or directory /*.bdb' '/var/lib/ldap + '[' '' -a -n '' -a '' '!=' no ']' + start + ulimit -n 1024 + local RETVAL=0 + local RETVAL2=0 + local ARGS= + ARGS='-u ldap -g ldap' + '[' -n LOCAL0 ']' + ARGS='-u ldap -g ldap -l LOCAL0' + '[' -n 0 ']' + ARGS='-u ldap -g ldap -l LOCAL0 -s 0' + '[' /etc/openldap/slapd.conf '!=' /etc/openldap/slapd.conf ']' + OUT=ldap + '[' -n 'ldap:/// ldaps:///' ']' + grep -q '^[[:space:]]*TLS' /etc/openldap/slapd.conf + OUT='ldap + ldaps' + ARGS='-u ldap -g ldap -l LOCAL0 -s 0 -h "ldap:/// ldaps:/// "' + gprintf 'Starting %s: ' 'slapd (ldap + ldaps)' + '[' -x /bin/gettext -a -n 'Starting %s: ' ']' + '[' -n en_US.UTF-8 ']' ++ LC_ALL=en_US.UTF-8 ++ LANGUAGE=en_US.UTF-8:en_US:en ++ gettext -e --domain=initscripts -- 'Starting %s: ' + local 'TEXT=Starting %s: ' + '[' 'Starting %s: ' ']' + shift + printf -- 'Starting %s: ' 'slapd (ldap + ldaps)' + daemon /usr/sbin/slapd -u ldap -g ldap -l LOCAL0 -s 0 -h '"ldap:///' ldaps:/// '"' + local gotbase= force= nicelevel corelimit + local pid base= user= nice= bg= pid_file= + nicelevel=0 + '[' /usr/sbin/slapd '!=' /usr/sbin/slapd ']' + '[' -z '' ']' + base=slapd + __pids_var_run slapd '' + local base=slapd + local pid_file=/var/run/slapd.pid + pid= + '[' -f /var/run/slapd.pid ']' + return 3 + '[' -n '' -a -z '' ']' + corelimit='ulimit -S -c 0' + '[' -n '' ']' + '[' color = verbose -a -z '' ']' + '[' -r /etc/sysconfig/system ']' + grep -q '^LIBSAFE=yes$' /etc/sysconfig/system + '[' -z '' ']' + /bin/bash -c 'ulimit -S -c 0 >/dev/null 2>&1 ; /usr/sbin/slapd -u ldap -g ldap -l LOCAL0 -s 0 -h "ldap:/// ldaps:/// "' + rc=0 + '[' 0 = 0 ']' + success '%s startup' slapd + gprintf_msg_rest '%s startup' slapd + case "$1" in ++ gprintf '%s startup' slapd ++ '[' -x /bin/gettext -a -n '%s startup' ']' ++ '[' -n en_US.UTF-8 ']' +++ LC_ALL=en_US.UTF-8 +++ LANGUAGE=en_US.UTF-8:en_US:en +++ gettext -e --domain=initscripts -- '%s startup' ++ local 'TEXT=%s startup' ++ '[' '%s startup' ']' ++ shift ++ printf -- '%s startup' slapd + GPRINTF_MSG='slapd startup' + shift 2 + GPRINTF_REST= + '[' color '!=' verbose -a -z '' ']' + echo_success + '[' color = color ']' + echo -en '\033[65G' + echo -n '[' + '[' color = color ']' + echo -en '\033[1;32m' + gprintf ' OK ' + '[' -x /bin/gettext -a -n ' OK ' ']' + '[' -n en_US.UTF-8 ']' ++ LC_ALL=en_US.UTF-8 ++ LANGUAGE=en_US.UTF-8:en_US:en ++ gettext -e --domain=initscripts -- ' OK ' + local 'TEXT= OK ' + '[' ' OK ' ']' + shift + printf -- ' OK ' + '[' color = color ']' + echo -en '\033[0;39m' + echo -n ']' + echo -ne '\r' + return 0 + return 0 + unset LD_PRELOAD + return 0 + RETVAL=0 + echo + '[' 0 -eq 0 ']' ++ basename /usr/sbin/slapd + touch /var/lock/subsys/slapd + '[' 0 -eq 0 ']' + check_slurpd + grep -Eq '^[[:space:]]*replica[[:space:]]+(host|uri)' /etc/openldap/slapd.conf + '[' no == yes ']' + return 1 + '[' 0 -eq 0 -a 0 -eq 0 ']' + return 0 + RETVAL=0 + exit 0