Jump to content
  • 0

How to Install GDB in CentOS?


SlashGeeGee

Question


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

Hello rA :)

map map-server auto closes from time to time but there is no console error /meh

Added Source Mods :

• Extended Vending System 1.8.1 by Lilith

• MVP Tomb by malufett

• atmaintenance command from here : http://rathena.org/board/topic/59786-solved-maintenance-command/

and i tried enabling core dumps but it says

/eathena/map-server_sql.core: No such file or directory.

here's what i did

cd eathena

then

./configure --enable-debug=gdb

this pops out :

checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking whether byte ordering is bigendian... no
checking whether pointers can be stored in ints (old code)... yes
checking whether gcc supports -Wno-unused-parameter... yes
checking whether gcc supports -Wno-pointer-sign... yes
checking whether gcc can actually use -Wno-pointer-sign... yes
checking whether gcc supports -Wno-switch... yes
checking whether gcc supports -fPIC... yes
checking whether gcc needs -fPIC for shared objects... no
checking whether gcc supports -fno-strict-aliasing... yes
checking for setrlimit... yes
checking for strnlen... yes
checking for uselocale... yes
checking for newlocale... yes
checking for freelocale... yes
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking xlocale.h usability... yes
checking xlocale.h presence... yes
checking for xlocale.h... yes
checking for inflateEnd in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for library containing sqrt... -lm
checking for library containing clock_gettime... -lrt
checking whether CLOCK_MONOTONIC is supported and works... yes
checking for mysql_config... /usr/bin/mysql_config
checking for mysql_init in -lmysqlclient... yes
checking mysql.h usability... yes
checking mysql.h presence... yes
checking for mysql.h... yes
checking MySQL library (required)... yes (5.0.77)
checking for pcre_study in -lpcre... yes
checking PCRE library (optional)... yes
checking host OS... Linux
checking for MinGW... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/common/Makefile
config.status: creating 3rdparty/mt19937ar/Makefile
config.status: creating 3rdparty/libconfig/Makefile
config.status: creating src/char/Makefile
config.status: creating src/login/Makefile
config.status: creating src/map/Makefile
config.status: creating src/plugins/Makefile
config.status: creating src/tool/Makefile

next :

i check my ulimit -c is unlimited

then i tried :

gdb map-server_sql map-server_sql.core

still doesnt save :P

it says


Reading symbols from /eathena/map-server_sql...done.
/eathena/map-server_sql.core: No such file or directory.

Please Help,

SlashGeeGee

Edited by SlashGeeGee
Link to comment
Share on other sites

24 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

You didn't mention it but are you sure you're saving your core file in the good directory ?

from the command you quote it suppose to be saved in server/

Anyway take a look at /etc/sysctl.conf to see where your corefile are generated.

Then those will only appear if you have a crash, so if you have no errors it sound weird, did you look bash history to be sure no one was turning it off ?, no cron or such ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

my sysctl.conf :


# Controls whether core dumps will append the PID to the core filename
# Useful for debugging multi-threaded applications
kernel.core_uses_pid = 1

yep i check , no errors in console and such . very weird /meh

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

Actually is this line that configure where it's being saved :

kernel.core_pattern = /tmp/core-%e-%s-%u-%g-%p-%t

  • %p - PID of dumped process
  • %u - real UID of dumped process
  • %g - real GID of dumped process
  • %s - number of signal causing dump
  • %t - time of dump (seconds since 0:00h, 1 Jan 1970)
  • %h - hostname (same as ’nodename’ returned by uname(2))
  • %e - executable filename

Did you look the command executed with "history" otherwise ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  268
  • Reputation:   27
  • Joined:  12/06/11
  • Last Seen:  

You can make use of screen. /no1

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

Hi SlashGeeGee,

You might want to try to run this command and log everything the 3 different servers output. Maybe you can see what it says before the crash...

nohup ./login-server_sql > login-server.log& nohup ./char-server_sql > char-server.log& nohup ./map-server_sql > map-server.log

3 log files will be outputted inside the trunk folder; you can view them after the crash and see what it says.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

