Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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 about the Monastery: (6)
As of 2018-07-17 21:39 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (378 votes). Check out past polls.