Scripts with #! /bin/sh fails to execute with error bad Interpreter...
Steven Sim
pacrealm at postone.com
Tue Sep 30 20:58:12 SGT 2003
Hello All;
I'm trying to compile Apache and I did
./configure --enable-mods-shared=all<enter>
I got
bash: ./configure: /bin/sh: bad interpreter: Permission denied
Subsequently I check with
which sh<enter>
I got
/bin/sh<enter>
and then
ls -al /bin/sh<enter>
lrwxrwxrwx 1 root root 4 Sep 29 2002 /bin/sh -> bash
Again, a simple
bash<enter>
returned me the appropriate bash prompt
sh<enter>
sh-2.05a#
what's wrong?
I cannot seem to run any scripts with starts off with #! /bin/sh...they all
have the same error...
bash: ./configure: /bin/sh: bad interpreter: Permission denied
I'm running as ROOT
Warmest Regards
Shutterbug
More information about the Slugnet
mailing list