Jump to content
  • 0

Question

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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...