AAO25.com
America's Army => General Chat => Topic started by: Norby.hu on Wednesday, January 18, 2012, 04:00:42 AM
-
I have a program I'm using WinSCP to access the server.
25assist downloaded the linux version of the program. I uploaded it to the root directory.
1. step: Open terminal
2. step: Enter Comand: I typed it here, "./25Assist"
3. step: Execute or enter
Then I get this error:
Command './25assist'
failed with reutrn code 126 and error message
-bash: line 11: ./25assist: Permission denied
Question: Something is not well done?
Something is not well done?
-
The current versions of assist is a GUI application for gnome desktop.
It will not run on a command line.
A command line dedicated server will be released soon.
-
Someone could show that the linux server which folders.
-
Could anyone send me in a Linux Server?
-
AA25.ORG AMERICAS ARMY 2.5ASSIST DEDICATED SERVER README
LINUX SERVER INSTRUCTIONS
First you must have an existing americas army 2.5 installation,
If you do not follow these instuctions to download and install it...
------------
Login to your server on the console or remotely using SSH:
Move into your home folder:
cd ~
Download the installation package:
wget http://ftp.free.fr/mirrors/AmericasArmy/Linux_v2.5.0/armyops250-linux.run
Set executable and execute:
chmod +x armyops250-linux.run
./armyops250-linux.run
When asked for an installation path enter: ~/armyops
Say no to symbolic links
Select Base Install
Say no to startup menu entrys
After some time the installation will complete.
You may now delete the installation package:
rm armyops250-linux.run
------------
2.5ASSIST DEDEICATE SERVER INSTALLATION:
Move into your americas army 'System' folder
On our fresh install you would use:
cd ~/armyops/System
On an existing 25Assist(GUI) Installation use:
cd ~/25Assist/armyops/System
IMPORTANT, Rename server-bin to serverx
mv server-bin serverx
chmod +x serverx
Download and extract 2.5assist:
wget http://downloads.sourceforge.net/project/aa25assist/Binaries/ldedisrv.tar.gz
tar -xvf ldedisrv.tar.gz
chmod +x server-bin
Now edit the aa25.ini file with your required settings:
nano aa25.ini
Start the Server:
./server-bin GLOBAL map-filename
(replace map-filename with your choosen map, bridge, insurgent_camp, radio_tower, etc.)
(Optional command-line argument -Port=1716 overrides setting in aa25.ini)
-
apt-get install ia32-libs-gtk
-
old script screen
runserver.sh
#!/bin/bash
RED="\033[0;31m"
GRAY="\033[1;30m"
LIGHT_GRAY="\033[0;37m"
CYAN="\033[0;36m"
LIGHT_CYAN="\033[1;36m"
RED="\033[0;31m"
BLUE="\033[0;34m"
GREEN="\033[0;32m"
NO_COLOUR="\033[0m"
# --- Edit ---
screen=`which screen`
ServerName="ArmyOps Server 2.8"
export gamedir="/home/vipnetgames/aao285"
PATH="${PATH}:/home/vipnetgames/aao285/System"
export PATH=$PATH
ScreenName="AAO"
mapgame="Tunnel.aao"
LOG_NAME=`date '+%m%d%Y_Hr%H_Mn%M'`
ScreenExec="${gamedir}/System/server-bin global $mapgame -nohomedir -ini=server.ini -log=../Logs/$LOG_NAME"
# --- Ende ---
echo "$LOG_NAME" >> $gamedir/System/aateste.txt
echo "$PATH" >> $gamedir/System/aateste.txt
echo "$ScreenExec" >> $gamedir/System/aateste.txt
echo "$screen" >> $gamedir/System/aateste.txt
ServerPid=`$screen -list | grep $ScreenName | cut -d"." -f1`
case $1 in
start)
echo "starte $ServerName Server ..."
echo "updating PB + AASA Files"
cd /
cd ${gamedir}/System
echo "finished now starting Server"
#cd System
$screen -d -m -S ${ScreenName} ${ScreenExec}
#cd -
;;
stop)
echo "stoppe $ServerName Server ..."
kill $ServerPid
;;
restart)
echo "stoppe $ServerName Server ..."
kill $ServerPid
sleep 2
echo "starte $ServerName Server ..."
echo "updating PB + AASA Files"
#./System/update.sh
echo "finished now starting Server"
cd System
$screen -d -m -S ${ScreenName} ${ScreenExec}
#cd -
;;
status)
printf "$CYAN Americas Army Server$NO_COLOUR\t\t\t["
aao="` ps ax | grep SCREEN | grep $ScreenName | tr "\n" "<"| cut -d "<" -f 1 | cut -d ":" -f2| cut -d " " -f2`"
if [ -z $aao ]; then
printf "$RED FALSE"
printf " $NO_COLOUR]\n"
cd /
cd ${gamedir}/System
$screen -d -m -S ${ScreenName} ${ScreenExec}
else
printf "$GREEN OK"
printf " $NO_COLOUR]\n"
fi
;;
*)
echo "Usage: $0 {start|stop|restart|status}"
exit 2
;;
esac
-
The trick is, regardless of GNOME or KDE desktop environments, all you have to do is:
chmod 777 25Assist
chmod +x 25Assist
Now the file can be executed using ./25Assist
The "+x" states that it has an executable code to run before anything else.
-
The trick is, regardless of GNOME or KDE desktop environments, all you have to do is:
chmod 777 25Assist
chmod +x 25Assist
Now the file can be executed using ./25Assist
The "+x" states that it has an executable code to run before anything else.
The chmod in the first line already makes the file executable, so second line is redundant in that case. Anyway: I would absolutely not make an executable file world writeable.
Better just use:
chmod +x 25Assist
-
Server startup: Server admin interface elindil. But the Assist System can not see server list.
screenlog.0
GLOBAL SFhospital -nohomedir ini
CONNECTING
OK
LATEST v7.22
I AM v7.22
CHECKING AA Server Installation
Valid AA 2.5 Server Found
Checking AA2.5Assist Server Files
AA25 Files OK
libstdc++.so.5 OK
PB Client VERIFIED c2243 a1371
PunkBuster Server OK
Checking BD map pack
BD map pack OK
Checking mAAp map pack
mAAp map pack OK
Checking for updated Antipoke.u
6DE9EF9706C08905B91B8DCD186734DB90408876
AntiPoke.u is up to date.
Checking for updated aa-pbsv.cfg
B22414E6C9B2F7C10CE640EC151282606B8E5289
aa-pbsv.cfg is up to date.
STARTING NETWORK PORT TEST
Game Port OK
Query Port OK
====== ASSIST SERVER MANAGER - Port Test Successful ======
====== AUTO STARTING SERVER ======
====== ASSIST SERVER MANAGER - Starting Server ======
====== ASSIST SERVER MANAGER - Loading AA Server ======
bash: /big/users/jacksonklan1505/server/System/serverx: Permission denied
What could be the problem?
-
Hi Norby look first to http://aao25.com/2-5-assist/assist-moving-to-2-8-5/
Befor you startup linux server . don t know which way assist is gowing whit that 2.8.5
greating m8
I have a program I'm using WinSCP to access the server.
25assist downloaded the linux version of the program. I uploaded it to the root directory.
1. step: Open terminal
2. step: Enter Comand: I typed it here, "./25Assist"
3. step: Execute or enter
Then I get this error:
Command './25assist'
failed with reutrn code 126 and error message
-bash: line 11: ./25assist: Permission denied
Question: Something is not well done?
Something is not well done?
-
Visit www.auaaao25.com and post in Server section on forum. Player OICURMT is a linux genius and is currently writing a script for all linux servers which you may find very helpful.
AUSAAO25 Co-Founder
-
Server startup: Server admin interface elindil. But the Assist System can not see server list.
screenlog.0
GLOBAL SFhospital -nohomedir ini
CONNECTING
OK
LATEST v7.22
I AM v7.22
CHECKING AA Server Installation
Valid AA 2.5 Server Found
Checking AA2.5Assist Server Files
AA25 Files OK
libstdc++.so.5 OK
PB Client VERIFIED c2243 a1371
PunkBuster Server OK
Checking BD map pack
BD map pack OK
Checking mAAp map pack
mAAp map pack OK
Checking for updated Antipoke.u
6DE9EF9706C08905B91B8DCD186734DB90408876
AntiPoke.u is up to date.
Checking for updated aa-pbsv.cfg
B22414E6C9B2F7C10CE640EC151282606B8E5289
aa-pbsv.cfg is up to date.
STARTING NETWORK PORT TEST
Game Port OK
Query Port OK
====== ASSIST SERVER MANAGER - Port Test Successful ======
====== AUTO STARTING SERVER ======
====== ASSIST SERVER MANAGER - Starting Server ======
====== ASSIST SERVER MANAGER - Loading AA Server ======
bash: /big/users/jacksonklan1505/server/System/serverx: Permission denied
What could be the problem?
have you set permissions for serverx ?
chmod +x serverx