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).
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

yariv wrote:ok, it finally ran, now I have a TCP error:

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
Such error means that rma daemon is already started. Please type

Code: Select all

ps -A | grep rma
to verify it.

If you have installed RMA from rpm package, than rma is already started.

Regards,
Max
yariv
Posts: 15
Joined: Sun Apr 23, 2006 7:23 am

Post by yariv »

yes I am a newbie, please see my last post about failure in the TCP conncection
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

yariv wrote:yes I am a newbie, please see my last post about failure in the TCP conncection
Hm. I have already answered on it.
Such error means that rma daemon is already started. Please type

Code: Select all

ps -A | grep rma 
to verify it. You may kill the process using command "kill" and process Id, returned by foregoing command.

After installation, rpm package has started the rma daemon.
I would suggets you to run RMA in interactive mode until you have configured it properly. Use option "-i" instead of "-d".

Regards,
Max
yariv
Posts: 15
Joined: Sun Apr 23, 2006 7:23 am

Post by yariv »

ok, I killed it and ran it again with the new configuration,
now for some reason I am unable to connect remotly from the Hostmonitor
on the log.txt I get
[08/15/2006 12:45:03] 192.168.10.157 TCP connection rejected

although this IP is configured in the rma.ini:

FilterActive=1
FilterList=127.0.0.1, 192.168.10.157
FilterMarks=1

AllowUpdates=1
UpdateAddr=127.0.0.1, 192.168.10.157

AllowManage=1
ManageAddr=127.0.0.1, 192.168.10.157

did I miss anything?
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

yariv wrote:did I miss anything?
What about Password?

Regards,
Max
yariv
Posts: 15
Joined: Sun Apr 23, 2006 7:23 am

Post by yariv »

no, it's not the password
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

yariv wrote:FilterActive=1
FilterList=127.0.0.1, 192.168.10.157
FilterMarks=1
Please remove comma between adresses in FilterList field.
Please note: comma is allowed between adresses in UpdateAddr and ManageAddr fields.

Regards,
Max
yariv
Posts: 15
Joined: Sun Apr 23, 2006 7:23 am

Post by yariv »

still not working
scanning the server does not reveal the port 1055 as open, can this be the problem?
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

yariv wrote:still not working
Have you restarted rma after rma.ini changes? I suppose, 192.168.10.157 is the address of host where HostMonitor is running, right? What value have you specified as Port and Host in rma.ini? Could you send rma.ini to support@ks-soft.net?
yariv wrote:scanning the server does not reveal the port 1055 as open, can this be the problem?
If you have obtained "connection rejected" error then it is not firewall issue. Anyway, port 1055 should be opened on your RH ES server. Could you check the iptables settings?

Regards,
Max
yariv
Posts: 15
Joined: Sun Apr 23, 2006 7:23 am

Post by yariv »

Host=192.168.10.124

; Port - specifies the TCP port number which RMA utilizes to listen for
; incoming connections. Default setting is #1055.

Port=1055

192.168.10.157 is indeed the hostmonitor server, 192.168.10.124 is this server.
this server has two network cards, this is maybe the problem?
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

yariv wrote:192.168.10.157 is indeed the hostmonitor server, 192.168.10.124 is this server.
this server has two network cards, this is maybe the problem?
No, I do not think so.
Could you try to set FilterActive=0?

Have you specified OkLogFile? BadLogFile? What do you see in such files?

Regards,
Max
yariv
Posts: 15
Joined: Sun Apr 23, 2006 7:23 am

Post by yariv »

that did it, I removed the filter and it got it.
thanks for all your help and patience with me max.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

You are welcome ;-)

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

Post by vidyagana »

I am getting an error similar to the one mentioned above :

[73]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:socket() or bind() error
Such error means that rma is already started or some other application uses the same port, you have specified in rman.ini. Please type

Code: Select all

ps -A | grep rma
to verify the rma is really started. You may kill the process using command "kill" and process Id, returned by foregoing command. Perhaps, earlier you have started rma with key "-d", and now it is started on system startup.

Regards,
Max
Post Reply