Results 1 to 6 of 6
Hi everyone.
I've been trying to install several apps, such as firefox and apache. But here's the deal: according to every tutorial, all i have to do is uncompress and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-28-2005 #1
./ problems
Hi everyone.
I've been trying to install several apps, such as firefox and apache. But here's the deal: according to every tutorial, all i have to do is uncompress and then ./ and the name of the file. But i get this error: "./whatever: permission denied". I googled the problem last night and i couldn't find a bit of info on how to get this fixed. You guys surely know so let me know too. Thanks in advanced.
- 01-28-2005 #2Linux Enthusiast
- Join Date
- Dec 2004
- Location
- Rockin' in the USA!!!
- Posts
- 603
If you are compiling these apps do:
Code:cd <dirname> ./configure --<config-options> make make install
- 01-28-2005 #3
Ok, for instance, i went into the apache directory and typed:
I get the following error:Code:[root@00e0295c9f23 httpd-2.0.52]# ./configure bash: ./configure: /bin/sh: bad interpreter: Permission denied
I already tried the /bash/sh and i get the same thing. Something must be wrong with my commands cause i remember last time i installed it was like in medium security and that's the only thing i did different. Any other ideas?Code:bash: ./configure: /bin/sh: bad interpreter: Permission denied
- 01-28-2005 #4Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
Looks like either /bin/sh is corrupt or you haven't got execute rights to this.
Log in as root (Cos you won't be able to su)
That should be the minmum to ensure that you can run it. If it is corrupt however you may need to do some messing around, try using /bin/bash or /bin/zsh.Code:chmod ug+rx /bin/sh
- 01-28-2005 #5
Ok i'm gonna try that, i'll let you know soon how it went. Thanks a lot man!
And just to clarify, i'm running this commands as root. I've always have.
- 01-30-2005 #6
Hi, i typed that thing you told me and i get the same result. Here's what i typed and the result too:
Code:[root@00e0295c9f23 punisher]# chmod ug+rx /bin/sh [root@00e0295c9f23 punisher]#
What can i do? I know this is like the common way to install things, if i can't get it done this way, then....?Code:[root@00e0295c9f23 firefox-installer]# ./firefox-installer bash: ./firefox-installer: /bin/sh: bad interpreter: Permission denied
I ended up googling the problem and i read that this command gave a bit of info about /bin/sh:
Hope it helps you get a better idea of what could be wrong.Code:[root@00e0295c9f23 firefox-installer]# ls -l /bin/sh lrwxrwxrwx 1 root root 4 Jan 14 13:27 /bin/sh -> bash*
Forget all this, i just passed the directory extracted to /usr and ran "[root@00e0295c9f23 firefox-installer]# ./firefox-installer" and i got the installation wizard running. Go figure......


Reply With Quote
