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.7.7 - OpenSSH Fatal Error 1114


Additional Info:

I tried sending commands directly from the command line via ssh and I
was able to reproduce the same error outside of python when using
public key auth.  When I take off the public key and enter the
password when prompted the command will run.  I have tried a dozen or
so commands and they all work with password auth and fail when using
public key auth.  Please note that in python it does not matter
whether I use password or public key auth, I still get the same
results.

john@DO-T-IT-NOC:~$ ssh Administrator@storage -i storage_private "net
share test$='c:\test' /grant:everyone,full"
      1 [main] sshd 564 C:\cygwin\usr\sbin\sshd.exe: *** fatal error -
could not load u, Win32 error 1114
Stack trace:
Frame     Function  Args
00229954  6102749B  (00229954, 00000000, 00000000, 00000000)
00229C44  6102749B  (61177B80, 00008000, 00000000, 61179977)
0022AC74  61004AFB  (61179084, 61161E94, 61161E94, 0022ACD8)
0022AEA4  6100135E  (610309EB, 6123F8A4, 0022AF10, 0022AED8)
0022BBC8  6115764C  (00000003, FFFFFFFF, FFFFFFFF, 61117D12)
0022BC08  610CB0E3  (00000003, 104552F8, 0022BD0C, 1045C138)
0022BC28  6102951B  (104552F8, 0022BD0C, 1045C138, 0022BD34)
0022C148  610C01A5  (10454A18, 104586A0, 00000002, 00000000)
0022C198  00412D4B  (10454A18, 104586A0, 10454A18, 00427EA2)
0022C1C8  004130F4  (10454A18, 104586A0, 104589E8, 1044C104)
0022C288  0041343C  (10458A28, 104589E8, 104589E8, 00000001)
0022C2C8  0040AAF3  (00000062, 0000000A, 104563B0, 0040BB05)
0022C308  004389D6  (00000001, 00000000, 104563B0, 0040C6FA)
0022C348  0040BC6A  (1045C540, 10455280, 0022C388, 00417DF6)
0022C388  00413CCE  (1045C540, 00000003, 00000000, 0022CC44)
0022CD58  004040F3  (00000000, 0022CE64, 0022CD98, 61006CD3)
End of stack trace (more stack frames may be present)

John :-)
------------------------------
"Any people, nation, or
language that speaks anything
against the God of Shadrach,
Meshach, and Abednego shall be
torn limb from limb, and their
houses laid in ruins, for there
is no other god who is able to
rescue in this way."
? ? ? ? ? ? ? ?? - Daniel 3:29



