Help - Search - Members - Calendar
Full Version: gunzip bf2-linuxded-1.1.2965-797.0-installer.sh
The Planet Forums > System Administration > Game Hosting
Homie
Uncompressing Battlefield 2 Dedicated Linux Server 1.1.2965-797.0...........................................................................
................................................................................
................................................................................
.................................................................
bf2-linuxded-1.1.2965-797.0-installer.sh: ./license.sh: /bin/sh: bad interpreter: Permission denied


HEELP : {
yes im logged in as r00t so i know its not that
doc
Your problem is it is Linux. tongue.gif
Homie
QUOTE (doc @ Jan 1 2008, 11:59 PM) *
Your problem is it is Linux. tongue.gif

umm no
markcausa
QUOTE (doc @ Jan 1 2008, 07:59 PM) *
Your problem is it is Linux. tongue.gif

Doc, your love for Windows is showing...
doc
I love Linux for web hosting but for game servers you need Windows due to the limitation of most games not being available for Linux. Also, there is a crash bug for BF2 in Linux that was never addressed.
rabbit994
QUOTE (Homie @ Jan 1 2008, 11:10 PM) *
umm no

Umm Yes, BF2/2142 have massive issues on Linux they don't have Windows. Problem is EA coding for Linux but it doesn't change the fact.
thedude
QUOTE (Homie @ Jan 1 2008, 09:35 PM) *
Uncompressing Battlefield 2 Dedicated Linux Server 1.1.2965-797.0...........................................................................
................................................................................
................................................................................
.................................................................
bf2-linuxded-1.1.2965-797.0-installer.sh: ./license.sh: /bin/sh: bad interpreter: Permission denied
HEELP : {
yes im logged in as r00t so i know its not that



cat /etc/fstab

post the output here.

Also.....are you using the /bin/bash shell or /bin/sh?

its possible your using the /bin/bash shell(pretty common), and the installer is trying to use the /bin/sh shell?

might also try.

chmod +x bf2-linuxded-1.1.29*

Then try running the installer.
Homie
# cat /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults,usrquota 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/home /home ext3 defaults,usrquota 1 2
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=/tmp /tmp ext3 defaults 1 2
LABEL=/usr /usr ext3 defaults,usrquota 1 2
LABEL=/var /var ext3 defaults,usrquota 1 2
LABEL=SWAP-sda7 swap swap defaults 0 0
/tmp /var/tmp ext3 defaults,bind,noauto 0 0
/dev/hda /media/cdro auto pamconsole,exec,noauto,managed 0 0


are you using the /bin/bash shell or /bin/sh?

HOW WOULD I KNOW? icon_biggrin.gif
thedude
have you tried the chmod +x command on your install file?

does your shell prompt look like this:

[root@yourserver server]:

or like this


SH-3.00#

?
Homie
QUOTE (thedude @ Jan 2 2008, 02:48 AM) *
have you tried the chmod +x command on your install file?

does your shell prompt look like this:

[root@yourserver server]:

or like this
SH-3.00#

?

yes i tried that : {
thedude
Try re-downloading the file? lol

Where is the file right now?

I.e...

/home/download

/root
??
Homie
QUOTE (thedude @ Jan 2 2008, 02:53 AM) *
Try re-downloading the file? lol

Where is the file right now?

I.e...

/home/download

/root
??

[root@jet1 ~]# cd /bf2
[root@jet1 bf2]#



re download?? why lol ive already done that.. but i chmodded it before then did chmod +x
thedude
QUOTE (Homie @ Jan 2 2008, 12:59 AM) *
[root@jet1 ~]# cd /bf2
[root@jet1 bf2]#
re download?? why lol ive already done that.. but i chmodded it before then did chmod +x



Could be a bad download maybe...lol

Wouldn't hurt to try.
Homie
QUOTE (thedude @ Jan 2 2008, 03:00 AM) *
Could be a bad download maybe...lol

Wouldn't hurt to try.

didnt work
thedude
Don't think this will work, but download this:

http://www.webmesto.net/bf2-test/bf2-linux....0-installer.sh

This is the same file you have, but I modified it to run under /bin/bash instead of /bin/sh

It might not make any difference at all, but its worth a shot right? lol
Homie
didnt work the dude : [
Homie
Every time I've run into this, it has been becasue the cdrom is mounted with the noexec option. Check out your /etc/fstab and see if it's there. Removing the option does wonders for the LabVIEW installation. Also avoids the need to copy the disk. Probably has some negative impact on security, but I've never really worried about that.


i got that from somewhere.. dunno if it works with bf2 and i dont know hwo to do that help! :[

http://helmi-blebe.blogspot.com/2006/11/bi...permission.html
thedude
That sucks....

Do this and let me know the output

ls -l /bin/sh
Homie
[root@jet1 bf2]# ls -l /bin/sh
lrwxrwxrwx 1 root root 4 Dec 18 07:37 /bin/sh -> bash
[root@jet1 bf2]#
thedude
Your CD-ROM is not mounted with the noexec option...so thats probably not the case.

The BF2 installer uses the /tmp directory for a temp location...its possible it might be a problem witht he permissions in the /tmp directory.
Homie
so how can i fix that? icon_biggrin.gif
thedude
Re-download the link I gave you again, and re-run the installer.

I changed the temp directory it uses to use a different directory. Specifically to use /home instead of /tmp
Homie
omfg thanks it works now.. XD
thedude
Sweet.

Guess it was a issue with your /tmp directory
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.