Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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 making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2017-12-12 03:44 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (324 votes). Check out past polls.