Jump to content

Server starts up then crashes immediately


Guest spiffydudex

Recommended Posts

Not really sure why it crashes. This is a new install following the guide for Ubuntu linux. It worked fine earlier. Then after I restart the machine I get this.

WORLD: World initialized
SERVER STARTUP TIME: 0 minutes 36 seconds

mangos>Max allowed socket connections 1024
Failed to open acceptor ,check if the port is free
Failed to start network
[1 ms] SQL: UPDATE realmlist SET realmflags = realmflags & ~(2), population = 0, realmbuilds = '11723 '  WHERE id = '1'
[1 ms] SQL: UPDATE realmlist SET realmflags = realmflags | 2 WHERE id = '1'
[0 ms] SQL: UPDATE account SET active_realm_id = 0 WHERE active_realm_id = '1'
[1 ms] SQL: UPDATE characters SET online = 0 WHERE online<>0
[0 ms] SQL: UPDATE character_battleground_data SET instance_id = 0
Halting process...

It seems like Mangos starts up successfully, but then crashes. I'm fairly diligent about finding and fixing errors but this one eludes me.

Any ideas?

Link to comment
Share on other sites

Thanks, resolved that issue. I put together a small script that will start worldd and realmd at startup:

/opt/mangos/bin/mangos-realmd > /var/log/mangos/realmd.log 2>&1 &
/opt/mangos/bin/mangos-worldd > /var/log/mangos/Server.log 2>&1 &

I would put them in a separate screens but my bash-fu is not that good.

The realm works perfectly and continues to run in the background. However, the world just seemingly ends. Is there any reason for this?

WORLD: World initialized
SERVER STARTUP TIME: 0 minutes 57 seconds

mangos>[1 ms] SQL: UPDATE realmlist SET realmflags = realmflags & ~(2), population = 0, realmbuilds = '11723 '  WHERE id = '1'
Max allowed socket connections 1024
Network Thread Starting
Network Thread Starting
Network Thread Exitting
Network Thread Exitting
[1 ms] SQL: UPDATE realmlist SET realmflags = realmflags | 2 WHERE id = '1'
[0 ms] SQL: UPDATE account SET active_realm_id = 0 WHERE active_realm_id = '1'
[0 ms] SQL: UPDATE characters SET online = 0 WHERE online<>0
[1 ms] SQL: UPDATE character_battleground_data SET instance_id = 0
Halting process...

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use