Difference between revisions of "Cygwin Problems"

From PeformIQ Upgrade
Jump to navigation Jump to search
 
Line 3: Line 3:
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.
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 - However, I cannot remember which one.
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.


I have done a comparison of what is in /lib on both the broken and a correctly functioniong Cygwin installion and have found no missing DLLs.
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:
 
<pre>
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
</pre>
 
 
See [[Microsoft Systems Internals Tools]]


[[Category:Cygwin]]
[[Category:Cygwin]]

Latest revision as of 09:52, 31 March 2009

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 


See Microsoft Systems Internals Tools