{"id":508,"date":"2011-07-04T13:34:18","date_gmt":"2011-07-04T20:34:18","guid":{"rendered":"http:\/\/jim-zimmerman.com\/?p=508"},"modified":"2011-12-15T15:07:00","modified_gmt":"2011-12-15T22:07:00","slug":"enable-application-core-dumps-in-rhel6","status":"publish","type":"post","link":"https:\/\/jim-zimmerman.com\/?p=508","title":{"rendered":"Enable application and daemon core dumps in RHEL6."},"content":{"rendered":"<p>To enable core file creation for daemons:<\/p>\n<p># vi \/etc\/security\/limits.conf<br \/>\n\u00e2\u20ac\u00a6<br \/>\n#* soft core 0<br \/>\n* soft core unlimited<br \/>\n\u00e2\u20ac\u00a6<\/p>\n<p># vi \/etc\/sysctl.conf<br \/>\n\u00e2\u20ac\u00a6<br \/>\nkernel.core_pattern = \/tmp\/core-%e-%s-%u-%g-%p-%t<br \/>\nfs.suid_dumpable = 2<br \/>\n\u00e2\u20ac\u00a6<\/p>\n<p># vi \/etc\/sysconfig\/init<br \/>\n\u00e2\u20ac\u00a6<br \/>\nDAEMON_COREFILE_LIMIT=&#8217;unlimited&#8217;<br \/>\n\u00e2\u20ac\u00a6<\/p>\n<p># sysctl -p<\/p>\n<p>To enable core dumps for xinetd services, I just needed to install the Automatic Bug Report Tool (abrt), and start the service:<\/p>\n<p># yum install abrt-desktop<\/p>\n<p># service abrtd start<\/p>\n<p>Some command line commands:<br \/>\n# abrt-cli &#8211;list<br \/>\n# abrt-cli &#8211;report <em>crash_id<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To enable core file creation for daemons: # vi \/etc\/security\/limits.conf \u00e2\u20ac\u00a6 #* soft core 0 * soft core unlimited \u00e2\u20ac\u00a6 # vi \/etc\/sysctl.conf \u00e2\u20ac\u00a6 kernel.core_pattern = \/tmp\/core-%e-%s-%u-%g-%p-%t fs.suid_dumpable = 2 \u00e2\u20ac\u00a6 # vi \/etc\/sysconfig\/init \u00e2\u20ac\u00a6 DAEMON_COREFILE_LIMIT=&#8217;unlimited&#8217; \u00e2\u20ac\u00a6 # sysctl -p To enable core dumps for xinetd services, I just needed to install the Automatic Bug [&#038;hellip<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[223,158,190,146],"class_list":["post-508","post","type-post","status-publish","format-standard","hentry","category-documentation","tag-abrt","tag-core","tag-dumps","tag-rhel6"],"share_on_mastodon":{"url":"","error":""},"_links":{"self":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/508","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=508"}],"version-history":[{"count":4,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/508\/revisions"}],"predecessor-version":[{"id":632,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/508\/revisions\/632"}],"wp:attachment":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=508"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=508"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=508"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}