CentOS下解决 Corrupted or bad dump 问题

分类:CentOS运维 阅读:40051 次

在运维中, 服务器会出现 coredump,这时/var/log/messages 会有 coredump信息产生,但是经常会有

May 12 17:51:01 localhost abrtd: Executable '/data/tianq/test/test' doesn't belong to any package May 12 17:51:01 localhost abrtd: Corrupted or bad dump /var/spool/abrt/ccpp-2014-05-12-17:51:01-25312 (res:2), deleting

相关输出, 修改 /etc/abrt/abrt-action-save-package-data.conf 可以屏蔽此问题

cp /etc/abrt/abrt-action-save-package-data.conf /etc/abrt/abrt-action-save-package-data.conf.bak

vim /etc/abrt/abrt-action-save-package-data.conf

将 ProcessUnpackaged = no 修改为 ProcessUnpackaged = yes

service abrtd restart

参考连接:http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&docname=c04008096