2

我的 AzerothCoredocker-compose失败并出现以下问题:

ac-database_1     | 2019-05-28T16:53:22.645200Z 10 [Note] Aborted connection 10 to db: 'acore_auth' user: 'root' host: '172.18.0.3' (Got an error reading communication packets)
ac-database_1     | 2019-05-28T16:53:22.645268Z 8 [Note] Aborted connection 8 to db: 'acore_characters' user: 'root' host: '172.18.0.3' (Got an error reading communication packets)
ac-database_1     | 2019-05-28T16:53:22.645271Z 9 [Note] Aborted connection 9 to db: 'acore_auth' user: 'root' host: '172.18.0.3' (Got an error reading communication packets)
ac-database_1     | 2019-05-28T16:53:22.645487Z 4 [Note] Aborted connection 4 to db: 'acore_world' user: 'root' host: '172.18.0.3' (Got an error reading communication packets)
ac-database_1     | 2019-05-28T16:53:22.645273Z 7 [Note] Aborted connection 7 to db: 'acore_characters' user: 'root' host: '172.18.0.3' (Got an error reading communication packets)
ac-database_1     | 2019-05-28T16:53:22.645549Z 5 [Note] Aborted connection 5 to db: 'acore_world' user: 'root' host: '172.18.0.3' (Got an error reading communication packets)
ac-database_1     | 2019-05-28T16:53:22.645302Z 6 [Note] Aborted connection 6 to db: 'acore_characters' user: 'root' host: '172.18.0.3' (Got an error reading communication packets)

4

2 回答 2

1

真正的错误就在数据库日志之前:

ac-worldserver_1  | Map file '/azeroth-server/data/maps/0004331.map': does not exist!

这意味着:数据文件丢失。

正如官方指南所说,我必须:

将您的数据文件放入 azerothcore-wotlk 内的 docker/worldserver/data/ 文件夹中。

于 2019-05-28T17:04:36.500 回答
1

在 docker-compose-up 创建数据库后我遇到了问题,该数据库世界不断关闭并将其记录在日志中

ac-database_1     | Version: '5.7.29'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server (GPL)
ac-database_1     | 2020-04-10T10:23:13.975275Z 10 [Note] Aborted connection 10 to db: 'acore_auth' user: 'root' host: '172.18.0.4' (Got an error reading communication packets)
ac-database_1     | 2020-04-10T10:23:13.975247Z 7 [Note] Aborted connection 7 to db: 'acore_characters' user: 'root' host: '172.18.0.4' (Got an error reading communication packets)
ac-database_1     | 2020-04-10T10:23:13.975278Z 8 [Note] Aborted connection 8 to db: 'acore_characters' user: 'root' host: '172.18.0.4' (Got an error reading communication packets)
ac-database_1     | 2020-04-10T10:23:13.975789Z 3 [Note] Aborted connection 3 to db: 'acore_world' user: 'root' host: '172.18.0.4' (Got an error reading communication packets)
ac-database_1     | 2020-04-10T10:23:13.975889Z 9 [Note] Aborted connection 9 to db: 'acore_auth' user: 'root' host: '172.18.0.4' (Got an error reading communication packets)
ac-database_1     | 2020-04-10T10:23:13.975272Z 5 [Note] Aborted connection 5 to db: 'acore_world' user: 'root' host: '172.18.0.4' (Got an error reading communication packets)
azerothcore-wotlk_ac-worldserver_1 exited with code 137

通过将内存从默认的 1 GB 增加到 2 GB 来解决这个问题。以下是如何增加 https://www.petefreitag.com/item/848.cfm

于 2020-04-11T10:29:57.740 回答