Jump to content

My Server Crashed Help! (linux guide)


ragnazorg

Recommended Posts


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  250
  • Reputation:   44
  • Joined:  11/13/11
  • Last Seen:  

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..

My server didn't save the crash dumps from my last server crash!!

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.

  • Upvote 2
  • Like 1
Link to comment
Share on other sites

  • 2 years later...

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   0
  • Joined:  09/30/12
  • Last Seen:  

After the fall of the server still does not appear report file! how to be?

Аnd saves the file to the dump?

Edited by zdox21
Link to comment
Share on other sites

  • 7 months later...

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  113
  • Reputation:   2
  • Joined:  10/29/12
  • Last Seen:  

I have GDB insalled but there isn't any core dump file in trunk. Should I make it or is that system generated. I feel the guide is lacking in details. Kindly expound thank you.

 

I am having random map-server session time-outs and there are absolutely no error messages. Without help from a log,  I cannot figure out why there would be issues.

Edited by pandaplaygames
Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   0
  • Joined:  11/01/14
  • Last Seen:  

Hello, i've my map server is crashing randomly. So, i've tryed to use your commands, but when i put " gdb map-server map-server_sql.core " it shows this in server:

 

GNU gdb (GDB) 7.4.1-debian
Copyright © 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
Reading symbols from /root/Rathena/map-server...(no debugging symbols found)...done.
/root/Rathena/map-server_sql.core: Arquivo ou diretório não encontrado.
(gdb) ^CQuit
(gdb) bt full
No stack.
(gdb)
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   0
  • Joined:  01/19/13
  • Last Seen:  

 

Hello, i've my map server is crashing randomly. So, i've tryed to use your commands, but when i put " gdb map-server map-server_sql.core " it shows this in server:

 

GNU gdb (GDB) 7.4.1-debian
Copyright © 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
Reading symbols from /root/Rathena/map-server...(no debugging symbols found)...done.
/root/Rathena/map-server_sql.core: Arquivo ou diretório não encontrado.
(gdb) ^CQuit
(gdb) bt full
No stack.
(gdb)

 

 

UP for this issue.

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  535
  • Reputation:   23
  • Joined:  11/19/11
  • Last Seen:  

up pls help. same problem with them

Link to comment
Share on other sites

  • 2 years later...

  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  535
  • Reputation:   23
  • Joined:  11/19/11
  • Last Seen:  

remove the .core. it will fix the issue.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...