• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

L2J FreeBsd 11.1 ./startGameServer.sh wont run

Initiate Mage
Joined
Jan 27, 2016
Messages
1
Reaction score
0
Hello friends i have problem starting gameServer.sh ,when i type ./startGameServer.sh i get output "./startGameServer.sh: ./GameServer_loop.sh: not found" all files have permission "chmod +x" RegisterGameServer.sh and other is working. I searching for solution 2 days.
startGameServer.sh file config:


#! /bin/sh

./GameServer_loop.sh &

GameServer_loop.sh file config:

#!/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 -Xms1024m -Xmx1024m -cp ./../libs/*:L2JLisvus.jar net.sf.l2j.gameserver.GameServer > log/stdout.log 2>&1
[ $? -ne 2 ] && break
# /etc/init.d/mysql restart
sleep 10
done


Skype:Robertas-Navickas
 
Back
Top