Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Perl script as Windows Service

by JSchmitz (Canon)
on Jun 12, 2007 at 19:15 UTC ( #620795=note: print w/replies, xml ) Need Help??

in reply to Perl script as Windows Service

SRS service hung while Setup was trying to start it have you looked in the event logs that may point you in the right direction - I also agree that you should be using ActiveState tools - very helpful for stuff like this.

On windows you need to either compile it with ActiveState's PerlSvc, use Dave Roth's Win32::Daemon module or Jenda's Win32::Daemon::Simple module.

- cheers!

Replies are listed 'Best First'.
Re^2: Perl script as Windows Service
by Anonymous Monk on Jun 13, 2007 at 04:32 UTC
    I used Win32::daemon to create and start a service.This service in turn runs a perl script . When I start the service,the perl script is running well but because of the error ,the service is getting stopped automatically.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://620795]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2018-06-21 19:48 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (119 votes). Check out past polls.