Jump to content

Recommended Posts

Hi!

 

We're trying to set up the server files of this post, using a fresh install of FreeBSD 13.2 64bit

 

It's looking promising so far, but when running the server we noticed this error in the syslog:

 

First this set of logs is spammed ~70 times in syslog:

Jun 10 21:20:12 :: PARTY Enable

Jun 10 21:20:12 :: PARTY Disable

Jun 10 21:20:12 :: SYSTEM: closing client socket. DESC #14

Jun 10 21:20:12 :: CLIENT_DESC [db_clientdesc] trying DBPacket() while not connected

Jun 10 21:20:13 :: CLIENT_DESC [db_clientdesc] trying DBPacket() while not connected

Jun 10 21:20:14 :: CLIENT_DESC [db_clientdesc] trying DBPacket() while not connected

Jun 10 21:20:15 :: SYSTEM: Trying to connect to 127.0.0.1:3306

Jun 10 21:20:15 :: SYSTEM: connected to server (fd 14, ptr 0x210dc400)

Jun 10 21:20:15 :: DB_SETUP current user 0 size 154

Then by the end there's this:

SYSERR: Jun 10 21:21:21 :: safe_create: calloc failed [12] Cannot allocate memory
SYSERR: Jun 10 21:21:21 :: buffer_new: calloc failed [12] Cannot allocate memory

We have 2GB of memory and it doesn't look like this happens because of allocated memory overflows.

When a mt2 client tries joining, it's stuck on `You'll be logged in soon` and never logs in.

Does anyone have any idea on why these could be happening? I'd really appreciate any help or clue!

Edited by oboforty
Link to comment
https://metin2.dev/topic/30950-freebsd-13-calloc-error/
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Managed to solve the mysql error, Forgot to edit mysql's port in db/conf.txt file. 

 

But we're still not able to log in with the client, in fact I've written a TCP/UDP ping script and it's unable to reach the configured game ports. Even when trying on localhost.

But yet the start.sh script suggests that everything is working fine. I get no errors in any of the syslog/syserr/stdout files.

Can anyone help with this?

Link to comment
https://metin2.dev/topic/30950-freebsd-13-calloc-error/#findComment-158116
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / 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.