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. Segmentation fault at starting nxagentd

Segmentation fault at starting nxagentd

Scheduled Pinned Locked Moved Support
6 Posts 3 Posters 11.9k 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.
  • R
    R
    r00t
    wrote on last edited by
    #1

    Hi all,
    after running agent (/opt/netxms/bin/nxagentd) i got "Program received signal SIGSEGV, Segmentation fault."

    This is full error msg (D9):

    :02:34.998] [INFO ] Additional configs was loaded from /etc/nxagentd.conf.d
    :02:34.998] [INFO ] Debug level set to 9
    :02:34.998] [DEBUG] Data directory: /opt/netxms/var/lib/netxms
    :02:34.999] [DEBUG] Subagent API initialized
    :02:35.000] [DEBUG] Validating ciphers
    :02:35.000] [DEBUG]    AES-256 enabled
    :02:35.000] [DEBUG]    Blowfish-256 enabled
    :02:35.000] [DEBUG]    IDEA enabled
    :02:35.000] [DEBUG]    3DES enabled
    :02:35.000] [DEBUG]    AES-128 enabled
    :02:35.000] [DEBUG]    Blowfish-128 enabled
    :02:35.000] [DEBUG] Crypto library initialized
    :02:35.004] [DEBUG] SQLite version 3.8.2
    :02:35.004] [INFO ] DB Library: Database driver "sqlite.ddr" loaded and initialized successfully
    :02:35.004] [DEBUG] DBConnect: server=(null) db=/opt/netxms/var/lib/netxms/nxagentd.db login=(null) schema=(null)
    :02:35.005] [DEBUG] New DB connection opened: handle=0x6b5170
    :02:35.006] [DEBUG] Successful sync query: "SELECT value FROM metadata WHERE attribute='SchemaVersion'" [1 ms]
    :02:35.010] [DEBUG] Successful sync query: "VACUUM" [4 ms]
    :02:35.010] [DEBUG] Local database opened successfully
    :02:35.010] [DEBUG] Maximum number of sessions set to 1024
    Segmentation fault (core dumped)

    also this is gdb stack trace:

    ]
    #0  0x00002aaaad90fa19 in CpuUsageCollector () at cpu.cpp:145
    #1  0x00002aaaad90ff53 in StartCpuUsageCollector () at cpu.cpp:227
    #2  0x00002aaaad912629 in SubAgentInit (config=0x2aaaadd53010) at linux.cpp:101
    #3  0x000000000041d194 in InitSubAgent (hModule=0x6ec790, pszModuleName=0x7fffffff11b0 L"linux.nsm", SubAgentRegister=<optimized out>, pszEntryPoint=<optimized out>)
        at subagent.cpp:61
    #4  0x000000000041d54b in LoadSubAgent (szModuleName=0x7fffffff11b0 L"linux.nsm") at subagent.cpp:219
    #5  0x0000000000416061 in LoadPlatformSubagent () at nxagentd.cpp:645
    #6  Initialize () at nxagentd.cpp:812
    #7  0x0000000000416ca8 in main (argc=<optimized out>, argv=0x7fffffffe5d8) at nxagentd.cpp:1742

    1 Reply Last reply
    0
    • R
      R
      r00t
      wrote on last edited by
      #2

      Version info:
      NetXMS Core Agent Version 2.0.8 Build 8078 (2.0.8-RELEASE) (UNICODE)

      1 Reply Last reply
      0
      • V
        V
        VSS
        wrote on last edited by
        #3

        Hello,
        It will be not bad if You will provide some details about your environment (OS etc.).

        1 Reply Last reply
        0
        • R
          R
          r00t
          wrote on last edited by
          #4

          Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-32-generic x86_64)
          which env you want? all env variable?

          also i'm suspicious of hardware spec, bcoz this configuration is working fine on my other servers and i have problem only in this server!
          This server has 192 cpu core!
          if you look at stack trace log i have error on CpuUsageCollector ()!

          1 Reply Last reply
          0
          • R
            R
            r00t
            wrote on last edited by
            #5

            any idea?

            1 Reply Last reply
            0
            • S
              S
              Ēriks Jenkēvics
              wrote on last edited by
              #6

              Looks like the linux subagent can only monitor a maximum of 64 cores. I have added it as a bug in the bugtracker https://track.radensolutions.com/issue/NX-1257

              Regards,
              Eriks

              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