So basically for years of being someone who uses eathena and 3ceam just like you guys, I noticed a lot of people saying
HELP!! My server crashed blabla this blabla that.
Now how can we help you if your server crashed if you're only telling us a few words or lines without the crash dumps.
For Linux Servers:
I bet most of you doesn't have GDB installed.
If you do not have ROOT access to your server, you can try logging on via SSH and type
sudo apt-get install gdb
sudo aptitude install gdb
Now some of you might say, command not found etc etc.
If this happens and you do not have ROOT access since you're using a vps you can always ask your Host to install GDB for you.
Now for Servers who have root access you can install gdb by accessing your root and type
apt-get install gdb
Now this is sometimes tricky..
to check if its enabled type in
ulimit -c
If its set to 0 then it means it is disabled and it will not save your crash dumps. Now what you have to do is type in
ulimit -c 9999999 (or any big number)
then to check if its now enabled type in
ulimit -c
again.
It will give you its now Unlimited.
Some problems might arise especially if you're in a VPS and you may have to ask your Hosting Provider to set this up for you since most of their system got it disabled. Meaning, no matter how you set it to unlimited it will still return back to 0.
Once again your server crashed.
When you check the directory of your SVN you'll see a file named core, or xxx-server_sql.core, or xxx-server.core.
Normally your server wont crash if its just login/char server. So we will assume its the map server or just to check if its really the map server
Login to your SSH and type in
top
to exit this command type q
You'll see the processes your computer/server is running. From here you can verify which server crashed.
Now going back since you have the core file. For example the core file is in trunk/ and its file name it map-server_sql.core all you have to do is
cd trunk
gdb map-server map-server_sql.core
then type
bt full
It will show you the crash dumps and you can paste it on pastebin or copy the files here so some developer can take a look onto it.
Cheers.