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: A vexing installation problem


On Mon, Nov 29, 2004 at 10:44:42AM -0800, David Hinds wrote:
>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.

I haven't been paying close attention but I didn't see the word "reboot"
in the text above.  If you haven't rebooted your system, you should try
that.  You should also search the system for other copies of cygwin1.dll
even if cygcheck didn't seem to find another version.  Nuke any old
versions.

cgf

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]