Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > python service running on Win Xp, but failing on Win NT Workstation :(

Reply
Thread Tools

python service running on Win Xp, but failing on Win NT Workstation :(

 
 
Ringwraith
Guest
Posts: n/a
 
      01-26-2004
Hello!



I have implemented a Windows Service in Python. It works on Windows XP
properly and logs in Event Viever any 'started' or "stopped" events.

The problem appeared when I tried to start it on Windows NT Workstation.



The following error entry appeared in Event Viewer while starting it.



"The Purge Log Files Service service failed to start due to the following
error:

The service did not respond to the start or control request in a timely
fashion.





Timeout (120000 milliseconds) waiting for service to connect. "



Any ideas what could caused the problem?



I can send the code if necessary.



Thank you in advance,



Nazgul



 
Reply With Quote
 
 
 
 
Giles Brown
Guest
Posts: n/a
 
      01-26-2004
"Ringwraith" <(E-Mail Removed)> wrote in message news:<bv3bs0$la0$(E-Mail Removed)>...
<snip>
> "The Purge Log Files Service service failed to start due to the following
> error:
> The service did not respond to the start or control request in a timely
> fashion.
>
> Timeout (120000 milliseconds) waiting for service to connect. "
>
>
>
> Any ideas what could caused the problem?


No idea what caused the problem. I would suggest you "import win32traceutil",
stick some print statements in early on in your code and start the
"Trace Collector Debugging tool" from the Tools menu of PythonWin.

Hth,
Giles
 
Reply With Quote
 
 
 
 
Ringwraith
Guest
Posts: n/a
 
      01-26-2004
maybe another hint ...

While installing I got the error message:

"The procedure entry point RegisterServiceCtrlHandlerExW
could not be located in the dynamic link library ADVAPI32.dll"

Best wishes,

Sylwia -> aka Nazgul


 
Reply With Quote
 
Mark Hammond
Guest
Posts: n/a
 
      01-26-2004
Ringwraith wrote:

> maybe another hint ...
>
> While installing I got the error message:
>
> "The procedure entry point RegisterServiceCtrlHandlerExW
> could not be located in the dynamic link library ADVAPI32.dll"
>


Slowly but surely, support for Win95 and NT are being dropped off
(generally in the process of enhancing the framework, as was done for
services in this case). I would accept contributions that fall-back to
the previous behaviour, but I have no problems with suggesting that
people who use a very old OS can also use an old Python/win32all to suit.

Mark.

 
Reply With Quote
 
Ringwraith
Guest
Posts: n/a
 
      01-27-2004
Thanks Mark!


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Applet to run on Win 98, Win ME, Win XP, Win Vista & Win 7 ?? Krist Java 6 05-06-2010 11:53 PM
Changing the ID running ASP.NET/IIS on XP workstation ssg31415926 ASP .Net 0 05-08-2006 07:44 AM
Can Win server and Win workstation co-exist on same PC? me63401@privacy.net Computer Support 10 10-16-2003 03:18 AM
Can't start workstation service in XP Pro Tom Harris Computer Support 4 09-27-2003 04:05 PM
Can not start workstation service in XP Pro Tom Harris Computer Support 1 09-26-2003 11:57 PM



Advertisments