Jump to content
  • 0

Gameserver_loop.sh error


estaz

Question

Hi everyone,

 

I'm having an error while starting l2j server through ssh. The error looks like this:

 

server:~/server/gameserver# ./GameServer_loop.sh: line 14: 10173 Killed
java -Djava.util.logging.manager=L2j.Infinity.util.L2LogManager -Xms1024m -Xmx1024m -cp ./../libs/*:L2jInfinity.jar L2j.Infinity.gameserver.GameServer > log/stdout.log 2>&1

 

My gameserver_loop.sh :

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

 

Anyone knows how to fix this error?

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock