溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

abrt-ccpp CentOS7 bug報告服務(wù)

發(fā)布時間:2020-05-28 12:36:09 來源:網(wǎng)絡(luò) 閱讀:289 作者:fengyuzaitu 欄目:系統(tǒng)運維

無法創(chuàng)建ccpp文件導(dǎo)致的

“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:
?
永久設(shè)置? abrt :
ProcessUnpackaged = no?? #(before editing the file)
ProcessUnpackaged = yes? #(after editing the file)




優(yōu)化:關(guān)閉服務(wù)啟動

過濾查看啟動項如下

systemctl list-unit-files | grep enable?
abrt-ccpp.service??????????????????????????????? enabled abrt為auto bug report的縮寫 用于bug報告 關(guān)閉

禁用服務(wù)

systemctl disable abrt-ccpp.service

向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI