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 (Russian)
  3. segfault nxagentd

segfault nxagentd

Scheduled Pinned Locked Moved Support (Russian)
8 Posts 3 Posters 78.8k 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.
  • W
    W
    wonderboy
    wrote on last edited by
    #1

    Настроил пяток сервис-чеков стандартных http и добавил один сервис-чек на https. Стал отваливаться nxagentd. После перезапуска, все повторяется. В логах nxagentd пусто.

    1 Reply Last reply
    0
    • W
      W
      wonderboy
      wrote on last edited by
      #2

      Проблемка возникает довольно оперативно. Буквально после первой проверки сервисов.

      Program received signal SIGSEGV, Segmentation fault.
      [Switching to Thread 0xb68f3b70 (LWP 21037)]
      0x00232a7b in ?? () from /usr/lib/libcrypto.so.10
      
      1 Reply Last reply
      0
      • W
        W
        wonderboy
        wrote on last edited by
        #3

        Отключил проверку https и перестало отваливаться.

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

          А можете stack trace прислать (команда bt в отладчике после получения SIGSEGV)?

          1 Reply Last reply
          0
          • W
            W
            wonderboy
            wrote on last edited by
            #5
            (gdb) bt
            #0  0x00232a7b in ?? () from /usr/lib/libcrypto.so.10
            #1  0x0022f622 in BIO_ctrl () from /usr/lib/libcrypto.so.10
            #2  0x0064aa59 in CheckHTTPS (szAddr=0x0, dwAddr=3280653827, nPort=80, szURI=0xb69f1a32 "/",
                szHost=0xb69f1a20 "mail.xxx.ru", szMatch=0xb69ef220 "^HTTP/1\\.[01] 200.*", dwTimeout=0) at http.cpp:175
            #3  0x0064b170 in CommandHandler (dwCommand=115, pRequest=0x80630b0, pResponse=0xb69f4328, session=0xb7532918) at main.cpp:126
            #4  0x08057599 in ProcessCmdBySubAgent (dwCommand=115, pRequest=0x80630b0, pResponse=0xb69f4328, session=0xb7532918)
                at subagent.cpp:326
            #5  0x0805697f in CommSession::processingThread (this=0xb7532918) at session.cpp:539
            #6  0x08056dd1 in CommSession::processingThreadStarter (pArg=0xb7532918) at session.cpp:77
            #7  0x00334a49 in start_thread () from /lib/libpthread.so.0
            #8  0x0055eaee in clone () from /lib/libc.so.6
            
            1 Reply Last reply
            0
            • A
              A
              Alex Kirhenshtein
              wrote on last edited by
              #6

              Я не могу повторить на тестовой системе. В таком режиме держал больше часа: while true; do nxget localhost 'ServiceCheck.HTTPS(alk.lv,443,/,www.alk.lv,)'; done

              Дайте больше деталей о системе – дистрибутив, версия, 32/64

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

                Попробуйте наложить патч из аттачмента.

                Накладывается так:

                cd netxms-1.2.9
                patch -p1 < /path/to/patch
                

                patch

                1 Reply Last reply
                0
                • W
                  W
                  wonderboy
                  wrote on last edited by
                  #8

                  Патч наложил, ничего не поменялось:

                  (gdb) bt
                  #0  0x00232a7b in ?? () from /usr/lib/libcrypto.so.10
                  #1  0x0022f622 in BIO_ctrl () from /usr/lib/libcrypto.so.10
                  #2  0x0064aa59 in CheckHTTPS (szAddr=0x0, dwAddr=3280653827, nPort=80, szURI=0xb66eea32 "/",
                      szHost=0xb66eea20 "mail.xxx.ru", szMatch=0xb66ec220 "^HTTP/1\\.[01] 200.*", dwTimeout=0) at http.cpp:175
                  #3  0x0064b170 in CommandHandler (dwCommand=115, pRequest=0xb7a004f0, pResponse=0xb66f1328, session=0xb7543578) at main.cpp:126
                  #4  0x08057599 in ProcessCmdBySubAgent (dwCommand=115, pRequest=0xb7a004f0, pResponse=0xb66f1328, session=0xb7543578)
                      at subagent.cpp:326
                  #5  0x0805697f in CommSession::processingThread (this=0xb7543578) at session.cpp:539
                  #6  0x08056dd1 in CommSession::processingThreadStarter (pArg=0xb7543578) at session.cpp:77
                  #7  0x00334a49 in start_thread () from /lib/libpthread.so.0
                  #8  0x0055eaee in clone () from /lib/libc.so.6
                  

                  Система следующая:

                  CentOS release 6.4 (Final)
                  
                  [root@log1 bin]# uname -a
                  Linux log1 2.6.32-358.6.2.el6.i686 #1 SMP Thu May 16 18:12:13 UTC 2013 i686 i686 i386 GNU/Linux
                  

                  список установленного софта в аттаче


                  putty.log

                  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