azerothcore / azerothcore-wotlk

Complete Open Source and Modular solution for MMO
http://www.azerothcore.org
GNU Affero General Public License v3.0
6.55k stars 2.62k forks source link

Failed to bind RA socket acceptor #20267

Closed tarawow closed 1 week ago

tarawow commented 1 week ago

Current Behaviour

hey mans i have a error on worldserver: StartNetwork failed to bind socket acceptor Failed to initialize network Closing down DatabasePool 'acore_characters'. Asynchronous connections on DatabasePool 'acore_characters' terminated. Proceeding with synchronous connections. All connections on DatabasePool 'acore_characters' closed. Closing down DatabasePool 'acore_world'. Asynchronous connections on DatabasePool 'acore_world' terminated. Proceeding with synchronous connections. All connections on DatabasePool 'acore_world' closed. Closing down DatabasePool 'acore_auth'. Asynchronous connections on DatabasePool 'acore_auth' terminated. Proceeding with synchronous connections. All connections on DatabasePool 'acore_auth' closed.

or

Failed to bind RA socket acceptor ACSoap: couldn't bind to 46.245.76.51:7878

----------------------------------------------------------------------

ASSERTION FAILED

Location: /root/azerothcore-wotlk/src/server/shared/Network/SocketMgr.h:35

Function: ~SocketMgr

Condition: !_threads && !_acceptor && !_threadCount

Message: StopNetwork must be called prior to SocketMgr destruction

----------------------------------------------------------------------

Segmentation fault (core dumped)

Expected Blizzlike Behaviour

.

Source

No response

Steps to reproduce the problem

.

Extra Notes

No response

AC rev. hash/commit

AC> AzerothCore rev. 2e37c1ff1d7f 2024-10-21 11:43:19 +0800 (Playerbot branch) (Unix, RelWithDebInfo, Static) Connected players: 797. Characters in world: 1797. Connection peak: 797. Server uptime: 49 minute(s) 46 second(s) Update time diff: 7ms. Last 500 diffs summary: |- Mean: 18ms |- Median: 9ms |- Percentiles (95, 99, max): 41ms, 43ms, 61ms Using SSL version: OpenSSL 3.0.13 30 Jan 2024 (library: OpenSSL 3.0.13 30 Jan 2024) Using Boost version: 1.83.0 Using CMake version: 3.30.2 Using MySQL version: 80039 Found MySQL Executable: /bin/mysql Compiled on: Linux 6.8.0-47-generic Worldserver listening connections on port %u Realmlist (Realm Id: 1) configured in port 8085 VMAPs status: Enabled. LineOfSight: true, getHeight: true, indoorCheck: true MMAPs status: Enabled maps directory located in ./maps. Total size: 291014951 bytes vmaps directory located in ./vmaps. Total size: 658130721 bytes mmaps directory located in ./mmaps. Total size: 2192910844 bytes Default DBC locale: enUS. All available DBC locales: enUS Using World DB: ACDB 335.12-dev Using Playerbots DB Revision: Latest LoginDatabase update: 2024_01_20_00.sql Latest CharacterDatabase update: playerbots_names.sql Latest WorldDatabase update: world_playerbots_rpg_races.sql LoginDatabase queue size: 0 CharacterDatabase queue size: 0 WorldDatabase queue size: 0 PlayerbotsDatabase queue size: 0 List of enabled modules: |- WeeklyRewards |- mod-1v1-arena |- mod-anticheat |- mod-appreciation |- mod-arena-3v3-solo-queue |- mod-arena-replay |- mod-assistant |- mod-boss-announcer |- mod-breaking-news-override |- mod-cfpve |- mod-duel-reset |- mod-npc-spectator |- mod-playerbots |- mod-pvpstats-announcer |- mod-queue-list-cache |- mod-system-censure |- mod-system-vip |- mod-transmog

Operating system

ubuntu 24.04

Custom changes or Modules

|- WeeklyRewards |- mod-1v1-arena |- mod-anticheat |- mod-appreciation |- mod-arena-3v3-solo-queue |- mod-arena-replay |- mod-assistant |- mod-boss-announcer |- mod-breaking-news-override |- mod-cfpve |- mod-duel-reset |- mod-npc-spectator |- mod-playerbots |- mod-pvpstats-announcer |- mod-queue-list-cache |- mod-system-censure |- mod-system-vip |- mod-transmog

PaoloBenigni commented 1 week ago

Can you close your open process and then show me you htop output?

tarawow commented 1 week ago

image_2024-10-22_213222 @PaoloBenigni

tarawow commented 1 week ago

htop 4 ./worldserver is run !!!

PaoloBenigni commented 1 week ago

Kill all the worldservers and authservers you have running and try again. If you are using any services stop them

tarawow commented 1 week ago

@PaoloBenigni killall screen and run ./restarter.sh !?

PaoloBenigni commented 1 week ago

dont use the restarter. Navigate to the directory where the executables are and run it like this.

./authserver &
sudo ./worldserver
PaoloBenigni commented 1 week ago

If youre using the restarter its possible that you have multiple instances of the server running in the background.

tarawow commented 1 week ago

ty my bro but for crash how to auto restart?

PaoloBenigni commented 1 week ago

That was to make sure whether the issue was real or just user error. The test showed us that you, or the restarter, was trying to start the server multiple times. Close out the versions you manually started, and use the restarter.

tarawow commented 1 week ago

you can give me id discord !?

tarawow commented 1 week ago

@PaoloBenigni