Page 1 of 1

Server Error Ubuntu 10.04

Posted: Tue Sep 21, 2010 10:09 am
by Evas
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:4410
L2JDP Revision Number:7663
Hi All! I can not understand in what problem. I put Server T2.4 on Ubuntu 10.04.
Has installed java version "1.6.0_21".
At start startLoginServer.sh in stdout.log writes:

Exception in thread "main" java.lang.NoClassDefFoundError: org/mmocore/network/IAcceptFilter
Caused by: java.lang.ClassNotFoundException: org.mmocore.network.IAcceptFilter
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: com.l2jserver.loginserver.L2LoginServer. Program will exit.

:(

Re: Server Error Ubuntu 10.04

Posted: Tue Sep 21, 2010 10:11 am
by _DS_
lib folder absent, or not in the class path.
l2jlogin.jar absent.

Re: Server Error Ubuntu 10.04

Posted: Tue Sep 21, 2010 10:16 am
by Evas
And how it to correct? More in detail :?

Re: Server Error Ubuntu 10.04

Posted: Tue Sep 21, 2010 10:29 am
by jurchiks
it means you have incomplete files...

Re: Server Error Ubuntu 10.04

Posted: Tue Sep 21, 2010 10:32 am
by Evas
Why it not the full? On Windows server 2003 it is the assembly it is normal it is launched and on ubuntu here such problem.

Re: Server Error Ubuntu 10.04

Posted: Tue Sep 21, 2010 11:16 am
by MELERIX
if linux... probably permission issues.

Re: Server Error Ubuntu 10.04

Posted: Tue Sep 21, 2010 1:55 pm
by Evas
For this purpose it is necessary to edit LoginServer_loop.sh? At me there I can't understand it what there to write...

Code: Select all

#!/bin/bash err=1until [ $err == 0 ]; do    [ -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"    nice -n -2 java -Xms128m -Xmx128m -cp ./../libs/*:l2jlogin.jar com.l2jserver.loginserver.L2LoginServer > log/stdout.log 2>&1    err=$?#    /etc/init.d/mysql restart    sleep 10;done