Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot stop Windows Service #203

Open
jachin84 opened this issue Jul 6, 2015 · 3 comments
Open

Cannot stop Windows Service #203

jachin84 opened this issue Jul 6, 2015 · 3 comments

Comments

@jachin84
Copy link
Contributor

jachin84 commented Jul 6, 2015

I've installed mmbot as a Windows service but when attempting to stop the service I receive the message:

Error 1061: The service cannot accept control messages at this time.

@PeteGoo
Copy link
Member

PeteGoo commented Jul 6, 2015

Is there anything else in the event log?

Does it start directly from a command prompt?

@jachin84
Copy link
Contributor Author

jachin84 commented Jul 6, 2015

Sorry I should have checked. The event log has an error:

Failed to stop service. System.Runtime.Remoting.RemotingException: Object '/3c782d23_223e_4d55_9b33_c7177775871b/kvkpjymornpcwnlxixqnqj6u_3.rem' has been disconnected or does not exist at the server.
   at mmbot.RobotWrapper.Stop()
   at mmbot.RobotRunner.Stop() in c:\Data\Source\mmbot\mmbot\RobotRunner.cs:line 35
   at mmbot.Service.OnStop() in c:\Data\Source\mmbot\mmbot\Service.cs:line 42
   at System.ServiceProcess.ServiceBase.DeferredStop()```

I've not had any issues running it via the command line yet.

@jjnsx29
Copy link
Contributor

jjnsx29 commented Sep 10, 2015

I'm seeing this exact issue as well when running mmbot as a Windows service. Also, not sure it is related, but after a few hours it seems to "hang" and not receive any more messages (using HipChatAdapter). Since I can't stop/restart the service, I have to use Task Manager to kill the process and manually start it up again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants