Linux Ubuntu with startup l2jserver problem
Posted: Fri May 10, 2013 12:26 pm
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?
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