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

相关推荐
7yewh2 分钟前
嵌入式硬件实战提升篇(一)-泰山派RK3566制作多功能小手机
linux·arm开发·驱动开发·嵌入式硬件·物联网·智能手机·硬件架构
YRr YRr28 分钟前
ubuntu ros 解决建完图后 保存的地图非常小的问题
linux·运维·ubuntu
汤米粥41 分钟前
怎么样绑定域名到AWS(亚马逊云)服务器
服务器·云计算·aws
脸ル粉嘟嘟1 小时前
常用命令之Linux&Oracle&Hive&Python
linux·hive·oracle
Wils0nEdwards1 小时前
Leetcode 整数转罗马数字
linux·python·leetcode
写bug的小屁孩1 小时前
websocket初始化
服务器·开发语言·网络·c++·websocket·网络协议·qt creator
石牌桥网管2 小时前
DNS Resolver解析服务器出口IP查询
运维·网络·tcp/ip·dns
LKAI.2 小时前
华为路由策略配置
运维·网络·华为·智能路由器
IpdataCloud2 小时前
IP数据云 识别和分析tor、proxy等各类型代理
运维·服务器