This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: sshd and stack dump problem


On Fri, Feb 02, 2001 at 12:16:49PM -0500, Heitzso wrote:
>  * when I kill the service (sc stop service_name)
>    the service doesn't die.  I'm guessing SRVANY
>    is stopped but that sshd has spawned itself
>    out of SRVANY's control and lives on.

That's normal behaviour since sshd doesn't have a clue what
a NT service is. SRVANY stops but you will have to kill
the application by hand. Personally, I'm using the following
script to stop sshd:

	#!/bin/sh
	net stop sshd >/dev/null 2>&1
	PID=`ps -e | awk '/sshd/{print $1}'`
	if [ -n "${PID}" ]
	then
	  kill $PID
	fi

Sorry, I have no clue why ls hangs.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]