Description of problem:
When the Directory Server abnormally exits and leaves PID files, the pid rarely
matches the pid of other existing process. It prevents the server's start.
Step to reproduce:
$ ps -ef | egrep 1111
nhosoi 1111 9492 0 Jun22 pts/2 00:00:00 vim bogus
# stop the server:
# create pid files that store the existing pid 1111:
$ echo 1111 > var/run/fedora-ds/slapd-laputa.pid
$ echo 1111 > var/run/fedora-ds/slapd-laputa.startpid
# start the server:
There is an ns-slapd process already running: 1111
The check is being done in start-slapd. We could check the process name and
remove the pid files and start the server if the process is not ns-slapd.
*** This bug has been marked as a duplicate of 245894 ***