KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

TCP listen error - socket or bind error - RMA wont start

 
Post new topic   Reply to topic    KS-Soft Forum Index -> RMA for UNIX
View previous topic :: View next topic  
Author Message
timn



Joined: 20 Nov 2003
Posts: 184
Location: United States

PostPosted: Wed Aug 19, 2009 9:19 am    Post subject: TCP listen error - socket or bind error - RMA wont start Reply with quote

(Alex - you already solved this for me via email so no need for you to respond here. I am just writing a quick synopsis here in case other people encounter a similar problem)

My problem was that after installing RMA for Linux , RMA would not start:

/usr/sbin/rma/rma -i -v /usr/sbin/rma/rma.ini

Result was:
Quote:

-------------------------------------------------------------
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



I initially thought this indicated that the default TCP port (1055) was already in use on the box. But I tried several different ports - none worked.

Alex then wrote:

Quote:

How many network interfaces installed on this system?
Are you sure you have specified correct IP address as Host parameter?
=====================
; Optional parameter. Can be useul when system has several network interfaces.

Host=72.32.215.114

=====================
Could you try to remove it, keep default "Host=" line?


My system did have multiple NICs. Once I remove the IP address from my RMA.INI file as Alex suggested, my RMA works fine:

Quote:

[root@238010-web3 rma]# /usr/sbin/rma/rma -i -v /usr/sbin/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 .. Ok
[rma][10:07:22] rma Listening...



Thanks, Alex
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> RMA for UNIX All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index