restarting slapd and slurpd
Dear All,
I've configured slapd and slurpd on my woody box and everything
works fine, except when I restart slapd, init script complains about
missing pid of slurpd:
lexa:/home# ps -ef|egrep 'slapd|slurpd'
root 21418 1 0 13:37 ? 00:00:00 /usr/sbin/slapd
root 21420 1 0 13:37 ? 00:00:00 /usr/sbin/slurpd -t /var/spool/slurpd
root 21421 21418 0 13:37 ? 00:00:00 /usr/sbin/slapd
root 21422 21420 0 13:37 ? 00:00:00 /usr/sbin/slurpd -t /var/spool/slurpd
root 21423 21422 0 13:37 ? 00:00:00 /usr/sbin/slurpd -t /var/spool/slurpd
root 21424 21421 0 13:37 ? 00:00:00 /usr/sbin/slapd
root 21425 21422 0 13:37 ? 00:00:00 /usr/sbin/slurpd -t /var/spool/slurpd
root 21477 17672 0 14:39 pts/0 00:00:00 egrep slapd|slurpd
lexa:/home#
lexa:/home# /etc/init.d/slapd restart
Stopping OpenLDAP: slapd slurpdstart-stop-daemon: warning: failed to kill 21423: No such process
start-stop-daemon: warning: failed to kill 21422: No such process
start-stop-daemon: warning: failed to kill 21420: No such process
.
Starting OpenLDAP: slapd slurpd.
lexa:/home#
I think it kills 1st slurpd (which are threads actually?) start-stop-daemon
tryes to kill other slurpds which are gone already. Just want to know if
it is normal behavior.
--
Best regards,
Alexey Chetroi
---
Smile... Tomorrow will be worse. (c) Murphy's law
Reply to: