Vengeance Posted June 16, 2013 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 65 Reputation: 13 Joined: 01/08/12 Last Seen: February 19, 2015 Share Posted June 16, 2013 I have installed and done settings according to the topics available in rathene.. Yet in my VPS the GDB is not working.. I have a CentOS 5.8 and installed GDB can anyone help me with this.. ?? Quote Link to comment Share on other sites More sharing options...
Jaburak Posted June 16, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: April 13 Share Posted June 16, 2013 http://rathena.org/wiki/GDB Quote Link to comment Share on other sites More sharing options...
Vengeance Posted June 16, 2013 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 65 Reputation: 13 Joined: 01/08/12 Last Seen: February 19, 2015 Author Share Posted June 16, 2013 http://rathena.org/wiki/GDB Anakid as told before I have seen all this and installed accordingly but after the map server crashed I used this command gdb map-server_sql map-server_sql.core But got this error [root@server trunk]# gdb map-server_sql map-server_sql.core GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1) Copyright © 2010 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 "i686-redhat-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /root/trunk/map-server_sql...done. /root/trunk/map-server_sql.core: No such file or directory. (gdb) Quote Link to comment Share on other sites More sharing options...
Asura Posted June 20, 2013 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 707 Reputation: 168 Joined: 01/26/12 Last Seen: February 7, 2014 Share Posted June 20, 2013 Hi Vengeance, Within the SSH terminal, you type the following commands... cd /root/Desktop/trunk gdb ./map-server_sql run Then the process of the map-server_sql will start running. After it receives the crash signal, you would need to type; bt full Finally, you get the debug report that you need. Quote Link to comment Share on other sites More sharing options...
Vengeance Posted June 21, 2013 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 65 Reputation: 13 Joined: 01/08/12 Last Seen: February 19, 2015 Author Share Posted June 21, 2013 Hi Vengeance, Within the SSH terminal, you type the following commands... cd /root/Desktop/trunk gdb ./map-server_sql run Then the process of the map-server_sql will start running. After it receives the crash signal, you would need to type; bt full Finally, you get the debug report that you need. Thank you very much Asura.. I have done as you said.. Now let me wait when the map server crashes (hope it doesnt) Asura tell me one thing.. My putty closes after a while so how will i be able to use the bt full command if the putty closes...?? Quote Link to comment Share on other sites More sharing options...
Asura Posted June 21, 2013 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 707 Reputation: 168 Joined: 01/26/12 Last Seen: February 7, 2014 Share Posted June 21, 2013 Hi Vengeance, Then perform everything in a screen session; so when the map-server crashes, you can just re-attach to that screen and perform 'bt full'. screen cd /location/to/trunk gdb ./map-server_sql run Then you are safe to exit PuTTY with it running. Once the map server crashes, log back into PuTTY and find the current screen PID. screen -ls The ID is the # value; so then you want to re-attach to that screen by performing this command... screen -x # Quote Link to comment Share on other sites More sharing options...
Vengeance Posted June 22, 2013 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 65 Reputation: 13 Joined: 01/08/12 Last Seen: February 19, 2015 Author Share Posted June 22, 2013 Hi Vengeance, Then perform everything in a screen session; so when the map-server crashes, you can just re-attach to that screen and perform 'bt full'. screen cd /location/to/trunk gdb ./map-server_sql run Then you are safe to exit PuTTY with it running. Once the map server crashes, log back into PuTTY and find the current screen PID. screen -ls The ID is the # value; so then you want to re-attach to that screen by performing this command... screen -x # This is great,, thank you very much its so greatly explained... Quote Link to comment Share on other sites More sharing options...
Question
Vengeance
I have installed and done settings according to the topics available in rathene..
Yet in my VPS the GDB is not working..
I have a CentOS 5.8 and installed GDB can anyone help me with this.. ??
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.