X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r.berber@computer.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@mail.gmail.com> <22ebf81a0512280617vfa1571x216966e0445ff6ea@mail.gmail.com>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1
Content-Transfer-Encoding:  quoted-printable
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@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

