[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: How can I stop multiple slapd?



Hi,

ZhangPu wrote:
> 
> Hi,
> 
> Thanks a lot.
> But I found ... m_@
> ...
> the first slapd was killed successfully,
> but the second ,the third...(which behind the first)still not be killed
> success.
> 
> like this:
> 
> # ps -ef | grep slapd
> root      2534     1  0 19:14 ?        00:00:00 /usr/local/libexec/slapd
> root      2535  2534  0 19:14 ?        00:00:00 /usr/local/libexec/slapd
> root      2536  2535  0 19:14 ?        00:00:00 /usr/local/libexec/slapd
> root      2540     1  0 19:14 ?        00:00:00 /usr/local/libexec/slapd
> root      2541  2540  0 19:14 ?        00:00:00 /usr/local/libexec/slapd
> root      2542  2541  0 19:14 ?        00:00:00 /usr/local/libexec/slapd
> root      2546  2497  0 19:14 pts/6    00:00:00 grep slapd
> # kill -INT 2534
> # ps -ef | grep slapd
> root      2540     1  0 19:14 ?        00:00:00 /usr/local/libexec/slapd
> root      2541  2540  0 19:14 ?        00:00:00 /usr/local/libexec/slapd
> root      2542  2541  0 19:14 ?        00:00:00 /usr/local/libexec/slapd
> root      2552  2497  0 19:15 pts/6    00:00:00 grep slapd
> 

Do you start two different slapd (master/replica) ?

If yes, then you have to do the process twice,
for master and for replica ....

Look how much *.pid-files you have !
greets Harry