RMA: 301 - Error: Unable to connect to specified machine

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
Damester
Posts: 12
Joined: Fri Oct 01, 2004 8:45 am
Location: UK Sussex

RMA: 301 - Error: Unable to connect to specified machine

Post by Damester »

I am getting this error message when setting up a test using performance counters in AHM:

RMA: 301 - Error: Unable to connect to specified machine or machine is off line.

All the other tests work fine and its just performance counter does not work.

Machine A: Windows server 2003
HM ver 4.30

Machine B: Windows server 2003
RMA ver 1.20

I have checked the reg key for read permission of Perflib as mentioned in your help. I have also looked into the forum for an answer and suspect its a firewall issue, as someone mention port 1055 is not used for this test.
Please verify.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Port 1055 is used for communication between HostMonitor and RMA.
Reply "RMA: 301 - Error: Unable to connect to specified machine or machine is off line." means that HostMonitor can establish connection with RMA, but RMA cannot retrieve information from target system.

What account is used to start RMA? RMA is running as service or application?

Regards
Alex
Damester
Posts: 12
Joined: Fri Oct 01, 2004 8:45 am
Location: UK Sussex

Post by Damester »

RMA is running as a service

I am logged in as a member of administrators.

I tried running RMA as an application but still same problem.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

RMA is running as a service
Service should use administrator account.

How you specified target system? IP address? host name? Like \\195.45.5.5 ?

Regards
Alex
Damester
Posts: 12
Joined: Fri Oct 01, 2004 8:45 am
Location: UK Sussex

Post by Damester »

It is runnig as a service

Target system? AHM or RMA which oiption?

I did notice that performance counter test: \Processor(_Total)\% C1 Time,
works but I could'nt get any other performance counter test to work.

As I understand, under the options for performace counters \ computer to use for performace monitoring, I have to use the local computer not the one I'm monitoring, I presume this is correct.

Hope this helps
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Target system? AHM or RMA which oiption?
Target system should be specified in the "Check counter" test property. E.g.
"\Processor(_Total)\% C1 Time" specifies counter on local system (system where HostMonitor or RMA is installed - depends on what application performs the test).
I wonder... If you are using counters like this, RMA should not report "Unable to connect to specified machine" error.

"\\ServerA\Processor(_Total)\% C1 Time" specifies counter on ServerA host. Also you may use IP address, like "\\192.155.12.1\Processor(_Total)\% C1 Time"
So, how looks counter(s) that returns error?

Regards
Alex
Damester
Posts: 12
Joined: Fri Oct 01, 2004 8:45 am
Location: UK Sussex

Post by Damester »

Initially In "check counter" it had: \Processor(_Total)\% C1 Time

So I changed it to: \\serverA\Processor(_Total)\% C1 Time

ServerA being the machine name with RMA on it.

it returns with RMA 301 - error.

On previous post CPU preformance counter must have worked because it was looking at local machine.

Which puts me back a step 1: I cannot communicate with RMA from AHM when trying to setup a performance counter or as you suggested RMA on that machine cannot comunicate with the performance counters

If I click on the book next to Check counter and I have:
\\serverA\Processor(_Total)\% C1 Time
it pops up Error windows: unable to connect to machine.

It also says the same if I use an IP address instead of name
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

f I click on the book next to Check counter and I have:
\\serverA\Processor(_Total)\% C1 Time
it pops up Error windows: unable to connect to machine.
It has explanation: dialog initiated by local system (by HostMonitor) that doesn't have access to remote system.
So I changed it to: \\serverA\Processor(_Total)\% C1 Time
ServerA being the machine name with RMA on it.
it returns with RMA 301 - error.
But I don't have explanation for this problem... :-(
It means RMA cannot retrieve information from Windows. HostMonitor<->RMA communication works fine.
However you may use counters without system name "\Processor(_Total)\% C1 Time". As I understand it works fine?

Regards
Alex
Damester
Posts: 12
Joined: Fri Oct 01, 2004 8:45 am
Location: UK Sussex

Post by Damester »

The explanation as mentioned in original post is:

RMA: 301 - Error: Unable to connect to specified machine or machine is off line. When trying a perfomance counter test in AHM

How can you understand it works fine with the above error message??

We have established that RMA cannot communicate with the performance counters. Why is that?? :-?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

From your posts I understand that RMA can retrieve Performance Counter from local system when you do not specify system name (e.g. \Processor(_Total)\% C1 Time). Right?
But RMA cannot retrieve counter when you specify system name (e.g. \\systemname\Processor(_Total)\% C1 Time). Right?

Why? I don't know :-(
I have checked Microsoft manuals and forums. Did not find any useful information about such problems
RMA: 301 - Error: Unable to connect to specified machine or machine is off line. When trying a perfomance counter test in AHM
How can you understand it works fine with the above error message??
I did not say it works fine. Actually I was talking about different error message. Message that appears when you click on "the book next to Check counter".

Regards
Alex
Damester
Posts: 12
Joined: Fri Oct 01, 2004 8:45 am
Location: UK Sussex

Post by Damester »

Correct on both paragraphs.

So its in-conclusive.

Thanks very much for your help and time on this matter.

If I find a solution I will let you know.

thanks again

Damian Warburton
johnv
Posts: 8
Joined: Mon May 09, 2011 9:24 pm

Post by johnv »

Did there end up being a solution for this problem?

I'm having the same issue but with memory performance counter.

In the test if have \\<server name>\Memory\% Committed Bytes In Use.

I get the following error msg: "rma: 301 - error: unable to connect to specified machine or the machine is off line".

I'm trying to query a remote server using an RMA. I'm using an domain admin account and have checked the permissions in the registry for the perflib folder and I have full control.

The remote server I am querying is Windows 2008 Svr Std. The RMA is currently querying the memory on the RMA host which is working fine.

I'm using RMA v4.15.

Any help would be much appreciated.

Cheers

John
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Lets start from begining.
Could you please check the following:
1) RPC service is started on both systems (system where RMA is running and target host)
2) Remote Registry service should be started on target system as well
3) Use regedit.exe to check the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurePipeServers\winreg
If this key is missing, restore it by exporting a "good" key from another Windows Server 2008. Restart the server.
4) Use regedit.exe to check if account that you are using for the test has KEY_READ access to the following registry key on target system: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows_NT\CurrentVersion\Perflib.
5) no firewall between 2 system blocks TCP port 135 and any ports above 1024. Unless you configured some custom RPC dynamic port allocation to work with firewalls: http://support.microsoft.com/kb/154596
6) perfOS.DLL should be enabled on target system
7) RMA itself is started under local admin account

Actually problems related to items 4, 6, 7 would lead to different error message. While problems related to items 1,2,3,5 should lead to this error.

Regards
Alex
Post Reply