[
https://issues.apache.org/jira/browse/DIRSERVER-1843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Jamieson reopened DIRSERVER-1843:
---------------------------------------
This is happening in 2.0.0_M21 under CentOS 6.7.
I think that, when i reboot the server, the process is being killed and the pid
file not cleaned up.
in wrapper.log
{noformat}
WARN | wrapper | 2016/02/12 13:17:06 | JVM process was still running after
receiving a SIGCHLD signal.
STATUS | wrapper | 2016/02/12 13:17:06 | TERM trapped. Shutting down.
WARN | wrapper | 2016/02/12 13:17:06 | JVM process was still running after
receiving a SIGCHLD signal.
{noformat}
then status, stop and start are broken: -
{noformat}
controlcenter:root *#/etc/init.d/apacheds status
ApacheDS - default is running (18221).
controlcenter:root *#/etc/init.d/apacheds stop
Stopping ApacheDS - default...
/opt/apacheds-2.0.0_M21/bin/apacheds: line 419: kill: (18221) - No such process
Unable to stop ApacheDS - default.
controlcenter:root *#/etc/init.d/apacheds start
Starting ApacheDS - default...
ApacheDS - default is already running.
controlcenter:root *#ps -ef | grep 18221
root 11257 3611 0 13:24 pts/2 00:00:00 grep 18221
{noformat}
> Unable to Start/Stop Apache DS on RHEL
> --------------------------------------
>
> Key: DIRSERVER-1843
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1843
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 2.0.0-M10
> Environment: RHEL 6.1
> Reporter: RakeshAcharya
> Priority: Blocker
>
> Unable to start/Stop apache DS, there seems to be a stale process running
> even after restarting the server it didn't resolve the issue.
> STOP:
> [root]# sudo service apacheds-2.0.0_M10-default restart
> Stopping ApacheDS - default...
> /opt/apacheds-2.0.0_M10/bin/apacheds: line 418: kill: (8440) - No such process
> Unable to stop ApacheDS - default.
> START:
> [root@]# sudo service apacheds-2.0.0_M10-default start
> Starting ApacheDS - default...
> ApacheDS - default is already running.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)