delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/21/17:20:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <42681963.735FC793@dessent.net>
Date: Thu, 21 Apr 2005 14:21:39 -0700
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Syslogd hangs on start
References: <41F176E17C92BD46B877AAB6E4C1407B0849FE AT XCGCAV06 DOT northgrum DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

"Thompson, Lloyd D. (SSD)" wrote:

> $ net stop syslogd
> The service could not be controlled in its present state.
> 
> More help is available by typing NET HELPMSG 2189.
> 
> $ net helpmsg 2189
> 
> The service could not be controlled in its present state.

I do not know the root cause for why the service will not start, but
when it gets in this "hung" state you can unwedge it by killing the
cygrunsrv process.   This can get a little tricky because as a SYSTEM
account, it normally can't be killed with taskmgr.  I just use Process
Explorer which lets you kill any process, service or not.  Find the
cygrunsrv that corresponds with the stuck service (if you have more than
one, click on each and go to the "Services" tab to see which one is for
which service) and kill the stuck one.  Then windows should report the
service as stopped and you can try restarting it again after working on
the root cause.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019