Anope IRC Services

Anope Support => 1.8.x/1.7.x Support (Read Only) => Topic started by: asmerisme on May 13, 2010, 12:44:50 PM

Title: Unable to launch anope as service windows 7
Post by: asmerisme on May 13, 2010, 12:44:50 PM
Hello,

I compile by myself anope on windows 7 (in order to get my old modules I used under linux) and everything is fine.
I also compile my own Unrealircd and they link fine with my old configs (even my old module are still supported !)

Then I tryied to set them as windows services and it's good for unreal (with sc), anope service creation is also ok for anope, but unable to start, I get the message :

Error 1053: "The service did not respond to the start or control request in a timely fashion"

I added paths in the registry as asked in the tutorial, but still the same problem.

Thx for answer !


Title: Re: Unable to launch anope as service windows 7
Post by: asmerisme on May 13, 2010, 01:14:28 PM
Hello !

I finally found the answer by myself...
Anope can't be run as service because it is not coded as a service.
I have to reg Srvany.exe as service and then it runs anope thanks to the added keys in the registry, but anope is still a common program !
Every thing is fine !

But I didn't use Instsrv.exe to reg service but "sc"

As administrator in console mode => sc create anope binPath= "C:\Program Files (x86)\Windows Resource Kits\Tools\srvany.exe" DisplayName= "Anope IRC Service"