abrt-ccpp CentOS7 bug报告服务

无法创建ccpp文件导致的

“abrtd” creates a sub-directory (named something like “ccpp-1279914365-14618″) in the directory “/var/cache/abrt” as shown in the value of the variable. This also means that the core files will also be stored in that sub-directory in the “/var/cache/abrt” directory (in addition to the current directory where application was run). ABRT daemon also creates other files in addition to the core dump files in the sub-directory to further help users in debugging the crash issue.
By default, “abrtd” created core dump files only for those executable (or packages) that are managed by “rpm” (red hat package manager) utility. To enable “abrtd” for non-rpm application (something you compiled locally and are not managed through rpm), you need to edit the file cat “/etc/abrt/abrt.conf” , and change the value of the field “ProcessUnpackaged” to “yes” as follows:
 
永久设置  abrt :
ProcessUnpackaged = no   #(before editing the file)
ProcessUnpackaged = yes  #(after editing the file)




优化:关闭服务启动

过滤查看启动项如下

systemctl list-unit-files | grep enable 
abrt-ccpp.service                                enabled abrt为auto bug report的缩写 用于bug报告 关闭

禁用服务

systemctl disable abrt-ccpp.service

猜你喜欢

转载自blog.51cto.com/fengyuzaitu/2467328