Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - jonesss

#1
General Support / Re: Connection refused
October 13, 2017, 01:13:33 PM
Hi Victor,

You can chalk up another win.  That got it.  Thanks a bundle for the fix.

Cheers,
Sam
#2
General Support / Re: Connection refused
October 13, 2017, 12:31:39 PM
Hi Victor

Thanks for the continued support.  If I run get ListenPort from netxmsd, I get ListenPort = 4701.  I continue to see

[13-Oct-2017 10:17:42.862] [ERROR] Unable to bind socket to port 21784 in function LocalAdminListener: Only one usage of each socket address (protocol/network address/port) is normally permitted.

and

13-Oct-2017 10:17:46.002] [ERROR] Unable to bind socket to port 4700 in function ClientListener: Only one usage of each socket address (protocol/network address/port) is normally permitted.

regularly.  I have added the line ListenPort = 4701 to netxmsd.conf and the line ListenPort = 4700 to nxagentd.conf.  Per CurrPorts, none of the listed ports were in use before launching the NetXMS GUI.  I'm not even really concerned with agent communication at this point.  I just want to understand why I am unable to log into the application locally, on the machine it is installed on.  Any help is greatly appreciated.

Cheers,
Sam
#3
General Support / Re: Connection refused
October 12, 2017, 06:01:21 PM
Hi Victor,

I followed the steps outlined (except I put the log in a different place :) ) .  NetXMSCore was stopped, made sure 4701 and 21874 were not listening, ran nxdbmgr check and removed lock, added DebugLevel = 4 to netxmsd.conf, and started NetXMSCore.  Still received connection error.  Attached is the (slightly redacted) log file.  I could not see any indication of why I was unable to connect.
#4
General Support / Re: Connection refused
October 12, 2017, 03:47:08 PM
Hi Victor,

Thanks for all the help.  Running netxmsd -D 4 gives quite a bit of information.  The ERROR message I found interesting was "Unable to bind socket 21784 in function: LocalAdminListener:  Only one usage of each socket address (protocol/network address/port) is normally permitted.  I stopped the NetXMSCore service and killed netxmsd process from taskmgr and I killed the socket 21784 using CurrPorts, ran nxdbmgr check, unlock, and relaunched NetXMSCore.  Connection still refused.  Rebooted.  Opened taskmgr and noticed that both the agent and NetXMSCore services were running.  The process netxmsd is also running.  Opened CurrPorts and saw that netxmsd is already bound to 21784.  Ran nxdbmgr check and saw the db was locked so I force broke the lock and launched the NetXMS GUI.  Same error.  Unable to bind socket to port 21784 in function LocalAdminListener...
Any idea how to get around that?
#5
General Support / Re: Connection refused
October 12, 2017, 12:26:45 PM
Hi Victor,

netstat -an shows that I am listening on port 4700, but not 4701.  After running nxadm -i, and set ListenPort 4701, I receive the message:  Configuration variable ListenPort updated.  Which is fine, except that when I run netstat -an again, nothing has changed.  I'm still listening on 4700 but not 4701.  Running netxmsd:  get ListenPort returns ListenPort = 4701.  The NetXMSCore service is running, and obviously the netxmsd process is running.  I am still unable to login in to the localhost.  I receive the same error as before.  Any thoughts?
#6
General Support / Re: Connection refused
October 10, 2017, 05:20:09 PM
Hi Victor,

Thanks for the response.  My Windows firewall is off.  According to TaskManager, the NetXMSCore service is running.  The netxmsd process starts sucessfully whenever I try to launch the NetXMS GUI.  I attempted to ensure that NetXMS was listening on port 4701 by running nxshell -p 4701 (nxshell p 4701) and got the message:  Unable to create Java VM (JVM load failed). 
#7
General Support / Connection refused
October 09, 2017, 05:09:31 PM
Hi all,

I've installed NetXMS 2.1.1 on a 32 bit Windows 7 OS.  I have run through the configuration wizard and set up a MySQL database (version 5.7.19).  After restarting my system, I get "Connection refused:  connect".  I've seen several posts on this and have tried stopping the core service, running nxdbmgr check and nxdbmgr unlock, and restarting the core service.  This has not solved the issue.  In my log file I see a lot of "Duplicate entry 'nnnn' for key 'PRIMARY'.  I'm hoping someone here can point me in the right direction.  I would really love to get this running again.