Cygwin Problems
Jump to navigation
Jump to search
Executables Do Not Run
I have observered a problem in a migration I have just done where executables such as ssh.exe, sshd.exe and svn.exe do not run but simply exit with no output when you attempt to run them.
In a previous installation I ran into this problem (but just with svn). In that case, I identified a missing DLL, C:/cygwin/bin/cygz.dll.
Copying this DLL (cygz.dll) off another cygwin installation seems to work OK.
Not sure why it is missing?
Was able to diagnose the problem using MS System Internals tool FileMon - as follows:
9:40:16 AM svn.exe:3320 QUERY INFORMATION C:\cygwin\bin\cygz.dll NOT FOUND Attributes: Error 9:40:16 AM svn.exe:3320 QUERY INFORMATION C:\WINDOWS\system32\cygz.dll NOT FOUND Attributes: Error 9:40:16 AM svn.exe:3320 QUERY INFORMATION C:\WINDOWS\system\cygz.dll NOT FOUND Attributes: Error 9:40:16 AM svn.exe:3320 QUERY INFORMATION C:\WINDOWS\cygz.dll NOT FOUND Attributes: Error 9:40:16 AM svn.exe:3320 QUERY INFORMATION C:\WINDOWS\system32\cygz.dll NOT FOUND Attributes: Error 9:40:16 AM svn.exe:3320 QUERY INFORMATION C:\cygwin\usr\local\bin\cygz.dll NOT FOUND Attributes: Error 9:40:16 AM svn.exe:3320 QUERY INFORMATION C:\cygwin\bin\cygz.dll NOT FOUND Attributes: Error 9:40:16 AM svn.exe:3320 QUERY INFORMATION C:\cygwin\bin\cygz.dll NOT FOUND Attributes: Error 9:40:16 AM svn.exe:3320 QUERY INFORMATION C:\cygwin\usr\X11R6\bin\cygz.dll NOT FOUND Attributes: Error 9:40:16 AM svn.exe:3320 QUERY INFORMATION C:\WINDOWS\system32\cygz.dll NOT FOUND Attributes: Error 9:40:16 AM svn.exe:3320 QUERY INFORMATION C:\WINDOWS\cygz.dll NOT FOUND Attributes: Error 9:40:16 AM svn.exe:3320 QUERY INFORMATION C:\WINDOWS\System32\Wbem\cygz.dll NOT FOUND Attributes: Error 9:40:16 AM svn.exe:3320 QUERY INFORMATION C:\Program Files\1E\SMSNomad\cygz.dll NOT FOUND Attributes: Error 9:40:16 AM svn.exe:3320 QUERY INFORMATION C:\ORACLE\1020\bin\cygz.dll NOT FOUND Attributes: Error 9:40:16 AM svn.exe:3320 QUERY INFORMATION C:\cygwin\lib\lapack\cygz.dll NOT FOUND Attributes: Error