Re: Windows services in PERL



<harvar007@xxxxxxxxx> wrote in message
news:1152813368.512910.284680@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi

I am trying to create a win32 service using the module win32:deamon. I
wrote a simple code and tried to get that running before I went to the
actual one. I am actually able to successfully create the service and
see the same in the Management Console, but when I try to right click
and say Start I get "error :1053 the service did not respond or start
to the control request in a timely fashion"

Have you googled the error? If you do, you'll find that there are a
couple of possible ways to generate that error. Some under the
control of your code (like not responding to the start before the
SCM timeout) or caused by OS issues such as the wrong account or
rights. Some of these depend on which version of Windows you are
using.

At a guess, if the error appears in a few seconds it's probably a
user account issue on the machine. If it takes 30 seconds or more,
then it's probably the SCM timeout.

-Wm




.