[RESOLVED]Slapd process doesn't stop

ultreja's picture


this is my first topic on this forum.

i need to resolve a problem with a process.
i installed and configured slapd (for ldap server) on debian squeeze but i have this situation:

slapd is stopped
run "slapd -1 -d" for debug --->it works
checking its pid "pgrep slapd" --->2227
ctrl c to stop slapd ---> slapd is stopped
pgrep slapd ---> empty

slapd is stopped
run "/etc/init.d/slapd start"--->it works
checking its pid "pgrep slaps"--->2237
stopping slapd "/etc/init.d/slapd stop"---> slapd is stopped
pgrep slapd--->2237 -the process is still active-
starting slapd "/etc/init.d/slapd start" ---> failed

why stopping slapd "/etc/init.d/slapd stop" doesn't free the PID?

hope someone could me explain it!