RMA 301 - Cannot get script results

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
CountiesPowerAdmin
Posts: 19
Joined: Sun Sep 19, 2010 5:52 pm

RMA 301 - Cannot get script results

Post by CountiesPowerAdmin »

We are using an RMA agent on on of our LInux servers to monitor the services.

Upon starting the RMA agent (rma -d rma.ini) some of the services are being picked up by Hostmon.

However there are other services (CPU, Free Memory, RTP Proxy etc) that are giving a Hostmon error that states "RMA 301 - Cannot get script results". :(

Can anyone please advise what might we causing this issue?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

What version of RMA and Linux do you use?

Regards
Alex
CountiesPowerAdmin
Posts: 19
Joined: Sun Sep 19, 2010 5:52 pm

Post by CountiesPowerAdmin »

KS-Soft wrote:What version of RMA and Linux do you use?

Regards
Alex
Linux sipserver 2.6.24-16-server

RMA is version 1.28
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

We do not have exactly the same system in use but it looks like RMA cannot create temp file (may be because of some access restrictions?).
Is there TMPDIR or TMP environment variable? Does it point to directory to which rma process has RW access?
If there are no such variable or you want RMA to use different folder, you may specify path using "TmpDir" parameter (check rma.ini file).

Regards
Alex
CountiesPowerAdmin
Posts: 19
Joined: Sun Sep 19, 2010 5:52 pm

Post by CountiesPowerAdmin »

Thank you for your assistance thus far.

We have a TmpDir =/usr/tmp/rma in the ini file. The directory itself is empty.

The rma files have the following read write access:
-rw-rw-rw- 1 root root 217710 2009-05-23 04:55 rma
-rw-r--r-- 1 root root 93394 2009-05-27 03:42 rma128_lin_x86.tgz
-rw-r--r-- 1 vrs vrs 7695 2009-07-03 14:29 rma.ini

It appears to have all write permissions.

HOWEVER, when I attempt to run the rma the following message appears:

root@sipserver:/home/vrs/rma# rma rma.ini
-------------------------------------------------------------
Application: RMA (Remote Monitoring Agent for HostMonitor)
Version: 1.28 for Linux (Red Hat, Mandrake, SuSE)
Copyright: 2004 - 2009 Alexander Kozlov
web: http://www.ks-soft.net
e-mail: support@ks-soft.net
-------------------------------------------------------------
Command line checking .. Ok
Settings checking .. Ok
CPU testing .. Ok
Basic encyption checking .. Ok
RMA encyption checking .. Ok
Sock testing .. TCP listen error:
socket() or bind() error

This seems to be a network related issue...
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

We have a TmpDir =/usr/tmp/rma in the ini file. The directory itself is empty
What access rights has user (under which you are running rma) to ="/usr/tmp/rma" directory?
Could you start rma under root?
Sock testing .. TCP listen error:
socket() or bind() error
Looks like some other software already uses port assigned for the agent. May be there is another instance of rma still running?

Regards
Alex
Post Reply