NetXMS Support Forum

English Support => General Support => Topic started by: new centos7 user on June 10, 2017, 02:58:55 AM

Title: server uses incompatible version of communication protocol on netxms
Post by: new centos7 user on June 10, 2017, 02:58:55 AM
 I need some help on this error message when launching nxmc icon:
server uses incompatible verison of communication protocol .
I logged in for this 1st time fine changed the password as directed and  the rebooted centos 7 machine.

1) How do I verify the correct password is being used in the root terminal mode?

2) How do I fix this error?
Thanks
DJ
Title: Re: server uses incompatible version of communication protocol on netxms
Post by: Tursiops on June 10, 2017, 08:08:27 AM
That error message usually comes up when your Console or Web UI is running a different version than that of your NetXMS server (and is generally not related to your password at all). Make sure that your NetXMS server version matches the Console. That includes minor version changes, e.g. 2.0.7 is not compatible with 2.0.8.

Cheers
Title: Re: server uses incompatible version of communication protocol on netxms
Post by: new centos7 user on June 10, 2017, 04:54:15 PM
How do you check the version number in centos 7?
I reinstalled the management console and get into the software but when I make changes on the server config according to the netxms videos, when I restart he netxms server I can't log back into the management console.
Here status after restarting the server:

[root@localhost ~]# systemctl  status  netxmsd.service
● netxmsd.service - SYSV: netxmsd is a NetXMS server daemon process
   Loaded: loaded (/etc/rc.d/init.d/netxmsd; bad; vendor preset: disabled)
   Active: active (exited) since Sat 2017-06-10 08:18:14 CDT; 28min ago
     Docs: man:systemd-sysv-generator(8)

Jun 10 08:18:14 localhost.localdomain systemd[1]: Starting SYSV: netxmsd is a NetXMS server daemon process...
Jun 10 08:18:14 localhost.localdomain netxmsd[5087]: Starting netxmsd:
Jun 10 08:18:14 localhost.localdomain systemd[1]: Started SYSV: netxmsd is a NetXMS server daemon process

What do I do?
Thanks
Title: Re: server uses incompatible version of communication protocol on netxms
Post by: Ēriks Jenkēvics on June 12, 2017, 09:57:05 AM
What errors are you receiving when trying to log in and which version of the server and console are you using?
Regarding the status from systemctl, it is showing that the NetXMS Server service is up and running.
Title: Re: server uses incompatible version of communication protocol on netxms
Post by: Tursiops on June 12, 2017, 03:38:56 PM
I'm running on Ubuntu, so can't help with CentOS specifics, but to check which server version you are running, simply run "netxmsd -v". Compare that with the version of the Management Console you are running.

Depending on how many nodes/items you have in your server, it can also take several minutes between restarting the service and you being able to log in. The error in between would be a Connection Refused, not an incompatible version error.

Check the netxmsd log file and look for the "NetXMS Server started" line, which indicates that the system is ready.

If you locked yourself out with your password change, running "nxdbmgr reset-system-account" should reset the password to default.
Title: Re: server uses incompatible version of communication protocol on netxms
Post by: new centos7 user on June 12, 2017, 04:16:54 PM
Thank you I will try this steps.
Thanks again
Title: Re: server uses incompatible version of communication protocol on netxms
Post by: troffasky on July 01, 2017, 09:14:57 AM
I think it would be helpful if nxmc indicated which version of nxmc was required rather than just saying "incompatible version".
Title: Re: server uses incompatible version of communication protocol on netxms
Post by: Victor Kirhenshtein on July 10, 2017, 11:02:16 AM
Using same version as server will always work. Other versions may or may not work - protocol version may stay the same between product versions. Usually if you got this error that means that your client is too old and you just upgrade to version matching your server version.

Best regards,
Victor
Title: Re: server uses incompatible version of communication protocol on netxms
Post by: Dawid Kellerman on July 28, 2021, 12:00:20 AM
Hi,
I just had a similar version mismatch problem on debian with tomcat. There is a work folder in your tomcat/work/Catalina/localhost/ with a nxmc folder that I deleted. Then rename .war to nxmc.war to have the url as  :8080/nxmc/  Do all of this with tomcat stopped ! Resolved the issue I caused by deploying different version with the same name causing the mess in in the work folder.

Regards Dawid