Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Mon, 29 Nov 2004 10:44:42 -0800 From: David Hinds To: Cygwin List Subject: Re: A vexing installation problem Message-ID: <20041129184442.GA30302@sonic.net> References: <20041129071451 DOT GA15469 AT sonic DOT net> <6 DOT 2 DOT 0 DOT 14 DOT 0 DOT 20041129115158 DOT 046c9120 AT pop DOT prospeed DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6.2.0.14.0.20041129115158.046c9120@pop.prospeed.net> User-Agent: Mutt/1.4.2i On Mon, Nov 29, 2004 at 11:57:35AM -0500, Larry Hall wrote: > At 02:14 AM 11/29/2004, you wrote: > >A couple days ago, I tried to update a quite old cygwin installation > >on a Windows XP SP2 box to the latest (1.5.12-1). After the update, > >all Cygwin programs exit immediately and silently. I've tried > >scrubbing the Windows registry of anything with a "Cyg" in it, > >deleting the Cygwin tree, and reinstalling from scratch, with the same > >result. Running "strace" on any Cygwin program shows apparently > >normal output (as far as I can tell) up to a point; and then zippo. > > > >For example, here's the end of 'strace ls': > > > > 149 42033 [main] ls 4072 pwdgrp::load: /etc/group > > 140 42173 [main] ls 4072 pwdgrp::load: strange path_conv problem > > 140 42313 [main] ls 4072 pwdgrp::load: /etc/group load failed > > 152 42465 [main] ls 4072 __cygwin_lock_lock: threadcount 1. not locking > > 151 42616 [main] ls 4072 __cygwin_lock_unlock: threadcount 1. not unlocking > > 148 42764 [main] ls 4072 pwdgrp::read_group: Completing /etc/group: mkpasswd:S-1-5-21-1844237615-725345543-682003330-513:401:dhinds > > 442 43206 [main] ls 4072 cygheap_user::ontherange: what 2, pw 0x10011018 > > 147 43353 [main] ls 4072 cygheap_user::ontherange: HOME is already in the environment /cygdrive/h > > 684 44037 [main] ls 4072 sigproc_init: process/signal handling enabled(1) > > 176 44213 [main] ls 4072 __cygwin_lock_lock: threadcount 1. not locking > > 167 44380 [main] ls 4072 __cygwin_lock_unlock: threadcount 1. not unlocking > > > >Some commands get as far as executing build_argv(). I'm not sure what > >to do next: has anyone seen anything like this before? Or, can anyone > >suggest how to go about debugging this? > > If you've "scrubbed" your system before, then you might not be far enough > into customizing your environment that you shun the idea of reinstalling. > If that's the case, you might try removing Cygwin again and then create > the install directory as the user who will install Cygwin and then run > 'setup.exe' using that as the install directory. You clearly have > permission problems or issues with an incomplete installation (i.e. > '/etc/group' is not accessible). But you may be better served by following > the prescribed steps at: > > >Problem reports: http://cygwin.com/problems.html > > If or when you reinstall, pay close attention to any errors that show up > and inspect the '/var/log/setup.log' file. /etc/group and /etc/passwd do not exist. The postinstall scripts are not being executed successfully (since every cygwin command, including sh, just quietly exits without doing anything). Setup.log.full looks clean; everything installs successfully, apparently with no errors, right through running the postinstall scripts, since they don't report that they're not actually doing anything. Your comment on permissions prompted me to do another clean reinstall for "just me" rather than "all users". No change. I've included the output of 'cygcheck -s -v -r' below. -- Dave Cygwin Configuration Diagnostics Current System Time: Mon Nov 29 10:12:09 2004 Windows XP Professional Ver 5.1 Build 2600 Service Pack 2 Path: c:\program files\graphicsmagick-1.1.3-q8 C:\oracle\ora9i\bin C:\Program Files\Oracle\jre\1.3.1\bin C:\Program Files\Oracle\jre\1.1.8\bin C:\WINDOWS\SYSTEM32 C:\WINDOWS C:\WINDOWS\SYSTEM32\WBEM C:\PROGRAM FILES\COMMON FILES\ADAPTEC SHARED\SYSTEM C:\DMI\WIN32\BIN C:\Tcl\bin c:\local\cygwin\bin SysDir: C:\WINDOWS\system32 WinDir: C:\WINDOWS Path = `c:\program files\graphicsmagick-1.1.3-q8;C:\oracle\ora9i\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\SYSTEM32;C:\WINDOWS;C:\WINDOWS\SYSTEM32\WBEM;C:\PROGRAM FILES\COMMON FILES\ADAPTEC SHARED\SYSTEM;C:\DMI\WIN32\BIN;C:\Tcl\bin;c:\local\cygwin\bin' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' APPDATA = `C:\Documents and Settings\dhinds\Application Data' CLIENTNAME = `Console' CommonProgramFiles = `C:\Program Files\Common Files' COMPUTERNAME = `orac-2' ComSpec = `C:\WINDOWS\system32\cmd.exe' FP_NO_HOST_CHECK = `NO' HOMEDRIVE = `H:' HOMEPATH = `\' HOMESHARE = `\\duckling\dhinds' INCLUDE = `C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\include\' LIB = `C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Lib\' LOGONSERVER = `\\BLACKMANTA' NUMBER_OF_PROCESSORS = `2' OS = `Windows_NT' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.tcl' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 15 Model 0 Stepping 10, GenuineIntel' PROCESSOR_LEVEL = `15' PROCESSOR_REVISION = `000a' ProgramFiles = `C:\Program Files' PROMPT = `$P$G' SESSIONNAME = `RDP-Tcp#1' SystemDrive = `C:' SystemRoot = `C:\WINDOWS' TEMP = `C:\DOCUME~1\dhinds\LOCALS~1\Temp' TMP = `C:\DOCUME~1\dhinds\LOCALS~1\Temp' USERDNSDOMAIN = `PERLEGEN.COM' USERDOMAIN = `PERLEGEN' USERNAME = `dhinds' USERPROFILE = `C:\Documents and Settings\dhinds' VJSHARPTOOLS = `C:\Program Files\Microsoft Visual J# .NET\Framework\Bin;C:\WINDOWS\Microsoft Visual JSharp .NET\Framework\v1.0.4205;' VSCOMNTOOLS = `"C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\"' WF_RESOURCES = `C:\oracle\ora9i\WF\RES\WFus.RES' WIN32DMIPATH = `C:\DMI\WIN32' 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:\local\cygwin' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `C:\local\cygwin/bin' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `C:\local\cygwin/lib' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options a: fd N/A N/A c: hd NTFS 34726Mb 79% CP CS UN PA FC d: cd N/A N/A h: net NTFS 1762028Mb 72% CP CS UN PA CIFS.HOMEDIR C:\local\cygwin / system binmode C:\local\cygwin/bin /usr/bin system binmode C:\local\cygwin/lib /usr/lib system binmode . /cygdrive system binmode,cygdrive Found: c:\local\cygwin\bin\awk.exe Found: c:\local\cygwin\bin\bash.exe Found: c:\local\cygwin\bin\cat.exe Found: c:\local\cygwin\bin\cp.exe Not Found: cpp (good!) Found: c:\local\cygwin\bin\find.exe Not Found: gcc Not Found: gdb Found: c:\local\cygwin\bin\grep.exe Not Found: ld Found: c:\local\cygwin\bin\ls.exe Not Found: make Found: c:\local\cygwin\bin\mv.exe Found: c:\local\cygwin\bin\rm.exe Found: c:\local\cygwin\bin\sed.exe Found: c:\local\cygwin\bin\sh.exe Found: c:\local\cygwin\bin\tar.exe 55k 2004/09/14 c:\local\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0 "cygbz2-1.dll" v0.0 ts=2004/9/13 21:16 18k 2004/07/06 c:\local\cygwin\bin\cygcharset-1.dll - os=4.0 img=1.0 sys=4.0 "cygcharset-1.dll" v0.0 ts=2004/7/6 11:09 40k 2004/10/10 c:\local\cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0 "cygform-8.dll" v0.0 ts=2004/10/10 1:33 45k 2001/04/25 c:\local\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0 "cygform5.dll" v0.0 ts=2001/4/24 22:28 35k 2002/01/09 c:\local\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0 "cygform6.dll" v0.0 ts=2002/1/8 22:03 48k 2003/08/09 c:\local\cygwin\bin\cygform7.dll - os=4.0 img=1.0 sys=4.0 "cygform7.dll" v0.0 ts=2003/8/9 2:25 28k 2003/07/20 c:\local\cygwin\bin\cyggdbm-3.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm-3.dll" v0.0 ts=2003/7/20 0:58 30k 2003/08/11 c:\local\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm-4.dll" v0.0 ts=2003/8/10 19:12 19k 2003/03/22 c:\local\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm.dll" v0.0 ts=2002/2/19 19:05 15k 2003/07/20 c:\local\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 1:00 15k 2003/08/11 c:\local\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm_compat-4.dll" v0.0 ts=2003/8/10 19:13 107k 2004/07/06 c:\local\cygwin\bin\cyggettextlib-0-14-1.dll - os=4.0 img=1.0 sys=4.0 "cyggettextlib-0-14-1.dll" v0.0 ts=2004/7/6 10:56 17k 2004/07/06 c:\local\cygwin\bin\cyggettextpo-0.dll - os=4.0 img=1.0 sys=4.0 "cyggettextpo-0.dll" v0.0 ts=2004/7/6 10:56 190k 2004/07/06 c:\local\cygwin\bin\cyggettextsrc-0-14-1.dll - os=4.0 img=1.0 sys=4.0 "cyggettextsrc-0-14-1.dll" v0.0 ts=2004/7/6 10:56 17k 2001/06/28 c:\local\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0 "cyghistory4.dll" v0.0 ts=2001/1/6 20:34 29k 2003/08/10 c:\local\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0 "cyghistory5.dll" v0.0 ts=2003/8/10 16:16 25k 2004/10/12 c:\local\cygwin\bin\cyghistory6.dll - os=4.0 img=1.0 sys=4.0 "cyghistory6.dll" v0.0 ts=2004/10/11 23:51 991k 2004/07/06 c:\local\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0 "cygiconv-2.dll" v0.0 ts=2004/7/6 11:10 22k 2001/12/13 c:\local\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0 "cygintl-1.dll" v0.0 ts=2001/12/13 1:28 37k 2003/08/10 c:\local\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0 "cygintl-2.dll" v0.0 ts=2003/8/10 14:50 54k 2004/07/06 c:\local\cygwin\bin\cygintl-3.dll - os=4.0 img=1.0 sys=4.0 "cygintl-3.dll" v0.0 ts=2004/7/6 10:51 22k 2004/10/10 c:\local\cygwin\bin\cygmenu-8.dll - os=4.0 img=1.0 sys=4.0 "cygmenu-8.dll" v0.0 ts=2004/10/10 1:33 26k 2001/04/25 c:\local\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0 "cygmenu5.dll" v0.0 ts=2001/4/24 22:27 20k 2002/01/09 c:\local\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0 "cygmenu6.dll" v0.0 ts=2002/1/8 22:03 29k 2003/08/09 c:\local\cygwin\bin\cygmenu7.dll - os=4.0 img=1.0 sys=4.0 "cygmenu7.dll" v0.0 ts=2003/8/9 2:25 74k 2004/10/10 c:\local\cygwin\bin\cygncurses++-8.dll - os=4.0 img=1.0 sys=4.0 "cygncurses++-8.dll" v0.0 ts=2004/10/10 1:33 156k 2001/04/25 c:\local\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0 "cygncurses++5.dll" v0.0 ts=2001/4/24 22:29 175k 2002/01/09 c:\local\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0 "cygncurses++6.dll" v0.0 ts=2002/1/8 22:03 216k 2004/10/10 c:\local\cygwin\bin\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0 "cygncurses-8.dll" v0.0 ts=2004/10/10 1:25 226k 2001/04/25 c:\local\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0 "cygncurses5.dll" v0.0 ts=2001/4/24 22:17 202k 2002/01/09 c:\local\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0 "cygncurses6.dll" v0.0 ts=2002/1/8 22:03 224k 2003/08/09 c:\local\cygwin\bin\cygncurses7.dll - os=4.0 img=1.0 sys=4.0 "cygncurses7.dll" v0.0 ts=2003/8/9 2:24 13k 2004/10/10 c:\local\cygwin\bin\cygpanel-8.dll - os=4.0 img=1.0 sys=4.0 "cygpanel-8.dll" v0.0 ts=2004/10/10 1:32 15k 2001/04/25 c:\local\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0 "cygpanel5.dll" v0.0 ts=2001/4/24 22:27 12k 2002/01/09 c:\local\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0 "cygpanel6.dll" v0.0 ts=2002/1/8 22:03 19k 2003/08/09 c:\local\cygwin\bin\cygpanel7.dll - os=4.0 img=1.0 sys=4.0 "cygpanel7.dll" v0.0 ts=2003/8/9 2:24 62k 2003/12/11 c:\local\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0 "cygpcre-0.dll" v0.0 ts=2003/12/11 9:01 63k 2003/04/11 c:\local\cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0 "cygpcre.dll" v0.0 ts=2003/4/11 1:31 9k 2003/12/11 c:\local\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0 "cygpcreposix-0.dll" v0.0 ts=2003/12/11 9:01 61k 2003/04/11 c:\local\cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0 "cygpcreposix.dll" v0.0 ts=2003/4/11 1:31 22k 2002/06/09 c:\local\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0 "cygpopt-0.dll" v0.0 ts=2002/6/8 22:45 108k 2001/06/28 c:\local\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0 "cygreadline4.dll" v0.0 ts=2001/1/6 20:34 148k 2003/08/10 c:\local\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0 "cygreadline5.dll" v0.0 ts=2003/8/10 16:16 144k 2004/10/12 c:\local\cygwin\bin\cygreadline6.dll - os=4.0 img=1.0 sys=4.0 "cygreadline6.dll" v0.0 ts=2004/10/11 23:51 62k 2004/10/10 c:\local\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0 "cygz.dll" v0.0 ts=2004/10/9 21:09 1114k 2004/11/10 c:\local\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=2004/11/10 5:34 Cygwin DLL version info: DLL version: 1.5.12 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 116 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: Wed Nov 10 08:34:47 EST 2004 Shared id: cygwin1S4 Cygwin Package Information Last downloaded files to: C:\Documents and Settings\dhinds\Desktop Last downloaded files from: http://mirrors.rcn.net/pub/sourceware/cygwin Package Version _update-info-dir 00230-1 ash 20040127-1 base-files 3.1-4 base-passwd 2.1-1 bash 2.05b-16 bzip2 1.0.2-6 cygutils 1.2.5-1 cygwin 1.5.12-1 cygwin-doc 1.3-7 diffutils 2.8.7-1 editrights 1.01-1 fileutils 4.1-2 findutils 4.1.7-4 gawk 3.1.4-3 gdbm 1.8.3-7 grep 2.5-1 groff 1.18.1-2 gzip 1.3.5-1 less 381-1 libbz2_1 1.0.2-6 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 libgettextpo0 0.14.1-1 libiconv 1.9.2-1 libiconv2 1.9.2-1 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-1 libpcre 4.1-1 libpcre0 4.5-1 libpopt0 1.6.4-4 libreadline4 4.1-2 libreadline5 4.3-5 libreadline6 5.0-1 login 1.9-7 man 1.5o-1 mktemp 1.5-3 ncurses 5.4-1 readline 5.0-1 sed 4.1.2-1 sh-utils 2.0.15-4 tar 1.13.25-5 termcap 20021106-2 terminfo 5.4_20041009-1 texinfo 4.2-4 textutils 2.0.21-1 which 1.5-2 zlib 1.2.2-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/