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


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.



--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


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