in reply to Win32::Daemon installed service fails to start
I haven't written a service in a while (and when I did it was in C...) One thought I had is that your open might not be in a good place. I would do the open in the SERVICE_RUNNING state and close it after doMyStuff. ALSO, you might check to make sure your prints aren't being buffered, so put $|++; at the top.
Also, code running as a service doesn't have access to drive mappings that you do. If you are trying to write to anything other than the local machine, then you will have to run the server as a user.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Win32::Daemon installed service fails to start
by punkish (Priest) on Dec 28, 2004 at 04:31 UTC |