linux错误自动报告工具,linux – 关闭abrt的电子邮件通知(自动错误报告工具)

我正在配置CentOS 6.2并且已经看到了一些“[abrt]完整崩溃报告”电子邮件.我知道abrt对于创建崩溃转储非常有用,所以我不想禁用该服务,我只是想停止获取崩溃报告电子邮件.

我可能不得不在/etc/abrt/abrt.conf中添加一些配置文件.我似乎无法在搜索中找到任何内容.任何的想法?谢谢.

编辑:

这是我的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

实际上上面所有这些conf文件只有几行,并没有提及有关邮件,电子邮件或通知的任何内容.

UPDATE

因为我已经禁用了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服务的方法是:

service abrt-ccpp stop

chkconfig abrt-ccpp off

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值