Форум администраторов игровых серверов

Форум администраторов игровых серверов (https://forum.zone-game.info/TT.php)
-   Lineage II (https://forum.zone-game.info/forumdisplay.php?f=34)
-   -   Ошибка при запуске Гейм Сервера (https://forum.zone-game.info/showthread.php?t=3965)

snuff 23.06.2009 11:36

Ошибка при запуске Гейм Сервера
 
Собственно при запуске Логин Сервера всё нормально, а при запуске гейм серва выдаёт следующее:

Код:

Starting L2Dot Game Server - Thanks for using our software.

loading gameserver config
Chat Filter: Loaded 0 words
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 [ java.beans
.IntrospectionException: java.lang.reflect.InvocationTargetException [numThreads
AwaitingCheckoutDefaultUser] ]
Exception in thread "main" java.sql.SQLException: Access denied for user 'root'@
'localhost' (using password: YES)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:946)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:885)
        at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3421)
        at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1247)
        at com.mysql.jdbc.Connection.createNewIO(Connection.java:2748)
        at com.mysql.jdbc.Connection.<init>(Connection.java:1553)
        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
:285)
        at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManag
erDataSource.java:119)
        at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnecti
on(WrapperConnectionPoolDataSource.java:143)
        at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnecti
on(WrapperConnectionPoolDataSource.java:132)
        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.initializeAu
tomaticTestTable(C3P0PooledConnectionPoolManager.java:772)
        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.createPooled
ConnectionPool(C3P0PooledConnectionPoolManager.java:696)
        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0
PooledConnectionPoolManager.java:257)
        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0
PooledConnectionPoolManager.java:271)
        at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(A
bstractPoolBackedDataSource.java:128)
        at com.l2dot.L2DatabaseFactory.<init>(L2DatabaseFactory.java:100)
        at com.l2dot.L2DatabaseFactory.getInstance(L2DatabaseFactory.java:173)
        at com.l2dot.gameserver.GameServer.main(GameServer.java:412)

Server terminated abnormaly


server terminated

Для продолжения нажмите любую клавишу . . .

Прошу сильно не ругать, ето мой первый сервер:o

Добавлено через 48 минут
Я так понял что:
Код:

Exception in thread "main" java.sql.SQLException: Access denied for user 'root'@
'localhost' (using password: YES)