Hi SlashGeeGee,

You might want to try to run this command and log everything the 3 different servers output. Maybe you can see what it says before the crash...

nohup ./login-server_sql > login-server.log& nohup ./char-server_sql > char-server.log& nohup ./map-server_sql > map-server.log

3 log files will be outputted inside the trunk folder; you can view them after the crash and see what it says.

Thanks Asura :D ill try it and see the error . i found one i screenshot here it is :

http://i49.tinypic.com/166emtw.jpg

i tried and this what it says :

[1] 26010
[2] 26011
[1]- Exit 1 nohup ./login-server_sql > login-server.log
[2]+ Exit 1 nohup ./char-server_sql > char_server.log
Segmentation fault

is it okay ?

EDIT : the server just crashed now but it saves only this part :


[info]: SVN Revision: '15120M'.
[Warning]: You are running eAthena as the root superuser.
[Warning]: It is unnecessary and unsafe to run eAthena with root privileges.
[info]: Server supports up to '1024' concurrent connections.
[info]: Char Server IP Address : 
[info]: Map Server IP Address : 
[info]: Console Silent Setting: 0
[status]: Using SQL dbs: no
[info]: Logging item transactions to table 'picklog'.
[info]: Logging chat to table 'chatlog'.
[info]: Logging gm commands to table 'atcommandlog'.
[info]: Connecting to the Map DB Server....
[status]: connect success! (Map Server Connection)
[info]: [sql]: Connecting to the Log Database 
[status]: [sql]: Successfully 'connected' to Database 
[status]: Loading maps (using db/map_cache.dat as map cache)...
[status]: Loading maps (767)..

Edited by SlashGeeGee
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

Hi SlashGeeGee,

Have you modified your map_cache.dat in any way? Try renaming it to map_cache.dat.bk and then get the default copy from the SVN; then run to see if it's working. If it is, then maybe there's something wrong with a custom map you are using.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

Hi SlashGeeGee,

Have you modified your map_cache.dat in any way? Try renaming it to map_cache.dat.bk and then get the default copy from the SVN; then run to see if it's working. If it is, then maybe there's something wrong with a custom map you are using.

Testing it Now . :D

EDIT : i renamed my map_cache.dat to map_cache.dat.bk then i added a fresh mapcache but it doesnt work :(

Edited by SlashGeeGee
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

Hi SlashGeeGee,

Then I would recommend that you put back your map_cache.dat.bk to map_cache.dat. Then perform these commands...

./configure --enable-debug=gdb
make clean
rm -rf *.log
nohup make sql > make.log
nohup ./login-server_sql > login-server.log& nohup ./char-server_sql > char-server.log& nohup ./map-server_sql > map-server.log

During the 'make sql' process, see if there's any errors in 'make.log'. Usually if there is something wrong with the source, it would state it during the make process.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

Hi SlashGeeGee,

Then I would recommend that you put back your map_cache.dat.bk to map_cache.dat. Then perform these commands...

./configure --enable-debug=gdb
make clean
rm -rf *.log
nohup make sql > make.log
nohup ./login-server_sql > login-server.log& nohup ./char-server_sql > char-server.log& nohup ./map-server_sql > map-server.log

During the 'make sql' process, see if there's any errors in 'make.log'. Usually if there is something wrong with the source, it would state it during the make process.

I just did the commands and here's my make.log :

http://upaste.me/0d39397b681c099

this error is these in my server files or host sh script ?

http://i49.tinypic.com/166emtw.jpg

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

Hi SlashGeeGee,

Hmm, I would recommend trying to get the location of the .core file and just running GDB then.

cd /
updatedb
locate *.core

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

Hi SlashGeeGee,

Hmm, I would recommend trying to get the location of the .core file and just running GDB then.

cd /
updatedb
locate *.core

i tried but nothing happens :(

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

Hello rA :)

I need help badly my map-server always crash but these only show in the map-server before the crash . so i want to enable core dumps but i don't know how to install gdb in my os.

sorry for the blurrry i just screenshot on the video monitor i used .

post-415-0-03977700-1337868200_thumb.jpg

please teach me :)

