Segment fault after upgrading to 4.5.4

Started by gmonk63, March 29, 2024, 11:57:10 PM

Previous topic - Next topic

gmonk63

I usually build from source and have no problems but for some reason my server is now dead after installing 4.5.4 from source

Details
Debian 11
Postgres 13 with timescale db extension 2.10

database was upgraded via nxdbmgr successfully

running with -D 9  gives nothing of value last lines are 

Network device driver JUNIPER loaded successfully 
Network device driver NETSCREEN loaded successfully 
Segmentation fault




Filipp Sudanov

Hi,

Out of curiosity, what are the reasons to build from source, as there are packages for Debian. But, chances are that it will also crash if installed from packages.

Can you please run it under gdb:
gdb --args netxmsd -D 6

then enter run
when it crashes, enter bt and show us the output

gmonk63

#2
See attached.. I guess I been used to doing it this way as prior not all features where enabled by default such as mqtt and a few others.

gmonk63

I was able to get the sever back up and running by isolating the qtech-olt.ndd into its own directory so it would not be loaded

Victor Kirhenshtein

qtech-olt is an old driver module, now it is called qtech. So what happened is that server attempted to load driver module built for old version, which had now incorrect references to other libraries.
If you are building server from source, make sure that before doing "make install" (or copying binaries to target machine) you removed everything from <install_prefix>/lib/netxms (/usr/local/lib/netxms in your case).

Best regards,
Victor