Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - tuomar

#1
Hi,

We are getting segfaults on the netxmsd after upgrading from 1.2.16 to 1.2.17.
Crash occurs about 20 minutes after the start of the service.

Server is SLES 11 SP3 with kernel 3.0.101-0.40-default x86_64 and all patches installed.


Oct 27 09:01:01 kernel: [25988161.002060] netxmsd[10021]: segfault at 3e4 ip 00007f30b08c4985 sp 00007f309baf9d80 error 4 in libnxcore.so.1.0.0[7f30b0810000+13b000]
Oct 27 09:22:15 kernel: [25989435.606785] netxmsd[10678]: segfault at 3e4 ip 00007fafd01c4985 sp 00007fafbf0afd80 error 4 in libnxcore.so.1.0.0[7fafd0110000+13b000]
Oct 27 09:42:40 kernel: [25990660.489147] netxmsd[11255]: segfault at 3e4 ip 00007f40a695c985 sp 00007f4095ad9d80 error 4 in libnxcore.so.1.0.0[7f40a68a8000+13b000]


With debugger (gdb) i get this kind of output:


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f9488359700 (LWP 5152)]
Node::topologyPoll (this=0x7f94908f40e0, pSession=0x0, dwRqId=0, nPoller=62) at node.cpp:5329
5329                if (peerNode->isDown())

(gdb) bt
#0  Node::topologyPoll (this=0x7f94908f40e0, pSession=0x0, dwRqId=0, nPoller=62) at node.cpp:5329
#1  0x00007f9499b07d67 in TopologyPoller (arg=0x3e) at poll.cpp:586
#2  0x00007f9497e8f806 in start_thread () from /lib64/libpthread.so.0
#3  0x00007f94970a3e8d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()


I think that libc version is 2.11.3

Rgs
TM
#2
Hi,

I try use (or get) current dci name on the transformation script, but i get error message:
Error 14 in line 8: Function or operation argument is not an object

Script line:
dciName = $dci->name;

My Netxms version is 1.2.14

Rgs
TM

#3
Hi,

I upgraded my NetXMS server form 1.2.9 to 1.2.11.

Now whenever i start the NetXMS console i get the following error message (in a popup after logon):
   'load MIB file on startup' has encountered a problem cannot load MIB file from server: Bad MIB file data

There is same topic but not really answer:
https://www.netxms.org/forum/installation/%27load-mib-file-on-startup%27-has-encountered-an-problem-(1-1-10)/

I tried recreate netxms.mib but it does not solve my problem.

When i check netxms-source/contrib/mibs directory there was txt files and some other files:
-rw-r--r-- 1 root root  24K Jan 20 08:21 Makefile
-rw-r--r-- 1 root root 9.9K Dec 25 17:01 Makefile.am
-rw-r--r-- 1 root root  24K Jan 15 01:53 Makefile.in

My first question is: are these files obsolute?

I did these steps and error is now gone, but are all really ok..??

stop netxms server
rm /usr/local/share/netxms/mibs/*
cp /tmp/netxms/netxms-1.2.11/contrib/mibs/*.txt  /usr/local/share/netxms/mibs/.
cd /usr/local/share/netxms/mibs/
nxmibc -d .
start netxms server

Rgs
tm