X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r.berber@computer.org>
Subject:  Re: 1.5.19-4: sshd: "child_copy: linked dll data write copy failed"   after computer reboot (Windows 2003 Server SP1)
Date:  Sun, 04 Jun 2006 16:22:53 -0500
Lines: 96
Message-ID: <e5vivc$dr4$1@sea.gmane.org>
References:  <200605310939.55290.rkrell@gk-software.com> <e5klbk$31e$1@sea.gmane.org> <200606021008.23700.rkrell@gk-software.com>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1
Content-Transfer-Encoding:  quoted-printable
User-Agent: Thunderbird 1.5.0.4 (Windows/20060516)
In-Reply-To: <200606021008.23700.rkrell@gk-software.com>
OpenPGP: url=hkp://random.sks.keyserver.penguin.de
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Ren=E9 Krell wrote:

> Well, following the last recommendations I re-installed Cygwin with opens=
shd=20
> from scratch (see also attachment: cygcheck.out) and launched ssh-host-co=
nfig=20
> like this:
[snip]
> After restarting the computer connections are refused:
> --------------------------------------------------------------------
> user@host:~> ssh Administrator@192.168.60.99
> ssh_exchange_identification: Connection closed by remote host
> --------------------------------------------------------------------

Did you use ssh-user-config before this?

> .... and in in /var/log/sshd.log appears again the good old song:
> --------------------------------------------------------------------
>       9 [main] sshd 2556 child_copy: linked dll data write copy failed,=
=20
> 0x46C000..0x46C040, done 0, windows pid 2284756, Win32 error 87
> --------------------------------------------------------------------

Could this be an old log entry?

> ... but after "Restart Service" from the service console the connection i=
s=20
> established.

Which should give you a clue: what is changed when the user that restarts t=
he
service logs in?

> Any further recommendations?
[snip]
>> Cygwin Configuration Diagnostics
>> Current System Time: Fri Jun 02 10:01:28 2006
>>
>> Windows 2003 Server Ver 5.2 Build 3790 Service Pack 1
>>
>> Running in Terminal Service session
>>
>> Path:	c:\cygwin\usr\local\bin
>> 	c:\cygwin\bin
>> 	c:\cygwin\bin
>> 	c:\cygwin\usr\X11R6\bin
>> 	c:\WINDOWS\system32
>> 	c:\WINDOWS
>> 	c:\WINDOWS\System32\Wbem
>> 	c:\PROGRA~1\CA\SHARED~1\SCANEN~1
>> 	c:\Program Files\Microsoft SQL Server\80\Tools\Binn\
>> 	c:\Program Files\Microsoft SQL Server\90\Tools\binn\
>> 	c:\Program Files\Microsoft SQL Server\90\DTS\Binn\
>> 	c:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\
>> 	c:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblie=
s\
>> 	c:\Program Files\Subversion\bin
>> 	d:\gkretail\sshd\bin
>> 	d:\gkretail\sshd\bin
>> 	d:\gkretail\sshd\bin

This is the PATH for user Administrator but what part is global?

Better yet, what is the path to executable in the sshd service properties?

[snip]
>> AVENGINE =3D 'C:\PROGRA~1\CA\SHARED~1\SCANEN~1'

Just anti-virus or includes a firewall?

[snip]
>> Service             : sshd
>> Display name        : CYGWIN sshd
>> Current State       : Running
>> Controls Accepted   : Stop
>> Command             : /usr/sbin/sshd -D
>> stdin path          : /dev/null
>> stdout path         : /var/log/sshd.log
>> stderr path         : /var/log/sshd.log
>> Environment         : CYGWIN=3D"ntsec tty binmode"=20
>> Process Type        : Own Process
>> Startup             : Automatic
>> Dependencies        : tcpip
>> Account             : .\sshd_server

Can't see the cause of the problem.  My guess is that something is dynamic,=
 but
I don't see network drives, the users appear to be local (not network) user=
s,
and sshd depending on tcpip should be enough... the only suspects left are =
not
mentioned at all (a firewall and an anti-virus).
--=20
Ren=E9 Berber


--
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/

