Rasman 端口打开故障监视器

Microsoft.Windows.Server.RRAS.RasmanPortOpenFailure (UnitMonitor)

路由和远程访问服务或远程访问连接管理器服务在打开端口进行远程访问时遇到错误。

Knowledge Base article:

摘要

路由和远程访问服务或远程访问连接管理器服务在打开端口进行远程访问时遇到错误。

原因

此错误最常见的原因是:

1. 远程访问连接管理器服务无法启动 RAS 异步适配器驱动程序 (AsyncMac)。此错误最常见的原因是:

a. RAS 异步适配器驱动程序 (AsyncMac) 初始化失败。

b. 远程访问连接管理器服务没有足够的权限来打开驱动程序。

2. 远程访问连接管理器服务加载 rasser.dll 失败。

3. 调制解调器已切换为不受支持的波特率。

4. 串行驱动程序无法分配足够的 I/O 队列。

解决方案

1. 验证“System”帐户是否对文件 %systemroot%\system32\drivers\asyncmac.sys 具有“读取和执行”权限。若要检查权限,请执行以下操作:

(i) 右键单击 asyncmac.sys,然后单击“属性”。

(ii) 在“安全”选项卡上的“组或用户名”下,单击“SYSTEM”,然后验证是否已选中“允许”列中的“读取和执行”。

2. 验证 %systemroot%\system32 文件夹下是否包含文件 rasser.dll。

3. 验证“System”帐户是否对 rasser.dll 具有“读取和执行”权限。若要检查这些权限,请执行以下操作:

(i) 右键单击 rastapi.dll,然后单击“属性”。

(ii) 在“安全”选项卡上的“组或用户名”下,单击“SYSTEM”,然后验证是否已选中“允许”列中的“读取和执行”。

4. 配置调制解调器以使用受支持的波特率。

5. 停止然后重新启动路由和远程访问服务。

其他

示例事件 1: RASSER.DLL 尝试获取异步媒体访问控制句柄失败。

示例事件 2: RASMXS.DLL 无法加载 RASSER.DLL。

示例事件 3: %1 上的调制解调器已切换为不受支持的波特率。

示例事件 4: 串行驱动程序无法分配足够的 I/O 队列。这可能会导致连接不可靠。

示例事件 5: 远程访问连接管理器无法重新打开双向传输端口 %1。此端口不可用于拨入或拨出。重新启动所有远程访问服务组件。

Element properties:

TargetMicrosoft.Windows.Server.RRAS.2008.Server
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.SingleEventLogManualReset2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Rasman 端口打开故障监视器
路由和远程访问服务或远程访问连接管理器服务在打开端口进行远程访问时遇到错误。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.RRAS.RasmanPortOpenFailure" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.Server.RRAS.2008.Server" ParentMonitorID="Health!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.SingleEventLogManualReset2StateMonitorType" ConfirmDelivery="true">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.RRAS.RasmanPortOpenFailure_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="EventRaised" MonitorTypeStateID="EventRaised" HealthState="Error"/>
<OperationalState ID="ManualResetEventRaised" MonitorTypeStateID="ManualResetEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(20040|20041|20059|20060|20061)$</Pattern>
</RegExExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>RemoteAccess|Rasman</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
</Configuration>
</UnitMonitor>