abrtd:Executable ‘some execution‘ doesn‘t belong to any package and ProcessUnpackaged is set to ‘no‘

问题描述:

[root@localhost 182589]# systemctl status abrtd
● abrtd.service - ABRT Automated Bug Reporting Tool
   Loaded: loaded (/usr/lib/systemd/system/abrtd.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2020-09-23 12:29:20 EDT; 3h 48min ago
 Main PID: 1492 (abrtd)
   CGroup: /system.slice/abrtd.service
           ├─ 1492 /usr/sbin/abrtd -d -s
           └─47763 abrt-server -s

Sep 23 15:59:26 localhost.localdomain abrt-server[27625]: Deleting problem directory '/var/spool/abrt/ccpp-2020-09-23-15:59:25-10726'
Sep 23 15:59:27 localhost.localdomain abrt-server[27626]: Executable '/etc/jt_product/jt_sran/L2_L3/cells/14/simulatePhy/simu_phy' doesn't belong to any package and ProcessUnpackaged is set to 'no'
Sep 23 15:59:27 localhost.localdomain abrt-server[27626]: 'post-create' on '/var/spool/abrt/ccpp-2020-09-23-15:59:25-180115' exited with 1
Sep 23 15:59:27 localhost.localdomain abrt-server[27626]: Deleting problem directory '/var/spool/abrt/ccpp-2020-09-23-15:59:25-180115'
Sep 23 15:59:28 localhost.localdomain abrt-server[27719]: Executable '/etc/jt_product/jt_sran/L2_L3/cells/21/simulatePhy/simu_phy' doesn't belong to any package and ProcessUnpackaged is set to 'no'
Sep 23 15:59:28 localhost.localdomain abrt-server[27719]: 'post-create' on '/var/spool/abrt/ccpp-2020-09-23-15:59:25-78840' exited with 1
Sep 23 15:59:28 localhost.localdomain abrt-server[27719]: Deleting problem directory '/var/spool/abrt/ccpp-2020-09-23-15:59:25-78840'
Sep 23 16:03:35 localhost.localdomain abrt-server[27797]: Executable '/etc/jt_product/jt_sran/L2_L3/cells/13/simulatePhy/simu_phy' doesn't belong to any package and ProcessUnpackaged is set to 'no'
Sep 23 16:03:35 localhost.localdomain abrt-server[27797]: 'post-create' on '/var/spool/abrt/ccpp-2020-09-23-15:59:25-164405' exited with 1
Sep 23 16:03:35 localhost.localdomain abrt-server[27797]: Deleting problem directory '/var/spool/abrt/ccpp-2020-09-23-15:59:25-164405'

如何解决abrtd不属于任何程序包并且ProcessUnpackaged设置为'no'


您在CentOS或Red Hat Linux系统上是否遇到错误消息“ abrtd不属于任何软件包,并且ProcessUnpackaged设置为'no' ”?自动Bug报告工具(缩写为  ABRT)由  abrtd 守护程序以及许多系统服务和实用程序组成,用于处理,分析和报告检测到的问题。

所述abrtd守护程序当检测到应用程序崩溃或内核糟糕收集相关问题的数据,例如,如果有一个,则崩溃应用程序的命令行参数,以及其他数据的核心文件中的背景和弹簧为行动始终运行法医实用程序。

记录检测到的问题的路径是:

/var/spool/abrt - (CentOS 6)
/var/tmp/abrt - (CentOS 7)

注意,您可能需要通过运行以下命令来安装ABRT CentOS 7:

sudo yum install abrt-cli

前面提到的错误消息表示abrtd无法创建不属于任何程序包的程序的核心。这意味着崩溃的进程具有一个不属于任何程序包的可执行文件

要解决此限制,您需要编辑文件

sudo vim /etc/abrt/abrt-action-save-package-data.conf

然后将参数更改ProcessUnpackaged  为yes

# Process crashes in executables which do not belong to any package?
#
ProcessUnpackaged = yes

abrtd 进行更改后重新启动服务

sudo systemctl restart abrtd  # CentOS 7,x
sudo service abrtd restart    # CentOS 6.x

就是这样,ABRT现在应该能够在程序崩溃时创建程序的核心。

 

已标记关键词 清除标记
©️2020 CSDN 皮肤主题: 酷酷鲨 设计师:CSDN官方博客 返回首页