problem running RMA for Linux after configuration

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).
vidyagana
Posts: 106
Joined: Fri Mar 25, 2005 10:35 am

Post by vidyagana »

Yeah, I am sorry I forgot to mention that. I already did that but cannot see anything started. Here is the output :

[82]smmk192(dev1):..me/dba_admin/HostMonRMA> ps -A | grep rma


(I do not get anything back).
Thanks.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

vidyagana wrote:Yeah, I am sorry I forgot to mention that. I already did that but cannot see anything started.
It means some other application uses the same port. I think, you should try to specify another port number. By default is used 1055, so, you may try 1058, 1126, 3322, etc. Port number is specified in rma.ini file.

Regards,
Max
vidyagana
Posts: 106
Joined: Fri Mar 25, 2005 10:35 am

Post by vidyagana »

Max,

I have changed the port number in the rma.ini file, but still the same error. I have even emailed the rma.ini file (Before the port number change) to support@ks-soft.net.

[85]smmk192(dev1):..me/dba_admin/HostMonRMA> ./rma -i /orahome/dba_admin/HostMonRMA/rma.ini
-------------------------------------------------------------
Application: RMA (Remote Monitoring Agent for HostMonitor)
Version: 1.22 for Solaris
Copyright: 2004, 2005 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




Thanks.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

vidyagana wrote: I already did that but cannot see anything started.
What exact *nix system do you use? Probably you need another param for command ps to show all processes. Try to read manual, just type "man ps" in console to find it out and replace param "-A' of command ps with appropriate param according to your system. I'm sure you will see another instance of rma running.

Regards,
Max
vidyagana
Posts: 106
Joined: Fri Mar 25, 2005 10:35 am

Post by vidyagana »

We are using Sun OS 5.8. I did a "man ps" and this is a portion of the output

OPTIONS
The following options are supported:

- a Lists information about all processes most frequently
requested: all those except process group leaders and
processes not associated with a terminal.

-A Lists information for all processes. Identical to -e,
below.

Thanks.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

So, when you type "ps -A" or "ps -a" or "ps -e", you are unable to find rma process, right? Hm. Do you use root account to install and configure rma?

Regards,
Max
vidyagana
Posts: 106
Joined: Fri Mar 25, 2005 10:35 am

Post by vidyagana »

No, I am not using root. I am using oracle user account.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

vidyagana wrote:No, I am not using root. I am using oracle user account.
Could you try to configure rma using root account? It might help.

Regards,
Max
vidyagana
Posts: 106
Joined: Fri Mar 25, 2005 10:35 am

Post by vidyagana »

The system administrator tried the script as root and he is also getting the same error. Please help.

Thanks.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

So, are you sure there are no ane other software, that uses the same port, you have specified in rma.ini? Could you ask the system administrator to open RMA port on firewall?
As I can see from your rma.ini, you have specified 1055 as port number? Could ou try to change it to any other? 10.33.68.68 - is it the IP address of machine, where RMA is running? Also I would recommend you to set TmpDir as /tmp, e.g. TmpDir=/tmp

Regards,
Max
vidyagana
Posts: 106
Joined: Fri Mar 25, 2005 10:35 am

Post by vidyagana »

Hi,

Previously I had also changed port 1055 to 1058 but still no change. 10.33.68.68 is the IP address of the machine where the Windows version of HostMonitor server software is running and has RMA Manager.

Thanks.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

vidyagana wrote:10.33.68.68 is the IP address of the machine where the Windows version of HostMonitor server software is running and has RMA Manager.
Here is an issue. In rma.ini you should specify IP address of host were RMA is running (your Solaris machine IP) as Host. That why rma is unable to create the socket and getting the socket() or bind() error. Please, change the Host setting in rma.ini file.

Regards,
Max
vidyagana
Posts: 106
Joined: Fri Mar 25, 2005 10:35 am

Post by vidyagana »

Alex, I am confused. This is the current configuration. Please correct me if I am wrong.

I have a Windows system where I installed Advanced Host Monitor and I have RMA manager running in that same machine (10.33.68.68)

I have a Solaris system that has an Oracle database running and I want to monitor some parameters of the database from the Windows system (10.33.68.68). Now I am confused what to specify as Host - RMA Manager (10.33.68.68) or machine where agent is going to run.

Thanks.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

vidyagana wrote:This is the current configuration.
As I can see from your rma.ini, Host=10.33.68.68
vidyagana wrote:Now I am confused what to specify as Host - RMA Manager (10.33.68.68) or machine where agent is going to run.
As Host you should specify IP address of machine where RM agent is running (Solaris). Address of Windows machine (where HostMonitor and RMA Manager is rinning) you should specify in IncomeFilter and RemoteManagment sections.
Please read INSTALL file carefully.

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

Post by KS-Soft »

Now I am confused what to specify as Host - RMA Manager (10.33.68.6 or machine where agent is going to run.
You may simply keep "Host" parameter empty and "FilterActive=0". Change these parameters when you understand what it means
Quote from the manual
HOST - OPTIONAL parameter that defines host name or IP address of the LOCAL network interface (RMA should listen on).
Regards
Alex
Post Reply