{"id":168,"date":"2013-03-18T17:29:00","date_gmt":"2013-03-18T17:29:00","guid":{"rendered":"http:\/\/blog.successionua.com\/?p=168"},"modified":"2013-03-18T17:29:00","modified_gmt":"2013-03-18T17:29:00","slug":"%d0%bd%d0%b0%d1%81%d1%82%d1%80%d0%be%d0%b9%d0%ba%d0%b0-abrt-automatic-bug-reporting-tool-%d0%b2-rhel6","status":"publish","type":"post","link":"https:\/\/geckich.space\/?p=168","title":{"rendered":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 abrt (automatic bug reporting tool) \u0432 RHEL6"},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align: left;\">abrtd &#8211; \u0434\u0435\u043c\u043e\u043d, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043b\u0435\u0434\u0438\u0442 \u0437\u0430 \u043a\u0440\u044d\u0448\u0430\u043c\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443\u043b\u0438\u043d \u0438 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043a\u0440\u044d\u0448\u0430 \u0434\u0435\u043b\u0430\u0435\u0442 core dump \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442 \u0432\u0441\u044f\u043a\u0438\u0439 \u0434\u0440\u0443\u0433\u043e\u0439 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u0432 \u043e\u0442\u043b\u0430\u0434\u043a\u0435 stuff. \u0418 &#8211; \u0441\u0430\u043c\u043e\u0435 \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0435 &#8211; \u043e\u0442 \u043c\u043e\u0436\u0435\u0442 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u044f\u0442\u044c \u043d\u0430\u0441 \u0441\u0440\u0430\u0437\u0443 \u0436\u0435 \u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0435 \u0438 \u0434\u0430\u0436\u0435 \u0430\u043f\u043b\u043e\u0430\u0434\u0438\u0442\u044c \u0434\u0435\u0431\u0430\u0433 \u0438\u043d\u0444\u0443 \u043d\u0430 \u0431\u0430\u0433\u0437\u0438\u043b\u043b\u0443 \u0438\u043b\u0438 \u043d\u0443\u0436\u043d\u044b\u0439 ftp\/scp \u0441\u0435\u0440\u0432\u0435\u0440.<\/p>\n<p>\u041f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0434\u0430\u0447\u0438 &#8211; \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0432 abrt \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0443 \u043f\u0438\u0441\u0435\u043c \u043f\u0440\u0438 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0438\u0438 \u043a\u0440\u044d\u0448\u0430 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u043e\u0433\u043e \u0441\u043e\u0444\u0442\u0430 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435.<\/p>\n<p>\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u044b.<\/p>\n<p><b><span style=\"color: #e69138;\">yum install abrt-addon-ccpp abrt-addon-python abrt-cli abrt-plugin-logger abrt-plugin-mailx abrt-tui abrt<\/span><\/b><\/p>\n<div><\/div>\n<p>\u0415\u0441\u043b\u0438 \u044d\u0442\u043e \u0434\u043b\u044f \u0432\u0430\u0441 \u0432\u0430\u0436\u043d\u043e, \u0442\u043e \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 abrt \u043c\u0435\u043d\u044f\u0435\u0442 kernel core_pattern:<\/p>\n<p><span style=\"color: #e69138;\"><b>cat \/proc\/sys\/kernel\/core_pattern<\/b><\/span><br \/><span style=\"color: #e69138;\"><br \/><\/span><span style=\"color: #e69138;\">\/usr\/libexec\/abrt-hook-ccpp %s %c %p %u %g %t e<\/span><\/p>\n<p>\u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0432 \u0430\u0432\u0442\u043e\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u0434\u0435\u043c\u043e\u043d\u0430 abrtd:<\/p>\n<p><b><span style=\"color: #e69138;\">chkconfig abrtd on<\/span><\/b><br \/><b><span style=\"color: #e69138;\">chkconfig abrt-ccpp on<\/span><\/b><br \/><b><span style=\"color: #e69138;\">chkconfig abrt-oops on<\/span><\/b><\/p>\n<p>\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b abrt \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f\u0445:<\/p>\n<ul style=\"text-align: left;\">\n<li>\/etc\/libreport\/ &#8211; \u0445\u0440\u0430\u043d\u0438\u0442 \u043a\u043e\u043d\u0444\u0438\u0433\u0438 \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435 \u0441 \u0440\u0435\u043f\u043e\u0440\u0442\u0430\u043c\u0438<\/li>\n<li>\/etc\/libreport\/events.d\/ &#8211; \u0437\u0434\u0435\u0441\u044c \u043b\u0435\u0436\u0430\u0442 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0438\u0432\u0435\u043d\u0442\u043e\u0432 \u0438 \u0440\u0435\u0430\u043a\u0446\u0438\u0438 \u043d\u0430 \u043d\u0438\u0445<\/li>\n<li>\/etc\/libreport\/events\/ &#8211; \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0442. \u043d. \u0440\u0435\u043f\u043e\u0440\u0442\u0435\u0440\u043e\u0432<\/li>\n<li>\/etc\/libreport\/plugins\/<\/li>\n<li>\/etc\/abrt\/ &#8211; \u043a\u043e\u043d\u0444\u0438\u0433\u0438 \u0441\u0430\u043c\u043e\u0433\u043e \u0434\u0435\u043c\u043e\u043d\u0430 abrtd<\/li>\n<li>\/etc\/abrt\/plugins\/ &#8211; \u043a\u043e\u043d\u0444\u0438\u0433\u0438 \u043f\u043b\u0443\u0433\u0438\u043d\u043e\u0432 abrt.<\/li>\n<\/ul>\n<p>\u041d\u0430\u0441 \u0432\u0441\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0438 \u043d\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0442, \u043f\u043e\u0442\u043e\u043c\u0443 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u044e, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c:<\/p>\n<p><a name='more'><\/a><br \/><b>\/etc\/abrt\/abrt-action-save-package-data.conf<\/b> &#8211; \u043c\u0435\u043d\u044f\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f:<\/p>\n<p><span style=\"color: #e69138;\">OpenGPGCheck = no<\/span> &nbsp; &nbsp; &nbsp; &nbsp; # \u0433\u043e\u0432\u043e\u0440\u0438\u043c \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u043a\u0440\u0430\u0448\u0438 \u0438 \u043d\u0435 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432<br \/><span style=\"color: #e69138;\">ProcessUnpackaged = yes <\/span>&nbsp; # \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b, \u043d\u0435 \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0430\u0449\u0438\u0435 \u043f\u0430\u043a\u0435\u0442\u0430\u043c rpm<\/p>\n<p><b>\/etc\/libreport\/events.d\/abrt_event.conf <\/b>\u0437\u0434\u0435\u0441\u044c \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u0438\u0432\u0435\u043d\u0442\u043e\u0432 \u0432 \u043a\u043e\u043d\u0435\u0446 \u0444\u0430\u0439\u043b\u0430:<\/p>\n<p><span style=\"color: #e69138;\">EVENT=notify &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;reporter-mailx<\/span><br \/><span style=\"color: #e69138;\"><br \/><\/span><span style=\"color: #e69138;\">EVENT=notify_dup &nbsp; &nbsp; &nbsp; &nbsp;reporter-mailx<\/span><\/p>\n<div><\/div>\n<div>\n<div><b>\/etc\/libreport\/plugins\/mailx.conf<\/b> &#8211; \u0437\u0434\u0435\u0441\u044c \u043b\u0435\u0436\u0430\u0442 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u043f\u0438\u0441\u0435\u043c.<\/div>\n<\/div>\n<div>&nbsp;<span style=\"color: #e69138;\">Subject=&#8221;[ABRT] crash in Example server detected&#8221;<\/span><br \/><span style=\"color: #e69138;\">&nbsp;EmailFrom=monitoring@example.com<\/span><br \/><span style=\"color: #e69138;\">&nbsp;EmailTo=admin@example.com,progger@example.com<\/span><\/p>\n<div><\/div>\n<\/div>\n<div>\u0412 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435, \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e. \u041d\u043e \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043d\u0430 \u0438\u0432\u0435\u043d\u0442\u044b \u0438 \u0437\u0430\u043b\u0438\u0432\u043a\u0443 \u043a\u0440\u044d\u0448-\u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u0441\u0432\u043e\u0439 \u0444\u0442\u043f-\u0441\u0435\u0440\u0432\u0435\u0440 \u0438 \u043d\u0430 \u0431\u0430\u0433\u0437\u0438\u043b\u043b\u0443.<\/div>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043e\u0442\u0447\u0435\u0442 \u043e \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u0435\u0434\u0448\u0438\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u0445 \u043c\u043e\u0436\u043d\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439:<\/p>\n<p><b><span style=\"color: #e69138;\">abrt-cli list -f<\/span><\/b><\/p>\n<p>\u0410 \u0441\u0430\u043c\u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u043b\u0435\u0436\u0430\u0442 \u0432 \u043f\u043e\u0434\u043f\u0430\u043f\u043a\u0430\u0445 <b>\/var\/spool\/abrt\/ccpp-*<\/b><br \/>\u041a\u0441\u0442\u0430\u0442\u0438, \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u043e\u0442 \u043e\u0434\u043d\u0438\u0445 \u0438 \u0442\u0435\u0445 \u0436\u0435 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u043e\u0432 abrt \u0441\u0447\u0438\u0442\u0430\u0435\u0442 \u0434\u0443\u0431\u043b\u0438\u043a\u0430\u0442\u0430\u043c\u0438 \u0438 \u0443\u0434\u0430\u043b\u044f\u0435\u0442.<\/p>\n<\/div>\n<div>http:\/\/geckich.blogspot.com\/<\/div>\n","protected":false},"excerpt":{"rendered":"<p>abrtd &#8211; \u0434\u0435\u043c\u043e\u043d, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043b\u0435\u0434\u0438\u0442 \u0437\u0430 \u043a\u0440\u044d\u0448\u0430\u043c\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443\u043b\u0438\u043d \u0438 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043a\u0440\u044d\u0448\u0430 \u0434\u0435\u043b\u0430\u0435\u0442 core dump \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442 \u0432\u0441\u044f\u043a\u0438\u0439 \u0434\u0440\u0443\u0433\u043e\u0439 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u0432 \u043e\u0442\u043b\u0430\u0434\u043a\u0435 stuff. \u0418 &#8211; \u0441\u0430\u043c\u043e\u0435 \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0435 &#8211; \u043e\u0442 \u043c\u043e\u0436\u0435\u0442 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u044f\u0442\u044c \u043d\u0430\u0441 \u0441\u0440\u0430\u0437\u0443 \u0436\u0435 \u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0435 \u0438 \u0434\u0430\u0436\u0435 \u0430\u043f\u043b\u043e\u0430\u0434\u0438\u0442\u044c \u0434\u0435\u0431\u0430\u0433 \u0438\u043d\u0444\u0443 \u043d\u0430 \u0431\u0430\u0433\u0437\u0438\u043b\u043b\u0443 \u0438\u043b\u0438 \u043d\u0443\u0436\u043d\u044b\u0439 ftp\/scp \u0441\u0435\u0440\u0432\u0435\u0440. \u041f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0434\u0430\u0447\u0438 &#8211; \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0432 abrt \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0443 \u043f\u0438\u0441\u0435\u043c &hellip; <a href=\"https:\/\/geckich.space\/?p=168\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 abrt (automatic bug reporting tool) \u0432 RHEL6<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[10],"tags":[],"class_list":["post-168","post","type-post","status-publish","format-standard","hentry","category-linux"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/posts\/168","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/geckich.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=168"}],"version-history":[{"count":0,"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/posts\/168\/revisions"}],"wp:attachment":[{"href":"https:\/\/geckich.space\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geckich.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geckich.space\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}