delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/18/10:47:53

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Sun, 18 Jul 2004 10:47:46 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: David J Jones <djjones AT epicworld DOT gotdns DOT com>
cc: cygwin AT cygwin DOT com
Subject: RE: Error: /bin/bash: bad interpreter: No such file or directory
In-Reply-To: <E1Bm9Fh-0003Os-00@quimby.gnus.org>
Message-ID: <Pine.GSO.4.58.0407181036420.19508@slinky.cs.nyu.edu>
References: <Pine DOT GSO DOT 4 DOT 58 DOT 0407171907030 DOT 19508 AT slinky DOT cs DOT nyu DOT edu>, <ed4a6ac91636c639a79dd3f24ae980bf AT NO-ID-FOUND DOT mhonarc DOT org> <E1Bm9Fh-0003Os-00 AT quimby DOT gnus DOT org>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

David,

This is very puzzling.  Your mounts are present in the registry, but
for some reason the Cygwin DLL can't see them.  Does your registry have
any special permissions?  Could you please post the results of

cd /cygdrive/c/cygwin/bin
./ls "/proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Cygnus Solutions/Cygwin/mounts v2"
./regtool list "/HKLM/SOFTWARE/Cygnus Solutions/Cygwin/mounts v2"

as run from a bash shell?  Also, could you please run

.\strace -o ls_etc.strace ./ls /etc

from your c:\cygwin\bin directory, and e-mail me ls_etc.strace privately?
I'd like to see if the strace shows anything.  If it does, I'll post a
summary to the list.

FWIW, your user mounts seem to be visible, so *after you do the above*, as
a short-term workaround, you can try this:

mount -f -u -b "c:/cygwin" "/"
mount -f -u -b "c:/cygwin/bin" "/usr/bin"
mount -f -u -b "c:/cygwin/lib" "/usr/lib"

but be aware that this will give you a limited-use Cygwin (e.g., Cygwin
services, like sshd, still won't work).
HTH,
	Igor

On Sun, 18 Jul 2004, David J Jones wrote:

> This time, I double checked I followed the uninstall instructions and
> wiped it all out, every file downloaded and everything within the
> registry, just to be sure.  When installed, I tried something I read
> about permissions and created the directory by hand and gave full access
> to the directory to everyone.  Then downloaded a complete new set of
> files and installed.
> All the files seem to install fine according to the logs however the
> scripts once again fail and this message is produced.
>
> 2004/07/18 05:36:58 running: c:\cygwin\bin\sh.exe -c
> /etc/postinstall/apache.sh
> /etc/postinstall/apache.sh: not found
>
> When I run './ls /' it gives me the output of my C drive at it's root, if I
> understand correctly my root should be "c:/cygwin/" and not "c:/" as this
> reflects.
> Also "./ls /etc" reflects no such file or directory, which is expected given
> it points to the wrong place.
> I ran the mount command you gave and it does not change my mounts.  After
> running my mount output is this..
> bash-2.05b$ mount
> c: on /cygdrive/c type user (binmode,noumount)
> d: on /cygdrive/d type user (binmode,noumount)
> e: on /cygdrive/e type user (binmode,noumount)
> f: on /cygdrive/f type user (binmode,noumount)
> g: on /cygdrive/g type user (binmode,noumount)
> h: on /cygdrive/h type user (binmode,noumount)
> bash-2.05b$
>
> If I am starting to understand my exact problem (yes I could be wrong), I
> need to get my root changed and then run all the install scripts to get my
> system working?  Of course.. how is a good question to..
>
> Thank you for your assistance.
>
>
>
> -----Original Message-----
>
>
> You still have weird flags in your mounts.  Did you follow the directions
> in the FAQ link to completely wipe Cygwin off your machine before you
> reinstalled?
>
> If so, what do '.\ls.exe /' and '.\ls.exe /etc' print when started from
> c:\cyg1\bin?  Try also "mount -s -b -c /cygdrive", and see if it helps.
> Otherwise, I'm stumped.
> 	Igor

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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