进程 Udev 服务运行状况

Microsoft.Linux.RHEL.4.Process.Udev.Monitor (UnitMonitor)

Red Hat Enterprise Linux Server 4 进程 Udev 监视器

Knowledge Base article:

摘要

udev 后台程序未运行。检查诊断和恢复结果以查看是否需要执行进一步的操作。

Udev 是一个通用核心设备管理器。该程序在 Linux 系统上以后台程序形式运行,如果初始化或安装新设备,该程序还会侦听内核发送出去的事件。

原因

故障表示 udev 后台程序未运行。

解决方法

使用 ps -ef | grep udev 或查看 Operations Manager 控制台中的诊断来检查服务。运行命令 "/sbin/start_udev" 或单击 Operations Manager 控制台中的恢复链接来启动。

对于根本原因分析,请首先检查日志文件 (/var/log/messages),在失败时查看相关条目。

Element properties:

TargetMicrosoft.Linux.RHEL.4.OperatingSystem
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Unix.WSMan.Process.Status.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Udev 后台程序未运行
服务器 {0} 上的 Udev 后台程序核心事件未运行。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Linux.RHEL.4.Process.Udev.Monitor" Accessibility="Public" Target="Microsoft.Linux.RHEL.4.OperatingSystem" TypeID="Unix!Microsoft.Unix.WSMan.Process.Status.MonitorType" Enabled="true" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Linux.RHEL.4.Process.Udev.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/PrincipalName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState HealthState="Success" MonitorTypeStateID="Running" ID="Running"/>
<OperationalState HealthState="Error" MonitorTypeStateID="NotRunning" ID="NotRunning"/>
</OperationalStates>
<Configuration>
<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/NetworkName$</TargetSystem>
<ProcessName>udevd</ProcessName>
<Interval>300</Interval>
</Configuration>
</UnitMonitor>