мне запрещен доступ, а где его тогда розрешить? :(

Добавлено через 1 час 36 минут
Я уже везде перелазил, все пароли пересмотрел по 1000 раз, везде стоят одинаковые пароли...я уже не знаю где именно проблема :( Кто может подсказать в каких ещё файлах кроме server.properties и loginserver.properties могут быть настройки имени, логина и пароля ДБ?

ЗЫ в Navicat тоже смотрел пароль тот же что и во всех конфигах и тот же что я вводил при установке Мускуля...

Bastexses 23.06.2009 13:32

Ответ: Ошибка при запуске Гейм Сервера
 
пароль к базе неправельный

проверь пас от мускула
вводи тот пароль который писал при установке мускула
в loginserver.properties

Gameserver в server.properties

snuff 23.06.2009 14:00

Ответ: Ошибка при запуске Гейм Сервера
 
В том то и дело что я ети два файла уже по тыщу раз перепросматривал, пароль один и тот же :(

loginserver

Код:

# Database info
Driver=com.mysql.jdbc.Driver
#Driver=org.hsqldb.jdbcDriver
#Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
URL=jdbc:mysql://localhost/l2jdb
#URL=jdbc:hsqldb:hsql://localhost/l2jdb
#URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=
Login = root
Password = ********
MaximumDbConnections = 100

gameserver

Код:

# Database info
Driver=com.mysql.jdbc.Driver
#Driver=org.hsqldb.jdbcDriver
#Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
URL=jdbc:mysql://localhost/l2jdb
#URL=jdbc:hsqldb:hsql://localhost/l2jdb
#URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=
Login = root
Password = ********
MaximumDbConnections = 100

Может вохможно такое что я при установке мускула ошибся при вводе пароля, где можно его просмотреть и изменить ?

Redvain 23.06.2009 15:12

Ответ: Ошибка при запуске Гейм Сервера
 
//папка с мускулем/bin/MySQLInstanceConfig.exe , меняй этим приложением пароль.

snuff 23.06.2009 15:28

Ответ: Ошибка при запуске Гейм Сервера
 
Код:

//папка с мускулем/bin/MySQLInstanceConfig.exe , меняй этим приложением пароль.
Посмотрел пароль, тот же пароль что и в файлах loginserver.properties и server.properties. Ничего не помагает есть ещё какие нибуть идеи ?

Добавлено через 1 час 3 минуты
Бред какойто! Файлы server и loginserver настроены одинаково с одиниковыми логинами и паролями, но Логин Сервер запускается без ошыбок а Гейм Сервер материться :(:( У когото раньше чтото такое случалось?

Выклыдваю содержымое файла server.properties возможно в нем чтото не так.

Код:

# This is the server configuration file. Here you can set up the connection for your server.
# Usually you have to change the ExternalHostname option to
# - 127.0.0.1 (if you want to play alone / testing purpose)
# - LAN IP* (if you want to play from another computer in the network)
# - WAN IP** (if you want to play with friends over internet)
# - Questions? => http:\\l2dot.info\forum\
#
# * = If you want to get your LAN IP, simply choose "Start" => "Run..." then type "cmd" => "ipconfig"
# **= If you want to get you WAN IP, visit http://www.whatismyip.com
# ===================================================================================================
 
# ================================================================
# General server setting !!! REQUIRED to configure to everyone !!!
# ================================================================

# Bind ip of the gameserver, use * to bind on all available IPs
GameserverHostname = 127.0.0.1
GameserverPort = 7777

# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
# If this ip is resolvable by Login just leave *
ExternalHostname = 127.0.0.1

# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
# If this ip is resolvable by Login just leave *
InternalHostname = 127.0.0.1

# The Loginserver host and port
LoginPort = 9014
LoginHost = 127.0.0.1

# This is the server id that the gameserver will request (i.e. 1 is Bartz)
RequestServerID = 1
# If set to true, the login will give an other id to the server  if the requested id is allready reserved
AcceptAlternateID = False

# Database info
Driver=com.mysql.jdbc.Driver
#Driver=org.hsqldb.jdbcDriver
#Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
URL=jdbc:mysql://localhost/l2jdb
#URL=jdbc:hsqldb:hsql://localhost/l2jdb
#URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=
Login =root
Password =******
MaximumDbConnections = 10

# Datapack root directory, defaults to current directory from which the server is started
# DatapackRoot = E:/server/gameserver/data

# Define character name template
# Example to use only : CnameTemplate=[A-Z][a-z]{3,3}[A-Za-z0-9]*
# will allow names with first capital letter, next three small letters,
# and any (capital or not) letter or number, like ZbigN1eW
# Most rational to have CnameTemplate=[A-Z][a-z]*
# meaning names only of letters with first one capital, like Zbigniew
# Default .* - any namy of any symbols
CnameTemplate =[A-Z][a-z]{3,3}[A-Za-z0-9]*
PetNameTemplate =[A-Z][a-z]{3,3}[A-Za-z0-9]*

# Maximum number of chars per account - Default 7 (0 = unlimited [7 is the client limit])
CharMaxNumber = 7

# Define how many players are allowed to play simultaneously on your server.
MaximumOnlineUsers = 1000


# Minimum and maximum protocol revision that server allow to connect.
# You must keep MinProtocolRevision <= MaxProtocolRevision.
MinProtocolRevision = 740
MaxProtocolRevision = 746

#====================================================
#                                L2Dot                              #
# EXTRA fuctions                                  #
# before you set them up ready carefully the info  #
# Thanks Dimis4                                                                          #
#====================================================   
# Activate Protection for unknownPacket flooding 
PacketProtection = True
# How much unknown packets before punishment. 
# If the player send more than 5 unknownPackets per second, the player get punished. 
UnknownPacketsBeforeBan = 5
# Punishments 
# 1 - broadcast warning to gms only 
# 2 - kick player (default) 
# 3 - kick & ban player (Accesslevel -100) 
UnknownPacketsPunishment = 2


Redvain 23.06.2009 19:57

Ответ: Ошибка при запуске Гейм Сервера
 
Чисто физически не может быть такого, что при верном пароле сервер не может приконнектиться к бд.
Перепроверь внимательнее, в крайнем случае переставь всё заново.

Bastexses 23.06.2009 21:16

Ответ: Ошибка при запуске Гейм Сервера
 
а ты название во первых
когда инсталировал базу ты название базы в мускуле навикат сделал тоже самое что и в конфигах ????

у тебя щяс в конфигах стоит название базы l2jdb
такоеже должно быть название в навикате и в мускуле

snuff 24.06.2009 00:14

Ответ: Ошибка при запуске Гейм Сервера
 
Цитата:

Чисто физически не может быть такого, что при верном пароле сервер не может приконнектиться к бд.
Перепроверь внимательнее, в крайнем случае переставь всё заново.
Не знаю мистика какаято :o Все перепроверил, поставил другую сборку всеравно тот же Аксес денайд((

Цитата:

а ты название во первых
когда инсталировал базу ты название базы в мускуле навикат сделал тоже самое что и в конфигах ????

у тебя щяс в конфигах стоит название базы l2jdb
такоеже должно быть название в навикате и в мускуле
Само собой я через Навикат БД назвал l2jdb перед заливкой базы... =(

Produm 25.06.2009 10:12

Ответ: Ошибка при запуске Гейм Сервера
 
Проверь,есть ли после пароля пробел,пропиши строку заного в ручную,и после парля сразу сохраняй файл.

snuff 01.07.2009 14:45

Ответ: Ошибка при запуске Гейм Сервера
 
Всем спасибо, с проблемой розобрался. Извените что так долго не отвечал, были проблемы с интерентом. Причину ошибки вызначить так и не удалось, я просто переустановил ОС.

Тему можно закрывать.


Текущее время: 09:13. Часовой пояс GMT +3.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd. Перевод: zCarot