opentibiabr / canary

Canary Server 13.x for OpenTibia community.
https://docs.opentibiabr.com/
GNU General Public License v2.0
374 stars 619 forks source link

Segmentation fault (core dumped) #2512

Closed rafaelsnv closed 3 months ago

rafaelsnv commented 7 months ago

Priority

Critical

Area

What happened?

When i run ./canary command in screen app to start the server it returns the following output and server remains offline:

root@linux_22.04:~/canary_3.1.2$ ./canary
[2024-30-03 21:42:50.892] [info] Canary - Version 3.1.2
[2024-30-03 21:42:50.892] [info] A server developed by: OpenTibiaBR Organization
[2024-30-03 21:42:50.892] [info] Visit our website for updates, support, and resources: https://docs.opentibiabr.com/
[2024-30-03 21:42:50.893] [info] Setting up thread pool
[2024-30-03 21:42:50.893] [info] Running with 4 threads.
[2024-30-03 21:42:50.896] [info] Server protocol: 13.21
[2024-30-03 21:42:50.896] [info] Establishing database connection...
[2024-30-03 21:42:51.892] [info] Boosted creature: Barbarian Bloodwalker
[2024-30-03 21:42:51.892] [info] Boosted boss: Zorvorax
[2024-30-03 21:42:51.892] [info] Downloading canary.otbm to world folder
Segmentation fault (core dumped)

image

What OS are you seeing the problem on?

Linux

Code of Conduct

rafaelsnv commented 7 months ago

I can't find any log, found nothing in documentation... if you could help me where to find it

Mirkaanks commented 7 months ago

You trying to open the server for first time? Look if canary.otbm is correct in your world folder. Also try to use otservbr.otbm too.

rafaelsnv commented 6 months ago

@Mirkaanks yes, its the first time. Where should this file be located by default?

github-actions[bot] commented 3 months ago

This issue is stale because it has been open 120 days with no activity.

majestyotbr commented 3 months ago

Probably it was a misconfiguration in the server. Follow a tutorial in the docs and learn how to use the config.lua for data-canary or data-otservbr-global.