This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
Question
motili
Hi all!Im just rent a dedicated server with 64 bit Fedora 8 on it!Can someone tell me what im need edit in the start shortcuts of l2emu to start the server.Java 64 bit is installed and server have 8 Gb ram.Now the server cannot start cause of 64 bit java patch.Please help!
Login Server_loop.sh
# !/bin/bash
err=1
until [ $err == 0 ];
do
. ./setenv.sh
[ -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 -Dfile.encoding=UTF-8 -Xmx64m net.l2emuproject.loginserver.L2LoginServer > log/stdout.log 2>&1
err=$?
# /etc/init.d/mysql restart
sleep 10;
done
GameServer_loop.sh
# !/bin/bash
err=1
until [ $err == 0 ];
do
. ./setenv.sh
[ -f log/java0.log.0 ] && mv log/java0.log.0 "log/java/`date +%Y-%m-%d_%H-%M-%S`_java0.log.0"
[ -f log/stdout.log ] && mv log/stdout.log "log/stdout/`date +%Y-%m-%d_%H-%M-%S`_stdout.log"
# For developers mostly (1. line gc logrotate, 2. line parameters for gc logging):
# [ -f log/gc.log ] && mv log/gc.log "log/gc/`date +%Y-%m-%d_%H-%M-%S`_gc.log"
# -verbose:gc -Xloggc:log/gc.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC -XX:+PrintTenuringDistribution
# Alternative startup by NB4L1
# java -Dfile.encoding=UTF-8 -Xmn128m -Xms512m -Xmx1024m -server net.l2emuproject.gameserver.util.BootManager > log/stdout.log 2>&1
java -Dfile.encoding=UTF-8 -Xmx1024m net.l2emuproject.gameserver.util.BootManager > log/stdout.log 2>&1
err=$?
# /etc/init.d/mysql restart
sleep 10;
done
Thx with Advance
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now