If you are like me and you power off your local Linux (CentOS) VM’s and ApacheDS is not shutdown correctly.
When you try to start ApacheDS you get the following error:
[root@localhost ~]# /etc/init.d/apacheds-2.0.0_M19-default start groups: @group@: no such user Starting ApacheDS - default... ApacheDS - default is already running.
You know ApacheDS is not running, and the Firewall has the correct port open, so what’s the problem? Well it is simple. There is a pid file still existing.
To remove the pid, change directory to the current instance run folder for example:
/var/lib/apacheds-2.0.0_M19/default/run
Remove the pid file
rm apacheds-default.pid
Start Apache DS
Result:
[root@localhost run]# /etc/init.d/apacheds-2.0.0_M19-default start groups: @group@: no such user Starting ApacheDS - default...