ABRT (Automated Bug Reporting Tool) Daemon:
ABRT is an application, included in Fedora Linux Distribution, that is used to report bugs in the software packages whenever crash occurs. Due to this, ABRT also helps in creation of core dump files. Multiple packages may be needed to run various features of ABRT daemon, and their listing is as follows.
abrt
abrt-plugin-bugzilla
abrt-plugin-runapp
abrt-desktop
abrt-addon-ccpp
abrt-addon-kerneloops
abrt-plugin-logger
abrt-libs
abrt-addon-python
abrt-gui
To install these packages in Fedora, one can do:
$yum install <package-name> #(if root user.)
or
$sudo yum install <package-name> #(if non-root user with sudo permissions.)
To check whether ABRT daemon is running on your system, execute:
查看 abrt 的 状态:
$service abrtd status or #sudo service abrtd status
abrt is stopped
If it is stopped as shown above, “abrtd” can be started as follows:
启动abrt:
$service abrtd start or #sudo service abrtd start
Starting abrt daemon: [ OK ]
And, now the status should show as follows:
$service abrtd status or #sudo service abrtd status
abrt (pid 5678) is running…
When “abrtd” is running, the value of sysctl variable “kernel.core_pattern” is different from the above as shown below:
$sysctl -a|grep core_pattern
kernel.core_pattern = |/usr/libexec/abrt-hook-ccpp /var/cache/abrt %p %s %u %c
“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)
相关推荐
abrt-addon-ccpp-2.0.8-21.el6.x86_64.rpm,解决安装依赖问题
abrt-addon-ccpp-2.0.8-6.el6.centos.i686.rpm是linux centos依赖包。
离线安装包,亲测可用
离线安装包,亲测可用
离线安装包,测试可用
Centos7 el7.x86_64 官方离线安装包,安装指令为 sudo rpm -ivh abrt-addon-ccpp-2.1.11-57.el7.centos.x86_64.rpm
离线安装包,测试可用
abrt-addon-python-2.0.8-6.el6.centos.i686.rpm是centos依赖包。
abrt-desktop-2.1.11-48.el7.centos.x86_64.rpm abrt-desktop-2.1.11-48.el7.centos.x86_64.rpm
abrt-addon-python-2.0.8-21.el6.x86_64.rpm,解决安装依赖问题
abrt-libs-2.0.8-21.el6.i686.rpm 的需要安装在linux系统
abrt-addon-python-2.1.11-48.el7.centos.x86_64.rpm abrt-addon-python-2.1.11-48.el7.centos.x86_64.rpm
abrt-tui-2.1.11-48.el7.centos.x86_64.rpm abrt-tui-2.1.11-48.el7.centos.x86_64.rpm
abrt-addon-kerneloops-2.0.8-21.el6.x86_64.rpm,安装包
离线安装包,亲测可用
abrt-cli-2.1.11-48.el7.centos.x86_64.rpm abrt-cli-2.1.11-48.el7.centos.x86_64.rpm
abrt-addon-kerneloops-2.0.8-6.el6.centos.i686.rpm是centos依赖包。
abrt-cli-2.0.8-6.el6.centos.i686.rpm是centos依赖包。
abrt-2.0.8-6.el6.centos.i686.rpm 是centos依赖包。
离线安装包,亲测可用