This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: 1.5.19-4: sshd: "child_copy: linked dll data write copy failed" after computer reboot (Windows 2003 Server SP1)

René Krell wrote:

> Well, following the last recommendations I re-installed Cygwin with opensshd 
> from scratch (see also attachment: cygcheck.out) and launched ssh-host-config 
> like this:
> After restarting the computer connections are refused:
> --------------------------------------------------------------------
> user@host:~> ssh Administrator@
> 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, 
> 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 is 
> established.

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

> Any further recommendations?
>> 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:\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\PrivateAssemblies\
>> 	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?


Just anti-virus or includes a firewall?

>> 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="ntsec tty binmode" 
>> 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) users,
and sshd depending on tcpip should be enough... the only suspects left are not
mentioned at all (a firewall and an anti-virus).
René Berber

Unsubscribe info:
Problem reports:

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