Prox1mus Posted October 8, 2017 Share Posted October 8, 2017 (edited) hello, i using debian 8 and have this problem then i ./start.sh http://prntscr.com/guu9r5 who can help me ? Edited October 8, 2017 by Prox1mus Quote Link to comment Share on other sites More sharing options...
0 wongerlt Posted October 8, 2017 Share Posted October 8, 2017 paste here ur start.sh Quote Link to comment Share on other sites More sharing options...
0 Prox1mus Posted October 8, 2017 Author Share Posted October 8, 2017 (edited) 4 minutes ago, wongerlt said: paste here ur start.sh start.sh # !/bin/sh ./loop.sh & and loop.sh # !/bin/sh err=1 until [ $err == 0 ]; do [ -f log/java0.log.0 ] && mv log/java0.log.0 "log/z_`date +%Y-%m-%d_%H-%M-%S`_java.log" #[ -f log/game.log ] && mv log/game.log "log/z_`date +%Y-%m-%d_%H-%M-%S`_game.log" [ -f log/stdout.log ] && mv log/stdout.log "log/z_`date +%Y-%m-%d_%H-%M-%S`_stdout.log" [ -f log/give_items/EnterWorld.txt ] && mv log/give_items/EnterWorld.txt "log/give_items/z_`date +%Y-%m-%d_%H-%M-%S`_EnterWorld.txt" [ -f log/give_items/GiveItem.txt ] && mv log/give_items/GiveItem.txt "log/give_items/z_`date +%Y-%m-%d_%H-%M-%S`_GiveItem.txt" #java -server -Dfile.encoding=UTF-8 -XX:+RelaxAccessControlCheck -XX:+UseFastAccessorMethods -XX:+AlwaysPreTouch -XX:+UseParNewGC -XX:+CMSClassUnloadingEnabled -XX:+ClassUnloading -XX:MaxGCPauseMillis=25 -XX:+UseConcMarkSweepGC -XX:ParallelGCThreads=8 -XX:+CMSParallelRemarkEnabled -XX:+UseAdaptiveGCBoundary -XX:MaxTenuringThreshold=6 -XX:+AggressiveOpts -XX:CompileThreshold=1000 -XX:SurvivorRatio=4 -XX:TargetSurvivorRatio=90 -XX:MaxNewSize=144m -XX:NewSize=144m -XX:+UseBiasedLocking -Xms2G -Xmx7G -Djava.net.preferIPv4Stack=true -cp config:../libs/*;./extensions/* ru.catssoftware.gameserver.L2GameServer > log/stdout.log 2>&1 java -server -Xmx10G -Dfile.encoding=UTF-8 -cp ../libs/*:core-gvb.jar ru.catssoftware.gameserver.L2GameServer > log/stdout.log 2>&1 err=$? #sleep 10; done Then i opened logs i see this error : Error: Could not find or load main class ru.catssoftware.gameserver.L2GameServer Edited October 8, 2017 by Prox1mus Quote Link to comment Share on other sites More sharing options...
0 wongerlt Posted October 8, 2017 Share Posted October 8, 2017 try add after first line cd /your_path_/to_start.sh/ example: cd /root/gameserver/ if not work try add full path to all files example: /root/gameserver/log/java0.log.0 all where u see Quote Link to comment Share on other sites More sharing options...
Question
Prox1mus
hello, i using debian 8 and have this problem then i ./start.sh
http://prntscr.com/guu9r5
who can help me ?
Edited by Prox1musLink to comment
Share on other sites
3 answers 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.