Page 1 of 1

Linux Ubuntu with startup l2jserver problem

Posted: Fri May 10, 2013 12:26 pm
by Violence
I am very sorry, most likely, the topic was already raised in the forum but yet I could not find it, please help me with running the server on a server platform Ubuntu 12.04.2 LTS (GNU/Linux 3.2.0-40-generic x86_64)

Tried to run the server using File GameServer_loop.sh and he writes me that "GameServer.sh: ./GameServer_loop.sh: not found" Gave all of the file is also not possible, maybe I should not do so then? please help me.

Prior to that Aion had the same problem, there seems to have copied the startup file and was all right, that sent the startup code, there may be something wrong?

Code: Select all

#!/bin/bash # exit codes of GameServer:#  0 normal shutdown#  2 reboot attempt while :; do    [ -f log/java0.log.0 ] && mv log/java0.log.0 "log/`date +%Y-%m-%d_%H-%M-%S`_java.log"    [ -f log/stdout.log ] && mv log/stdout.log "log/`date +%Y-%m-%d_%H-%M-%S`_stdout.log"    java -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xms1024m -Xmx1024m -cp ./../libs/*:l2jserver.jar com.l2jserver.gameserver.GameServer > log/stdout.log 2>&1    [ $? -ne 2 ] && break#   /etc/init.d/mysql restart    sleep 10done 

Re: Linux Ubuntu with startup l2jserver problem

Posted: Fri May 10, 2013 12:41 pm
by jurchiks
You're supposed to start the server with startGameServer.sh

Re: Linux Ubuntu with startup l2jserver problem

Posted: Fri May 10, 2013 12:43 pm
by Violence
And after that, the server must run? Just run the lines are exactly the file GameServer_loop.sh

Re: Linux Ubuntu with startup l2jserver problem

Posted: Fri May 10, 2013 12:44 pm
by JMD
Have you chmod the stargameserver.sh and gameserver_loop.sh files?

Re: Linux Ubuntu with startup l2jserver problem

Posted: Fri May 10, 2013 1:03 pm
by Violence
My apologies, the problem is solved, it turns out the wrong file was trying to start the server.

Re: Linux Ubuntu with startup l2jserver problem

Posted: Mon Feb 19, 2018 8:55 pm
by SubwoO
Please someone help me i have same problem .