After upgrading to 2.0M5 Server Error

Started by bk-rheine, July 14, 2015, 10:34:10 PM

Previous topic - Next topic

bk-rheine

After upgrading from 2.0M4 to 2.0M5 I get the following Server Error in netxmsd.log file:

[14-JUL-2015 21:12:02.539] Log file opened
[14-JUL-2015 21:12:02.540] [INFO ] Platform subagent "/usr/lib/x86_64-linux-gnu/netxms/linux.nsm" successfully loaded
[14-JUL-2015 21:12:02.607] [INFO ] Database driver "mysql.ddr" loaded and initialized  successfully
[14-JUL-2015 21:12:07.366] [ERROR] Your database has format version 356, but server is compiled for version 353

I followed the update instructions on https://wiki.netxms.org/wiki/Server_Installation_Guide#Upgrading_NetXMS_Server_on_UNIX and used this download: https://www.netxms.org/download/netxms-2.0-M5.tar.gz

multix

you should do that:
nxdbmgr upgrade

then start next's.

or you could not uninstall previous version of nextms and trying to start older one.

bk-rheine

I did the nxdbmgr upgrade. My Problem is now, that the database is newer than the server.

Regards.

multix

then, perhaps you could not uninstall older server and even if you install newer version, you are trying to run older one.
you can check this by running

netxmsd -v

bk-rheine

How to compile a new Server for database Version 356? Or is a databse downgrade possible?

Victor Kirhenshtein

Hi,

it seems that you still have older server version then your nxdbmgr. Try to download source package again and compile everything again.

Best regards,
Victor

bk-rheine

Deleting old instances and compiling new one solved the Problem.

Thanks.