linux错误自动报告工具,linux – 关闭abrt的电子邮件通知(自动错误报告工具)
我正在配置CentOS 6.2并且已經(jīng)看到了一些“[abrt]完整崩潰報(bào)告”電子郵件.我知道abrt對于創(chuàng)建崩潰轉(zhuǎn)儲非常有用,所以我不想禁用該服務(wù),我只是想停止獲取崩潰報(bào)告電子郵件.
我可能不得不在/etc/abrt/abrt.conf中添加一些配置文件.我似乎無法在搜索中找到任何內(nèi)容.任何的想法?謝謝.
編輯:
這是我的abrt.conf,這很簡單.
[root@myhost~]# cat /etc/abrt/abrt.conf
# Enable this if you want abrtd to auto-unpack crashdump tarballs which appear
# in this directory (for example,uploaded via ftp,scp etc).
# Note: you must ensure that whatever directory you specify here exists
# and is writable for abrtd. abrtd will not create it automatically.
#
#WatchCrashdumpArchiveDir = /var/spool/abrt-upload
# Max size for crash storage [MiB] or 0 for unlimited
#
MaxCrashReportsSize = 1000
# Specify where you want to store coredumps and all files which are needed for
# reporting. (default:/var/spool/abrt)
#
#DumpLocation = /var/spool/abrt
和/ etc / abrt列表:
[root@myhost~]# ls -la /etc/abrt
total 32
drwxr-xr-x. 3 root root 4096 Apr 13 06:14 .
drwxr-xr-x. 97 root root 12288 Apr 13 03:50 ..
-rw-r--r--. 1 root root 527 Dec 13 22:50 abrt-action-save-package-data.conf
-rw-r--r--. 1 root root 572 Dec 13 22:50 abrt.conf
-rw-r--r--. 1 root root 175 Dec 13 22:50 gpg_keys
drwxr-xr-x. 2 root root 4096 Apr 13 06:13 plugins
[root@myhost~]# ls -la /etc/abrt/plugins/
total 12
drwxr-xr-x. 2 root root 4096 Apr 13 06:13 .
drwxr-xr-x. 3 root root 4096 Apr 13 06:14 ..
-rw-r--r--. 1 root root 278 Dec 13 22:50 CCpp.conf
實(shí)際上上面所有這些conf文件只有幾行,并沒有提及有關(guān)郵件,電子郵件或通知的任何內(nèi)容.
UPDATE
因?yàn)槲乙呀?jīng)禁用了abrtd,所以我在/ var / log / messages中看到了這些:
myhost abrt: abrt daemon is not running. If it crashed,/proc/sys/kernel/core_pattern contains a stale value,consider resetting it to 'core'
proper停止abrt服務(wù)的方法是:
service abrt-ccpp stop
chkconfig abrt-ccpp off
總結(jié)
以上是生活随笔為你收集整理的linux错误自动报告工具,linux – 关闭abrt的电子邮件通知(自动错误报告工具)的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 神经网络 - 用单层感知器实现多个神经元
- 下一篇: termux配置python安装kali