OK...

sometimes the account needs admin rights (but System has this so its not
going to be that)... I would download psexec from sysinternals.com and run 

psexec \\%computername -s perl -c dirmon.pl 

to see if there's a problem compiling under the System account...
compilation errors probably wouldn't make it to the log file. Perl might not
be in the %PATH% for the system user or something... (or system may not have
rights to create files)

Kind regards,

Mark Anderson
Team Leader - RSWI
1st Floor, The Broadstone
50 South Gyle Crescent
Edinburgh, EH12 9UX
Tel: 0131 523 7630
Mob: 07808 826 063


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [SMTP:[EMAIL PROTECTED]
> Sent: Thursday, August 11, 2005 6:49 AM
> To:   [email protected]
> Subject:      Re: Error 1053 starting Win32::Daemon service
> 
> *** WARNING : This message originates from the Internet ***
> 
> 
> Mark, Michael,
>  
> Thanks for the ideas. 
>  
> The account that this defaults to if the -user parameter is not used, is
> shown in the SCM as the Local System account.
>  
> First up, tried installing this with fully qualified -l, -d and -t
> parameters, but no change. I didn't really expect anything dramatic here
> because the defaults generated by DIRMON looked pretty valid.
>  
> 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.
>  
> I can run the script interactively, but to tell the truth, I'm not really
> sure what to expect when this is done. Is it then still visible and
> controllable via the SCM? Is uspect not, as the install is what adds most
> of the SCM specific information. For what its worth, the script appears to
> run once through its main service loop (Daemon::State() first returns a
> state value of 0 which DIRMON treats as unknown, then a STOPPED state (1)
> which causes it to exit.
>  
> Andrew << File: ATT3315117.txt >> 


The Royal Bank of Scotland plc, Registered in Scotland No. 90312. Registered 
Office: 36 St Andrew Square, Edinburgh EH2 2YB

Authorised and regulated by the Financial Services Authority.

This e-mail message is confidential and for use by the addressee only. If the 
message is received by anyone other than the addressee, please return the 
message to the sender by replying to it and then delete the message from your 
computer. Internet e-mails are not necessarily secure. The Royal Bank of 
Scotland plc does not accept responsibility for changes made to this message 
after it was sent.

Whilst all reasonable care has been taken to avoid the transmission of viruses, 
it is the responsibility of the recipient to ensure that the onward 
transmission, opening or use of this message and any attachments will not 
adversely affect its systems or data. No responsibility is accepted by The 
Royal Bank of Scotland plc in this regard and the recipient should carry out 
such virus and other checks as it considers appropriate.

_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to