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

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