Forums » Linux

installation problems

Mar 28, 2003 nylrem link
When I run sh ./vendetta-linux-installer.sh

I recieve the error:

Verifying archive integrity...OK
Uncompressing Vendetta Demo for Linux..
./vendetta-linux-installer.sh: ./setup.sh: /bin/sh: bad interpreter: Permission denied
The program returned an error code (126)


Does anyone have any thoughts on how to fix this so I can be able to enjoy Vendetta?

Nylrem
Mar 28, 2003 nylrem link
OH.... i'm running Redhat 8.0 on P4-1.5GHz w/ 384 MB ram and a 16meg Geforce 3 card.
Mar 28, 2003 roguelazer link
Just out of curiousity, can you run as root? Don't install the whole thing, but will it let you run?
Mar 28, 2003 nylrem link
yeah....i tried running it as root...but i still recieved the same error
Mar 28, 2003 roguelazer link
Question: did you execute ./vendetta-linux-installer.sh or did you "sh vendetta-linux-installer.sh"?
Mar 28, 2003 nylrem link
I tried both...and I've never run into this sort of shell interpreter problem before.
Mar 28, 2003 roguelazer link
Have you ever used the Loki Installer? Does it work for you?
Mar 28, 2003 nylrem link
No...I've never used the Loki Installer.
I'll give it a shot.
Mar 28, 2003 romikq link
chmod 755 /bin/sh
although it would be very weird that something /bin doesn't have +x permissions, so its probably something else
Mar 28, 2003 nylrem link
I just noticed that /bin/sh is linked to /bin/bash
I know that these are pretty much the same, but could this conflict arise from this fact?
Mar 28, 2003 roguelazer link
That's not a problem, mine links to bash as well.
Apr 01, 2003 a1k0n link
Wow, that's bizarre. Did you try chmod 755 vendetta-linux-installer.sh first? If you can run /bin/sh, it doesn't really make sense, unless you have some kind of paranoid kernel patch which only runs certain interpreters. I haven't run into this before.
Apr 07, 2003 Turmoyl link
I've only seen this once before and to this day I don't know what I did to make it happen, but try:

chmod 755 (or even 777) /path/to/vendetta/installer.

i.e. # chmod 755 /home/turmoyl/apps

Some Linux flavors also don't give execute permissions to home directories and that can cause this issue.
Apr 16, 2003 Tcide link
What filesystem is the drive u are installing to, be sure you install it on an EXT2 or EXT3 drive, and NOT a VFAT drive.. Permission Denied is very common of installing progs to/from a fat drive...