[Date Prev][Date Next]
Re: cannot kill slapd from openldap-1.2.11
It is not by design.
If you do a simple "kill" on the pid of the slapd process, and
it doesn't go away, then something is wrong. Kurt mentioned something
recently about FreeBSD4.0 having thread problems in the earlier
releases. Upgrading your FreeBSD would be a good place to start.
Go to the mailing list archives and search on FreeBSD to see what
you can find, especially in the last month.
Kill -9 is a bad idea (unless there's no other way) as it gives slapd
no opportunity to clean up, which could in some cases corrupt your database.
> I hope this may not be the design of ldap.This may
> happen because you may have run slapd in back ground.
> So in Unix when you run a process is run in
> background, it becomes independent of the terminal and
> hence killall doesn't work. If you specify killall -9
> you are killing the process irrespective of the
> terminal. I think this may be the reason.
> --- Victor Sudakov <firstname.lastname@example.org> wrote: >
> > I am running openldap-1.2.11 from the ports
> > collection of FreeBSD 4.0
> > as a corporate address book.
> > The problem is I cannot correctly stop slapd. If I
> > 'killall slapd', it
> > does not die and remains in the 'ps' output. Only
> > 'killall -9 slapd'
> > kills it.
> > It this by design?
> > Thanks for any input.
> > --
> > Victor Sudakov, VAS4-RIPE, VAS47-RIPN
> > 2:5005/149@fidonet http://vas.tomsk.ru/
> Do You Yahoo!?
> Get Yahoo! Mail _ Free email you can access from anywhere!