rngd: Error writing /dev/tpm0

检查数据库时发现messages中一直有rngd报错,rngd一直未配置,直接关闭了

/var/log/messages-20240414:Apr 11 04:59:49 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240414:Apr 12 07:31:39 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240414:Apr 12 09:31:46 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240414:Apr 12 09:44:13 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240421:Apr 15 16:03:33 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240421:Apr 15 17:10:24 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240421:Apr 17 13:58:41 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240421:Apr 17 14:22:28 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240421:Apr 17 14:36:23 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240421:Apr 17 15:01:08 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240421:Apr 17 16:06:37 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240421:Apr 17 16:13:55 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240421:Apr 20 04:29:20 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240421:Apr 20 04:51:50 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240429:Apr 22 19:14:32 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240429:Apr 27 08:20:35 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240429:Apr 27 08:29:51 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240429:Apr 27 08:44:31 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240429:Apr 27 08:50:05 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240429:Apr 27 09:09:22 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240429:Apr 27 09:46:12 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240429:Apr 27 10:46:58 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240429:Apr 27 10:47:47 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240429:Apr 27 12:18:21 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240429:Apr 27 12:42:29 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240429:Apr 27 12:57:36 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240429:Apr 27 13:38:35 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240429:Apr 27 13:45:32 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240429:Apr 27 14:14:08 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240429:Apr 27 15:00:19 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240429:Apr 27 15:25:00 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240429:Apr 27 15:38:54 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240429:Apr 27 15:43:09 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240429:Apr 27 15:50:32 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240505:Apr 30 00:49:11 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240505:May 1 02:20:10 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240505:May 1 03:07:05 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240505:May 4 22:58:26 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240505:May 4 22:58:43 hydb2 rngd: Error writing /dev/tpm0

/var/log/messages-20240505:May 4 23:24:06 hydb2 rngd: Error writing /dev/tpm0

处理

root@hydb2 \~\]# rngd -v Available entropy sources: DRNG TPM \[root@hydb2 \~\]# systemctl status rngd ● rngd.service - Hardware RNG Entropy Gatherer Daemon Loaded: loaded (/etc/systemd/system/rngd.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2022-11-03 09:52:49 CST; 1 years 6 months ago Main PID: 25310 (rngd) CGroup: /system.slice/rngd.service └─25310 /sbin/rngd -f Apr 27 15:25:00 hydb2 rngd\[25310\]: Error writing /dev/tpm0 Apr 27 15:38:54 hydb2 rngd\[25310\]: Error writing /dev/tpm0 Apr 27 15:43:09 hydb2 rngd\[25310\]: Error writing /dev/tpm0 Apr 27 15:50:32 hydb2 rngd\[25310\]: Error writing /dev/tpm0 Apr 30 00:49:11 hydb2 rngd\[25310\]: Error writing /dev/tpm0 May 01 02:20:10 hydb2 rngd\[25310\]: Error writing /dev/tpm0 May 01 03:07:05 hydb2 rngd\[25310\]: Error writing /dev/tpm0 May 04 22:58:26 hydb2 rngd\[25310\]: Error writing /dev/tpm0 May 04 22:58:43 hydb2 rngd\[25310\]: Error writing /dev/tpm0 May 04 23:24:06 hydb2 rngd\[25310\]: Error writing /dev/tpm0 \[root@hydb2 \~\]# systemctl disable rngd Removed symlink /etc/systemd/system/multi-user.target.wants/rngd.service. \[root@hydb2 \~\]# systemctl stop rngd

相关推荐
@郭小茶3 分钟前
docker-compose方式部署docker项目
运维·docker·容器
GalaxyPokemon9 分钟前
Muduo网络库实现 [十] - EventLoopThreadPool模块
linux·服务器·网络·c++
自由鬼15 分钟前
开源虚拟化管理平台Proxmox VE部署超融合
linux·运维·服务器·开源·虚拟化·pve
瞌睡不来30 分钟前
(学习总结32)Linux 基础 IO
linux·学习·io
inquisiter1 小时前
UEFI镜像结构布局
linux·spring
孤独得猿1 小时前
Qt常用控件第一部分
服务器·开发语言·qt
不爱吃鱼的猫-1 小时前
Node.js 安装与配置全攻略:从入门到高效开发
服务器·node.js
Linux运维老纪1 小时前
运维之 Centos7 防火墙(CentOS 7 Firewall for Operations and Maintenance)
linux·安全·centos·云计算·运维开发·火绒
斯普信专业组2 小时前
Ceph异地数据同步之-RBD异地同步复制(下)
linux·服务器·ceph
counsellor2 小时前
CentOS 7安装hyperscan
linux·centos·hyperscan