RPC Server Unavailable解决方法

RPC Server Unavailable解决方法

1. Wbemtest 测试

If you see the status of RPC Server unavailable and, access denied, then the logs won't be collected. if that is the case, you cannot see the logs in the Search tab or home tab.

Kindly run the WBEM TEST.

EventLog Analyzer uses WMI API to fetch the logs from the specific device. It requires certain ports to be opened and, along with proper credentials to fetch the Logs.

If not, it cannot collect the logs.

Perform the WBEMTEST steps (from the Eventlog Analyzer server machine) as below to check whether all the logs are collected for the given credentials.

 

Steps to perform Wbemtest:

 

1.) In Windows, click Start->Run

 

2. )Type "wbemtest" in the text box and click OK

 

3. )In the WMIT window that opens, click Connect

 

4. )In the Name space text box, enter \\<host_name_here>\root\cimv2 where <machine_name> is the host machine that you are trying to connect to. For example, if your host name (for which the log collection issue is) is server123 then it should be \\server123\root\cimv2

 

5. )In the User text box, enter <machine_name/domain_name>user_name

 

6. )In the Password text box, enter the password to log in to the host machine

 

7. )Click Connect

 

If no error dialog box is shown, the login is successful. If it shows any other error message as RPC Server Unavailable, it shows that the ports are blocked where as Access Denied shows that the User has permission restrictions.

Kindly ask the customer to perform the WBEM TEST.

If WBEM TEST fails, EventLog Analyzer cannot collect the logs.

Sample screenshot:

Test123 is the server name.

Instead of this, please try with the IP address, Netbios name and, Fully qualified domain name.

For example,if customer is able to connect only with IP address, then the device should be added with IP address.

Not with the host name.


2. 检查端口

Kindly note that the WBEM TEST from Server A to Server B should work without any issues. If it says 'RPC Server Unavailable', please make sure that the firewall is not blocking the ports.

 

The below-mentioned ports need to be opened on both server(EventLog Analyzer machine) and remote host machine to enable agentless log collection,


 

S.NO

Rule Description

Protocol

Port

Direction (inbound/outbound)

1

WMI, DCOM, RPC

TCP

 

Incoming traffic ports(For Host)

2

WMI, DCOM, RPC

TCP

49152-65534

Outgoing traffic ports(For Host)

5
  

S.NO

Rule Description

Protocol

Port

Direction (inbound/outbound)

1

WMI, DCOM, RPC

TCP

49152-65534

Incoming traffic ports(For Server)

2

WMI, DCOM, RPC

TCP

135, 445, 139

Outgoing traffic ports(For Server)



    • Related Articles

    • WMI凭证未通过,错误为“RPC服务器不可用”

      通过OpManager中的WMI模式添加Windows Server时解决“RPC服务器不可用错误”的步骤。 1) 尝试使用域名\用户名和仅使用用户名添加服务器。 2) 检查是否能够从OpManager服务器ping远程Windows计算机。尝试同时使用主机名和IP地址ping通。 3) 检查OpManager服务器和远程Windows计算机之间是否有防火墙。如果有防火墙,则必须打开防火墙中的端口进行监视。端口是135(RPC)和445(WMI)。之后尝试将其添加到OpManager中。 ...
    • ADAP-RPC错误

      请先检查以下两项: 1.关于Windows防火墙入站规则: COM+ Network Access (DCOM-In) Remote Event Log Management (NP-In) Remote Event Log Management (RPC) Remote Event Log Management (RPC-EPMAP) 2.关于端口: Port "389" to communicate with the LDAP Protocol. Port "135" to ...
    • 在监视Microsoft .NET、Microsoft Exchange等Windows应用程序时,我收到“错误#RPC服务器不可用”。该怎么办?

      原因:远程计算机上可能没有运行WMI或RPC服务。 解决方案:检查远程计算机上是否正在运行WMI和RPC服务。您可以在“服务”窗口中进行检查。如果这些服务没有启动,请启动它们并尝试添加监视器。 如果Applications Manager和远程计算机之间存在防火墙,请在防火墙中打开端口135、445和 (1025-1050) 来启用访问。 然后按照服务器故障排除问题中的步骤操作。 在执行上述步骤后仍然出现错误,请将包含设置详细信息的支持信息文件发送至mes@zohocorp.com.cn
    • Analytics Plus 中解析SDP(SQL SERVER数据库)时间模块

      时间格式问题       当我们将日期类型数据从SDP的数据库(SQL Server类型)导入Analytics Plus时,我们发现它的值是一个长数字,而不是日期格式。我们如何设置它来恢复正常的时间格式? 解决方案:       这里引入一段sql来理解:              SELECT aau.FIRST_NAME AS "请求人", DATEADD(MILLISECOND, wo.CREATEDTIME % 1000, DATEADD(SECOND, wo.CREATEDTIME ...
    • 添加设备时报RPC 服务器不可用

      检查方向: 方向 1: 可以尝试使用 WBEMTEST 来检查 WMI 通信: 第 1 步:转到开始,在“搜索”或“运行”框中键入wbemtest 第 2 步:将启动一个名为“Windows Management Instrumentation Tester”的新窗口。您可以看到大多数按钮都被禁用(灰显) 第 3 步:单击“连接” 第 4 步:指定命名空间:\\<Hostname>\root\cimv2 例如: \\dc01\root\cimv2 [请注意,如果主机名未连接,您也可以使用 IP ...