delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/28/14:19:31

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT org>
Subject: Re: 2.510.2.2: bash won't open after install
Date: Wed, 28 Dec 2005 13:18:38 -0600
Lines: 57
Message-ID: <douoee$ktt$1@sea.gmane.org>
References: <22ebf81a0512271155g5159a209o62dfc4e37de19c43 AT mail DOT gmail DOT com> <22ebf81a0512280617vfa1571x216966e0445ff6ea AT mail DOT gmail DOT com>
Mime-Version: 1.0
User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
In-Reply-To: <22ebf81a0512280617vfa1571x216966e0445ff6ea@mail.gmail.com>
OpenPGP: url=ldap://keyserver.pgp.com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Nick Low wrote:

> This morning, I tried to reinstall everything and see if that would
> make a difference.  It did not seem to matter though.  I have attached
> both the setup.log and setup.log.full files to this message.

Try not to send such big files, and if you have to, why not compress them?

> It appears that none of the postinstall scripts (which are all called
> using bash) are running on this server.
>=20
> The 00ash.sh which looks like it is supposed to copy the bash.exe to
> sh.exe does not appear to be doing anything, nor does an error get
> generated anywhere either.  I still do not have a sh.exe file in the
> /bin directory.
>=20
> According to the installer application, I am trying to install bash
> version 3.0-14.
>=20
> ----------------------------
>=20
> OK - now here is some weirdness to add to the mix, which hopefully
> will give someone the information they need to answer my question.
>=20
> I ran 'strace bash > bashtrace.out' to collect data off of that in
> case it was asked for, and the bash prompt came up!  I was then able
> to run all of the post installation scripts manually.  All of the
> files in the /etc directory were created properly.  Then, I opened my
> bash shell window using the shortcut on the desktop successfully too.
>=20
> Thinking that everything was now fine, I close both the cmd window
> running strace and the bash window, and the old habit was once again
> displayed.  The bash window flashed on the screen and went away.
>=20
> So, I opened up a new cmd window, reran 'strace bash > bashtrace.out',
> got a new bash prompt in that window and was then able to once again
> launch bash from its shortcut on the desktop.
>=20
> Any help would be appreciated greatly.

There is a big difference between running "strace bash > bashstrace.out" and
using the cygwin.bat file: one is running bash with no parameters the other=
 is
running "bash --login -i".

This means that you probably have user configuration problems, it could be a
Windows Server 2003 problem, or your $HOME is in some weird place, or whate=
ver.

Why don't you edit the cygwin.bat file, put a "pause" at the end, and see w=
hat
the error message says?
--=20
Ren=E9 Berber


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019