On Wed, Dec 1, 2010 at 7:13 AM, John Fano <john.fano@gmail.com> wrote:
> Hi Everyone,
>
> I have cygwin 1.7.7 installed on a win2003 r2 file server. ?I have
> tried both versions of openssh and openssl available in the installer,
> and the currently installed versions are 5.5p1 and 0.9.8o,
> respectively. ?I am connecting from an ubuntu lucid machine via python
> and the paramiko ssh module from the repos. ?When I ssh in via the
> command line, everything works as expected. ?I can issue all kinds of
> commands and they all just work. ?However, when I issue the same
> commands via python, only the first command is successful, and each
> subsequent command produces a win32 error message. ?At first I thought
> it was a python/paramiko issue, but when I did some searching on the
> returned win32 error, it points to a dll issue. ?To further rule out
> python/paramiko, I have cygwin 1.7.5 running on an XP box and I do not
> have the same issue connecting to that box via python. ?Below is a
> sample from python. ?Basically all I am doing is requesting a
> directory listing from /cygdrive/c twice. ?The first time, you can see
> the listing in line #1. ?In line #2 you can see that there is no
> error. ?Now when I issue that command again, it shows no output in
> line #3, and the ssh error in line #4. ?Each subsequent command will
> issue the same ssh error with no output. ?I googled the win32 error
> 1114, and that got me this "1114 ? ? ? ?A dynamic link library (DLL)
> initialization routine failed. ?ERROR_DLL_INIT_FAILED". ?I have
> rebooted the server just to make sure all dlls were loaded fresh.
>
> I have attached the cygcheck output.
>
> Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56)
> [GCC 4.4.3] on linux2
> Type "copyright", "credits" or "license()" for more information.
> DreamPie 1.1
>>>> import paramiko
>>>> ssh = paramiko.SSHClient()
>>>> ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
>>>> ssh.connect('storage', 22, 'Administrator', 'XXX')
>>>> stdin, stdout, stderr = ssh.exec_command('ls /cygdrive/c')
>>>> stdout.read()
> 1: '533686c990bc04236541ef5e\nADFS\nAUTOEXEC.BAT\nCONFIG.SYS\nDocuments
> and Settings\nIO.SYS\nMSDOS.SYS\nNTDETECT.COM\nProgram
> Files\nRECYCLER\nSAN_Shares.exe\nStorageReports\nSystem Volume
> Information\nWINDOWS\nadsm.sys\nboot.ini\ncygwin\nfslrdr\nntldr\npagefile.sys\nreset.txt\nshares.csv\n'
>>>> stderr.read()
> 2: ''
>>>> stdin, stdout, stderr = ssh.exec_command('ls /cygdrive/c')
>>>> stdout.read()
> 3: ''
>>>> stderr.read()
> 4: ' ? ? ?0 [main] sshd 1388 C:\\cygwin\\usr\\sbin\\sshd.exe: ***
> fatal error - could not load u, Win32 error 1114\nStack
> trace:\r\nFrame ? ? Function ?Args\r\n00229984 ?6102749B ?(00229984,
> 00000000, 00000000, 00000000)\r\n00229C74 ?6102749B ?(61177B80,
> 00008000, 00000000, 61179977)\r\n0022ACA4 ?61004AFB ?(61179084,
> 61161E94, 61161E94, 7C838501)\r\n0022AED4 ?6100135E ?(610309EB,
> 6123F704, 0022AF40, 0022AF08)\r\n0022BBB8 ?6115764C ?(00000003,
> FFFFFFFF, FFFFFFFF, 61117D12)\r\n0022BBF8 ?610CB0E3 ?(00000003,
> 1044BE18, 0022BCFC, 1045C190)\r\n0022BC18 ?6102951B ?(1044BE18,
> 0022BCFC, 1045C190, 0022BD24)\r\n0022C138 ?610C01A5 ?(10454868,
> 1044BDF8, 00000002, 00000000)\r\n0022C188 ?00413318 ?(10454868,
> 1044BDF8, 10454868, 00428C72)\r\n0022C1B8 ?004136A4 ?(10454868,
> 1044BDF8, 10459920, 1044C104)\r\n0022C278 ?004139EC ?(10459930,
> 10459920, 10459920, 00000001)\r\n0022C2B8 ?0040AC33 ?(00000062,
> 0000000A, 10455170, 0040BC45)\r\n0022C2F8 ?00439AC6 ?(00000001,
> 00000000, 10455170, 0040C83A)\r\n0022C338 ?0040BDAA ?(1045C540,
> 104550E0, 0022C378, 004188A6)\r\n0022C378 ?0041429E ?(1045C540,
> 00000003, 00000000, 0022CC34)\r\n0022CD48 ?00404163 ?(00000000,
> 0022CE64, 0022CD88, 61006CD3)\r\nEnd of stack trace (more stack frames
> may be present)\n'
>>>>
>
> Thanks!
>
> John :-)
> ------------------------------
> "Any people, nation, or
> language that speaks anything
> against the God of Shadrach,
> Meshach, and Abednego shall be
> torn limb from limb, and their
> houses laid in ruins, for there
> is no other god who is able to
> rescue in this way."
> ? ? ? ? ? ? ? ?? - Daniel 3:29
>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      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]