Can't upgrade from version 1.1.6
-
Hi,
i'm trying to upgrade netxms from version 1.1.6 to 1.2.3, i've executed the procedure indicated in the wiki and all go fine, but when i try to connect with the new version of console i got the message "server use incompatible protocol" and then i discover nextms isn't upgraded to the version 1.2.3, but still run the version 1.1.6.
I've tried to upgrade from 1.1.6 to 1.2.0 but the same thing happened.
The only strange thing is that when i do the "nxdbmgr upgrade" i got:
NetXMS Database Manager Version 1.1.6Upgrading database...
Your database format is up to dateIt seems like no operation are executed.
Any suggest?
Thank you so much,
-
Hi!
That's strange. Seems that you are still running version 1.1.6. On what platform your NetXMS server is running? How do you do an upgrade?
Best regards,
Victor -
It's a Debian 64 bit.
I upgrade exactly as suggested in the wiki:
- Unpack the archive:
$ tar zxvf netxms-VERSION.tar.gz
- Change directory to netxms-version and run configure script:
$ cd netxms-VERSION
$ sh ./configure --with-server --with-mysqlBe sure to include all options that were used at installation time.
- Run make:
$ make
- Stop NetXMS server. 6. Stop NetXMS agent. 7. Check database for possible inconsistencies:
$ nxdbmgr check
Proceed to the next step only if database checker does not report any errors!
- Run make install:
$ make install
- Upgrade database:
$ nxdbmgr upgrade
-
Start NetXMS agent.
-
Start NetXMS server.
At point 3, I add the --with-agent option becouse there is the agent installed
Thank you,
Giovanni
-
Maybe sever was initially installed with different prefix.
Check which nxdbmgr you are using: runwhich nxdbmgr
Also search for duplicates:find / -name nxdbmgr 2>/dev/null -
HI, Thank you for the answer!
Alex probably you guess the problem!Pre upgrade, with 1.1.6 version, i got:
which nxdbmgr
/usr/bin/nxdbmgrfind / -name nxdbmgr
/usr/bin/nxdbmgr
/opt/netxms-1.1.6/src/server/tools/nxdbmgr
/opt/netxms-1.1.6/src/server/tools/nxdbmgr/.libs/nxdbmgr
/opt/netxms-1.1.6/src/server/tools/nxdbmgr/nxdbmgrAnd
which netxmsd
/usr/bin/netxmsdfind / -name netxmsd
/usr/bin/netxmsd
/etc/init.d/netxmsd
/var/lib/update-rc.d/netxmsd
/opt/netxms-1.1.6/src/server/netxmsd
/opt/netxms-1.1.6/src/server/netxmsd/.libs/netxmsd
/opt/netxms-1.1.6/src/server/netxmsd/netxmsd
/opt/netxms-1.1.6/contrib/startup/ubuntu/netxmsd
/opt/netxms-1.1.6/contrib/startup/suse/netxmsd
/opt/netxms-1.1.6/contrib/startup/debian/netxmsd
/opt/netxms-1.1.6/contrib/startup/redhat/netxmsd
/opt/netxms-1.1.6/contrib/startup/gentoo/netxmsdAfter upgrade, i got:
which nxdbmgr
/usr/local/bin/nxdbmgrfind / -name nxdbmgr
/usr/bin/nxdbmgr
/usr/local/bin/nxdbmgr/root/netxms-1.1.7/src/server/tools/nxdbmgr
/root/netxms-1.1.7/src/server/tools/nxdbmgr/.libs/nxdbmgr
/root/netxms-1.1.7/src/server/tools/nxdbmgr/nxdbmgr
/opt/netxms-1.1.6/src/server/tools/nxdbmgr
/opt/netxms-1.1.6/src/server/tools/nxdbmgr/.libs/nxdbmgr
/opt/netxms-1.1.6/src/server/tools/nxdbmgr/nxdbmgrAnd:
which netxmsd
/usr/local/bin/netxmsd
find / -name netxmsd
/usr/bin/netxmsd
/usr/local/bin/netxmsd
/etc/init.d/netxmsd
/root/netxms-1.2.0/src/server/netxmsd
/root/netxms-1.2.0/src/server/netxmsd/.libs/netxmsd
/root/netxms-1.2.0/src/server/netxmsd/netxmsd
/root/netxms-1.2.0/contrib/startup/ubuntu/netxmsd
/root/netxms-1.2.0/contrib/startup/suse/netxmsd
/root/netxms-1.2.0/contrib/startup/hp-ux/netxmsd
/root/netxms-1.2.0/contrib/startup/debian/netxmsd
/root/netxms-1.2.0/contrib/startup/redhat/netxmsd
/root/netxms-1.2.0/contrib/startup/gentoo/netxmsd
/root/netxms-1.2.3.1/src/server/netxmsd
/root/netxms-1.2.3.1/src/server/netxmsd/.libs/netxmsd
/root/netxms-1.2.3.1/src/server/netxmsd/netxmsd
/root/netxms-1.2.3.1/contrib/startup/ubuntu/netxmsd
/root/netxms-1.2.3.1/contrib/startup/suse/netxmsd
/root/netxms-1.2.3.1/contrib/startup/hp-ux/netxmsd
/root/netxms-1.2.3.1/contrib/startup/debian/netxmsd
/root/netxms-1.2.3.1/contrib/startup/redhat/netxmsd
/root/netxms-1.2.3.1/contrib/startup/gentoo/netxmsd
/var/lib/update-rc.d/netxmsd
/opt/netxms-1.1.6/src/server/netxmsd
/opt/netxms-1.1.6/src/server/netxmsd/.libs/netxmsd
/opt/netxms-1.1.6/src/server/netxmsd/netxmsd
/opt/netxms-1.1.6/contrib/startup/ubuntu/netxmsd
/opt/netxms-1.1.6/contrib/startup/suse/netxmsd
/opt/netxms-1.1.6/contrib/startup/debian/netxmsd
/opt/netxms-1.1.6/contrib/startup/redhat/netxmsd
/opt/netxms-1.1.6/contrib/startup/gentoo/netxmsdIf I execute the /usr/bin/nxdbmgr the version is the 1.1.6
If i execute the /usr/local/bin/nxdbmgr the version is the version upgraded, in this test i use the 1.1.7
Both /usr/bin/netxmsd and /usr/local/bin/netxmsd start the 1.1.6 server version.I have tried to upgrade using the --prefix=/usr/bin/ option, but nothing change.
Giovanni
-
After the upgrade with the --prefix=/usr/bin , i can start the upgraded version (the 1.1.7).
I found the netxmsd instance in /usr/bin/bin/local. If i run this instance, version 1.1.7 start without error and i can connect with console.two question:
1)if i want after upgrade to have netxmsd in the same path of the previus version (/usr/bin/netxmsd), i have to give the --prefix option as "--prefix=/usr/"?
In thi case i use --prefix=/usr/bin, and i got netxmsd in /usr/bin/bin; so it seems like the /bin directory it's added to the path given in the --prefix option2)If execute /usr/bin/netxmsd (the old path), 1.1.6 version start without error. It's normal?I think 1.1.7 database version it's incompatible with 1.1.6 database version, it's right?
Thank you

-
Hi!
Yes, you specify top-level directory in --prefix, like usr. Make process will add bin, lib, etc. as needed.
Database schema version may or may not change between releases - it depends on actual requirement for changing it. Looking at change log, it seems that 1.1.7 was a minor release, mostly with bug fixes, so database schema was not changed.
Best regards,
Victor -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login