Error: /bin/bash: bad interpreter: No such file or directory

David J Jones djjones@epicworld.gotdns.com
Sun Jul 18 12:00:00 GMT 2004


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 85921 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20040718/0ad10618/attachment.obj>
-------------- next part --------------
--
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/


More information about the Cygwin mailing list