Linux硬件故障排除教程
副标题[/!--empirenews.page--]
如果这些列出命令没有显示任何错误,请使用初始化系统(例如 systemd)查看 Linux 服务器的工作方式。 systemd 是最流行的初始化系统,用于启动用户空间并控制多个系统进程。例如,这是 systemctl status 命令的输出: #systemctl status ● bastion.f347.internal State: running Jobs:0 queued Failed:0 units Since:Wed2018-11-2801:29:05 UTC;2 days ago CGroup:/ ├─1/usr/lib/systemd/systemd--switched-root --system --deserialize 21 ├─kubepods.slice │├─kubepods-pod3881728a_f2af_11e8_af77_06af52f87498.slice ││├─docker-88b27385f4bae77bba834fbd60a61d19026bae13d18eb147783ae27819c34967.scope │││└─23860/opt/bridge/bin/bridge --public-dir=/opt/bridge/static--config=/var/console-config/console-c ││└─docker-a4433f0d523c7e5bc772ee4db1861e4fa56c4e63a2d48f6bc831458c2ce9fd2d.scope ││ └─23639/usr/bin/pod .... 深入到各个日志当中使用 dmesg 可以找出内核最新消息中的错误和警告。例如,这是 dmesg | more 命令的输出: #dmesg|more .... [1539.027419]IPv6: ADDRCONF(NETDEV_UP): eth0:linkisnot ready [1539.042726]IPv6: ADDRCONF(NETDEV_UP): veth61f37018:linkisnot ready [1539.048706]IPv6: ADDRCONF(NETDEV_CHANGE): veth61f37018:link becomes ready [1539.055034]IPv6: ADDRCONF(NETDEV_CHANGE): eth0:link becomes ready [1539.098550] device veth61f37018 entered promiscuous mode [1541.450207] device veth61f37018 left promiscuous mode [1542.493266]SELinux:mount invalid. Same superblock, different security settings for(dev mqueue, type mqueue) [9965.292788]SELinux:mount invalid. Same superblock, different security settings for(dev mqueue, type mqueue) (编辑:沧州站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |