Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. NetXMS 4.4.1 server failed

NetXMS 4.4.1 server failed

Scheduled Pinned Locked Moved Support
14 Posts 6 Posters 67.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L
    L
    lhpaladin
    wrote on last edited by
    #4

    Can anyone explain this error, problem with the NetXMS source code?

    Thanks,

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #5

      This looks like a bug in the server. Please try upgrading to 4.4.2, if this will not help, please try to run netxmsd under debugger and provide stack trace after crash.

      Best regards,
      Victor

      1 Reply Last reply
      0
      • M
        M
        Malutki_27
        wrote on last edited by
        #6

        Hi Guys,

        I'm facing the same issue on the 4.4.2 version.

        The Netxms server is restarting all the time

        From gdb I receive that

        Thread 47 "$POLLERS/WRK" received signal SIGABRT, Aborted.
        [Switching to Thread 0x7ffff1f55640 (LWP 10295)]
        __pthread_kill_implementation (no_tid=0, signo=6, threadid=140737252775488) at ./nptl/pthread_kill.c:44
        44 ./nptl/pthread_kill.c: No such file or directory.
        

        BR
        Marcin

        1 Reply Last reply
        0
        • L
          L
          lhpaladin
          wrote on last edited by
          #7

          Hi,

          In my case, I set all nodes as unmanaged and changed them to managed little by little until I found the node that caused the error. Then I noticed that the node crashes the system in the configuration poll.

          1 Reply Last reply
          0
          • U
            U
            uasy
            wrote on last edited by
            #8

            I have problem too. My enveropment:
            Docker, Ubuntu 18.04, PG 12.5, NetXMS 4.4.2

            #0  __GI_abort () at abort.c:107
                    act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {18446744073709551615 <repeats 16 times>}}, sa_flags = 0,
                      sa_restorer = 0x0}
                    sigs = {__val = {32, 0 <repeats 15 times>}}
                    __cnt = <optimized out>
                    __set = <optimized out>
                    __cnt = <optimized out>
                    __set = <optimized out>
            #1  0x00007131ffe4d837 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7131fff7a869 "*** %s ***: %s terminated\n") at ../sysdeps/posix/libc_fatal.c:181
                    ap = {{gp_offset = 32, fp_offset = 0, overflow_arg_area = 0x7131dee08160, reg_save_area = 0x7131dee080f0}}
                    fd = <optimized out>
                    list = <optimized out>
                    nlist = <optimized out>
                    cp = <optimized out>
                    written = <optimized out>
                    on_2 = <optimized out>
                    next = <optimized out>
                    str = <optimized out>
                    len = <optimized out>
                    newp = <optimized out>
                    iov = <optimized out>
                    total = <optimized out>
                    cnt = <optimized out>
                    buf = <optimized out>
                    wp = <optimized out>
                    old = <optimized out>
                    cnt = <optimized out>
                    result = <optimized out>
            #2  0x00007131ffef8b31 in __GI___fortify_fail_abort (need_backtrace=need_backtrace@entry=false, msg=msg@entry=0x7131fff7a847 "stack smashing detected")
                at fortify_fail.c:33
            No locals.
            #3  0x00007131ffef8af2 in __stack_chk_fail () at stack_chk_fail.c:29
            No locals.
            #4  0x000071320127ac1a in NetworkDeviceDriver::getInterfaces(SNMP_Transport*, NObject*, DriverData*, bool) () from /usr/lib/x86_64-linux-gnu/libnxsrv.so.44
            No symbol table info available.
            #5  0x00007132016410f2 in Node::getInterfaceList() () from /usr/lib/x86_64-linux-gnu/libnxcore.so.44
            No symbol table info available.
            #6  0x0000713201658f8b in Node::updateInterfaceConfiguration(unsigned int) () from /usr/lib/x86_64-linux-gnu/libnxcore.so.44
            No symbol table info available.
            #7  0x000071320165b8a5 in Node::configurationPoll(PollerInfo*, ClientSession*, unsigned int) () from /usr/lib/x86_64-linux-gnu/libnxcore.so.44
            No symbol table info available.
            #8  0x00007132016bb3cd in Pollable::doConfigurationPoll(PollerInfo*) () from /usr/lib/x86_64-linux-gnu/libnxcore.so.44
            No symbol table info available.
            #9  0x00007132015634a1 in ?? () from /usr/lib/x86_64-linux-gnu/libnxcore.so.44
            No symbol table info available.
            #10 0x0000713200df7dce in ?? () from /usr/lib/x86_64-linux-gnu/libnetxms.so.44
            No symbol table info available.
            #11 0x0000713200df7c16 in ?? () from /usr/lib/x86_64-linux-gnu/libnetxms.so.44
            No symbol table info available.
            #12 0x0000713200df9b9a in ?? () from /usr/lib/x86_64-linux-gnu/libnetxms.so.44
            No symbol table info available.
            #13 0x000071320075d6db in start_thread (arg=0x7131dee0b700) at pthread_create.c:463
                    pd = 0x7131dee0b700
                    now = <optimized out>
                    unwind_buf = {cancel_jmp_buf = {{jmp_buf = {124459006605056, 1317378752416278104, 124459006599488, 0, 124459395576720, 124459381890880, -1140544028988971432,
                            -1140461746747644328}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
                    not_first_call = <optimized out>
            #14 0x00007131ffee561f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
            
            1 Reply Last reply
            0
            • F
              F
              Filipp Sudanov
              wrote on last edited by
              #9

              I have problem too. My enveropment:
              Docker, Ubuntu 18.04, PG 12.5, NetXMS 4.4.2

              Do you have netxms-server-dbg package installed on your system? If not, please install it and make the backtrace again.

              1 Reply Last reply
              0
              • A
                A
                Alex Kirhenshtein
                wrote on last edited by
                #10

                @uasy said in NetXMS 4.4.1 server failed:

                I have problem too. My enveropment:
                Docker, Ubuntu 18.04, PG 12.5, NetXMS 4.4.2

                Try installing 4.4.2.30 from unstable repo.

                Add to sources:
                 

                deb http://packages.netxms.org/ubuntu bionic unstable
                
                1 Reply Last reply
                0
                • U
                  U
                  uasy
                  wrote on last edited by
                  #11

                  with netxms-server-dbg package

                  #0  0x00007f032e9128e0 in abort () from /lib/x86_64-linux-gnu/libc.so.6
                  No symbol table info available.
                  #1  0x00007f032e95b837 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
                  No symbol table info available.
                  #2  0x00007f032ea06b31 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
                  No symbol table info available.
                  #3  0x00007f032ea06af2 in __stack_chk_fail () from /lib/x86_64-linux-gnu/libc.so.6
                  No symbol table info available.
                  #4  0x00007f032fd88c1a in NetworkDeviceDriver::getInterfaces (this=0x7f0330652720 <s_defaultDriver>, snmp=0x7f031f86b6e0, node=0x7f0319568000, driverData=<optimized out>, useIfXTable=true)
                      at ndd.cpp:658
                          success = <optimized out>
                          interfaceCount = 8
                          ifList = 0x7f031f1537e0
                  #5  0x00007f033014f0f2 in Node::getInterfaceList (this=this@entry=0x7f0319568000) at node.cpp:1616
                          useIfXTable = true
                          snmpTransport = 0x7f031f86b6e0
                          ifList = <optimized out>
                  #6  0x00007f0330166f8b in Node::updateInterfaceConfiguration (this=this@entry=0x7f0319568000, requestId=requestId@entry=0) at node.cpp:6258
                          hasChanges = false
                          ifList = <optimized out>
                  #7  0x00007f03301698a5 in Node::configurationPoll (this=0x7f0319568000, poller=0x7f031f9a9400, session=0x0, rqId=0) at node.cpp:4582
                          buffer = L"Hardware: Intel64 Family 6 Model 62 Stepping 4 AT/AT COMPATIBLE - Software: Windows Version 6.3 (Build 14393 Multiprocessor Free)", '\000' <repeats 126 times>
                          hypervisorType = L"\x26c089c0缃\xfb6aac00\x98305d7PO\x3032ac98缃@\000\000\000\x195683b8缃\x19568b10缃\x3063d840缃\x2e9907d0缃\xffffffff\x1fffffff\xefc4b90缃\000\000\000缃\xefc4b90缃\a"
                          hypervisorInfo = L"\000\070\000\000\000\000N 00° 00' 00.000\"\000.2E 00° 00' 00.000\"\000\000\000\001", '\000' <repeats 31 times>, "\x2f90829b缃\000\000\xfb6aac00\x98305d7\062\060\062\063.10.02 14:41:39.009\000d.%d.%d\000mpPollAddress(%S [%u], %S, %S):", '\000' <repeats 108 times>
                          type = <optimized out>
                          __pollStartTime = 1696246899094
                          __pollState = 0x7f0319568ca8
                          oldCapabilities = <optimized out>
                          modified = 0
                  #8  0x00007f03301c93cd in Pollable::doConfigurationPoll (this=0x7f0319568af8, poller=0x7f031f9a9400) at pollable.cpp:116
                  No locals.
                  #9  0x00007f03300714a1 in __ThreadPoolExecute_Wrapper_1<Pollable, PollerInfo*> (arg=0x7f031f8b0f20) at ../../../include/nms_threads.h:1191
                          wd = 0x7f031f8b0f20
                  #10 0x00007f032f905dce in ProcessSerializedRequests (data=0x7f031f9226c0) at tp.cpp:487
                          rq = 0x7f0324fad8d0
                  #11 0x00007f032f905c16 in WorkerThread (threadInfo=0x7f0324aed710) at tp.cpp:199
                          rq = <optimized out>
                          waitTime = 69515
                          p = 0x7f0324fa8600
                          threadName = "$POLLERS/WRK\000\000\000"
                  #12 0x00007f032f907b9a in ThreadCreate_Wrapper_1<WorkerThreadInfo*> (context=0x7f0324aed720) at ../../include/nms_threads.h:539
                          wd = 0x7f0324aed720
                  #13 0x00007f032f26b6db in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
                  No symbol table info available.
                  #14 0x00007f032e9f361f in clone () from /lib/x86_64-linux-gnu/libc.so.6
                  No symbol table info available.
                  
                  1 Reply Last reply
                  0
                  • U
                    U
                    uasy
                    wrote on last edited by
                    #12

                    from unstable repo can't build

                    Step 5/14 : RUN echo "deb http://packages.netxms.org/ubuntu bionic unstable" > /etc/apt/sources.list.d/netxms.list
                    Step 6/14 : RUN wget -q -O - http://packages.netxms.org/netxms.gpg | apt-key add -
                    Warning: apt-key output should not be parsed (stdout is not a terminal)
                    OK
                    Step 7/14 : RUN apt-get update[/font]
                    Get:1 http://packages.netxms.org/ubuntu bionic InRelease [362 kB]
                    Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease
                    Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
                    Get:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
                    Get:5 http://packages.netxms.org/ubuntu bionic/unstable amd64 Packages [11.7 kB]
                    Get:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [83.3 kB]
                    Fetched 634 kB in 1s (637 kB/s)
                    Reading package lists...
                    Step 8/14 : RUN apt-get -y install netxms-server-dbg netxms-server netxms-dbdrv-pgsql netxms-agent &&     apt-get clean
                    
                    Reading package lists...
                    Building dependency tree...
                    Reading state information...
                    Some packages could not be installed. This may mean that you have
                    requested an impossible situation or if you are using the unstable
                    distribution that some required packages have not yet been created
                    or been moved out of Incoming.
                    The following information may help to resolve the situation:
                    The following packages have unmet dependencies:
                     netxms-agent : Depends: libnxmodbus but it is not installable
                     netxms-server : Depends: libnxmodbus but it is not installable
                    E: Unable to correct problems, you have held broken packages.
                    
                    1 Reply Last reply
                    0
                    • A
                      A
                      Alex Kirhenshtein
                      wrote on last edited by
                      #13

                      @uasy said in NetXMS 4.4.1 server failed:

                      from unstable repo can't build

                      You need both main and unstable.
                      We don't push dependencies like our fork of libmodbus to unstable repo.

                      1 Reply Last reply
                      0
                      • U
                        U
                        uasy
                        wrote on last edited by
                        #14

                        4.4.2-30 Work fine, without crashes..

                        1 Reply Last reply
                        0

                        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
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        Powered by NodeBB Contributors
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups