登录服务器时,提示了这个错误,
代码语言:javascript复制'abrt-cli status' timed out
经过查询资料,发现是abrtd.service这个服务引起的。这是一个可有可无的功能,管理多用户的,可以通过指令,检索当前状态,
代码语言:javascript复制[oracle@VM-24-12-centos ~]$ systemctl status abrtd.service
● abrtd.service - ABRT Automated Bug Reporting Tool
Loaded: loaded (/usr/lib/systemd/system/abrtd.service; disabled; vendor preset: enabled)
Active: active (running) since Fri 2023-12-22 14:50:47 CST; 1s ago
Main PID: 1381 (abrtd)
CGroup: /system.slice/abrtd.service
└─1381 /usr/sbin/abrtd -d -s
关闭该功能,
代码语言:javascript复制[oracle@VM-24-12-centos ~]$ systemctl stop abrtd.service
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to manage system services or units.
Authenticating as: root
Password:
==== AUTHENTICATION COMPLETE ===
再次检索状态,
代码语言:javascript复制[oracle@VM-24-12-centos ~]$ systemctl status abrtd.service
● abrtd.service - ABRT Automated Bug Reporting Tool
Loaded: loaded (/usr/lib/systemd/system/abrtd.service; disabled; vendor preset: enabled)
Active: inactive (dead)
此时再登录服务器应该不会提示错误了。