Page 1 of 1

The server don't start

Posted: Tue Nov 23, 2010 11:17 pm
by evelyn
The server shut dawn and i can't start it again. plis help! :S
Image


» Find Revision
L2J Revision Number: 4420
L2JDP Revision Number: 7628

Re: The server don't start

Posted: Wed Nov 24, 2010 8:27 am
by bagun
Check your database setup,it seems that cant connect to it. 8)

Re: The server don't start

Posted: Wed Nov 24, 2010 1:13 pm
by JIV
your server machine is too slow.

Re: The server don't start

Posted: Wed Nov 24, 2010 4:16 pm
by tukune
Me too. I delete ConnectionCloser

Code: Select all

L2DatabaseFactory.java    public Connection getConnection() //throws SQLException    {        Connection con = null;                while (con == null)        {            try            {                con = _source.getConnection();-//                if (Server.serverMode == Server.MODE_GAMESERVER)-//                    ThreadPoolManager.getInstance().scheduleGeneral(new ConnectionCloser(con, new RuntimeException()), 60000);-//                else-//                    getExecutor().schedule(new ConnectionCloser(con, new RuntimeException()), 60, TimeUnit.SECONDS);            }            catch (SQLException e)            {                _log.log(Level.WARNING, "L2DatabaseFactory: getConnection() failed, trying again " + e.getMessage(), e);            }        }        return con;    } 
or change this more large value.
ThreadPoolManager.getInstance().scheduleGeneral(new ConnectionCloser(con, new RuntimeException()), 60000);

Re: The server don't start

Posted: Wed Nov 24, 2010 10:05 pm
by evelyn
JIV wrote:your server machine is too slow.
You are sure? I have one intel core i5 2.67 with 8gm ram :/

Re: The server don't start

Posted: Wed Nov 24, 2010 11:19 pm
by hope
Is it a clean build?

Re: The server don't start

Posted: Thu Nov 25, 2010 7:21 am
by evelyn
hope wrote:Is it a clean build?
yes, it is

Re: The server don't start

Posted: Thu Nov 25, 2010 4:22 pm
by hope
You need to fix the unclosed connection check them java files delete them and redownload them see if that helps as it looks like some bad changes have been made to them

Re: The server don't start

Posted: Thu Nov 25, 2010 7:15 pm
by _DS_
No unclosed connection here, just slow startup possibly due to damaged database.

Re: The server don't start

Posted: Sun Nov 28, 2010 4:52 pm
by komara_23
Wrong database installing or no connect to DB
or wrong compilation of game server.