nxagent upgrade via package manager on centos{5,6} {x86,x64} fails
-
Environment:
CentOS v5.11, x64
/etc/nxagentd.conf:
----Servers = <removed> ControlServers = <removed> MasterServers = <removed> ListenPort = 4700 LogFile = /var/log/netxms/nxagentd.log FileStore = /var/nxagentd EnableProxy = yes EnableSNMPProxy = yes----
Existing agent:
----v1.2.2 install location: /opt/netxms----
Fail (CentOS-5.11-x64_1.2.2-1.2.17.log):
----sysinfo.cpp:370: warning: use of 'h' length modifier with 's' type character CXX tools.o CXX trap.o CXX upgrade.o CXX watchdog.o CXXLD nxagentd ../../../src/libnetxms/.libs/libnetxms.so: undefined reference to `tre_regwexec' ../../../src/libnetxms/.libs/libnetxms.so: undefined reference to `tre_regwcomp' collect2: ld returned 1 exit status gmake[4]: *** [nxagentd] Error 1 gmake[4]: Leaving directory `/tmp/nxinst.z19411/inst/netxms-1.2.17/src/agent/core' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/tmp/nxinst.z19411/inst/netxms-1.2.17/src/agent' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/tmp/nxinst.z19411/inst/netxms-1.2.17/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/tmp/nxinst.z19411/inst/netxms-1.2.17' gmake: *** [all] Error 2 build failed, restarting old agent----
Win update using procedure (CentOS-5.11-x64_1.2.17.log):
----# service nxagentd stop mv /opt/netxms /opt/_netxms # cd /var/nxagentd ./nxagent-1.2.17.apkg----
Thank you for your support
Br, Ales
-
Hi,
I likely fixed it in development branch. Fix will be part of 2.0-M2 release (will be published very soon). It works on my CentOS 6.5 test system.
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