Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Please help me run it on Debian10

Newbie Spellweaver
Joined
Jul 4, 2021
Messages
36
Reaction score
12
system :
Debian10(linux)
jdk1.7
SerVer : Robson26 AionServer3.5


Problems running game server on Debian10(linux)
Login server and chat server work fine
Only game servers have problems


error content
#sh ./StartGS.sh

ERROR
[main] com.aionemu.gameserver.utils.ThreadUncaughtExceptionHandler [ThreadUncaughtExceptionHandler.java:22]
Critical Error - Thread: main terminated abnormaly: java.lang.VerifyError: Expecting a stack map frame

Exception Details:
Location:
com/aionemu/gameserver/utils/javaagent/JavaAgentUtils.checkGlobalCallback()Z @84: iload_2
Reason:
Error exists in the bytecode
Bytecode:
0000000: 1214 b200 8901 b800 8c4b 2ab6 008e 9900 0000010: 0703 a700 0703 a700 033d 2ab6 008e 9900 0000020: 0e2a b600 90c0 004c b600 923d 1214 b200 0000030: 8901 1cbb 004c 595d 58b7 0094 b800 974b 0000040: 2ab6 0099 9900 0e2a b600 9ac0 004c b600 0000050: 92ac 1cac 1cac
Stackmap Table:
append_frame(@21,Object[#55])
same_locals_1_stack_item_frame(@25,Integer)
full_frame(@44,{Top,Top,Integer},{})
same_frame(@82)


java.lang.VerifyError: Expecting a stack map frame
Exception Details:
Location:
com/aionemu/gameserver/utils/javaagent/JavaAgentUtils.checkGlobalCallback()Z @84: iload_2
Reason:
Error exists in the bytecode Bytecode:
0000000: 1214 b200 8901 b800 8c4b 2ab6 008e 9900 0000010: 0703 a700 0703 a700 033d 2ab6 008e 9900 0000020: 0e2a b600 90c0 004c b600 923d 1214 b200 0000030: 8901 1cbb 004c 595d 58b7 0094 b800 974b 0000040: 2ab6 0099 9900 0e2a b600 9ac0 004c b600 0000050: 92ac 1cac 1cac
Stackmap Table:
append_frame(@21,Object[#55])
same_locals_1_stack_item_frame(@25,Integer)
full_frame(@44,{Top,Top,Integer},{})
same_frame(@82)

at com.aionemu.gameserver.GameServer.initUtilityServicesAndConfig(GameServer.java:332) ~[AL-Game.jar:na] at com.aionemu.gameserver.GameServer.main(GameServer.java:146) ~[AL-Game.jar:na]

------------------------------------solved thank you--------------------------------------------------

Modify : StartGS.sh
#!/bin/bash

case $1 in
noloop)[ -d log/ ] || mkdir log/[ -f log/console.log ] && mv log/console.log "log/backup/`date +%Y-%m-%d_%H-%M-%S`_console.log"
java -Xms128m -Xmx3072m -ea -XX:-UseSplitVerifier -javaagent:./libs/al-commons-1.3.jar -cp ./libs/*:AC-Game.jar com.aionemu.gameserver.GameServer > log/console.log 2>&1
echo $! > gameserver.pid
echo "Server started!"
;;*)./StartGS_loop.sh &
;;
esac

Modify : StartGS_loop.sh
#!/bin/bash
err=1until [ $err == 0 ];
do
[ -d log/ ] || mkdir log/[ -f log/console.log ] && mv log/console.log "log/backup/`date +%Y-%m-%d_%H-%M-%S`_console.log"
java -Xms128m -Xmx3072m -XX:-UseSplitVerifier -ea -javaagent:./libs/al-commons-1.3.jar -cp ./libs/*:AC-Game.jar com.aionemu.gameserver.GameServer > log/console.log 2>&1
err=$?gspid=$!echo ${gspid} > gameserver.pidsleep 10done
 
Last edited:
Joined
Sep 21, 2013
Messages
2,319
Reaction score
3,087
Hey i've never used the emulator on Linux, you are using which StartGS ??
See, if i use the wrong StartGS, i'll get the same error on Windows...

adam8014 - Please help me run it on Debian10 - RaGEZONE Forums
 
Last edited:
Upvote 0
Newbie Spellweaver
Joined
Jul 4, 2021
Messages
36
Reaction score
12
thanks for the comment
i solved this problem
Works very well on Debian10I think you just need to try a few more
 
Upvote 0
Joined
Mar 29, 2019
Messages
1,028
Reaction score
1,184
I manage to install Aion succesfully on debian 10 following this steps

Download java 7 from

Now run this

Code:
mkdir /opt/jdk
tar -zxf jdk-xxx-linux-x64.tar.gz -C /opt/jdk
update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.7.0_80/bin/java 100
update-alternatives --install /usr/bin/javac javac /opt/jdk/jdk1.7.0_80/bin/javac 100

When you finish to run those commands then execute java -version

Output will be like this

Code:
root@machine:/# java -version
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)

if that's you output then java is done

Now install dos2unix

Code:
sudo apt-get install dos2unix

and move AionServerPlay folder with Chat, Login and Game servers to your debian server

run dos2unix for StartGS.sh, StartLS.sh and StartCS.sh like this

Code:
dos2unix StartGS.sh

After that configure ipconfig and database parameters (obviously u need to have an mysql server instance running with previously imported sql dbs) but here are tons of guides on how to do that

Here's a output from "ps a" command where it shows that CS. LS and GS are running

adam8014 - Please help me run it on Debian10 - RaGEZONE Forums


And yes, i'm running aion alongside with a wow server :)

Cheers

Sorry for my bad english
 
Last edited:
Upvote 0
Back
Top