Jump to content
  • 0

Linux Centos 6 64Bit


Question

Posted

γεια σας παιδες εχω ενα προβλημα μου βγαζει στα logs

 

logs/stdout.log

Error: Could not find or load main class com.l2jfrozen.gameserver.GameServer

5 answers to this question

Recommended Posts

  • 0
Posted

ftiakse sto .sh sou tin diadromi pou psaxnei to .jar kai to kanei load (den to kanei load giati den to vriskei i kathorismeni diadromi) kai tha lithei to provlima sou :)

  • 0
Posted
#!/bin/bash

DBHOST=localhost
USER=root
PASS=
DBNAME=l2jdb

err=1
until [ $err == 0 ];
do
        #mysqlcheck -h $DBHOST -u $USER --password=$PASS -s -r $DBNAME>>"log/`date +%Y-%m-%d_%H:%M:%S`-sql_check.log"
        #mysqldump -h $DBHOST -u $USER --password=$PASS $DBNAME|zip "backup/`date +%Y-%m-%d_%H:%M:%S`-l2jdb_gameserver.zip" -
        [ -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"
        [ -f log/chat.log ] && mv log/chat.log "log/`date +%Y-%m-%d_%H:%M:%S`-chat.log"
        java -Dfile.encoding=UTF- -Xms1024m -Xmx1024m -cp lib/*:l2jfrozen-core.jar com.l2jfrozen.gameserver.GameServer > log/stdout.log 2>&1
        err=$?
        sleep 10
done

kapios na mou to ftiaksi kai na mou to eksigisi thnx

  • 0
Posted (edited)

apo tin arxi as ipothesoume oti to arxeio sh einai sto fakelo l2jfrozen

ston fakelo l2jfrozen exeis ena fakelo lib

 

opote mesa sto arxeio sh exeis:

lib/*:l2jfrozen-core.jar

 

to opoio diavazei lib/(to arxeio tou jar)

 

an einai etsi einai swsto

 

episis dokimase na sviseis auto: > log/stdout.log 2>&1

Edited by Nightw0lf

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

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