我的AzerothCore docker-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)
答案 0 :(得分:1)
真正的错误就在数据库记录之前:
ac-worldserver_1 | Map file '/azeroth-server/data/maps/0004331.map': does not exist!
这意味着:数据文件丢失。
正如official guide所说,我必须:
将数据文件放入azerothcore-wotlk内的docker / worldserver / data /文件夹中。
答案 1 :(得分: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