Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (10)
As of 2016-10-25 13:55 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (320 votes). Check out past polls.