Hi there,

        I'm making a script to backup certain files on a NT Server. In order
to do it properly, i have to stop some services (because a file locking
issue), ie. MSExhange*.

        When i run:

        $h = ''; # hostname
        Win32::Service::StartService($h,"Service Name");
        
        (In an analog way to "StopService" method).

        I get nothing. No Service (Start|Stop)ed,
        
        Win32::GetLastError returns errno #997, which means "Overlapped I/O
operation is in progress" (ERROR_IO_PENDING).

        I've tried with services with NO dependencies on other services, and
the problem is the same as above.

        What should i do to fix this problem?

        Any clue?

Regards,


--
Esteban < emaringolo [at] linux.org.ar >
---
# ¿How do you get an elephant into a matchbox?
# You first take out all the match-sticks, then you get it in.
 



        
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to