Danil created DAEMON-317: ---------------------------- Summary: Procrun service stop fail Key: DAEMON-317 URL: https://issues.apache.org/jira/browse/DAEMON-317 Project: Commons Daemon Issue Type: Bug Components: Procrun Affects Versions: 1.0.15 Reporter: Danil
After trying to stop service via windows services I had got in serviceerr.log: The service cannot accept control messages at this time. Failed to stop service But after some time service stops correct. When we starting service in console mode and stoping it by cntl+c service stopping correct and error not appearing. service-daemon.log: [2014-05-14 19:15:50] [info] [ 5676] Commons Daemon procrun (1.0.15.0 64-bit) started [2014-05-14 19:15:50] [info] [ 5676] Stopping service 'XX' ... [2014-05-14 19:15:50] [info] [ 8272] Stopping service... [2014-05-14 19:15:50] [info] [ 620] Commons Daemon procrun (1.0.15.0 64-bit) started [2014-05-14 19:15:50] [info] [ 620] Stopping service 'XX' ... [2014-05-14 19:15:51] [info] [ 8272] Service stop thread completed. [2014-05-14 19:15:51] [error] [ 620] Failed to stop 'XX' service [2014-05-14 19:15:51] [error] [ 620] The service cannot accept control messages at this time. [2014-05-14 19:15:51] [info] [ 620] Stop service finished. [2014-05-14 19:15:51] [error] [ 620] Commons Daemon procrun failed with exit value: 6 (Failed to stop service) [2014-05-14 19:15:52] [error] [ 620] The service cannot accept control messages at this time. [2014-05-14 19:16:51] [info] [ 4984] Run service finished. [2014-05-14 19:16:51] [info] [ 4984] Commons Daemon procrun finished [2014-05-14 19:16:57] [info] [ 5676] Service 'XX' stopped [2014-05-14 19:16:57] [info] [ 5676] Stop service finished. [2014-05-14 19:16:58] [info] [ 5676] Commons Daemon procrun finished -- This message was sent by Atlassian JIRA (v6.2#6252)