> Next up, added the redirection of stderr in a BEGIN block > (good idea!). However, no luck there, as nothing is ever > written to the log file. In fact, the log file is only > created on the install, but if then removed, is not recreated > when the SCM attempts to start the service. It appears to me > that it never gets as far as loading the script.
What does the registry say for the service you have installed? Check HKLM\System\CurrentControlSet\Services\Servicename\ImagePath. Are the paths to perl and the script fully qualified? If you've installed using Win32::Daemon it can under certain circumstances install with relative paths (ie perl service.pl rather than c:\perl\bin\perl.exe d:\scripts\service.pl). Paul ***************************************************************** Gloucester Research Limited believes the information provided herein is reliable. While every care has been taken to ensure accuracy, the information is furnished to the recipients with no warranty as to the completeness and accuracy of its contents and on condition that any errors or omissions shall not be made the basis for any claim, demand or cause for action. ***************************************************************** _______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
