• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Linux Please Help :{ My Server Has Crashing!

zetibia

Member
Joined
Jun 23, 2013
Messages
110
Reaction score
11
My server has crashing... I use Linux Ubuntu 12.04 Help Me please...
 
You can use a debugging tool to fetch detailed crash logs, if its not an obvious LUA error you can report it to https://github.com/otland/forgottenserver

Quick tutorial (LINUX):
First install gdb. If you're running debian-alike (like Ubuntu, Debian, etc), you can do this with
Code:
apt-get install gdb
(use sudo if ubuntu)

Now load TFS into the debugger (Make sure your are in OT directory)
Code:
gdb ./forgottenserver
You will see 10-20 lines as gdb loads the server binary into memory, followed by the prompt:
#### (gdb)

Now type: run
Code:
(gdb) run
And the OT should start.
At this point your server is running.

Now you just wait for the server to eventually crash, you will see something like this:
Code:
Program received signal SIGSEGV, Segmentation fault.
After the crash gdb will wait for you to type a command. Now to get to the actual useful part which makes it easier for TFS developers to fix, type "bt full":
Code:
(gdb) bt full
This will dump loads of information which the TFS devs can use to find the error. Copy this, open an issue on their github page, send it there and they will probably fix much quicker than usual.

When you have reported the bug, you can quick gdb with "quit" command.
Code:
(gdb) quit
And you are done. Repeat these instructions to start it again and look for another error. :)
 
Hey...

Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff5892700 (LWP 30304)]
[New Thread 0x7ffff5091700 (LWP 30305)]
The Forgotten Server - Version 1.0
Compilied on Mar 8 2014 00:55:35 for arch x64

A server developed by Mark Samman
Visit our forum for updates, support, and resources: http://otland.net/.

>> Loading config
>> Establishing database connection...[New Thread 0x7ffff4890700 (LWP 30306)]
[Thread 0x7ffff4890700 (LWP 30306) exited]
MySQL 5.5.35
>> Running database manager
....
....


this is a mistake?
 
Back
Top