Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo User (http://www.linux-archive.org/gentoo-user/)
-   -   Cannot start Slapd (OpenLDAP) (http://www.linux-archive.org/gentoo-user/374702-cannot-start-slapd-openldap.html)

"Christopher Kurtis Koeber" 05-22-2010 03:51 PM

Cannot start Slapd (OpenLDAP)
 
Hello,

I am trying to start OpenLDAP (I am following this guide here) but the service fails to start. I get the double exclamations like this:
Code:

** Starting ldap-server ...* * * * * * * * * * * * * * * * * * * * * [ !! ]


When I go to /var/log/messages nothing is logged there. Anything I can do to fix this?

Thanks in advances for your time.
*
Regards,
Christopher Koeber

Robin Atwood 05-22-2010 04:33 PM

Cannot start Slapd (OpenLDAP)
 
On Saturday 22 May 2010, Christopher Kurtis Koeber wrote:
> Hello,
>
> I am trying to start OpenLDAP (I am following this guide
> <http://www.gentoo.org/doc/en/ldap-howto.xml> here) but the service fails
> to start. I get the double exclamations like this:
>
>
> Code:
>
>
>
> * Starting ldap-server ... [ !! ]
>
>
>
> When I go to /var/log/messages nothing is logged there. Anything I can do
> to fix this?

Take a look at /var/log/ldaplog!

HTH
-Robin
--
----------------------------------------------------------------------
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling
----------------------------------------------------------------------

Robin Atwood 05-22-2010 04:39 PM

Cannot start Slapd (OpenLDAP)
 
On Saturday 22 May 2010, Christopher Kurtis Koeber wrote:
> When I go to /var/log/messages nothing is logged there. Anything I can do
> to fix this?

Oh wait, /var/log/ldaplog is my customisation of syslog-ng. But slapd messages
should be written with facility "local4". Trying it with the --debug option on
the command line.

-Robin
--
----------------------------------------------------------------------
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling
----------------------------------------------------------------------

"Christopher Kurtis Koeber" 05-22-2010 05:23 PM

Cannot start Slapd (OpenLDAP)
 
OK, I did that, but the output is hard to parse through. Attached is text of
this command:

/etc/init.d/slapd --debug restart

Regards,

Christopher Kurtis Koeber
(W): (202) 885-8654
(C): (301) 467-8417
http://www.chriskoeber.com


-----Original Message-----
From: Robin Atwood [mailto:robin.atwood@attglobal.net]
Sent: Saturday, May 22, 2010 12:40 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Cannot start Slapd (OpenLDAP)

On Saturday 22 May 2010, Christopher Kurtis Koeber wrote:
> When I go to /var/log/messages nothing is logged there. Anything I can
> do to fix this?

Oh wait, /var/log/ldaplog is my customisation of syslog-ng. But slapd
messages should be written with facility "local4". Trying it with the
--debug option on the command line.

-Robin
--
----------------------------------------------------------------------
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst, Where
there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling
----------------------------------------------------------------------









/etc/init.d/slapd --debug restart
+ [[ ' != yes ]]
+ source /etc/init.d/functions.sh
++ RC_GOT_FUNCTIONS=yes
++ [[ -f /etc/conf.d/rc ]]
++ source /etc/conf.d/rc
+++ RC_TTY_NUMBER=12
+++ RC_PARALLEL_STARTUP=no
+++ RC_INTERACTIVE=yes
+++ RC_HOTPLUG=yes
+++ RC_COLDPLUG=yes
+++ RC_PLUG_SERVICES=
+++ RC_NET_STRICT_CHECKING=no
+++ RC_DOWN_INTERFACE=yes
+++ RC_VOLUME_ORDER='raid evms lvm dm'
+++ RC_VERBOSE=no
+++ RC_BOOTLOG=no
+++ RC_BOOTCHART=no
+++ RC_USE_FSTAB=no
+++ RC_USE_CONFIG_PROFILE=yes
+++ RC_FORCE_AUTO=no
+++ RC_DEVICES=auto
+++ RC_DEVICE_TARBALL=no
+++ RC_DMESG_LEVEL=1
+++ RC_RETRY_KILL=yes
+++ RC_RETRY_TIMEOUT=1
+++ RC_RETRY_COUNT=5
+++ RC_FAIL_ON_ZOMBIE=no
+++ RC_KILL_CHILDREN=no
+++ RC_WAIT_ON_START=0.1
+++ svcdir=/var/lib/init.d
+++ svcmount=no
+++ svcfstype=tmpfs
+++ svcsize=2048
++ declare -r svclib=/lib/rcscripts
++ declare -r svcdir=/var/lib/init.d
++ svcmount=no
++ svcfstype=tmpfs
++ svcsize=2048
++ deptypes='need use'
++ ordtypes='before after'
++ RC_QUIET_STDOUT=no
++ RC_VERBOSE=no
++ RC_NOCOLOR=no
++ RC_ENDCOL=yes
++ RC_TTY_NUMBER=12
++ RC_PARALLEL_STARTUP=no
++ RC_NET_STRICT_CHECKING=no
++ RC_USE_FSTAB=no
++ RC_USE_CONFIG_PROFILE=yes
++ RC_FORCE_AUTO=no
++ RC_DEVICES=auto
++ RC_DOWN_INTERFACE=yes
++ RC_VOLUME_ORDER='raid evms lvm dm'
++ RC_INDENTATION=
++ RC_DEFAULT_INDENT=2
++ RC_DOT_PATTERN=
++ import_addon splash-functions.sh
++ local addon=/lib/rcscripts/addons/splash-functions.sh
++ has_addon splash-functions.sh
++ [[ -e /lib/rcscripts/addons/splash-functions.sh ]]
++ return 1
++ [[ -f /sbin/splash-functions.sh ]]
++ import_addon profiling-functions.sh
++ local addon=/lib/rcscripts/addons/profiling-functions.sh
++ has_addon profiling-functions.sh
++ [[ -e /lib/rcscripts/addons/profiling-functions.sh ]]
++ return 1
++ [[ no == yes ]]
++ _RC_GET_KV_CACHE=
++ NET_FS_LIST='afs cifs coda davfs fuse fuse.sshfs gfs glusterfs ncpfs nfs nfs4 ocfs2 shfs smbfs'
++ [[ -z ' ]]
++ PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.3.4
++ [[ -z ' ]]
+++ /sbin/consoletype
++ export CONSOLETYPE=pty
++ CONSOLETYPE=pty
++ [[ pty == se
ial ]]
++ for arg in '"$@"'
++ case "${arg}" in
++ for arg in '"$@"'
++ case "${arg}" in
++ for arg in '"$@"'
++ case "${arg}" in
++ setup_defaultlevels
++ get_bootconfig
++ local copt=
++ local newbootlevel=
++ local newsoftlevel=
++ [[ -r /proc/cmdline ]]
++ for copt in '$(</proc/cmdline)'
++ case "${copt%=*}" in
++ [[ -n ' ]]
++ export BOOTLEVEL=boot
++ BOOTLEVEL=boot
++ export RC_BOOTLEVEL=boot
++ RC_BOOTLEVEL=boot
++ [[ -n ' ]]
++ export DEFAULTLEVEL=default
++ DEFAULTLEVEL=default
++ export RC_DEFAULTLEVEL=default
++ RC_DEFAULTLEVEL=default
++ return 0
++ get_bootparam noconfigprofile
++ local x copt params retval=1
++ [[ ! -r /proc/cmdline ]]
++ for copt in '$(< /proc/cmdline)'
++ [[ root == ge
oo ]]
++ return 1
++ get_bootparam configprofile
++ local x copt params retval=1
++ [[ ! -r /proc/cmdline ]]
++ for copt in '$(< /proc/cmdline)'
++ [[ root == ge
oo ]]
++ return 1
++ [[ yes == yes ]]
++ [[ -n default ]]
++ [[ -d /etc/runlevels/boot.default ]]
++ [[ -L /etc/runlevels/boot.default ]]
++ export RC_BOOTLEVEL=boot
++ RC_BOOTLEVEL=boot
++ [[ -z ' ]]
++ [[ -f /var/lib/init.d/softlevel ]]
++ export SOFTLEVEL=default
++ SOFTLEVEL=default
++ [[ -f /var/lib/init.d/softlevel ]]
++ export RC_DEFAULTLEVEL=default
++ RC_DEFAULTLEVEL=default
++ export RC_RUNLEVEL=default
++ RC_RUNLEVEL=default
++ return 0
++ [[ -n /etc/init.d/functions.sh ]]
++ [[ /sbin/runscript.sh != /si
/
c ]]
++ declare -r BOOTLEVEL DEFAULTLEVEL SOFTLEVEL
++ [[ -n ' ]]
++ COLS=0
++ (( COLS == 0 ))
++++ stty size
+++ set -- 24 80
+++ echo 80
++ COLS=80
++ (( COLS > 0 ))
++ [[ yes == yes ]]
++ ENDCOL='
++ [[ no == yes ]]
++ GOOD='
++ WARN='
++ BAD='
++ HILITE='
++ BRACKET='
++ NORMAL='
+ [[ 0 != ]]
+ myscript=/etc/init.d/slapd
+ [[ -L /etc/init.d/slapd ]]
+ SVCNAME=/etc/init.d/slapd
+ declare -r SVCNAME=slapd
+ export SVCNAME
+ myservice=slapd
+ svc_trap
+ trap 'eerror "ERROR: ${SVCNAME} caught an interrupt"; exit 1' INT QUIT TSTP
+ [[ -e /dev/.rcsysinit ]]
+ [[ ' == 1 ]]
+ svcpause=no
+ [[ ' != yes ]]
+ source /lib/rcscripts/sh/rc-services.sh
++ RC_GOT_SERVICES=yes
++ [[ yes != yes ]]
++ [[ ' != yes ]]
++ [[ 0 == ]]
++ /sbin/depscan.sh
++ source /var/lib/init.d/deptree
+++ declare -r rc_type_ineed=2
+++ declare -r rc_type_needsme=3
+++ declare -r rc_type_iuse=4
+++ declare -r rc_type_usesme=5
+++ declare -r rc_type_ibefore=6
+++ declare -r rc_type_iafter=7
+++ declare -r rc_type_broken=8
+++ declare -r rc_type_mtime=9
+++ declare -r rc_index_scale=10
+++ declare -a RC_DEPEND_TREE
+++ RC_DEPEND_TREE[0]=41
+++ RC_DEPEND_TREE[10]=hostname
+++ RC_DEPEND_TREE[10+2]=checkroot
+++ RC_DEPEND_TREE[10+3]=syslog-ng
+++ RC_DEPEND_TREE[10+4]=
+++ RC_DEPEND_TREE[10+5]=bootmisc
+++ RC_DEPEND_TREE[10+6]='local net.eth0 net.lo'
+++ RC_DEPEND_TREE[10+7]=checkroot
+++ RC_DEPEND_TREE[10+8]=
+++ RC_DEPEND_TREE[10+9]=1272390265
+++ RC_DEPEND_TREE[20]=keymaps
+++ RC_DEPEND_TREE[20+2]=localmount
+++ RC_DEPEND_TREE[20+3]=consolefont
+++ RC_DEPEND_TREE[20+4]=
+++ RC_DEPEND_TREE[20+5]=
+++ RC_DEPEND_TREE[20+6]=local
+++ RC_DEPEND_TREE[20+7]=checkroot
+++ RC_DEPEND_TREE[20+8]=
+++ RC_DEPEND_TREE[20+9]=1272390265
+++ RC_DEPEND_TREE[30]=local
+++ RC_DEPEND_TREE[30+2]=
+++ RC_DEPEND_TREE[30+3]=
+++ RC_DEPEND_TREE[30+4]=
+++ RC_DEPEND_TREE[30+5]=
+++ RC_DEPEND_TREE[30+6]=
+++ RC_DEPEND_TREE[30+7]='apache2 bootmisc checkfs checkroot clock consolefont crypto-loop cupsd hostname keymaps localmount mit-krb5kadmind mit-krb5kdc modules mysql mysqlmanager net.eth0 net.lo netmount nscd ntp-client ntpd numlock pciparm pwcheck pydoc-2.6 rmnologin rsyncd samba saslauthd slapd sshd syslog-ng udev udev-dev-tarball udev-mount udev-postmount urandom vixie-cron'
+++ RC_DEPEND_TREE[30+8]=
+++ RC_DEPEND_TREE[30+9]=1272390265
+++ RC_DEPEND_TREE[40]=localmount
+++ RC_DEPEND_TREE[40+2]=checkfs
+++ RC_DEPEND_TREE[40+3]='bootmisc clock consolefont keymaps net.eth0 net.lo numlock pwcheck rmnologin syslog-ng udev-postmount urandom vixie-cron'
+++ RC_DEPEND_TREE[40+4]=
+++ RC_DEPEND_TREE[40+5]='mysql mysqlmanager'
+++ RC_DEPEND_TREE[40+6]='local pciparm'
+++ RC_DEPEND_TREE[40+7]='checkroot crypto-loop'
+++ RC_DEPEND_TREE[40+8]=
+++ RC_DEPEND_TREE[40+9]=1272390265
+++ RC_DEPEND_TREE[50]=mit-krb5kadmind
+++ RC_DEPEND_TREE[50+2]='mit-krb5kdc net'
+++ RC_DEPEND_TREE[50+3]=
+++ RC_DEPEND_TREE[50+4]=
+++ RC_DEPEND_TREE[50+5]=
+++ RC_DEPEND_TREE[50+6]=local
+++ RC_DEPEND_TREE[50+7]=checkroot
+++ RC_DEPEND_TREE[50+8]=
+++ RC_DEPEND_TREE[50+9]=1274382867
+++ RC_DEPEND_TREE[60]=pydoc-2.6
+++ RC_DEPEND_TREE[60+2]=net
+++ RC_DEPEND_TREE[60+3]=
+++ RC_DEPEND_TREE[60+4]=
+++ RC_DEPEND_TREE[60+5]=
+++ RC_DEPEND_TREE[60+6]=local
+++ RC_DEPEND_TREE[60+7]=checkroot
+++ RC_DEPEND_TREE[60+8]=
+++ RC_DEPEND_TREE[60+9]=1272391019
+++ RC_DEPEND_TREE[70]=mit-krb5kdc
+++ RC_DEPEND_TREE[70+2]=net
+++ RC_DEPEND_TREE[70+3]=mit-krb5kadmind
+++ RC_DEPEND_TREE[70+4]=
+++ RC_DEPEND_TREE[70+5]=
+++ RC_DEPEND_TREE[70+6]=local
+++ RC_DEPEND_TREE[70+7]=checkroot
+++ RC_DEPEND_TREE[70+8]=
+++ RC_DEPEND_TREE[70+9]=1274382867
+++ RC_DEPEND_TREE[80]=modules
+++ RC_DEPEND_TREE[80+2]=checkroot
+++ RC_DEPEND_TREE[80+3]='checkfs crypto-loop'
+++ RC_DEPEND_TREE[80+4]=
+++ RC_DEPEND_TREE[80+5]=
+++ RC_DEPEND_TREE[80+6]=local
+++ RC_DEPEND_TREE[80+7]=checkroot
+++ RC_DEPEND_TREE[80+8]=
+++ RC_DEPEND_TREE[80+9]=1272390265
+++ RC_DEPEND_TREE[90]=rmnologin
+++ RC_DEPEND_TREE[90+2]=localmount
+++ RC_DEPEND_TREE[90+3]=
+++ RC_DEPEND_TREE[90+4]=
+++ RC_DEPEND_TREE[90+5]=
+++ RC_DEPEND_TREE[90+6]=local
+++ RC_DEPEND_TREE[90+7]=checkroot
+++ RC_DEPEND_TREE[90+8]=
+++ RC_DEPEND_TREE[90+9]=1272390265
+++ RC_DEPEND_TREE[100]=mysql
+++ RC_DEPEND_TREE[100+2]=
+++ RC_DEPEND_TREE[100+3]=
+++ RC_DEPEND_TREE[100+4]='localmount net netmount'
+++ RC_DEPEND_TREE[100+5]=apache2
+++ RC_DEPEND_TREE[100+6]=local
+++ RC_DEPEND_TREE[100+7]=checkroot
+++ RC_DEPEND_TREE[100+8]=
+++ RC_DEPEND_TREE[100+9]=1274475024
+++ RC_DEPEND_TREE[110]=rsyncd
+++ RC_DEPEND_TREE[110+2]=
+++ RC_DEPEND_TREE[110+3]=
+++ RC_DEPEND_TREE[110+4]=net
+++ RC_DEPEND_TREE[110+5]=
+++ RC_DEPEND_TREE[110+6]=local
+++ RC_DEPEND_TREE[110+7]=checkroot
+++ RC_DEPEND_TREE[110+8]=
+++ RC_DEPEND_TREE[110+9]=1272392365
+++ RC_DEPEND_TREE[120]=samba
+++ RC_DEPEND_TREE[120+2]=net
+++ RC_DEPEND_TREE[120+3]=
+++ RC_DEPEND_TREE[120+4]=cupsd
+++ RC_DEPEND_TREE[120+5]=
+++ RC_DEPEND_TREE[120+6]=local
+++ RC_DEPEND_TREE[120+7]='checkroot slapd'
+++ RC_DEPEND_TREE[120+8]=
+++ RC_DEPEND_TREE[120+9]=1274449038
+++ RC_DEPEND_TREE[130]=saslauthd
+++ RC_DEPEND_TREE[130+2]=net
+++ RC_DEPEND_TREE[130+3]=
+++ RC_DEPEND_TREE[130+4]=
+++ RC_DEPEND_TREE[130+5]=
+++ RC_DEPEND_TREE[130+6]=local
+++ RC_DEPEND_TREE[130+7]=checkroot
+++ RC_DEPEND_TREE[130+8]=
+++ RC_DEPEND_TREE[130+9]=1274452127
+++ RC_DEPEND_TREE[140]=slapd
+++ RC_DEPEND_TREE[140+2]=net
+++ RC_DEPEND_TREE[140+3]=
+++ RC_DEPEND_TREE[140+4]=
+++ RC_DEPEND_TREE[140+5]=nscd
+++ RC_DEPEND_TREE[140+6]='local samba'
+++ RC_DEPEND_TREE[140+7]=checkroot
+++ RC_DEPEND_TREE[140+8]=
+++ RC_DEPEND_TREE[140+9]=1274384630
+++ RC_DEPEND_TREE[150]=sshd
+++ RC_DEPEND_TREE[150+2]=net
+++ RC_DEPEND_TREE[150+3]=
+++ RC_DEPEND_TREE[150+4]=syslog-ng
+++ RC_DEPEND_TREE[150+5]=
+++ RC_DEPEND_TREE[150+6]='apache2 local'
+++ RC_DEPEND_TREE[150+7]=checkroot
+++ RC_DEPEND_TREE[150+8]=
+++ RC_DEPEND_TREE[150+9]=1274385036
+++ RC_DEPEND_TREE[160]=apache2
+++ RC_DEPEND_TREE[160+2]=net
+++ RC_DEPEND_TREE[160+3]=
+++ RC_DEPEND_TREE[160+4]='mysql netmount syslog-ng'
+++ RC_DEPEND_TREE[160+5]=
+++ RC_DEPEND_TREE[160+6]=local
+++ RC_DEPEND_TREE[160+7]='checkroot sshd'
+++ RC_DEPEND_TREE[160+8]=
+++ RC_DEPEND_TREE[160+9]=1274456026
+++ RC_DEPEND_TREE[170]=bootmisc
+++ RC_DEPEND_TREE[170+2]=localmount
+++ RC_DEPEND_TREE[170+3]=
+++ RC_DEPEND_TREE[170+4]='clock hostname'
+++ RC_DEPEND_TREE[170+5]=
+++ RC_DEPEND_TREE[170+6]='local net.eth0 net.lo syslog-ng'
+++ RC_DEPEND_TREE[170+7]='checkroot pciparm'
+++ RC_DEPEND_TREE[170+8]=
+++ RC_DEPEND_TREE[170+9]=1272390265
+++ RC_DEPEND_TREE[180]=checkfs
+++ RC_DEPEND_TREE[180+2]='checkroot modules'
+++ RC_DEPEND_TREE[180+3]=localmount
+++ RC_DEPEND_TREE[180+4]=
+++ RC_DEPEND_TREE[180+5]=
+++ RC_DEPEND_TREE[180+6]=local
+++ RC_DEPEND_TREE[180+7]=checkroot
+++ RC_DEPEND_TREE[180+8]=
+++ RC_DEPEND_TREE[180+9]=1272390265
+++ RC_DEPEND_TREE[190]=checkroot
+++ RC_DEPEND_TREE[190+2]=
+++ RC_DEPEND_TREE[190+3]='checkfs crypto-loop hostname modules'
+++ RC_DEPEND_TREE[190+4]=
+++ RC_DEPEND_TREE[190+5]=
+++ RC_DEPEND_TREE[190+6]='apache2 bootmisc checkfs clock consolefont crypto-loop cupsd hostname keymaps local localmount mit-krb5kadmind mit-krb5kdc modules mysql mysqlmanager net.eth0 net.lo netmount nscd ntp-client ntpd numlock pciparm pwcheck pydoc-2.6 rmnologin rsyncd samba saslauthd slapd sshd syslog-ng udev udev-dev-tarball udev-mount udev-postmount urandom vixie-cron'
+++ RC_DEPEND_TREE[190+7]=
+++ RC_DEPEND_TREE[190+8]=
+++ RC_DEPEND_TREE[190+9]=1272390265
+++ RC_DEPEND_TREE[200]=clock
+++ RC_DEPEND_TREE[200+2]=localmount
+++ RC_DEPEND_TREE[200+3]=syslog-ng
+++ RC_DEPEND_TREE[200+4]=
+++ RC_DEPEND_TREE[200+5]='bootmisc vixie-cron'
+++ RC_DEPEND_TREE[200+6]=local
+++ RC_DEPEND_TREE[200+7]=checkroot
+++ RC_DEPEND_TREE[200+8]=
+++ RC_DEPEND_TREE[200+9]=1272390265
+++ RC_DEPEND_TREE[210]=consolefont
+++ RC_DEPEND_TREE[210+2]='keymaps localmount'
+++ RC_DEPEND_TREE[210+3]=
+++ RC_DEPEND_TREE[210+4]=
+++ RC_DEPEND_TREE[210+5]=
+++ RC_DEPEND_TREE[210+6]=local
+++ RC_DEPEND_TREE[210+7]=checkroot
+++ RC_DEPEND_TREE[210+8]=
+++ RC_DEPEND_TREE[210+9]=1272390265
+++ RC_DEPEND_TREE[220]=crypto-loop
+++ RC_DEPEND_TREE[220+2]='checkroot modules'
+++ RC_DEPEND_TREE[220+3]=
+++ RC_DEPEND_TREE[220+4]=
+++ RC_DEPEND_TREE[220+5]=
+++ RC_DEPEND_TREE[220+6]='local localmount'
+++ RC_DEPEND_TREE[220+7]=checkroot
+++ RC_DEPEND_TREE[220+8]=
+++ RC_DEPEND_TREE[220+9]=1272390193
+++ RC_DEPEND_TREE[230]=cupsd
+++ RC_DEPEND_TREE[230+2]=
+++ RC_DEPEND_TREE[230+3]=
+++ RC_DEPEND_TREE[230+4]=net
+++ RC_DEPEND_TREE[230+5]=samba
+++ RC_DEPEND_TREE[230+6]=local
+++ RC_DEPEND_TREE[230+7]='checkroot syslog-ng'
+++ RC_DEPEND_TREE[230+8]=
+++ RC_DEPEND_TREE[230+9]=1274445927
+++ RC_DEPEND_TREE[240]=mysqlmanager
+++ RC_DEPEND_TREE[240+2]=
+++ RC_DEPEND_TREE[240+3]=
+++ RC_DEPEND_TREE[240+4]='localmount net netmount'
+++ RC_DEPEND_TREE[240+5]=
+++ RC_DEPEND_TREE[240+6]=local
+++ RC_DEPEND_TREE[240+7]=checkroot
+++ RC_DEPEND_TREE[240+8]=
+++ RC_DEPEND_TREE[240+9]=1274475024
+++ RC_DEPEND_TREE[250]=net.eth0
+++ RC_DEPEND_TREE[250+2]=localmount
+++ RC_DEPEND_TREE[250+3]=
+++ RC_DEPEND_TREE[250+4]=
+++ RC_DEPEND_TREE[250+5]=
+++ RC_DEPEND_TREE[250+6]=local
+++ RC_DEPEND_TREE[250+7]='bootmisc checkroot hostname net.lo'
+++ RC_DEPEND_TREE[250+8]=
+++ RC_DEPEND_TREE[250+9]=1272552771
+++ RC_DEPEND_TREE[260]=net.lo
+++ RC_DEPEND_TREE[260+2]=localmount
+++ RC_DEPEND_TREE[260+3]=
+++ RC_DEPEND_TREE[260+4]=
+++ RC_DEPEND_TREE[260+5]=
+++ RC_DEPEND_TREE[260+6]='local net.eth0'
+++ RC_DEPEND_TREE[260+7]='bootmisc checkroot hostname'
+++ RC_DEPEND_TREE[260+8]=
+++ RC_DEPEND_TREE[260+9]=1272390265
+++ RC_DEPEND_TREE[270]=netmount
+++ RC_DEPEND_TREE[270+2]=net
+++ RC_DEPEND_TREE[270+3]=
+++ RC_DEPEND_TREE[270+4]=
+++ RC_DEPEND_TREE[270+5]='apache2 mysql mysqlmanager'
+++ RC_DEPEND_TREE[270+6]=local
+++ RC_DEPEND_TREE[270+7]=checkroot
+++ RC_DEPEND_TREE[270+8]=
+++ RC_DEPEND_TREE[270+9]=1272390265
+++ RC_DEPEND_TREE[280]=nscd
+++ RC_DEPEND_TREE[280+2]=
+++ RC_DEPEND_TREE[280+3]=
+++ RC_DEPEND_TREE[280+4]='net slapd'
+++ RC_DEPEND_TREE[280+5]=
+++ RC_DEPEND_TREE[280+6]=local
+++ RC_DEPEND_TREE[280+7]=checkroot
+++ RC_DEPEND_TREE[280+8]=
+++ RC_DEPEND_TREE[280+9]=1274478893
+++ RC_DEPEND_TREE[290]=ntp-client
+++ RC_DEPEND_TREE[290+2]=net
+++ RC_DEPEND_TREE[290+3]=
+++ RC_DEPEND_TREE[290+4]=syslog-ng
+++ RC_DEPEND_TREE[290+5]=
+++ RC_DEPEND_TREE[290+6]='local ntpd vixie-cron'
+++ RC_DEPEND_TREE[290+7]=checkroot
+++ RC_DEPEND_TREE[290+8]=
+++ RC_DEPEND_TREE[290+9]=1274453330
+++ RC_DEPEND_TREE[300]=ntpd
+++ RC_DEPEND_TREE[300+2]=net
+++ RC_DEPEND_TREE[300+3]=
+++ RC_DEPEND_TREE[300+4]=syslog-ng
+++ RC_DEPEND_TREE[300+5]=
+++ RC_DEPEND_TREE[300+6]=local
+++ RC_DEPEND_TREE[300+7]='checkroot ntp-client'
+++ RC_DEPEND_TREE[300+8]=
+++ RC_DEPEND_TREE[300+9]=1274453330
+++ RC_DEPEND_TREE[310]=syslog-ng
+++ RC_DEPEND_TREE[310+2]='clock hostname localmount'
+++ RC_DEPEND_TREE[310+3]=
+++ RC_DEPEND_TREE[310+4]=
+++ RC_DEPEND_TREE[310+5]='apache2 ntp-client ntpd pwcheck sshd vixie-cron'
+++ RC_DEPEND_TREE[310+6]='cupsd local'
+++ RC_DEPEND_TREE[310+7]='bootmisc checkroot'
+++ RC_DEPEND_TREE[310+8]=
+++ RC_DEPEND_TREE[310+9]=1274365112
+++ RC_DEPEND_TREE[320]=numlock
+++ RC_DEPEND_TREE[320+2]=localmount
+++ RC_DEPEND_TREE[320+3]=
+++ RC_DEPEND_TREE[320+4]=
+++ RC_DEPEND_TREE[320+5]=
+++ RC_DEPEND_TREE[320+6]=local
+++ RC_DEPEND_TREE[320+7]=checkroot
+++ RC_DEPEND_TREE[320+8]=
+++ RC_DEPEND_TREE[320+9]=1272390265
+++ RC_DEPEND_TREE[330]=udev
+++ RC_DEPEND_TREE[330+2]=
+++ RC_DEPEND_TREE[330+3]=
+++ RC_DEPEND_TREE[330+4]=
+++ RC_DEPEND_TREE[330+5]=
+++ RC_DEPEND_TREE[330+6]=local
+++ RC_DEPEND_TREE[330+7]=checkroot
+++ RC_DEPEND_TREE[330+8]=
+++ RC_DEPEND_TREE[330+9]=1272390310
+++ RC_DEPEND_TREE[340]=pciparm
+++ RC_DEPEND_TREE[340+2]=
+++ RC_DEPEND_TREE[340+3]=
+++ RC_DEPEND_TREE[340+4]=
+++ RC_DEPEND_TREE[340+5]=
+++ RC_DEPEND_TREE[340+6]='bootmisc local'
+++ RC_DEPEND_TREE[340+7]='checkroot localmount'
+++ RC_DEPEND_TREE[340+8]=
+++ RC_DEPEND_TREE[340+9]=1272557159
+++ RC_DEPEND_TREE[350]=udev-dev-tarball
+++ RC_DEPEND_TREE[350+2]=
+++ RC_DEPEND_TREE[350+3]=
+++ RC_DEPEND_TREE[350+4]=
+++ RC_DEPEND_TREE[350+5]=
+++ RC_DEPEND_TREE[350+6]=local
+++ RC_DEPEND_TREE[350+7]=checkroot
+++ RC_DEPEND_TREE[350+8]=
+++ RC_DEPEND_TREE[350+9]=1272390310
+++ RC_DEPEND_TREE[360]=pwcheck
+++ RC_DEPEND_TREE[360+2]=localmount
+++ RC_DEPEND_TREE[360+3]=
+++ RC_DEPEND_TREE[360+4]=syslog-ng
+++ RC_DEPEND_TREE[360+5]=
+++ RC_DEPEND_TREE[360+6]=local
+++ RC_DEPEND_TREE[360+7]=checkroot
+++ RC_DEPEND_TREE[360+8]=
+++ RC_DEPEND_TREE[360+9]=1274452127
+++ RC_DEPEND_TREE[370]=udev-mount
+++ RC_DEPEND_TREE[370+2]=
+++ RC_DEPEND_TREE[370+3]=
+++ RC_DEPEND_TREE[370+4]=
+++ RC_DEPEND_TREE[370+5]=
+++ RC_DEPEND_TREE[370+6]=local
+++ RC_DEPEND_TREE[370+7]=checkroot
+++ RC_DEPEND_TREE[370+8]=
+++ RC_DEPEND_TREE[370+9]=1272390310
+++ RC_DEPEND_TREE[380]=udev-postmount
+++ RC_DEPEND_TREE[380+2]=localmount
+++ RC_DEPEND_TREE[380+3]=
+++ RC_DEPEND_TREE[380+4]=
+++ RC_DEPEND_TREE[380+5]=
+++ RC_DEPEND_TREE[380+6]=local
+++ RC_DEPEND_TREE[380+7]=checkroot
+++ RC_DEPEND_TREE[380+8]=
+++ RC_DEPEND_TREE[380+9]=1272390310
+++ RC_DEPEND_TREE[390]=urandom
+++ RC_DEPEND_TREE[390+2]=localmount
+++ RC_DEPEND_TREE[390+3]=
+++ RC_DEPEND_TREE[390+4]=
+++ RC_DEPEND_TREE[390+5]=
+++ RC_DEPEND_TREE[390+6]=local
+++ RC_DEPEND_TREE[390+7]=checkroot
+++ RC_DEPEND_TREE[390+8]=
+++ RC_DEPEND_TREE[390+9]=1272390265
+++ RC_DEPEND_TREE[400]=vixie-cron
+++ RC_DEPEND_TREE[400+2]=localmount
+++ RC_DEPEND_TREE[400+3]=
+++ RC_DEPEND_TREE[400+4]='clock syslog-ng'
+++ RC_DEPEND_TREE[400+5]=
+++ RC_DEPEND_TREE[400+6]=local
+++ RC_DEPEND_TREE[400+7]='checkroot ntp-client'
+++ RC_DEPEND_TREE[400+8]=
+++ RC_DEPEND_TREE[400+9]=1274365471
+++ RC_DEPEND_TREE[410]=net
+++ RC_DEPEND_TREE[410+2]=
+++ RC_DEPEND_TREE[410+3]='apache2 mit-krb5kadmind mit-krb5kdc netmount ntp-client ntpd pydoc-2.6 samba saslauthd slapd sshd'
+++ RC_DEPEND_TREE[410+4]=
+++ RC_DEPEND_TREE[410+5]='cupsd mysql mysqlmanager nscd rsyncd'
+++ RC_DEPEND_TREE[410+6]=
+++ RC_DEPEND_TREE[410+7]=
+++ RC_DEPEND_TREE[410+8]=
+++ RC_DEPEND_TREE[410+9]=
+++ declare -r RC_DEPEND_TREE
+++ declare -r RC_GOT_DEPTREE_INFO=yes
+++ declare -r LOGGER_SERVICE=syslog-ng
++ [[ yes != yes ]]
++ rc_name=
++ rc_index=0
++ rc_ineed=
++ rc_needsme=
++ rc_iuse=
++ rc_usesme=
++ rc_ibefore=
++ rc_iafter=
++ rc_broken=
++ rc_mtime=
+ [[ ' != yes ]]
+ source /lib/rcscripts/sh/rc-daemon.sh
++ RC_GOT_DAEMON=yes
++ [[ yes != yes ]]
++ [[ yes != yes ]]
++ RC_RETRY_KILL=no
++ RC_RETRY_TIMEOUT=1
++ RC_RETRY_COUNT=5
++ RC_FAIL_ON_ZOMBIE=no
++ RC_KILL_CHILDREN=no
++ RC_WAIT_ON_START=0.1
+ net_service slapd
+ [[ -n slapd ]]
+ [[ slapd ==
e ]]
++ add_suffix /etc/conf.d/slapd
++ [[ yes != yes ]]
++ local suffix=default
++ [[ default == oo ]]
++ [[ default ==
eoo ]]
++ [[ default == shu dow
]]
++ [[ default == si
gle ]]
++ [[ -e /etc/conf.d/slapd.default ]]
++ echo /etc/conf.d/slapd
++ return 0
+ conf=/etc/conf.d/slapd
+ [[ -e /etc/conf.d/slapd ]]
+ source /etc/conf.d/slapd
++ OPTS='-F /etc/openldap/slapd.d -h 'ldaps:// ldap:// ldapi://%2fvar%2frun%2fopenldap%2fslapd.sock'
++ add_suffix /etc/rc.conf
++ [[ yes != yes ]]
++ local suffix=default
++ [[ default == oo ]]
++ [[ default ==
eoo ]]
++ [[ default == shu dow
]]
++ [[ default == si
gle ]]
++ [[ -e /etc/rc.conf.default ]]
++ echo /etc/rc.conf
++ return 0
+ conf=/etc/rc.conf
+ [[ -e /etc/rc.conf ]]
+ source /etc/rc.conf
++ UNICODE=yes
++ EDITOR=/bin/nano
+ mylevel=default
+ [[ default == oo ]]
+ [[ default ==
eoo ]]
+ [[ default == shu dow
]]
+ service_started slapd
+ test_service_state slapd started
+ [[ -z slapd ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/slapd
+ [[ ! -x /etc/init.d/slapd ]]
+ [[ -e /var/lib/init.d/started/slapd ]]
+ svcstarted=1
+ service_inactive slapd
+ test_service_state slapd inactive
+ [[ -z slapd ]]
+ [[ -z inactive ]]
+ local f=/var/lib/init.d/inactive/slapd
+ [[ ! -x /etc/init.d/slapd ]]
+ [[ -e /var/lib/init.d/inactive/slapd ]]
+ svcinactive=1
++ bash -n /etc/init.d/slapd
+ rcscript_errors=
+ opts='start stop restart'
+ source /etc/init.d/slapd
+ [[ -z start stop restart ]]
+ shift
+ [[ 2 -lt 1 ]]
+ for arg in '"$@"'
+ case "${arg}" in
+ for arg in '"$@"'
+ case "${arg}" in
+ retval=0
+ for arg in '"$@"'
+ case "${arg}" in
+ for arg in '"$@"'
+ case "${arg}" in
+ svc_restart
+ RC_KILL_CHILDREN=no
+ rm -rf /var/lib/init.d/snapshot/27115
+ mkdir -p /var/lib/init.d/snapshot/27115
+ cp -pPR /var/lib/init.d/started/apache2 /var/lib/init.d/started/bootmisc /var/lib/init.d/started/checkfs /var/lib/init.d/started/checkroot /var/lib/init.d/started/clock /var/lib/init.d/started/consolefont /var/lib/init.d/started/hostname /var/lib/init.d/started/keymaps /var/lib/init.d/started/local /var/lib/init.d/started/localmount /var/lib/init.d/started/modules /var/lib/init.d/started/mysql /var/lib/init.d/started/net.eth0 /var/lib/init.d/started/net.lo /var/lib/init.d/started/netmount /var/lib/init.d/started/ntpd /var/lib/init.d/started/rmnologin /var/lib/init.d/started/samba /var/lib/init.d/started/sshd /var/lib/init.d/started/syslog-ng /var/lib/init.d/started/udev-postmount /var/lib/init.d/started/urandom /var/lib/init.d/started/vixie-cron '/var/lib/init.d/inactive/*' /var/lib/init.d/snapshot/27115/
+ rm -f /var/lib/init.d/snapshot/27115/slapd
++ egrep '^[[:space:]]*restart[[:space:]]*()' /etc/init.d/slapd
+ [[ -n ' ]]
+ restart
+ service_stopped slapd
+ [[ -z slapd ]]
+ service_starting slapd
+ test_service_state slapd starting
+ [[ -z slapd ]]
+ [[ -z starting ]]
+ local f=/var/lib/init.d/starting/slapd
+ [[ ! -x /etc/init.d/slapd ]]
+ [[ -e /var/lib/init.d/starting/slapd ]]
+ service_started slapd
+ test_service_state slapd started
+ [[ -z slapd ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/slapd
+ [[ ! -x /etc/init.d/slapd ]]
+ [[ -e /var/lib/init.d/started/slapd ]]
+ service_stopping slapd
+ test_service_state slapd stopping
+ [[ -z slapd ]]
+ [[ -z stopping ]]
+ local f=/var/lib/init.d/stopping/slapd
+ [[ ! -x /etc/init.d/slapd ]]
+ [[ -e /var/lib/init.d/stopping/slapd ]]
+ service_inactive slapd
+ test_service_state slapd inactive
+ [[ -z slapd ]]
+ [[ -z inactive ]]
+ local f=/var/lib/init.d/inactive/slapd
+ [[ ! -x /etc/init.d/slapd ]]
+ [[ -e /var/lib/init.d/inactive/slapd ]]
+ return 0
+ svc_start
+ local x= y= retval=0 startinactive=
+ is_runlevel_start
+ [[ -d /var/lib/init.d/softscripts.old ]]
+ service_started slapd
+ test_service_state slapd started
+ [[ -z slapd ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/slapd
+ [[ ! -x /etc/init.d/slapd ]]
+ [[ -e /var/lib/init.d/started/slapd ]]
+ service_inactive slapd
+ test_service_state slapd inactive
+ [[ -z slapd ]]
+ [[ -z inactive ]]
+ local f=/var/lib/init.d/inactive/slapd
+ [[ ! -x /etc/init.d/slapd ]]
+ [[ -e /var/lib/init.d/inactive/slapd ]]
+ mark_service_starting slapd
+ [[ -z slapd ]]
+ ln -sn /etc/init.d/slapd /var/lib/init.d/starting/slapd
+ [[ -f /var/lib/init.d/started/slapd ]]
+ [[ -f /var/lib/init.d/inactive/slapd ]]
+ return 0
+ trap svc_quit INT QUIT TSTP
+ service_message 'Service slapd starting'
+ [[ no != yes ]]
+ return
+ broken slapd
+ check_dependency broken slapd
+ [[ -z broken ]]
+ [[ -z slapd ]]
+ local x myservice deps
+ [[ slapd == - ]]
+ myservice=slapd
+ get_dep_info slapd
+ [[ -z slapd ]]
+ local myservice=slapd
+ [[ slapd == ' ]]
++ get_service_index slapd 0
++ [[ -z slapd ]]
++ [[ -z 0 ]]
++ local x myservice=slapd index=0
++ [[ -n 0 ]]
++ [[ 0 -gt 0 ]]
++ (( x=1 ))
++ (( x<=41 ))
++ index=10
++ [[ slapd == hos
ame ]]
++ (( x++ ))
++ (( x<=41 ))
++ index=20
++ [[ slapd == keymaps ]]
++ (( x++ ))
++ (( x<=41 ))
++ index=30
++ [[ slapd == local ]]
++ (( x++ ))
++ (( x<=41 ))
++ index=40
++ [[ slapd == localmou
]]
++ (( x++ ))
++ (( x<=41 ))
++ index=50
++ [[ slapd == mi -k
5kadmi
d ]]
++ (( x++ ))
++ (( x<=41 ))
++ index=60
++ [[ slapd == pydoc-2.6 ]]
++ (( x++ ))
++ (( x<=41 ))
++ index=70
++ [[ slapd == mi -k
5kdc ]]
++ (( x++ ))
++ (( x<=41 ))
++ index=80
++ [[ slapd == modules ]]
++ (( x++ ))
++ (( x<=41 ))
++ index=90
++ [[ slapd ==
m
ologi
]]
++ (( x++ ))
++ (( x<=41 ))
++ index=100
++ [[ slapd == mysql ]]
++ (( x++ ))
++ (( x<=41 ))
++ index=110
++ [[ slapd ==
sy
cd ]]
++ (( x++ ))
++ (( x<=41 ))
++ index=120
++ [[ slapd == sama ]]
++ (( x++ ))
++ (( x<=41 ))
++ index=130
++ [[ slapd == saslau hd ]]
++ (( x++ ))
++ (( x<=41 ))
++ index=140
++ [[ slapd == slapd ]]
++ echo 140
++ return 0
+ rc_index=140
+ rc_mtime=1274384630
+ rc_name=slapd
+ rc_ineed=net
+ rc_needsme=
+ rc_iuse=
+ rc_usesme=nscd
+ rc_ibefore='local samba'
+ rc_iafter=checkroot
+ rc_broken=
+ rc_mtime=1274384630
+ return 0
+ deps=rc_broken
+ [[ -z ' ]]
+ return 1
+ local ib_save=
+ unset IN_BACKGROUND
+ [[ 0 == ]]
+ [[ ' != yes ]]
++ ineed slapd
++ check_dependency ineed slapd
++ [[ -z ineed ]]
++ [[ -z slapd ]]
++ local x myservice deps
++ [[ slapd == - ]]
++ myservice=slapd
++ get_dep_info slapd
++ [[ -z slapd ]]
++ local myservice=slapd
++ [[ slapd == slapd ]]
++ [[ -n 1274384630 ]]
++ return 0
++ deps=rc_ineed
++ [[ -z net ]]
++ [[ slapd == - ]]
++ echo net
++ return 0
++ valid_iuse slapd
++ valid_i use slapd
++ local mylevel=boot x= valid=
++ [[ use != af e
]]
++ [[ use != use ]]
++ [[ -f /var/lib/init.d/softlevel ]]
++ mylevel=default
+++ iuse slapd
+++ check_dependency iuse slapd
+++ [[ -z iuse ]]
+++ [[ -z slapd ]]
+++ local x myservice deps
+++ [[ slapd == - ]]
+++ myservice=slapd
+++ get_dep_info slapd
+++ [[ -z slapd ]]
+++ local myservice=slapd
+++ [[ slapd == slapd ]]
+++ [[ -n 1274384630 ]]
+++ return 0
+++ deps=rc_iuse
+++ [[ -z ' ]]
+++ return 1
++ echo '
++ return 0
+ local 'startupservices=net '
+ local netservices=
++ dolisting '/etc/runlevels/boot/net.*'
++ local x=
++ local y=
++ local tmpstr=
++ local mylist=
++ local 'mypath=/etc/runlevels/boot/net.*'
++ [[ /etc/runlevels/boot/net.* != /e c/
u
levels/oo /
e .* ]]
++ for x in '${mypath}'
++ [[ ! -e /etc/runlevels/boot/net.lo ]]
++ [[ ! -d /etc/runlevels/boot/net.lo ]]
++ [[ -L /etc/runlevels/boot/net.lo ]]
+++ ls /etc/runlevels/boot/net.lo
++ mylist=' /etc/runlevels/boot/net.lo'
++ echo ' /etc/runlevels/boot/net.lo'
++ dolisting '/etc/runlevels/default/net.*'
++ local x=
++ local y=
++ local tmpstr=
++ local mylist=
++ local 'mypath=/etc/runlevels/default/net.*'
++ [[ /etc/runlevels/default/net.* != /e c/
u
levels/defaul /
e .* ]]
++ for x in '${mypath}'
++ [[ ! -e /etc/runlevels/default/net.eth0 ]]
++ [[ ! -d /etc/runlevels/default/net.eth0 ]]
++ [[ -L /etc/runlevels/default/net.eth0 ]]
+++ ls /etc/runlevels/default/net.eth0
++ mylist=' /etc/runlevels/default/net.eth0'
++ echo ' /etc/runlevels/default/net.eth0'
++ dolisting '/var/lib/init.d/coldplugged/net.*'
++ local x=
++ local y=
++ local tmpstr=
++ local mylist=
++ local 'mypath=/var/lib/init.d/coldplugged/net.*'
++ [[ /var/lib/init.d/coldplugged/net.* != /va
/li/i
i .d/coldplugged/
e .* ]]
++ for x in '${mypath}'
++ [[ ! -e /var/lib/init.d/coldplugged/net.* ]]
++ continue
++ echo '
+ for x in '$(dolisting "/etc/runlevels/${BOOTLEVEL}/net.*")' '$(dolisting "/etc/runlevels/${mylevel}/net.*")' '$(dolisting "/var/lib/init.d/coldplugged/net.*")'
+ netservices=' net.lo'
+ for x in '$(dolisting "/etc/runlevels/${BOOTLEVEL}/net.*")' '$(dolisting "/etc/runlevels/${mylevel}/net.*")' '$(dolisting "/var/lib/init.d/coldplugged/net.*")'
+ netservices=' net.lo net.eth0'
+ is_runlevel_start
+ [[ -d /var/lib/init.d/softscripts.old ]]
+ for x in '${startupservices}'
+ [[ net ==
e ]]
+ net_service slapd
+ [[ -n slapd ]]
+ [[ slapd ==
e ]]
+ is_net_up
+ local x=
+ case "${RC_NET_STRICT_CHECKING}" in
++ dolisting '/var/lib/init.d/started/net.*'
++ local x=
++ local y=
++ local tmpstr=
++ local mylist=
++ local 'mypath=/var/lib/init.d/started/net.*'
++ [[ /var/lib/init.d/started/net.* != /va
/li/i
i .d/s a
ed/
e .* ]]
++ for x in '${mypath}'
++ [[ ! -e /var/lib/init.d/started/net.eth0 ]]
++ [[ ! -d /var/lib/init.d/started/net.eth0 ]]
++ [[ -L /var/lib/init.d/started/net.eth0 ]]
+++ ls /var/lib/init.d/started/net.eth0
++ mylist=' /var/lib/init.d/started/net.eth0'
++ for x in '${mypath}'
++ [[ ! -e /var/lib/init.d/started/net.lo ]]
++ [[ ! -d /var/lib/init.d/started/net.lo ]]
++ [[ -L /var/lib/init.d/started/net.lo ]]
+++ ls /var/lib/init.d/started/net.lo
++ mylist=' /var/lib/init.d/started/net.eth0 /var/lib/init.d/started/net.lo'
++ echo ' /var/lib/init.d/started/net.eth0 /var/lib/init.d/started/net.lo'
+ for x in '$(dolisting "${svcdir}/started/net.*")'
+ local y=net.eth0
+ [[ net.eth0 == ' ]]
+ [[ net.eth0 !=
e .lo ]]
+ return 0
+ [[ net !=
e ]]
+ is_runlevel_start
+ [[ -d /var/lib/init.d/softscripts.old ]]
+ [[ net == *
e * ]]
+ startupservices=' net '
+ startupservices=' net.lo net.eth0 '
+ startupservices=' net.lo net.eth0 '
+ for x in '${startupservices}'
+ service_started net.lo
+ test_service_state net.lo started
+ [[ -z net.lo ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/net.lo
+ [[ ! -x /etc/init.d/net.lo ]]
+ [[ -e /var/lib/init.d/started/net.lo ]]
+ continue
+ for x in '${startupservices}'
+ service_started net.eth0
+ test_service_state net.eth0 started
+ [[ -z net.eth0 ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/net.eth0
+ [[ ! -x /etc/init.d/net.eth0 ]]
+ [[ -e /var/lib/init.d/started/net.eth0 ]]
+ continue
+ [[ -n ' ]]
+ [[ 0 == ]]
+ IN_BACKGROUND=
+ [[ -n ' ]]
+ [[ no == yes ]]
+ start
+ ebegin 'Starting ldap-server'
+ local 'msg=Starting ldap-server' dots spaces=
+ [[ no == yes ]]
+ [[ -n ' ]]
+ msg='Starting ldap-server ...'
+ einfon 'Starting ldap-server ...'
+ [[ no == yes ]]
+ [[ yes != yes ]]
+ echo -ne ' * Starting ldap-server ...'
* Starting ldap-server ...+ LAST_E_CMD=einfon
+ return 0
+ [[ yes == yes ]]
+ echo

+ LAST_E_LEN=27
+ LAST_E_CMD=ebegin
+ return 0
+ eval start-stop-daemon --start --pidfile /var/run/openldap/slapd.pid --exec /usr/lib/openldap/slapd -- -u ldap -g ldap '-F /etc/openldap/slapd.d -h 'ldaps:// ldap:// ldapi://%2fvar%2frun%2fopenldap%2fslapd.sock'
++ start-stop-daemon --start --pidfile /var/run/openldap/slapd.pid --exec /usr/lib/openldap/slapd -- -u ldap -g ldap -F /etc/openldap/slapd.d -h 'ldaps:// ldap:// ldapi://%2fvar%2frun%2fopenldap%2fslapd.sock'
+++ requote --start --pidfile /var/run/openldap/slapd.pid --exec /usr/lib/openldap/slapd -- -u ldap -g ldap -F /etc/openldap/slapd.d -h 'ldaps:// ldap:// ldapi://%2fvar%2frun%2fopenldap%2fslapd.sock'
+++ local 'q='
+++ set -- --start --pidfile /var/run/openldap/slapd.pid --exec /usr/lib/openldap/slapd -- -u ldap -g ldap -F /etc/openldap/slapd.d -h 'ldaps:// ldap:// ldapi://%2fvar%2frun%2fopenldap%2fslapd.sock'
+++ set -- '--start' '--pidfile' '/var/run/openldap/slapd.pid' '--exec' '/usr/lib/openldap/slapd' '--' '-u' 'ldap' '-g' 'ldap' '-F' '/etc/openldap/slapd.d' '-h' 'ldaps:// ldap:// ldapi://%2fvar%2frun%2fopenldap%2fslapd.sock'
+++ set -- '--start' '--pidfile' '/var/run/openldap/slapd.pid' '--exec' '/usr/lib/openldap/slapd' '--' '-u' 'ldap' '-g' 'ldap' '-F' '/etc/openldap/slapd.d' '-h' 'ldaps:// ldap:// ldapi://%2fvar%2frun%2fopenldap%2fslapd.sock'
+++ echo '--start' '--pidfile' '/var/run/openldap/slapd.pid' '--exec' '/usr/lib/openldap/slapd' '--' '-u' 'ldap' '-g' 'ldap' '-F' '/etc/openldap/slapd.d' '-h' 'ldaps:// ldap:// ldapi://%2fvar%2frun%2fopenldap%2fslapd.sock'
++ local 'args='--start' '--pidfile' '/var/run/openldap/slapd.pid' '--exec' '/usr/lib/openldap/slapd' '--' '-u' 'ldap' '-g' 'ldap' '-F' '/etc/openldap/slapd.d' '-h' 'ldaps:// ldap:// ldapi://%2fvar%2frun%2fopenldap%2fslapd.sock' result i
++ local cmd name pidfile pid stopping signal nothing=false
++ local daemonfile=
++ RC_DAEMONS=()
++ RC_PIDFILES=()
++ RC_NAMES=()
++ local -a RC_DAEMONS RC_PIDFILES RC_NAMES
++ [[ -n slapd ]]
++ daemonfile=/var/lib/init.d/daemons/slapd
++ [[ -e /var/lib/init.d/daemons/slapd ]]
++ rc_setup_daemon_vars
++ sargs=("${args%% '--' *}")
++ eargs=()
++ local -a sargs eargs
++ local 'x='--start' '--pidfile' '/var/run/openldap/slapd.pid' '--exec' '/usr/lib/openldap/slapd'-u' 'ldap' '-g' 'ldap' '-F' '/etc/openldap/slapd.d' '-h' 'ldaps:// ldap:// ldapi://%2fvar%2frun%2fopenldap%2fslapd.sock' i=
++ [[ '--start' '--pidfile' '/var/run/openldap/slapd.pid' '--exec' '/usr/lib/openldap/slapd'-u' 'ldap' '-g' 'ldap' '-F' '/etc/openldap/slapd.d' '-h' 'ldaps:// ldap:// ldapi://%2fvar%2frun%2fopenldap%2fslapd.sock' != '--s a
' '--pidfile' '/va
/
u
/ope
ldap/slapd.pid' '--exec' '/us
/li/ope
ldap/slapd' '--' '-u' 'ldap' '-g' 'ldap' '-F' '/e c/ope
ldap/slapd.d' '-h' 'ldaps:// ldap:// ldapi://\%2fva
\%2f
u
\%2fope
ldap\%2fslapd.sock' ]]
++ eargs=("${args##* '--' }")
++ eval rc_shift_args '--start' '--pidfile' '/var/run/openldap/slapd.pid' '--exec' '/usr/lib/openldap/slapd'
+++ rc_shift_args --start --pidfile /var/run/openldap/slapd.pid --exec /usr/lib/openldap/slapd
+++ local addvar
+++ [[ 5 != ]]
+++ [[ --start != -* ]]
+++ unset addvar
+++ case "$1" in
+++ stopping=false
+++ shift
+++ [[ 4 != ]]
+++ [[ --pidfile != -* ]]
+++ unset addvar
+++ case "$1" in
+++ addvar=pidfile
+++ shift
+++ [[ 3 != ]]
+++ [[ /var/run/openldap/slapd.pid != -* ]]
+++ [[ -n pidfile ]]
+++ [[ -z ' ]]
+++ eval 'pidfile="/var/run/openldap/slapd.pid"'
++++ pidfile=/var/run/openldap/slapd.pid
+++ shift
+++ continue
+++ [[ 2 != ]]
+++ [[ --exec != -* ]]
+++ unset addvar
+++ case "$1" in
+++ addvar=cmd
+++ shift
+++ [[ 1 != ]]
+++ [[ /usr/lib/openldap/slapd != -* ]]
+++ [[ -n cmd ]]
+++ [[ -z ' ]]
+++ eval 'cmd="/usr/lib/openldap/slapd"'
++++ cmd=/usr/lib/openldap/slapd
+++ shift
+++ continue
+++ [[ 0 != ]]
+++ [[ -z 5 ]]
+++ [[ 5 != 5 ]]
++ [[ -n ' ]]
+++ bash_variable slapd
+++ local args=slapd
+++ LC_ALL=C
+++ echo slapd
++ local bash_service=slapd
++ [[ -n ' ]]
++ return 0
++ false
++ false
++ rc_start_daemon
++ eval /sbin/start-stop-daemon '--start' '--pidfile' '/var/run/openldap/slapd.pid' '--exec' '/usr/lib/openldap/slapd' '--' '-u' 'ldap' '-g' 'ldap' '-F' '/etc/openldap/slapd.d' '-h' 'ldaps:// ldap:// ldapi://%2fvar%2frun%2fopenldap%2fslapd.sock'
+++ /sbin/start-stop-daemon --start --pidfile /var/run/openldap/slapd.pid --exec /usr/lib/openldap/slapd -- -u ldap -g ldap -F /etc/openldap/slapd.d -h 'ldaps:// ldap:// ldapi://%2fvar%2frun%2fopenldap%2fslapd.sock'
++ local retval=1
++ [[ 1 != ]]
++ return 1
++ result=1
++ [[ 1 == ]]
++ [[ 0 == ]]
++ [[ -f /var/lib/init.d/daemons/slapd ]]
++ return 1
+ eend 1
+ local retval=1
+ shift
+ _eend 1 eerror '
+ local retval=1 efunc=eerror msg
+ shift 2
+ [[ 1 == ]]
+ [[ -c /dev/null ]]
+ [[ -n ' ]]
+ msg='[ !! ]'
+ [[ yes == yes ]]
+ echo -e ' [ !! ]'
[ !! ]
+ return 1
+ LAST_E_CMD=eend
+ return 1
+ retval=1
+ [[ 1 == ]]
+ [[ 1 != ]]
+ [[ 1 == ]]
+ mark_service_stopped slapd
+ [[ -z slapd ]]
+ rm -Rf /var/lib/init.d/daemons/slapd /var/lib/init.d/starting/slapd /var/lib/init.d/started/slapd /var/lib/init.d/inactive/slapd /var/lib/init.d/wasinactive/slapd /var/lib/init.d/stopping/slapd /var/lib/init.d/scheduled/slapd /var/lib/init.d/options/slapd /var/lib/init.d/coldplugged/slapd
+ rc_splash stop
+ return 0
+ [[ -z ' ]]
+ is_runlevel_start
+ [[ -d /var/lib/init.d/softscripts.old ]]
+ service_message eerror 'ERROR: slapd failed to start'
+ [[ no != yes ]]
+ return
+ svc_trap
+ trap 'eerror "ERROR: ${SVCNAME} caught an interrupt"; exit 1' INT QUIT TSTP
+ return 1
+ retval=1
+ [[ -e /var/lib/init.d/scheduled/slapd ]]
++ dolisting /var/lib/init.d/snapshot/27115/
++ local x=
++ local y=
++ local tmpstr=
++ local mylist=
++ local mypath=/var/lib/init.d/snapshot/27115/
++ [[ /var/lib/init.d/snapshot/27115/ != /va
/li/i
i .d/s
apsho /27115/ ]]
++ for x in '${mypath}'
++ [[ ! -e /var/lib/init.d/snapshot/27115/ ]]
++ [[ ! -d /var/lib/init.d/snapshot/27115/ ]]
++ [[ /var/lib/init.d/snapshot/27115 != /va
/li/i
i .d/s
apsho /27115/ ]]
++ x=/var/lib/init.d/snapshot/27115
++ cd /var/lib/init.d/snapshot/27115
+++ ls
++ tmpstr='apache2
bootmisc
checkfs
checkroot
clock
consolefont
hostname
keymaps
local
localmount
modules
mysql
net.eth0
net.lo
netmount
ntpd
rmnologin
samba
sshd
syslog-ng
udev-postmount
urandom
vixie-cron'
++ for y in '${tmpstr}'
++ mylist=' /var/lib/init.d/snapshot/27115/apache2'
++ for y in '${tmpstr}'
++ mylist=' /var/lib/init.d/snapshot/27115/apache2 /var/lib/init.d/snapshot/27115/bootmisc'
++ for y in '${tmpstr}'
++ mylist=' /var/lib/init.d/snapshot/27115/apache2 /var/lib/init.d/snapshot/27115/bootmisc /var/lib/init.d/snapshot/27115/checkfs'
++ for y in '${tmpstr}'
++ mylist=' /var/lib/init.d/snapshot/27115/apache2 /var/lib/init.d/snapshot/27115/bootmisc /var/lib/init.d/snapshot/27115/checkfs /var/lib/init.d/snapshot/27115/checkroot'
++ for y in '${tmpstr}'
++ mylist=' /var/lib/init.d/snapshot/27115/apache2 /var/lib/init.d/snapshot/27115/bootmisc /var/lib/init.d/snapshot/27115/checkfs /var/lib/init.d/snapshot/27115/checkroot /var/lib/init.d/snapshot/27115/clock'
++ for y in '${tmpstr}'
++ mylist=' /var/lib/init.d/snapshot/27115/apache2 /var/lib/init.d/snapshot/27115/bootmisc /var/lib/init.d/snapshot/27115/checkfs /var/lib/init.d/snapshot/27115/checkroot /var/lib/init.d/snapshot/27115/clock /var/lib/init.d/snapshot/27115/consolefont'
++ for y in '${tmpstr}'
++ mylist=' /var/lib/init.d/snapshot/27115/apache2 /var/lib/init.d/snapshot/27115/bootmisc /var/lib/init.d/snapshot/27115/checkfs /var/lib/init.d/snapshot/27115/checkroot /var/lib/init.d/snapshot/27115/clock /var/lib/init.d/snapshot/27115/consolefont /var/lib/init.d/snapshot/27115/hostname'
++ for y in '${tmpstr}'
++ mylist=' /var/lib/init.d/snapshot/27115/apache2 /var/lib/init.d/snapshot/27115/bootmisc /var/lib/init.d/snapshot/27115/checkfs /var/lib/init.d/snapshot/27115/checkroot /var/lib/init.d/snapshot/27115/clock /var/lib/init.d/snapshot/27115/consolefont /var/lib/init.d/snapshot/27115/hostname /var/lib/init.d/snapshot/27115/keymaps'
++ for y in '${tmpstr}'
++ mylist=' /var/lib/init.d/snapshot/27115/apache2 /var/lib/init.d/snapshot/27115/bootmisc /var/lib/init.d/snapshot/27115/checkfs /var/lib/init.d/snapshot/27115/checkroot /var/lib/init.d/snapshot/27115/clock /var/lib/init.d/snapshot/27115/consolefont /var/lib/init.d/snapshot/27115/hostname /var/lib/init.d/snapshot/27115/keymaps /var/lib/init.d/snapshot/27115/local'
++ for y in '${tmpstr}'
++ mylist=' /var/lib/init.d/snapshot/27115/apache2 /var/lib/init.d/snapshot/27115/bootmisc /var/lib/init.d/snapshot/27115/checkfs /var/lib/init.d/snapshot/27115/checkroot /var/lib/init.d/snapshot/27115/clock /var/lib/init.d/snapshot/27115/consolefont /var/lib/init.d/snapshot/27115/hostname /var/lib/init.d/snapshot/27115/keymaps /var/lib/init.d/snapshot/27115/local /var/lib/init.d/snapshot/27115/localmount'
++ for y in '${tmpstr}'
++ mylist=' /var/lib/init.d/snapshot/27115/apache2 /var/lib/init.d/snapshot/27115/bootmisc /var/lib/init.d/snapshot/27115/checkfs /var/lib/init.d/snapshot/27115/checkroot /var/lib/init.d/snapshot/27115/clock /var/lib/init.d/snapshot/27115/consolefont /var/lib/init.d/snapshot/27115/hostname /var/lib/init.d/snapshot/27115/keymaps /var/lib/init.d/snapshot/27115/local /var/lib/init.d/snapshot/27115/localmount /var/lib/init.d/snapshot/27115/modules'
++ for y in '${tmpstr}'
++ mylist=' /var/lib/init.d/snapshot/27115/apache2 /var/lib/init.d/snapshot/27115/bootmisc /var/lib/init.d/snapshot/27115/checkfs /var/lib/init.d/snapshot/27115/checkroot /var/lib/init.d/snapshot/27115/clock /var/lib/init.d/snapshot/27115/consolefont /var/lib/init.d/snapshot/27115/hostname /var/lib/init.d/snapshot/27115/keymaps /var/lib/init.d/snapshot/27115/local /var/lib/init.d/snapshot/27115/localmount /var/lib/init.d/snapshot/27115/modules /var/lib/init.d/snapshot/27115/mysql'
++ for y in '${tmpstr}'
++ mylist=' /var/lib/init.d/snapshot/27115/apache2 /var/lib/init.d/snapshot/27115/bootmisc /var/lib/init.d/snapshot/27115/checkfs /var/lib/init.d/snapshot/27115/checkroot /var/lib/init.d/snapshot/27115/clock /var/lib/init.d/snapshot/27115/consolefont /var/lib/init.d/snapshot/27115/hostname /var/lib/init.d/snapshot/27115/keymaps /var/lib/init.d/snapshot/27115/local /var/lib/init.d/snapshot/27115/localmount /var/lib/init.d/snapshot/27115/modules /var/lib/init.d/snapshot/27115/mysql /var/lib/init.d/snapshot/27115/net.eth0'
++ for y in '${tmpstr}'
++ mylist=' /var/lib/init.d/snapshot/27115/apache2 /var/lib/init.d/snapshot/27115/bootmisc /var/lib/init.d/snapshot/27115/checkfs /var/lib/init.d/snapshot/27115/checkroot /var/lib/init.d/snapshot/27115/clock /var/lib/init.d/snapshot/27115/consolefont /var/lib/init.d/snapshot/27115/hostname /var/lib/init.d/snapshot/27115/keymaps /var/lib/init.d/snapshot/27115/local /var/lib/init.d/snapshot/27115/localmount /var/lib/init.d/snapshot/27115/modules /var/lib/init.d/snapshot/27115/mysql /var/lib/init.d/snapshot/27115/net.eth0 /var/lib/init.d/snapshot/27115/net.lo'
++ for y in '${tmpstr}'
++ mylist=' /var/lib/init.d/snapshot/27115/apache2 /var/lib/init.d/snapshot/27115/bootmisc /var/lib/init.d/snapshot/27115/checkfs /var/lib/init.d/snapshot/27115/checkroot /var/lib/init.d/snapshot/27115/clock /var/lib/init.d/snapshot/27115/consolefont /var/lib/init.d/snapshot/27115/hostname /var/lib/init.d/snapshot/27115/keymaps /var/lib/init.d/snapshot/27115/local /var/lib/init.d/snapshot/27115/localmount /var/lib/init.d/snapshot/27115/modules /var/lib/init.d/snapshot/27115/mysql /var/lib/init.d/snapshot/27115/net.eth0 /var/lib/init.d/snapshot/27115/net.lo /var/lib/init.d/snapshot/27115/netmount'
++ for y in '${tmpstr}'
++ mylist=' /var/lib/init.d/snapshot/27115/apache2 /var/lib/init.d/snapshot/27115/bootmisc /var/lib/init.d/snapshot/27115/checkfs /var/lib/init.d/snapshot/27115/checkroot /var/lib/init.d/snapshot/27115/clock /var/lib/init.d/snapshot/27115/consolefont /var/lib/init.d/snapshot/27115/hostname /var/lib/init.d/snapshot/27115/keymaps /var/lib/init.d/snapshot/27115/local /var/lib/init.d/snapshot/27115/localmount /var/lib/init.d/snapshot/27115/modules /var/lib/init.d/snapshot/27115/mysql /var/lib/init.d/snapshot/27115/net.eth0 /var/lib/init.d/snapshot/27115/net.lo /var/lib/init.d/snapshot/27115/netmount /var/lib/init.d/snapshot/27115/ntpd'
++ for y in '${tmpstr}'
++ mylist=' /var/lib/init.d/snapshot/27115/apache2 /var/lib/init.d/snapshot/27115/bootmisc /var/lib/init.d/snapshot/27115/checkfs /var/lib/init.d/snapshot/27115/checkroot /var/lib/init.d/snapshot/27115/clock /var/lib/init.d/snapshot/27115/consolefont /var/lib/init.d/snapshot/27115/hostname /var/lib/init.d/snapshot/27115/keymaps /var/lib/init.d/snapshot/27115/local /var/lib/init.d/snapshot/27115/localmount /var/lib/init.d/snapshot/27115/modules /var/lib/init.d/snapshot/27115/mysql /var/lib/init.d/snapshot/27115/net.eth0 /var/lib/init.d/snapshot/27115/net.lo /var/lib/init.d/snapshot/27115/netmount /var/lib/init.d/snapshot/27115/ntpd /var/lib/init.d/snapshot/27115/rmnologin'
++ for y in '${tmpstr}'
++ mylist=' /var/lib/init.d/snapshot/27115/apache2 /var/lib/init.d/snapshot/27115/bootmisc /var/lib/init.d/snapshot/27115/checkfs /var/lib/init.d/snapshot/27115/checkroot /var/lib/init.d/snapshot/27115/clock /var/lib/init.d/snapshot/27115/consolefont /var/lib/init.d/snapshot/27115/hostname /var/lib/init.d/snapshot/27115/keymaps /var/lib/init.d/snapshot/27115/local /var/lib/init.d/snapshot/27115/localmount /var/lib/init.d/snapshot/27115/modules /var/lib/init.d/snapshot/27115/mysql /var/lib/init.d/snapshot/27115/net.eth0 /var/lib/init.d/snapshot/27115/net.lo /var/lib/init.d/snapshot/27115/netmount /var/lib/init.d/snapshot/27115/ntpd /var/lib/init.d/snapshot/27115/rmnologin /var/lib/init.d/snapshot/27115/samba'
++ for y in '${tmpstr}'
++ mylist=' /var/lib/init.d/snapshot/27115/apache2 /var/lib/init.d/snapshot/27115/bootmisc /var/lib/init.d/snapshot/27115/checkfs /var/lib/init.d/snapshot/27115/checkroot /var/lib/init.d/snapshot/27115/clock /var/lib/init.d/snapshot/27115/consolefont /var/lib/init.d/snapshot/27115/hostname /var/lib/init.d/snapshot/27115/keymaps /var/lib/init.d/snapshot/27115/local /var/lib/init.d/snapshot/27115/localmount /var/lib/init.d/snapshot/27115/modules /var/lib/init.d/snapshot/27115/mysql /var/lib/init.d/snapshot/27115/net.eth0 /var/lib/init.d/snapshot/27115/net.lo /var/lib/init.d/snapshot/27115/netmount /var/lib/init.d/snapshot/27115/ntpd /var/lib/init.d/snapshot/27115/rmnologin /var/lib/init.d/snapshot/27115/samba /var/lib/init.d/snapshot/27115/sshd'
++ for y in '${tmpstr}'
++ mylist=' /var/lib/init.d/snapshot/27115/apache2 /var/lib/init.d/snapshot/27115/bootmisc /var/lib/init.d/snapshot/27115/checkfs /var/lib/init.d/snapshot/27115/checkroot /var/lib/init.d/snapshot/27115/clock /var/lib/init.d/snapshot/27115/consolefont /var/lib/init.d/snapshot/27115/hostname /var/lib/init.d/snapshot/27115/keymaps /var/lib/init.d/snapshot/27115/local /var/lib/init.d/snapshot/27115/localmount /var/lib/init.d/snapshot/27115/modules /var/lib/init.d/snapshot/27115/mysql /var/lib/init.d/snapshot/27115/net.eth0 /var/lib/init.d/snapshot/27115/net.lo /var/lib/init.d/snapshot/27115/netmount /var/lib/init.d/snapshot/27115/ntpd /var/lib/init.d/snapshot/27115/rmnologin /var/lib/init.d/snapshot/27115/samba /var/lib/init.d/snapshot/27115/sshd /var/lib/init.d/snapshot/27115/syslog-ng'
++ for y in '${tmpstr}'
++ mylist=' /var/lib/init.d/snapshot/27115/apache2 /var/lib/init.d/snapshot/27115/bootmisc /var/lib/init.d/snapshot/27115/checkfs /var/lib/init.d/snapshot/27115/checkroot /var/lib/init.d/snapshot/27115/clock /var/lib/init.d/snapshot/27115/consolefont /var/lib/init.d/snapshot/27115/hostname /var/lib/init.d/snapshot/27115/keymaps /var/lib/init.d/snapshot/27115/local /var/lib/init.d/snapshot/27115/localmount /var/lib/init.d/snapshot/27115/modules /var/lib/init.d/snapshot/27115/mysql /var/lib/init.d/snapshot/27115/net.eth0 /var/lib/init.d/snapshot/27115/net.lo /var/lib/init.d/snapshot/27115/netmount /var/lib/init.d/snapshot/27115/ntpd /var/lib/init.d/snapshot/27115/rmnologin /var/lib/init.d/snapshot/27115/samba /var/lib/init.d/snapshot/27115/sshd /var/lib/init.d/snapshot/27115/syslog-ng /var/lib/init.d/snapshot/27115/udev-postmount'
++ for y in '${tmpstr}'
++ mylist=' /var/lib/init.d/snapshot/27115/apache2 /var/lib/init.d/snapshot/27115/bootmisc /var/lib/init.d/snapshot/27115/checkfs /var/lib/init.d/snapshot/27115/checkroot /var/lib/init.d/snapshot/27115/clock /var/lib/init.d/snapshot/27115/consolefont /var/lib/init.d/snapshot/27115/hostname /var/lib/init.d/snapshot/27115/keymaps /var/lib/init.d/snapshot/27115/local /var/lib/init.d/snapshot/27115/localmount /var/lib/init.d/snapshot/27115/modules /var/lib/init.d/snapshot/27115/mysql /var/lib/init.d/snapshot/27115/net.eth0 /var/lib/init.d/snapshot/27115/net.lo /var/lib/init.d/snapshot/27115/netmount /var/lib/init.d/snapshot/27115/ntpd /var/lib/init.d/snapshot/27115/rmnologin /var/lib/init.d/snapshot/27115/samba /var/lib/init.d/snapshot/27115/sshd /var/lib/init.d/snapshot/27115/syslog-ng /var/lib/init.d/snapshot/27115/udev-postmount /var/lib/init.d/snapshot/27115/urandom'
++ for y in '${tmpstr}'
++ mylist=' /var/lib/init.d/snapshot/27115/apache2 /var/lib/init.d/snapshot/27115/bootmisc /var/lib/init.d/snapshot/27115/checkfs /var/lib/init.d/snapshot/27115/checkroot /var/lib/init.d/snapshot/27115/clock /var/lib/init.d/snapshot/27115/consolefont /var/lib/init.d/snapshot/27115/hostname /var/lib/init.d/snapshot/27115/keymaps /var/lib/init.d/snapshot/27115/local /var/lib/init.d/snapshot/27115/localmount /var/lib/init.d/snapshot/27115/modules /var/lib/init.d/snapshot/27115/mysql /var/lib/init.d/snapshot/27115/net.eth0 /var/lib/init.d/snapshot/27115/net.lo /var/lib/init.d/snapshot/27115/netmount /var/lib/init.d/snapshot/27115/ntpd /var/lib/init.d/snapshot/27115/rmnologin /var/lib/init.d/snapshot/27115/samba /var/lib/init.d/snapshot/27115/sshd /var/lib/init.d/snapshot/27115/syslog-ng /var/lib/init.d/snapshot/27115/udev-postmount /var/lib/init.d/snapshot/27115/urandom /var/lib/init.d/snapshot/27115/vixie-cron'
++ echo ' /var/lib/init.d/snapshot/27115/apache2 /var/lib/init.d/snapshot/27115/bootmisc /var/lib/init.d/snapshot/27115/checkfs /var/lib/init.d/snapshot/27115/checkroot /var/lib/init.d/snapshot/27115/clock /var/lib/init.d/snapshot/27115/consolefont /var/lib/init.d/snapshot/27115/hostname /var/lib/init.d/snapshot/27115/keymaps /var/lib/init.d/snapshot/27115/local /var/lib/init.d/snapshot/27115/localmount /var/lib/init.d/snapshot/27115/modules /var/lib/init.d/snapshot/27115/mysql /var/lib/init.d/snapshot/27115/net.eth0 /var/lib/init.d/snapshot/27115/net.lo /var/lib/init.d/snapshot/27115/netmount /var/lib/init.d/snapshot/27115/ntpd /var/lib/init.d/snapshot/27115/rmnologin /var/lib/init.d/snapshot/27115/samba /var/lib/init.d/snapshot/27115/sshd /var/lib/init.d/snapshot/27115/syslog-ng /var/lib/init.d/snapshot/27115/udev-postmount /var/lib/init.d/snapshot/27115/urandom /var/lib/init.d/snapshot/27115/vixie-cron'
+ for x in '$(dolisting "${svcdir}/snapshot/$$/")'
+ x=apache2
+ [[ -x /etc/init.d/apache2 ]]
+ service_stopped apache2
+ [[ -z apache2 ]]
+ service_starting apache2
+ test_service_state apache2 starting
+ [[ -z apache2 ]]
+ [[ -z starting ]]
+ local f=/var/lib/init.d/starting/apache2
+ [[ ! -x /etc/init.d/apache2 ]]
+ [[ -e /var/lib/init.d/starting/apache2 ]]
+ service_started apache2
+ test_service_state apache2 started
+ [[ -z apache2 ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/apache2
+ [[ ! -x /etc/init.d/apache2 ]]
+ [[ -e /var/lib/init.d/started/apache2 ]]
+ return 1
+ for x in '$(dolisting "${svcdir}/snapshot/$$/")'
+ x=bootmisc
+ [[ -x /etc/init.d/bootmisc ]]
+ service_stopped bootmisc
+ [[ -z bootmisc ]]
+ service_starting bootmisc
+ test_service_state bootmisc starting
+ [[ -z bootmisc ]]
+ [[ -z starting ]]
+ local f=/var/lib/init.d/starting/bootmisc
+ [[ ! -x /etc/init.d/bootmisc ]]
+ [[ -e /var/lib/init.d/starting/bootmisc ]]
+ service_started bootmisc
+ test_service_state bootmisc started
+ [[ -z bootmisc ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/bootmisc
+ [[ ! -x /etc/init.d/bootmisc ]]
+ [[ -e /var/lib/init.d/started/bootmisc ]]
+ return 1
+ for x in '$(dolisting "${svcdir}/snapshot/$$/")'
+ x=checkfs
+ [[ -x /etc/init.d/checkfs ]]
+ service_stopped checkfs
+ [[ -z checkfs ]]
+ service_starting checkfs
+ test_service_state checkfs starting
+ [[ -z checkfs ]]
+ [[ -z starting ]]
+ local f=/var/lib/init.d/starting/checkfs
+ [[ ! -x /etc/init.d/checkfs ]]
+ [[ -e /var/lib/init.d/starting/checkfs ]]
+ service_started checkfs
+ test_service_state checkfs started
+ [[ -z checkfs ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/checkfs
+ [[ ! -x /etc/init.d/checkfs ]]
+ [[ -e /var/lib/init.d/started/checkfs ]]
+ return 1
+ for x in '$(dolisting "${svcdir}/snapshot/$$/")'
+ x=checkroot
+ [[ -x /etc/init.d/checkroot ]]
+ service_stopped checkroot
+ [[ -z checkroot ]]
+ service_starting checkroot
+ test_service_state checkroot starting
+ [[ -z checkroot ]]
+ [[ -z starting ]]
+ local f=/var/lib/init.d/starting/checkroot
+ [[ ! -x /etc/init.d/checkroot ]]
+ [[ -e /var/lib/init.d/starting/checkroot ]]
+ service_started checkroot
+ test_service_state checkroot started
+ [[ -z checkroot ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/checkroot
+ [[ ! -x /etc/init.d/checkroot ]]
+ [[ -e /var/lib/init.d/started/checkroot ]]
+ return 1
+ for x in '$(dolisting "${svcdir}/snapshot/$$/")'
+ x=clock
+ [[ -x /etc/init.d/clock ]]
+ service_stopped clock
+ [[ -z clock ]]
+ service_starting clock
+ test_service_state clock starting
+ [[ -z clock ]]
+ [[ -z starting ]]
+ local f=/var/lib/init.d/starting/clock
+ [[ ! -x /etc/init.d/clock ]]
+ [[ -e /var/lib/init.d/starting/clock ]]
+ service_started clock
+ test_service_state clock started
+ [[ -z clock ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/clock
+ [[ ! -x /etc/init.d/clock ]]
+ [[ -e /var/lib/init.d/started/clock ]]
+ return 1
+ for x in '$(dolisting "${svcdir}/snapshot/$$/")'
+ x=consolefont
+ [[ -x /etc/init.d/consolefont ]]
+ service_stopped consolefont
+ [[ -z consolefont ]]
+ service_starting consolefont
+ test_service_state consolefont starting
+ [[ -z consolefont ]]
+ [[ -z starting ]]
+ local f=/var/lib/init.d/starting/consolefont
+ [[ ! -x /etc/init.d/consolefont ]]
+ [[ -e /var/lib/init.d/starting/consolefont ]]
+ service_started consolefont
+ test_service_state consolefont started
+ [[ -z consolefont ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/consolefont
+ [[ ! -x /etc/init.d/consolefont ]]
+ [[ -e /var/lib/init.d/started/consolefont ]]
+ return 1
+ for x in '$(dolisting "${svcdir}/snapshot/$$/")'
+ x=hostname
+ [[ -x /etc/init.d/hostname ]]
+ service_stopped hostname
+ [[ -z hostname ]]
+ service_starting hostname
+ test_service_state hostname starting
+ [[ -z hostname ]]
+ [[ -z starting ]]
+ local f=/var/lib/init.d/starting/hostname
+ [[ ! -x /etc/init.d/hostname ]]
+ [[ -e /var/lib/init.d/starting/hostname ]]
+ service_started hostname
+ test_service_state hostname started
+ [[ -z hostname ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/hostname
+ [[ ! -x /etc/init.d/hostname ]]
+ [[ -e /var/lib/init.d/started/hostname ]]
+ return 1
+ for x in '$(dolisting "${svcdir}/snapshot/$$/")'
+ x=keymaps
+ [[ -x /etc/init.d/keymaps ]]
+ service_stopped keymaps
+ [[ -z keymaps ]]
+ service_starting keymaps
+ test_service_state keymaps starting
+ [[ -z keymaps ]]
+ [[ -z starting ]]
+ local f=/var/lib/init.d/starting/keymaps
+ [[ ! -x /etc/init.d/keymaps ]]
+ [[ -e /var/lib/init.d/starting/keymaps ]]
+ service_started keymaps
+ test_service_state keymaps started
+ [[ -z keymaps ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/keymaps
+ [[ ! -x /etc/init.d/keymaps ]]
+ [[ -e /var/lib/init.d/started/keymaps ]]
+ return 1
+ for x in '$(dolisting "${svcdir}/snapshot/$$/")'
+ x=local
+ [[ -x /etc/init.d/local ]]
+ service_stopped local
+ [[ -z local ]]
+ service_starting local
+ test_service_state local starting
+ [[ -z local ]]
+ [[ -z starting ]]
+ local f=/var/lib/init.d/starting/local
+ [[ ! -x /etc/init.d/local ]]
+ [[ -e /var/lib/init.d/starting/local ]]
+ service_started local
+ test_service_state local started
+ [[ -z local ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/local
+ [[ ! -x /etc/init.d/local ]]
+ [[ -e /var/lib/init.d/started/local ]]
+ return 1
+ for x in '$(dolisting "${svcdir}/snapshot/$$/")'
+ x=localmount
+ [[ -x /etc/init.d/localmount ]]
+ service_stopped localmount
+ [[ -z localmount ]]
+ service_starting localmount
+ test_service_state localmount starting
+ [[ -z localmount ]]
+ [[ -z starting ]]
+ local f=/var/lib/init.d/starting/localmount
+ [[ ! -x /etc/init.d/localmount ]]
+ [[ -e /var/lib/init.d/starting/localmount ]]
+ service_started localmount
+ test_service_state localmount started
+ [[ -z localmount ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/localmount
+ [[ ! -x /etc/init.d/localmount ]]
+ [[ -e /var/lib/init.d/started/localmount ]]
+ return 1
+ for x in '$(dolisting "${svcdir}/snapshot/$$/")'
+ x=modules
+ [[ -x /etc/init.d/modules ]]
+ service_stopped modules
+ [[ -z modules ]]
+ service_starting modules
+ test_service_state modules starting
+ [[ -z modules ]]
+ [[ -z starting ]]
+ local f=/var/lib/init.d/starting/modules
+ [[ ! -x /etc/init.d/modules ]]
+ [[ -e /var/lib/init.d/starting/modules ]]
+ service_started modules
+ test_service_state modules started
+ [[ -z modules ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/modules
+ [[ ! -x /etc/init.d/modules ]]
+ [[ -e /var/lib/init.d/started/modules ]]
+ return 1
+ for x in '$(dolisting "${svcdir}/snapshot/$$/")'
+ x=mysql
+ [[ -x /etc/init.d/mysql ]]
+ service_stopped mysql
+ [[ -z mysql ]]
+ service_starting mysql
+ test_service_state mysql starting
+ [[ -z mysql ]]
+ [[ -z starting ]]
+ local f=/var/lib/init.d/starting/mysql
+ [[ ! -x /etc/init.d/mysql ]]
+ [[ -e /var/lib/init.d/starting/mysql ]]
+ service_started mysql
+ test_service_state mysql started
+ [[ -z mysql ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/mysql
+ [[ ! -x /etc/init.d/mysql ]]
+ [[ -e /var/lib/init.d/started/mysql ]]
+ return 1
+ for x in '$(dolisting "${svcdir}/snapshot/$$/")'
+ x=net.eth0
+ [[ -x /etc/init.d/net.eth0 ]]
+ service_stopped net.eth0
+ [[ -z net.eth0 ]]
+ service_starting net.eth0
+ test_service_state net.eth0 starting
+ [[ -z net.eth0 ]]
+ [[ -z starting ]]
+ local f=/var/lib/init.d/starting/net.eth0
+ [[ ! -x /etc/init.d/net.eth0 ]]
+ [[ -e /var/lib/init.d/starting/net.eth0 ]]
+ service_started net.eth0
+ test_service_state net.eth0 started
+ [[ -z net.eth0 ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/net.eth0
+ [[ ! -x /etc/init.d/net.eth0 ]]
+ [[ -e /var/lib/init.d/started/net.eth0 ]]
+ return 1
+ for x in '$(dolisting "${svcdir}/snapshot/$$/")'
+ x=net.lo
+ [[ -x /etc/init.d/net.lo ]]
+ service_stopped net.lo
+ [[ -z net.lo ]]
+ service_starting net.lo
+ test_service_state net.lo starting
+ [[ -z net.lo ]]
+ [[ -z starting ]]
+ local f=/var/lib/init.d/starting/net.lo
+ [[ ! -x /etc/init.d/net.lo ]]
+ [[ -e /var/lib/init.d/starting/net.lo ]]
+ service_started net.lo
+ test_service_state net.lo started
+ [[ -z net.lo ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/net.lo
+ [[ ! -x /etc/init.d/net.lo ]]
+ [[ -e /var/lib/init.d/started/net.lo ]]
+ return 1
+ for x in '$(dolisting "${svcdir}/snapshot/$$/")'
+ x=netmount
+ [[ -x /etc/init.d/netmount ]]
+ service_stopped netmount
+ [[ -z netmount ]]
+ service_starting netmount
+ test_service_state netmount starting
+ [[ -z netmount ]]
+ [[ -z starting ]]
+ local f=/var/lib/init.d/starting/netmount
+ [[ ! -x /etc/init.d/netmount ]]
+ [[ -e /var/lib/init.d/starting/netmount ]]
+ service_started netmount
+ test_service_state netmount started
+ [[ -z netmount ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/netmount
+ [[ ! -x /etc/init.d/netmount ]]
+ [[ -e /var/lib/init.d/started/netmount ]]
+ return 1
+ for x in '$(dolisting "${svcdir}/snapshot/$$/")'
+ x=ntpd
+ [[ -x /etc/init.d/ntpd ]]
+ service_stopped ntpd
+ [[ -z ntpd ]]
+ service_starting ntpd
+ test_service_state ntpd starting
+ [[ -z ntpd ]]
+ [[ -z starting ]]
+ local f=/var/lib/init.d/starting/ntpd
+ [[ ! -x /etc/init.d/ntpd ]]
+ [[ -e /var/lib/init.d/starting/ntpd ]]
+ service_started ntpd
+ test_service_state ntpd started
+ [[ -z ntpd ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/ntpd
+ [[ ! -x /etc/init.d/ntpd ]]
+ [[ -e /var/lib/init.d/started/ntpd ]]
+ return 1
+ for x in '$(dolisting "${svcdir}/snapshot/$$/")'
+ x=rmnologin
+ [[ -x /etc/init.d/rmnologin ]]
+ service_stopped rmnologin
+ [[ -z rmnologin ]]
+ service_starting rmnologin
+ test_service_state rmnologin starting
+ [[ -z rmnologin ]]
+ [[ -z starting ]]
+ local f=/var/lib/init.d/starting/rmnologin
+ [[ ! -x /etc/init.d/rmnologin ]]
+ [[ -e /var/lib/init.d/starting/rmnologin ]]
+ service_started rmnologin
+ test_service_state rmnologin started
+ [[ -z rmnologin ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/rmnologin
+ [[ ! -x /etc/init.d/rmnologin ]]
+ [[ -e /var/lib/init.d/started/rmnologin ]]
+ return 1
+ for x in '$(dolisting "${svcdir}/snapshot/$$/")'
+ x=samba
+ [[ -x /etc/init.d/samba ]]
+ service_stopped samba
+ [[ -z samba ]]
+ service_starting samba
+ test_service_state samba starting
+ [[ -z samba ]]
+ [[ -z starting ]]
+ local f=/var/lib/init.d/starting/samba
+ [[ ! -x /etc/init.d/samba ]]
+ [[ -e /var/lib/init.d/starting/samba ]]
+ service_started samba
+ test_service_state samba started
+ [[ -z samba ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/samba
+ [[ ! -x /etc/init.d/samba ]]
+ [[ -e /var/lib/init.d/started/samba ]]
+ return 1
+ for x in '$(dolisting "${svcdir}/snapshot/$$/")'
+ x=sshd
+ [[ -x /etc/init.d/sshd ]]
+ service_stopped sshd
+ [[ -z sshd ]]
+ service_starting sshd
+ test_service_state sshd starting
+ [[ -z sshd ]]
+ [[ -z starting ]]
+ local f=/var/lib/init.d/starting/sshd
+ [[ ! -x /etc/init.d/sshd ]]
+ [[ -e /var/lib/init.d/starting/sshd ]]
+ service_started sshd
+ test_service_state sshd started
+ [[ -z sshd ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/sshd
+ [[ ! -x /etc/init.d/sshd ]]
+ [[ -e /var/lib/init.d/started/sshd ]]
+ return 1
+ for x in '$(dolisting "${svcdir}/snapshot/$$/")'
+ x=syslog-ng
+ [[ -x /etc/init.d/syslog-ng ]]
+ service_stopped syslog-ng
+ [[ -z syslog-ng ]]
+ service_starting syslog-ng
+ test_service_state syslog-ng starting
+ [[ -z syslog-ng ]]
+ [[ -z starting ]]
+ local f=/var/lib/init.d/starting/syslog-ng
+ [[ ! -x /etc/init.d/syslog-ng ]]
+ [[ -e /var/lib/init.d/starting/syslog-ng ]]
+ service_started syslog-ng
+ test_service_state syslog-ng started
+ [[ -z syslog-ng ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/syslog-ng
+ [[ ! -x /etc/init.d/syslog-ng ]]
+ [[ -e /var/lib/init.d/started/syslog-ng ]]
+ return 1
+ for x in '$(dolisting "${svcdir}/snapshot/$$/")'
+ x=udev-postmount
+ [[ -x /etc/init.d/udev-postmount ]]
+ service_stopped udev-postmount
+ [[ -z udev-postmount ]]
+ service_starting udev-postmount
+ test_service_state udev-postmount starting
+ [[ -z udev-postmount ]]
+ [[ -z starting ]]
+ local f=/var/lib/init.d/starting/udev-postmount
+ [[ ! -x /etc/init.d/udev-postmount ]]
+ [[ -e /var/lib/init.d/starting/udev-postmount ]]
+ service_started udev-postmount
+ test_service_state udev-postmount started
+ [[ -z udev-postmount ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/udev-postmount
+ [[ ! -x /etc/init.d/udev-postmount ]]
+ [[ -e /var/lib/init.d/started/udev-postmount ]]
+ return 1
+ for x in '$(dolisting "${svcdir}/snapshot/$$/")'
+ x=urandom
+ [[ -x /etc/init.d/urandom ]]
+ service_stopped urandom
+ [[ -z urandom ]]
+ service_starting urandom
+ test_service_state urandom starting
+ [[ -z urandom ]]
+ [[ -z starting ]]
+ local f=/var/lib/init.d/starting/urandom
+ [[ ! -x /etc/init.d/urandom ]]
+ [[ -e /var/lib/init.d/starting/urandom ]]
+ service_started urandom
+ test_service_state urandom started
+ [[ -z urandom ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/urandom
+ [[ ! -x /etc/init.d/urandom ]]
+ [[ -e /var/lib/init.d/started/urandom ]]
+ return 1
+ for x in '$(dolisting "${svcdir}/snapshot/$$/")'
+ x=vixie-cron
+ [[ -x /etc/init.d/vixie-cron ]]
+ service_stopped vixie-cron
+ [[ -z vixie-cron ]]
+ service_starting vixie-cron
+ test_service_state vixie-cron starting
+ [[ -z vixie-cron ]]
+ [[ -z starting ]]
+ local f=/var/lib/init.d/starting/vixie-cron
+ [[ ! -x /etc/init.d/vixie-cron ]]
+ [[ -e /var/lib/init.d/starting/vixie-cron ]]
+ service_started vixie-cron
+ test_service_state vixie-cron started
+ [[ -z vixie-cron ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/vixie-cron
+ [[ ! -x /etc/init.d/vixie-cron ]]
+ [[ -e /var/lib/init.d/started/vixie-cron ]]
+ return 1
+ rm -rf /var/lib/init.d/snapshot/27115
+ service_started slapd
+ test_service_state slapd started
+ [[ -z slapd ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/slapd
+ [[ ! -x /etc/init.d/slapd ]]
+ [[ -e /var/lib/init.d/started/slapd ]]
+ [[ ' !=
ue ]]
+ [[ ' != 1 ]]
+ [[ no == yes ]]
+ return 1
+ retval=1
+ exit 1

Ward Poelmans 05-22-2010 06:37 PM

Cannot start Slapd (OpenLDAP)
 
On Sat, May 22, 2010 at 19:23, Christopher Kurtis Koeber
<ckoeber@gmail.com> wrote:
> OK, I did that, but the output is hard to parse through. Attached is text of
> this command:
>
> /etc/init.d/slapd --debug restart

That puts the debug of the init scripts on, not of openldap. Try:
slapd -d 65535

That should give you all the debugging output of slapd.

Ward

Kaddeh 05-22-2010 07:13 PM

Cannot start Slapd (OpenLDAP)
 
or...
you could run slaptest and get some failure output.
I noticed that my slapd was having issues too, I managed to track it down to a bdb version mismatch

miniroute ~ # slaptest
bdb_back_initialize: BDB library version mismatch: expected Berkeley DB 4.8.26: (2010-03-14), got Berkeley DB 4.8.30: (2010-05-03)

backend_init: initialized for type "bdb"
slaptest: slap_init failed!
miniroute ~ #
*

On Sat, May 22, 2010 at 11:37 AM, Ward Poelmans <wpoely86@gmail.com> wrote:

On Sat, May 22, 2010 at 19:23, Christopher Kurtis Koeber

<ckoeber@gmail.com> wrote:

> OK, I did that, but the output is hard to parse through. Attached is text of

> this command:

>

> /etc/init.d/slapd --debug restart



That puts the debug of the init scripts on, not of openldap. Try:

slapd -d 65535



That should give you all the debugging output of slapd.



Ward

"Christopher Kurtis Koeber" 05-22-2010 07:26 PM

Cannot start Slapd (OpenLDAP)
 
Hey! Thanks! Much better than sifting in the dark :)
*
Here is my output:
*
XXXXXXXXXX~ # slaptest
hdb_db_open: warning - no DB_CONFIG file found in directory /var/lib/openldap-data: (2).
Expect poor performance for suffix "dc= XXXXXXXXXXXX,dc=XXX".
hdb_db_open: database "dc= XXXXXXXXXXXX,dc=XXX": db_open(/var/lib/openldap-data/id2entry.bdb) failed: No such file or directory (2).
backend_startup_one (type=hdb, suffix="dc=XXXXXXXXXXXX,dc=XXX"): bi_db_open failed! (2)
slap_startup failed (test would succeed using the -u switch)
*
So, I am guessing I need to initialize somehow? Is that right?
*
Thanks again.
*
Regards,
*
Christopher Kurtis Koeber
(W): (202) 885-8654
(C): (301) 467-8417
http://www.chriskoeber.com
*
From: Kaddeh [mailto:kaddeh@gmail.com]
Sent: Saturday, May 22, 2010 3:13 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Cannot start Slapd (OpenLDAP)
*
or...
you could run slaptest and get some failure output.
I noticed that my slapd was having issues too, I managed to track it down to a bdb version mismatch

miniroute ~ # slaptest
bdb_back_initialize: BDB library version mismatch: expected Berkeley DB 4.8.26: (2010-03-14), got Berkeley DB 4.8.30: (2010-05-03)
backend_init: initialized for type "bdb"
slaptest: slap_init failed!
miniroute ~ #
*
On Sat, May 22, 2010 at 11:37 AM, Ward Poelmans <wpoely86@gmail.com> wrote:
On Sat, May 22, 2010 at 19:23, Christopher Kurtis Koeber
<ckoeber@gmail.com> wrote:
> OK, I did that, but the output is hard to parse through. Attached is text of
> this command:
>
> /etc/init.d/slapd --debug restart
That puts the debug of the init scripts on, not of openldap. Try:
slapd -d 65535

That should give you all the debugging output of slapd.

Ward
*

Ward Poelmans 05-22-2010 07:31 PM

Cannot start Slapd (OpenLDAP)
 
On Sat, May 22, 2010 at 21:26, Christopher Kurtis Koeber
<ckoeber@gmail.com> wrote:

> XXXXXXXXXX~ # slaptest
>
> hdb_db_open: warning - no DB_CONFIG file found in directory
> /var/lib/openldap-data: (2).
>
> Expect poor performance for suffix "dc= XXXXXXXXXXXX,dc=XXX".
>
> hdb_db_open: database "dc= XXXXXXXXXXXX,dc=XXX":
> db_open(/var/lib/openldap-data/id2entry.bdb) failed: No such file or
> directory (2).
>
> backend_startup_one (type=hdb, suffix="dc=XXXXXXXXXXXX,dc=XXX"): bi_db_open
> failed! (2)
>
> slap_startup failed (test would succeed using the -u switch)
>
> So, I am guessing I need to initialize somehow? Is that right?

Normally, if the directory /var/lib/openldap-data/ exists and is
read-writeable for the user under which slapd is running, slapd
creates the database for you. But you beter copy a DB_CONFIG to there
for good perfomance.

Ward

Indexer 05-23-2010 02:14 AM

Cannot start Slapd (OpenLDAP)
 
On 23/05/2010, at 2:09 AM, Robin Atwood wrote:

> On Saturday 22 May 2010, Christopher Kurtis Koeber wrote:
>> When I go to /var/log/messages nothing is logged there. Anything I can do
>> to fix this?
>
> Oh wait, /var/log/ldaplog is my customisation of syslog-ng. But slapd messages
> should be written with facility "local4". Trying it with the --debug option on
> the command line.

The easiest way to find why your ldap server wont start is to run the command

slapd -4 -d 256

which translates to run in ipv4 only with debug level of 256. If the server wont start the first few messages should highlight your error.

William

Christopher Koeber 05-24-2010 03:43 PM

Cannot start Slapd (OpenLDAP)
 
On 5/22/10, Indexer <indexer@internode.on.net> wrote:
> On 23/05/2010, at 2:09 AM, Robin Atwood wrote:
>
>> On Saturday 22 May 2010, Christopher Kurtis Koeber wrote:
>>> When I go to /var/log/messages nothing is logged there. Anything I can do
>>> to fix this?
>>
>> Oh wait, /var/log/ldaplog is my customisation of syslog-ng. But slapd
>> messages
>> should be written with facility "local4". Trying it with the --debug
>> option on
>> the command line.
>
> The easiest way to find why your ldap server wont start is to run the
> command
>
> slapd -4 -d 256
>
> which translates to run in ipv4 only with debug level of 256. If the server
> wont start the first few messages should highlight your error.
>
> William


I tried to run this command but I get a "command not found". The
/etc/init.d/slapd resource script doesn't accept the arguments you
mentioned.

Do I changeoever to a different directory to run the command?

Thanks.

--
Regards,
Christopher Koeber


All times are GMT. The time now is 07:29 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.