nxagent upgrade via package manager on centos{5,6} {x86,x64} fails

Started by sodalist, January 12, 2015, 12:09:23 PM

Previous topic - Next topic

sodalist

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

Victor Kirhenshtein

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