[help] Запуск сервера
9 ответов139 просмотровСейчас просматривают: 1
· 24.01.2009, 21:48
Железо: Интел Кор 2 Дуо 2,4 ГГц, ; 4 Гб РАМ
ОС: Вин х32
Софт: MySQL 4.0.18, Java JDK 6u11 x32
Сборка: La2base (Interlude)
Краткое изложение сути проблемы: Не запускается Gameserver. Ссылается на ошибку БД:
Код
Запуск игрового сервера LA2BASE
Loading server configuration...
Loading Say Filter config
Say Filter: Loaded 22 words
Say Filter: Loaded 4 exceptions
MLog clients using java 1.4+ standard logging.
Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireInc
rement -> 5, acquireRetryAttempts -> 0, acquireRetryDelay -> 500, autoCommitOnCl
ose -> true, automaticTestTable -> connection_test_table, breakAfterAcquireFailu
re -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connec
tionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSou
rceName -> lolh8z7z2xmizj5nh5h|12a3793, debugUnreturnedConnectionStackTraces ->
false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLo
cation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> lol
h8z7z2xmizj5nh5h|12a3793, idleConnectionTestPeriod -> 3600, initialPoolSize -> 1
0, jdbcUrl -> jdbc:mysql://localhost/l2jdb, maxAdministrativeTaskTime -> 0, maxC
onnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolS
ize -> 100, maxStatements -> 0, maxStatementsPerConnection -> 100, minPoolSize -
> 10, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferr
edTestQuery -> null, properties -> {user=******, password=******}, propertyCycle
-> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unre
turnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]
***** LA2BASE Developers Team *****
Server revision: 1.1.6
Updated characters online status.
BitSet ID Factory could not be initialized correctly
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in
your SQL syntax. Check the manual that corresponds to your MySQL server version
for the right syntax to use near 'select object_id from items)' at line 1
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at com.mysql.jdbc.Util.getInstance(Util.java:381)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1030)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3491)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3423)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1936)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2060)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2536)
at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1564)
at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1485)
at com.mchange.v2.c3p0.impl.NewProxyStatement.executeUpdate(NewProxyStat
ement.java:64)
at net.sf.l2j.gameserver.idfactory.IdFactory.extractUsedObjectIDTable(Id
Factory.java:216)
at net.sf.l2j.gameserver.idfactory.BitSetIDFactory.initialize(BitSetIDFa
ctory.java:84)
at net.sf.l2j.gameserver.idfactory.BitSetIDFactory.<init>(BitSetIDFactor
y.java:72)
at net.sf.l2j.gameserver.idfactory.IdFactory.<clinit>(IdFactory.java:90)
at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:275)
at net.sf.l2j.gameserver.GameServer.main(GameServer.java:654)
IDFactory: 102912 id's available.
Could not read object IDs from DB. Please Check Your Data.
Exception in thread "main" java.lang.Exception: Could not initialize the ID fact
ory
at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:279)
at net.sf.l2j.gameserver.GameServer.main(GameServer.java:654)
Loading server configuration...
Loading Say Filter config
Say Filter: Loaded 22 words
Say Filter: Loaded 4 exceptions
MLog clients using java 1.4+ standard logging.
Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireInc
rement -> 5, acquireRetryAttempts -> 0, acquireRetryDelay -> 500, autoCommitOnCl
ose -> true, automaticTestTable -> connection_test_table, breakAfterAcquireFailu
re -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connec
tionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSou
rceName -> lolh8z7z2xmizj5nh5h|12a3793, debugUnreturnedConnectionStackTraces ->
false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLo
cation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> lol
h8z7z2xmizj5nh5h|12a3793, idleConnectionTestPeriod -> 3600, initialPoolSize -> 1
0, jdbcUrl -> jdbc:mysql://localhost/l2jdb, maxAdministrativeTaskTime -> 0, maxC
onnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolS
ize -> 100, maxStatements -> 0, maxStatementsPerConnection -> 100, minPoolSize -
> 10, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferr
edTestQuery -> null, properties -> {user=******, password=******}, propertyCycle
-> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unre
turnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]
***** LA2BASE Developers Team *****
Server revision: 1.1.6
Updated characters online status.
BitSet ID Factory could not be initialized correctly
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in
your SQL syntax. Check the manual that corresponds to your MySQL server version
for the right syntax to use near 'select object_id from items)' at line 1
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at com.mysql.jdbc.Util.getInstance(Util.java:381)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1030)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3491)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3423)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1936)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2060)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2536)
at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1564)
at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1485)
at com.mchange.v2.c3p0.impl.NewProxyStatement.executeUpdate(NewProxyStat
ement.java:64)
at net.sf.l2j.gameserver.idfactory.IdFactory.extractUsedObjectIDTable(Id
Factory.java:216)
at net.sf.l2j.gameserver.idfactory.BitSetIDFactory.initialize(BitSetIDFa
ctory.java:84)
at net.sf.l2j.gameserver.idfactory.BitSetIDFactory.<init>(BitSetIDFactor
y.java:72)
at net.sf.l2j.gameserver.idfactory.IdFactory.<clinit>(IdFactory.java:90)
at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:275)
at net.sf.l2j.gameserver.GameServer.main(GameServer.java:654)
IDFactory: 102912 id's available.
Could not read object IDs from DB. Please Check Your Data.
Exception in thread "main" java.lang.Exception: Could not initialize the ID fact
ory
at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:279)
at net.sf.l2j.gameserver.GameServer.main(GameServer.java:654)
Вопрос: Что это за ошибка? Как исправить?
Мои соображения: Проблема я так понимаю возникает при обращении к БД, но в чем конкретно дело разобраться не могу...
0
· 24.01.2009, 22:26
powerboard: Поменяй базу данных поставь версию 5,2 и переустанови серв и всё пойдёт
Ок, попробую и отпишусь что к чему...
0
· 25.01.2009, 01:41
вообще не в этом ошибка , маскул ничего не делает это только навикат буянить может , у тебя в самом низу есть ID попробуй поискать в базе его и просто удали это поможет!
0
· 25.01.2009, 04:21
а Navicat тута причём? ето всеголиш конект и редактор базы, за него такой ситуации неможет случиться.
0
· 25.01.2009, 09:19
powerboard: Поменяй базу данных поставь версию 5,2 и переустанови серв и всё пойдёт
Поставил MySQL 5.2. Спс, поблемка решилась... :)
Есть другая проблемка, теперь придеться отдельно ставить Апача и ПХП для того чтобы сайт привязать... Стоял AppServ 2.4.0, а там БД была 4.1. Пробывал найти с БД 5.2 - не нашел, только с MSQL 6.0 Alpha... ))
Пойду ковырять Апача... =)
0
· 25.01.2009, 11:11
установи vertrigo
lin4ik: вообще не в этом ошибка , маскул ничего не делает это только навикат буянить может , у тебя в самом низу есть ID попробуй поискать в базе его и просто удали это поможет!
*ROFL*
0
Тема закрыта для ответов





