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. Agent upgrade from 1.2.10 to 1.2.12

Agent upgrade from 1.2.10 to 1.2.12

Scheduled Pinned Locked Moved Support
23 Posts 4 Posters 70.6k 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.
  • M
    M
    mallure123
    wrote on last edited by
    #3

    [root@netxms ~]# cat /proc/sys/kernel/core_pattern
    |/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t e
    [root@netxms ~]# cd /var/cache/abrt-di/
    [root@netxms abrt-di]# ls -la
    total 8
    drwxrwxr-x.  2 abrt abrt 4096 Nov 22 16:45 .
    drwxr-xr-x. 11 root root 4096 Feb 23 13:07 ..
    [root@netxms abrt-di]#

    What's the best way to get the core file?  can i just echo "<file location>" > /proc/sys/kernel/core_pattern ?

    1 Reply Last reply
    0
    • M
      M
      mallure123
      wrote on last edited by
      #4

      Ok, i managed to get the core dump and ran it through gdb, output is attached


      core output.txt

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

        Can you please also run agent as

        nxagentd -D9

        and end me the output?

        Best regards,
        Victor

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

          same result, output attached

          EDIT: i guess it would help if i saved the file before attaching it


          agent with debug.txt

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

            Looks like it's crashed even before agent completes initialization. Can you try to set log file to a file instead of syslog? Also, on what system you are running it?

            Best regards,
            Victor

            1 Reply Last reply
            0
            • M
              M
              mallure123
              wrote on last edited by
              #8

              I set logging to go to /var/log/nxagentd.log and tried running it with the -D9 option again, but i'm running it as root and the log file still doesn't exist

              [root@netxms ~]# cat /etc/redhat-release
              CentOS release 6.5 (Final)
              [root@netxms ~]# uname -a
              Linux netxms.x.x 2.6.32-431.5.1.el6.centos.plus.x86_64 #1 SMP Tue Feb 11 21:21:23 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
              [root@netxms ~]#

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

                Don't have CentOS 6.5 for testing at the moment, will try it tomorrow. How did you build agent (with what configure options)?

                Best regards,
                Victor

                1 Reply Last reply
                0
                • M
                  M
                  mallure123
                  wrote on last edited by
                  #10

                  configure     
                    --with-server
                    --with-snmp 
                    --with-mysql 
                    --with-pgsql 
                    --with-sqlite
                    --with-odbc 
                    --with-client
                    --with-agent

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

                    Hi!

                    Try to add --disable-xmpp just in case.

                    Best regards,
                    Victor

                    1 Reply Last reply
                    0
                    • M
                      M
                      mallure123
                      wrote on last edited by
                      #12

                      Ok, i'm building now.  I was under the impression it was just the server that used the XMPP library?

                      EDIT: Same result

                      1 Reply Last reply
                      0
                      • R
                        R
                        rostyslav
                        wrote on last edited by
                        #13

                        Same problem here. OS: Ubuntu 12.04

                        1 Reply Last reply
                        0
                        • N
                          N
                          Nikk
                          wrote on last edited by
                          #14

                          Hi,

                          Any news to this? Having the same problem on Ubuntu 12.04.

                          Nikk

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

                            Hi!

                            I've fixed the problem. Version 1.2.13 will work correctly.

                            Best regards,
                            Victor

                            1 Reply Last reply
                            0
                            • M
                              M
                              mallure123
                              wrote on last edited by
                              #16

                              I don't know if this might warrant a new thread, but i'm having the same (or appears the same) issue when trying to install 1.2.13 agents.  I ran it with strace, thought it might help, the output is attached.


                              nxagentd strace.txt

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

                                Sorry, due to mistake fix for this bug didn't get to release. I'll repack source code package with fix included. I can also repack deb packages if someone uses them on Ubuntu.

                                Best regards,
                                Victor

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

                                  Update: I've repacked source archive - now it should work on Ubuntu.

                                  Best regards,
                                  Victor

                                  1 Reply Last reply
                                  0
                                  • R
                                    R
                                    rostyslav
                                    wrote on last edited by
                                    #19

                                    I don't know if this is the same issue, but nxagentd still doesn't start after upgrade. nxagent -D9 in the attachment. My system is Ubuntu 12.04.


                                    debug.log

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

                                      Seems to be different issue. Could you please run it under gdb and send me stack trace?

                                      Best regards,
                                      Victor

                                      1 Reply Last reply
                                      0
                                      • R
                                        R
                                        rostyslav
                                        wrote on last edited by
                                        #21

                                        The gdb output is attached.


                                        gdb_output.txt

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

                                          Please provide result of

                                          cat /proc/drbd

                                          on your machine.

                                          Best regards,
                                          Victor

                                          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