RE: Question about windows service

From: Dennis Bauer (dbauer_at_Mines.EDU)
Date: 06/26/03

  • Next message: Richard Worwood: "security auditing under windows 2000 server"
    To: <donnyzheng@nets.com.sg>, <FOCUS-MS@securityfocus.com>
    Date: Thu, 26 Jun 2003 11:38:28 -0600
    
    

    Have you tried to use kill from the resource kit?

    Dennis

    -----Original Message-----
    From: donnyzheng@nets.com.sg [mailto:donnyzheng@nets.com.sg]
    Sent: Thursday, June 26, 2003 12:23 AM
    To: FOCUS-MS@securityfocus.com
    Subject: Question about windows service

    Hi, I suddenly met this problem, not sure how to solve it.

    Some of my services cannot be started and the status is shown
    "stopping", then I try to use "net stop", but it returned the following
    message. Could anyone suggest any solutions for this?

    Thanx
    Donny
     

    > C:\>NET STOP NETLOGON

    > The service could not be controlled in its present state.

    >

    > More help is available by typing NET HELPMSG 2189.

    >

    > C:\>NET HELPMSG 2189

    >

    > The service could not be controlled in its present state.

    >

    >

    > EXPLANATION

    >

    > The service is not currently accepting requests. If

    > the service is starting, it cannot process requests until it is fully

    > started.

    >

    > ACTION

    >

    > Try the operation again in a minute or two.

    >

    > If this problem persists, the service may be stuck in a partially

    > running

    > state. Contact technical support. Be prepared to give the name of the

    > service

    > and other information about the system, such as the services and

    > applications

    > that were running, and the type and amount of network activity on the

    > computer

    > at the time of the problem.

    >

    > >>>>>

     

    Donny Zheng
    Data Security Analyst
    Data Security
    DID : 65-6374-0658
    TEL : 65-6272-0533
    FAX : 65-6275-7712

    Network For Electronic Transfers (S) Pte Ltd
    298 Tiong Bahru Road
    #04-01/06 Central Plaza
    Singapore 168730
    http://www.nets.com.sg

    ************************************************************************
    ********

    IMPORTANT NOTICE: This email and any files transmitted with it is
    intended only for the use of the person(s) to whom it is addressed,
    and may contain information that is privileged, confidential and exempt
    from disclosure under applicable law. If you are not the intended
    recipient, please immediately notify the sender and delete the email.
    Thank you.
    ************************************************************************
    ********

    ------------------------------------------------------------------------
    -----
    ------------------------------------------------------------------------
    ------

    -----------------------------------------------------------------------------
    ------------------------------------------------------------------------------


  • Next message: Richard Worwood: "security auditing under windows 2000 server"

    Relevant Pages

    • Re: Windows Service hangs
      ... the serial port and I actually have a GUI app that uses the same code as my ... Maybe I should have changed the emphasis of my question to how to kill ... > Whenever I write a windows service application, ... > listening to a serial port or sending data to it? ...
      (microsoft.public.dotnet.languages.csharp)
    • Windows service Rights question
      ... In writing a Windows service with .NET, I'm noticing that the process for ... I just wrote a test service and I can kill the process for this ...
      (microsoft.public.dotnet.languages.csharp)
    • How do I *really* stop a Windows Service?
      ... I have a Windows Service, ... I would like this service to be able to kill itself off if it is started, ... the Service Control Manager. ... Phill W. ...
      (microsoft.public.dotnet.languages.vb)
    • Re: Killing a spawned program
      ... > How, using Gnat and GtkAda, does one kill a non-Ada program which has been ... Using whatever Windows service you would use to kill any spawned process? ...
      (comp.lang.ada)
    • Re: Trying to start a perl script as Windows Service
      ... To run an arbitrary program as a windows service you need to use srvany ... I have used srvany from the Resource Kit and followed the steps from ...
      (comp.lang.perl.misc)