i've already done this :

/etc/security/limits.conf

*   soft  core   unlimited

and this : /etc/profile

# No core files by default
# ulimit -S -c 0 > /dev/null 2>&1

my ulimit -c is already unlimited .

Thanks ,

SlashGeeGee

Edited by SlashGeeGee
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

my ulimit -c is already unlimited .

^ okay that's good. Core dumps are enabled.

Now to install GDB:

yum install gdb

Then when the map-server crashes, it should create a coredump file in the rAthena folder named map-server_sql.core

After that happens, type this:

gdb map-server_sql map-server_sql.core

and at the prompt, type bt full:

gdb> bt full

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

Finally :D Thanks Brian is this fine ? after i command i got this :

Loaded plugins: fastestmirror
Determining fastest mirrors
Traceback (most recent call last):
 File "/usr/bin/yum", line 29, in ?
   yummain.user_main(sys.argv[1:], exit_code=True)
 File "/usr/share/yum-cli/yummain.py", line 309, in user_main
   errcode = main(args)
 File "/usr/share/yum-cli/yummain.py", line 178, in main
   result, resultmsgs = base.doCommands()
 File "/usr/share/yum-cli/cli.py", line 345, in doCommands
   self._getTs(needTsRemove)
 File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 101, in _getTs
   self._getTsInfo(remove_only)
 File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 112, in _getTsInfo
   pkgSack = self.pkgSack
 File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 661, in <lambda>
   pkgSack = property(fget=lambda self: self._getSacks(),
 File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 501, in _getSacks
   self.repos.populateSack(which=repos)
 File "/usr/lib/python2.4/site-packages/yum/repos.py", line 232, in populateSack
   self.doSetup()
 File "/usr/lib/python2.4/site-packages/yum/repos.py", line 79, in doSetup
   self.ayum.plugins.run('postreposetup')
 File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 179, in run
   func(conduitcls(self, self.base, conf, **kwargs))
 File "/usr/lib/yum-plugins/fastestmirror.py", line 181, in postreposetup_hook
   all_urls = FastestMirror(all_urls).get_mirrorlist()
 File "/usr/lib/yum-plugins/fastestmirror.py", line 333, in get_mirrorlist
   self._poll_mirrors()
 File "/usr/lib/yum-plugins/fastestmirror.py", line 376, in _poll_mirrors
   pollThread.start()
 File "/usr/lib/python2.4/threading.py", line 416, in start
   _start_new_thread(self.__bootstrap, ())
thread.error: can't start new thread

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

I think your VPS is low on memory.

http://blog.droidzon...art-new-thread/

oh i see but is the GDB installed ?

Done it's installed now ! Just closed the server in just a min then install :)



Installed:
 gdb.i386 0:7.0.1-42.el5.centos

Dependency Installed:
 python-libs.i386 0:2.4.3-46.el5

Updated:
 python.i386 0:2.4.3-46.el5

Complete!

Thanks Brian Now i can see the errors in that screenshot /no1

Help ! my server just crashed now but no .core files are saved in my eA folder :(

Here's the SS :

post-415-0-11414600-1337880883_thumb.jpg

it say's map-server_sql.core: no such file or directory , bt full = no stack please help /sob

Edited by SlashGeeGee
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  210
  • Reputation:   10
  • Joined:  11/20/11
  • Last Seen:  

Remember: you must set your "ulimit" to unlimited. ulimit -c 999999

Sometimes it goes back to zero. if it is zero then it will not produce core dumps.

Tip:

Always check your "ulimit -c" before logging out. :)

Edited by quesoph
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

it's already unlimited .

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  198
  • Reputation:   102
  • Joined:  11/13/11
  • Last Seen:  

This can be a memory leaks.

When your server crashed, use the follow command before anything.

free -m

Then use:

ps aux

This way we'll know if the problem is lack of memory on your VPS or is a memory leaks in emulator. If it isn't an external problem is with the GDB.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

This can be a memory leaks.

When your server crashed, use the follow command before anything.

free -m

Then use:

ps aux

This way we'll know if the problem is lack of memory on your VPS or is a memory leaks in emulator. If it isn't an external problem is with the GDB.

i used this command after the server crashed here's what i got :

# free -m
            total       used       free     shared    buffers     cached
Mem:          1024        257        766          0          0          0
-/+ buffers/cache:        257        766
Swap:            0          0          0
# ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0   2152   640 ?        Ss   May24   0:00 init [3]
root      1323  0.0  0.0   2244   568 ?        S<s  May24   0:00 /sbin/udevd -d
root      3079  0.0  0.0   1808   616 ?        Ss   May24   0:00 syslogd -m 0
root      3165  0.0  0.1  12816  1320 ?        Ssl  May24   0:00 pcscd
root      3203  0.0  0.1   7184  1064 ?        Ss   May24   0:00 /usr/sbin/sshd
root      3214  0.0  0.1   4492  1108 ?        Ss   May24   0:00 crond
xfs       3260  0.0  0.1   3632  1268 ?        Ss   May24   0:00 xfs -droppriv -
root      3377  0.0  0.0   2352   428 ?        Ss   May24   0:00 /usr/sbin/atd
root      3385  0.0  0.0   5672   652 ?        Ss   May24   0:00 /usr/sbin/sasla
root      3387  0.0  0.0   5672   380 ?        S    May24   0:00 /usr/sbin/sasla
nx        3980  0.0  0.1  13648  1836 ?        Sl   May24   0:00 /usr/bin/expect
nx        3982  0.0  0.2   6896  2704 pts/0    Ss+  May24   0:00 ssh -2 -x -l ro
root      3987  0.0  0.2   9996  2816 ?        Ss   May24   0:00 sshd: root@nott
nx        5282  0.0  0.0   2880   908 ?        S    May24   0:00 /bin/bash /usr/
nx        5285  0.0  0.0   2880   892 ?        S    May24   0:00 /bin/bash /usr/
nx        5287  0.0  0.0   2880  1036 ?        S    May24   0:00 /bin/bash /usr/
nx        5301  0.0  0.0   2880  1008 ?        S    May24   0:00 /bin/bash /usr/
nx        5302  0.0  0.0   1744   432 ?        S    May24   0:00 tee -a /var/log
root      5303  0.0  0.0   3792   580 ?        S    May24   0:00 /bin/bash /usr/
root      5305  0.0  0.1   3920  1524 ?        S    May24   0:00 /bin/bash /usr/
root      5522  0.0  0.0   3920   796 ?        S    May24   0:00 /bin/bash /usr/
root      5523  0.0  0.0   3920   928 ?        S    May24   0:00 /bin/bash /usr/
root      5524  0.0  0.1   3920  1224 ?        S    May24   0:00 /bin/bash /usr/
root      5528  0.1  5.1  66648 53864 ?        S    May24   2:21 /usr/lib/NX/nxa
root      5534  0.0  0.0   2908   572 ?        S    May24   0:00 tee /root/.nx/C
root      5536  0.0  0.0   3920  1048 ?        S    May24   0:00 /bin/bash /usr/
root      5588  0.0  0.9  22932  9532 ?        S    May24   0:00 /usr/bin/gnome-
root      5590  0.0  0.0   6620   636 ?        Ss   May24   0:00 /usr/bin/ssh-ag
root      5593  0.0  0.0   2860   620 ?        S    May24   0:00 /usr/bin/dbus-l
root      5594  0.0  0.0   2836   884 ?        Ss   May24   0:00 /bin/dbus-daemo
root      5599  0.0  0.0   2660   748 ?        S    May24   0:00 /usr/bin/gnome-
root      5601  0.0  0.7  32948  7976 ?        Sl   May24   0:00 /usr/libexec/gn
root      5616  0.0  0.7  15148  8088 ?        Ss   May24   0:04 metacity --sm-c
root      5620  0.0  1.1  38276 12464 ?        Ss   May24   0:01 gnome-panel --s
root      5622  0.0  1.6  74232 16984 ?        Ss   May24   0:04 nautilus --no-d
root      5627  0.0  0.2  37688  2836 ?        Ssl  May24   0:00 /usr/libexec/bo
root      5635  0.0  0.3  10584  3388 ?        S    May24   0:00 /usr/libexec/gn
root      5649  0.0  0.4  14152  4600 ?        Ss   May24   0:00 pam-panel-icon
root      5650  0.0  0.0   1952   616 ?        S    May24   0:00 /sbin/pam_times
root      5652  0.0  0.9  30564 10340 ?        S    May24   0:06 /usr/libexec/wn
root      5654  0.0  0.8  41092  9432 ?        S    May24   0:00 /usr/libexec/tr
root      5660  0.0  0.0   2564   864 ?        S    May24   0:00 /usr/libexec/ma
root      5673  0.0  0.1   2648  1176 ?        S    May24   0:00 /usr/libexec/ga
root      5675  0.0  1.0  35532 11312 ?        S    May24   0:00 /usr/libexec/cl
root      5677  0.0  0.7  22492  7964 ?        S    May24   0:00 /usr/libexec/no
root      5697  0.0  0.4  15796  4396 ?        Ss   May24   0:01 gnome-screensav
root      9768  0.0  0.2  10024  2824 ?        Ss   08:47   0:00 sshd: nx [priv]
nx        9774  0.0  0.1  10180  1568 ?        S    08:47   0:00 sshd: nx@notty
nx        9775  0.0  0.1   2884  1444 ?        Ss   08:47   0:00 /bin/bash /usr/
nx       11586  0.0  0.0   2772   504 ?        S    08:47   0:00 nc 127.0.0.1 50
root     11630  0.0  0.2  10176  2956 ?        Ss   08:49   0:00 sshd: root@nott
root     11632  0.0  0.1   6636  1620 ?        Ss   08:49   0:00 /usr/libexec/op
root     11653  0.0  0.2  10180  2928 ?        Rs   08:51   0:00 sshd: root@pts/
root     11659  0.0  0.1   3712  1448 pts/4    Ss   08:51   0:00 -bash
root     18102  0.0  0.2   7664  3044 ?        S    10:22   0:00 xterm -title eA
root     18103  0.0  0.3   7664  3492 ?        S    10:22   0:00 xterm -title eA
root     18107  0.0  0.0   3656  1040 pts/2    Ss+  10:22   0:00 /bin/sh /usr/lo
root     18108  0.0  0.3  12336  3392 pts/2    S+   10:22   0:00 ./login-server_
root     18110  0.0  0.0   3656  1036 pts/1    Ss+  10:22   0:00 /bin/sh /usr/lo
root     18111  0.0  0.4  12604  4196 pts/1    S+   10:22   0:00 ./char-server_s
root     18126  0.0  0.0   2532   912 pts/4    R+   11:47   0:00 ps aux
root     18218  0.0  0.2   5988  3084 ?        S    May24   0:00 /usr/libexec/gc

Done Got the Core File already :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

done ! got the core file already :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  292
  • Reputation:   17
  • Joined:  12/12/11
  • Last Seen:  

just want to ask, how did you do it?..

Already done everything in this thread, but still no core file..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

just want to ask, how did you do it?..

Already done everything in this thread, but still no core file..

Hi wakoko321,

I believe you are missing in enabling the soft core, and also the kernel pid from 'sysctl.conf'. You may view the following thread to enable soft core.

http://rathena.org/board/topic/53447-how-to-enable-crashcore-dumps-in-your-server-linux/

As for the 'sysctl.conf', you will need to find this file with the following command. 'updatedb' may take a while to process, but it helps organize your files for your system to search for files easily.

updatedb
locate sysctl.conf

After the gives you the location, you will need to edit that file and enable 'kernel.core_uses_pid'.

Replace:

# kernel.core_uses_pid = 1

With:

kernel.core_uses_pid = 1

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
Answer this question...

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