> You are on extremely shakey ground with this. Having more than one copy
> of cygwin1.dll on your system is a VERY bad idea unless you know exactly
> what you're doing. I strongly recommend that you stick to official
> Cygwin packages. If you must use something packaged by a third party,
> then delete any cygwin1.dll that it installs and make sure that the one
> in \cygwin\bin is in the path.
Well, I still got only 1 copy of cygwin. I installed the other app, tried to
get it to work, then installed cygwin over it to be sure to be up to date
with it. I know that's not a supported way to get cygwin to work, but you
know what desperate admins/proggers can do :)
Due to your remark however, I double checked for the presence of only 1
cygwin1.dll. I also deinstalled copSSH and did a fresh install of cygwin
(cygcheck attached).
> the bash,
> ls, etc. binaries that are being found in your path are not the Cygwin
> ones but whatever junk is under \Program Files\copssh.
I like to think that is normal if CopSSH claims it's a stripped cygwin.
> And you have an empty mount table!
That must have happened in the process while tampering wit hit (remember
'desperate'. Yes I tweaked the registry. Yes I removed the Cygnus entries.
No, I don't feel guilty).
> And your PATH is set to an invalid value (Path =`Path=C:\Progr...).
Ok, looks like an ugly typo happened there. It only affects that first PATH
entry though.
> And you apparently have no package database.
I cygchecked on a CopSSH install. Appearantly, it does not install/update a
package database.
> I have no idea what this copssh thing is, but it's not supported by this
> list and it's obvious that it doesn't coexist peacefully with Cygwin at
> all.
You come exactly to my point. The only reason I have tried al those packages
(OpenSSH on Windows, CopSSH and sec cygwin) is they all give me no relieve.
Sure enough, at first I always deinstalled previous cygwins, before
installing new ones, up till the point I tried updating CopSSH with a cygwin
install (did I just hear a 'yuck!' in the background?).
I'll be very clear on this: I'm *not* seeking support for any other package
than cygwin! I'm seeking support to just get cygwin running.
Therefore, to conclude, I have wiped out the CopSSH and tried a fresh cygwin
install (did I mention I have tried that already multiple times? :) ). The
cygcheck attached is from that one.
Now, my problem, as it did the previous n times, persists: I cannot get any
cygwin tool to generate output. I *can* get all apps to run within strace.
Hell, I can even work my way through almost the whole ssh-host-config this
way! But sadly, nothing runs on my cmd.exe, not even bash.
Igor
Cygwin Configuration Diagnostics
Current System Time: Fri Sep 30 09:46:04 2005
Windows 2003 Server Ver 5.2 Build 3790 Service Pack 1
Running in Terminal Service session
Path: C:\cygwin\bin
C:\Program Files\Windows Resource Kits\Tools\
C:\Program Files\Python23
C:\Program Files\Support Tools\
C:\Perl\bin\
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\Program Files\Microsoft SQL Server\80\Tools\BINN
C:\Program Files\GnuWin32\bin
C:\Program Files\Subversion\bin
Output from C:\cygwin\bin\id.exe (nontsec)
UID: 400(igor) GID: 401(mkpasswd)
401(mkpasswd)
Output from C:\cygwin\bin\id.exe (ntsec)
UID: 400(igor) GID: 401(mkpasswd)
401(mkpasswd)
SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS
CYGWIN = `binmode ntsec tty'
Path = `C:\cygwin\bin;C:\Program Files\Windows Resource Kits\Tools\;C:\Program
Files\Python23;C:\Program Files\Support
Tools\;C:\Perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Microsoft SQL Server\80\Tools\BINN;C:\Program
Files\GnuWin32\bin;C:\Program Files\Subversion\bin'
ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\igor\Application Data'
APR_ICONV_PATH = `C:\Program Files\Subversion\iconv'
CLIENTNAME = `GRIMACE'
ClusterLog = `C:\WINDOWS\Cluster\cluster.log'
CommonProgramFiles = `C:\Program Files\Common Files'
COMPUTERNAME = `AJAX'
ComSpec = `C:\WINDOWS\system32\cmd.exe'
FP_NO_HOST_CHECK = `NO'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\igor'
LOGONSERVER = `\\AJAX'
NUMBER_OF_PROCESSORS = `4'
OS = `Windows_NT'
PATHEXT =
`.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.VBS;.pyc;.pyo;.pyw;.py;.pys'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `0209'
ProgramFiles = `C:\Program Files'
PROMPT = `$P$G'
SESSIONNAME = `RDP-Tcp#2'
SystemDrive = `C:'
SystemRoot = `C:\WINDOWS'
TEMP = `C:\DOCUME~1\igor\LOCALS~1\Temp\2'
TMP = `C:\DOCUME~1\igor\LOCALS~1\Temp\2'
USERDOMAIN = `AJAX'
USERNAME = `igor'
USERPROFILE = `C:\Documents and Settings\igor'
windir = `C:\WINDOWS'
POSIXLY_CORRECT = `1'
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
(default) = `/cygdrive'
cygdrive flags = 0x00000022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
(default) = `C:\cygwin'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
(default) = `C:\cygwin/bin'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
(default) = `C:\cygwin/lib'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
c: hd NTFS 20002Mb 58% CP CS UN PA FC System
d: hd NTFS 40005Mb 86% CP CS UN PA FC Work
e: hd NTFS 80168Mb 85% CP CS UN PA FC Data
f: hd FAT 254Mb 14% CP UN RAMDisk
C:\cygwin / system binmode
C:\cygwin/bin /usr/bin system binmode
C:\cygwin/lib /usr/lib system binmode
. /cygdrive system binmode,cygdrive
Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Not Found: cpp (good!)
Found: C:\cygwin\bin\find.exe
Not Found: gcc
Not Found: gdb
Found: C:\cygwin\bin\grep.exe
Not Found: ld
Found: C:\cygwin\bin\ls.exe
Not Found: make
Found: C:\cygwin\bin\mv.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Found: C:\Program Files\GnuWin32\bin\sed.exe
Warning: C:\cygwin\bin\sed.exe hides C:\Program Files\GnuWin32\bin\sed.exe
Not Found: sh
Found: C:\cygwin\bin\tar.exe
Found: C:\Program Files\GnuWin32\bin\tar.exe
Warning: C:\cygwin\bin\tar.exe hides C:\Program Files\GnuWin32\bin\tar.exe
56k 2005/07/09 C:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
"cygbz2-1.dll" v0.0 ts=2005/7/9 7:09
18k 2004/07/06 C:\cygwin\bin\cygcharset-1.dll - os=4.0 img=1.0 sys=4.0
"cygcharset-1.dll" v0.0 ts=2004/7/6 20:09
7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
"cygcrypt-0.dll" v0.0 ts=2003/10/19 9:57
858k 2005/04/11 C:\cygwin\bin\cygcrypto-0.9.7.dll - os=4.0 img=1.0 sys=4.0
"cygcrypto-0.9.7.dll" v0.0 ts=2005/4/11 20:21
1042k 2005/07/07 C:\cygwin\bin\cygcrypto-0.9.8.dll - os=4.0 img=1.0 sys=4.0
"cygcrypto-0.9.8.dll" v0.0 ts=2005/7/7 11:06
40k 2005/09/29 C:\cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0
"cygform-8.dll" v0.0 ts=2005/9/29 4:15
45k 2001/04/25 C:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
"cygform5.dll" v0.0 ts=2001/4/25 7:28
35k 2002/01/09 C:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
"cygform6.dll" v0.0 ts=2002/1/9 7:03
48k 2003/08/09 C:\cygwin\bin\cygform7.dll - os=4.0 img=1.0 sys=4.0
"cygform7.dll" v0.0 ts=2003/8/9 11:25
28k 2003/07/20 C:\cygwin\bin\cyggdbm-3.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm-3.dll" v0.0 ts=2003/7/20 9:58
30k 2003/08/11 C:\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm-4.dll" v0.0 ts=2003/8/11 4:12
19k 2003/03/22 C:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm.dll" v0.0 ts=2002/2/20 4:05
15k 2003/07/20 C:\cygwin\bin\cyggdbm_compat-3.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm_compat-3.dll" v0.0 ts=2003/7/20 10:00
15k 2003/08/11 C:\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm_compat-4.dll" v0.0 ts=2003/8/11 4:13
17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
"cyghistory4.dll" v0.0 ts=2001/1/7 5:34
29k 2003/08/10 C:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
"cyghistory5.dll" v0.0 ts=2003/8/11 1:16
24k 2005/07/29 C:\cygwin\bin\cyghistory6.dll - os=4.0 img=1.0 sys=4.0
"cyghistory6.dll" v0.0 ts=2005/7/29 5:57
991k 2004/07/06 C:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
"cygiconv-2.dll" v0.0 ts=2004/7/6 20:10
22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
"cygintl-1.dll" v0.0 ts=2001/12/13 10:28
37k 2003/08/10 C:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
"cygintl-2.dll" v0.0 ts=2003/8/10 23:50
54k 2004/07/06 C:\cygwin\bin\cygintl-3.dll - os=4.0 img=1.0 sys=4.0
"cygintl-3.dll" v0.0 ts=2004/7/6 19:51
21k 2001/06/20 C:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
"cygintl.dll" v0.0 ts=2001/6/20 19:09
21k 2005/09/29 C:\cygwin\bin\cygmenu-8.dll - os=4.0 img=1.0 sys=4.0
"cygmenu-8.dll" v0.0 ts=2005/9/29 4:15
26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
"cygmenu5.dll" v0.0 ts=2001/4/25 7:27
20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0
"cygmenu6.dll" v0.0 ts=2002/1/9 7:03
29k 2003/08/09 C:\cygwin\bin\cygmenu7.dll - os=4.0 img=1.0 sys=4.0
"cygmenu7.dll" v0.0 ts=2003/8/9 11:25
21k 2004/10/22 C:\cygwin\bin\cygminires.dll - os=4.0 img=1.0 sys=4.0
"cygminires.dll" v0.0 ts=2004/10/22 22:28
67k 2005/09/29 C:\cygwin\bin\cygncurses++-8.dll - os=4.0 img=1.0 sys=4.0
"cygncurses++-8.dll" v0.0 ts=2005/9/29 4:16
156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
"cygncurses++5.dll" v0.0 ts=2001/4/25 7:29
175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0
"cygncurses++6.dll" v0.0 ts=2002/1/9 7:03
226k 2005/09/29 C:\cygwin\bin\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0
"cygncurses-8.dll" v0.0 ts=2005/9/29 4:02
226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
"cygncurses5.dll" v0.0 ts=2001/4/25 7:17
202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0
"cygncurses6.dll" v0.0 ts=2002/1/9 7:03
224k 2003/08/09 C:\cygwin\bin\cygncurses7.dll - os=4.0 img=1.0 sys=4.0
"cygncurses7.dll" v0.0 ts=2003/8/9 11:24
11k 2005/09/29 C:\cygwin\bin\cygpanel-8.dll - os=4.0 img=1.0 sys=4.0
"cygpanel-8.dll" v0.0 ts=2005/9/29 4:15
15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
"cygpanel5.dll" v0.0 ts=2001/4/25 7:27
12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0
"cygpanel6.dll" v0.0 ts=2002/1/9 7:03
19k 2003/08/09 C:\cygwin\bin\cygpanel7.dll - os=4.0 img=1.0 sys=4.0
"cygpanel7.dll" v0.0 ts=2003/8/9 11:24
176k 2005/09/06 C:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
"cygpcre-0.dll" v0.0 ts=2005/9/6 22:49
299k 2005/09/06 C:\cygwin\bin\cygpcrecpp-0.dll - os=4.0 img=1.0 sys=4.0
"cygpcrecpp-0.dll" v0.0 ts=2005/9/6 23:26
6k 2005/09/06 C:\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0
"cygpcreposix-0.dll" v0.0 ts=2005/9/6 23:26
22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
"cygpopt-0.dll" v0.0 ts=2002/6/9 7:45
108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
"cygreadline4.dll" v0.0 ts=2001/1/7 5:34
148k 2003/08/10 C:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
"cygreadline5.dll" v0.0 ts=2003/8/11 1:16
144k 2005/07/29 C:\cygwin\bin\cygreadline6.dll - os=4.0 img=1.0 sys=4.0
"cygreadline6.dll" v0.0 ts=2005/7/29 5:57
171k 2005/04/11 C:\cygwin\bin\cygssl-0.9.7.dll - os=4.0 img=1.0 sys=4.0
"cygssl-0.9.7.dll" v0.0 ts=2005/4/11 20:21
217k 2005/07/07 C:\cygwin\bin\cygssl-0.9.8.dll - os=4.0 img=1.0 sys=4.0
"cygssl-0.9.8.dll" v0.0 ts=2005/7/7 11:07
65k 2005/08/23 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
"cygz.dll" v0.0 ts=2005/8/23 4:03
1265k 2005/07/03 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=2005/7/3 2:30
Cygwin DLL version info:
DLL version: 1.5.18
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 132
Shared data: 4
DLL identifier: cygwin1
Mount registry: 2
Cygnus registry name: Cygnus Solutions
Cygwin registry name: Cygwin
Program options name: Program Options
Cygwin mount registry name: mounts v2
Cygdrive flags: cygdrive flags
Cygdrive prefix: cygdrive prefix
Cygdrive default prefix:
Build date: Sat Jul 2 20:30:04 EDT 2005
Shared id: cygwin1S4
Service : sshd
Display name : CYGWIN sshd
Current State : Stopped
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"
Process Type : Own Process
Startup : Automatic
Account : .\sshd_server
Cygwin Package Information
Last downloaded files to: c:\cygwin\install
Last downloaded files from:
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/sources.redhat.com/cygwin
Package Version
_update-info-dir 00313-1
alternatives 1.3.20a-1
ash 20040127-3
base-files 3.6-1
base-passwd 2.2-1
bash 3.0-11
bzip2 1.0.3-1
coreutils 5.3.0-9
crypt 1.1-1
cygrunsrv 1.10-1
cygutils 1.2.9-1
cygwin 1.5.18-1
cygwin-doc 1.4-2
diffutils 2.8.7-1
editrights 1.01-1
findutils 4.2.25-2
gawk 3.1.5-1
gdbm 1.8.3-7
grep 2.5.1a-2
groff 1.18.1-2
gzip 1.3.5-1
less 381-1
libbz2_1 1.0.3-1
libcharset1 1.9.2-1
libgdbm 1.8.0-5
libgdbm-devel 1.8.3-7
libgdbm3 1.8.3-3
libgdbm4 1.8.3-7
libiconv 1.9.2-1
libiconv2 1.9.2-1
libintl 0.10.38-3
libintl1 0.10.40-1
libintl2 0.12.1-3
libintl3 0.14.1-1
libncurses5 5.2-1
libncurses6 5.2-8
libncurses7 5.3-4
libncurses8 5.4-4
libpcre0 6.3-1
libpopt0 1.6.4-4
libreadline4 4.1-2
libreadline5 4.3-5
libreadline6 5.0-4
login 1.9-7
man 1.5p-1
minires 1.00-1
mktemp 1.5-3
ncurses 5.4-4
openssh 4.2p1-1
openssl 0.9.8-2
openssl097 0.9.7g-1
rsync 2.6.6-1
sed 4.1.4-1
tar 1.15.1-2
termcap 20050421-1
terminfo 5.4_20041009-1
texinfo 4.8-1
unison2.17 2.17.1-1
which 1.7-1
zlib 1.2.3-1
Use -h to see help about each section
--
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/