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. Announcements
  3. NetXMS 2.0-M1 released

NetXMS 2.0-M1 released

Scheduled Pinned Locked Moved Announcements
18 Posts 6 Posters 31.7k 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.
  • I
    I
    iGodunoff
    wrote on last edited by
    #4

    I confirm the problem. Can't install (or upgrade) the new NetXMS agent (2.0-M1) in Windows. Agent can't be started because libnxsnmp.dll library is absent. It seems that the agent's installer should copy this library to bin directory but it doesn't.

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

      Yes, it's a bug in installer. I just uploaded installer with a fix, please try it (file names are the same).

      Best regards,
      Victor

      1 Reply Last reply
      0
      • Dani@M3TU
        Dani@M3TU
        Dani@M3T
        wrote on last edited by
        #6

        Thanks Victor for the fast fix.
        Manual upgrade install local on a node is working now (Win x64).

        But deploy from NetXMS server to a node where agent V1.2.17 is installed does' not work.
        The two agent processes (agent and watchdog) are terminated but no update. In Windows eventlog is an error with Event-ID 10006, Source: RestartManager, 'Application or service 'nxagnetd' could not be shut down.

        edit1:
        I don't see any updated files and in Windows Control Panel V1.2.17 is still installed. In 'Services' the NetXMS agent is in 'running' state, but in Task Manager I cannot see any running 'nxagnetd' processes.
        Then Iย  'stopped' the NetXMS agent in 'Services' and started again, service is than in state 'running' but still no 'nxagentd' processes running, and NetXMS server cannot connect to agent.

        edit2:
        I also tested the agent upgrade by package deploy on a Win-x64 node with 'EnableWatchdog=no', that works! So the problem only exists with 'EnableWatchdog=yes'

        edit3:
        Agent install path is 'C:\Program Files\NetXMS'

        1 Reply Last reply
        0
        • Dani@M3TU
          Dani@M3TU
          Dani@M3T
          wrote on last edited by
          #7

          is the package deploy problem with watchdog enabled reproducible? It looks like the same problem I reported for an older version of NetXMS.

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

            I've made some changes in installer - hopefully it will help. Please try 2.0-M2 when it will be available.

            Best regards,
            Victor

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

              Funny bug:
              configuration parameter in nxagent ListenAddress actually read backwards.
              So instead of 192.168.1.2 you should write 2.1.168.192

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

                Nice catch!
                Fixed, will be released in upcoming 2.0-M2.

                @volkoff said in NetXMS 2.0-M1 released:

                Funny bug:
                configuration parameter in nxagent ListenAddress actually read backwards.
                So instead of 192.168.1.2 you should write 2.1.168.192

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

                  This one is much more serious:
                  I can't create or deleteย  DCI.
                  History:
                  I tried to play with SNMP's table DCI, but wasn't successful. Later we'll get back to that ๐Ÿ™‚
                  But I created one for the node (printer). And since that I can't create or delete DCI. Looks like after "sync" period something breaks, sync thread stops answering to watchdog and I can't connect with console.
                  So, my opinion - something is wrong in sync thread.
                  Error is 100% reproducible, so I can supply you with any kind of data.
                  DB is SQLite, Windows server 2008 R2, but since data is accumulated correctly I do believe something is wrong in sync thread (or with SQLite).

                  1 Reply Last reply
                  0
                  • T
                    T
                    tomaskir
                    wrote on last edited by
                    #12

                    @volkoff said in NetXMS 2.0-M1 released:

                    This one is much more serious:
                    I can't create or deleteย  DCI.
                    History:
                    I tried to play with SNMP's table DCI, but wasn't successful. Later we'll get back to that ๐Ÿ™‚
                    But I created one for the node (printer). And since that I can't create or delete DCI. Looks like after "sync" period something breaks, sync thread stops answering to watchdog and I can't connect with console.
                    So, my opinion - something is wrong in sync thread.
                    Error is 100% reproducible, so I can supply you with any kind of data.
                    DB is SQLite, Windows server 2008 R2, but since data is accumulated correctly I do believe something is wrong in sync thread (or with SQLite).

                    DCI tables do not work with SQLite.

                    This is a known issue.

                    As a workaround for now, you can use a different DB.

                    1 Reply Last reply
                    0
                    • V
                      V
                      volkoff
                      wrote on last edited by
                      #13

                      @tomaskir said in NetXMS 2.0-M1 released:

                      DCI tables do not work with SQLite.
                      This is a known issue.
                      As a workaround for now, you can use a different DB.

                      How terrible ๐Ÿ™‚ I didn't know about that.
                      But as a guy who do some programming, I'm aware of the fact, that if there is some issue that prevents using of the product you should provide some bugfix rather than "it's a known issue" even for free and open source product ๐Ÿ™‚
                      And since I have this particular bug isolated I can provide some (or even all in my case) data to fix it.

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

                        Proper solution is to migrate to any sane DBMS โ€“ย you can do it using "nxdbmgr" tool, there is special "nxdbmgr migrate" mode.
                        SQLite never was intended for use in production environment, and we will probably remove support in future altogether.
                        Main reason for that โ€“ย a lot of features are not supported in SQLite (lack of ALTER TABLE DROP COLUMN is perfect example) or implemented poorly โ€“ย and while it's possible to add workarounds, it require time, which we prefer to spend on more critical tasks.

                        @volkoff said in NetXMS 2.0-M1 released:

                        @tomaskir said in NetXMS 2.0-M1 released:

                        DCI tables do not work with SQLite.
                        This is a known issue.
                        As a workaround for now, you can use a different DB.

                        How terrible ๐Ÿ™‚ I didn't know about that.
                        But as a guy who do some programming, I'm aware of the fact, that if there is some issue that prevents using of the product you should provide some bugfix rather than "it's a known issue" even for free and open source product ๐Ÿ™‚
                        And since I have this particular bug isolated I can provide some (or even all in my case) data to fix it.

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

                          @alk said in NetXMS 2.0-M1 released:

                          SQLite never was intended for use in production environment, and we will probably remove support in future altogether.

                          Well, that's the answer ๐Ÿ™‚ Ok, I'll use other DBMS.

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

                            Migration process is really easy:

                            1. stop server
                            2. copy existing netxmsd.conf into netxmsd.conf.old
                            3. create user and database in new DBMS
                            4. edit netxmsd.conf โ€“ change DBDriver and all other DB* parameters
                            5. run "nxdbmgr migrate /etc/netxmsd.conf.old"

                            @volkoff said in NetXMS 2.0-M1 released:

                            @alk said in NetXMS 2.0-M1 released:

                            SQLite never was intended for use in production environment, and we will probably remove support in future altogether.

                            Well, that's the answer ๐Ÿ™‚ Ok, I'll use other DBMS.

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

                              @alk said in NetXMS 2.0-M1 released:

                              1. stop server
                              2. copy existing netxmsd.conf into netxmsd.conf.old
                              3. create user and database in new DBMS
                              4. edit netxmsd.conf โ€“ change DBDriver and all other DB* parameters
                              5. run "nxdbmgr migrate /etc/netxmsd.conf.old"

                              Well I used another step "3.5 - Initialize database", because migrate didn't work on empty database (said something about not detecting something (the same as check command on empty database), but anyway it didn't work out, since migration command breaks on syncronization of the first table "config" or something like that with error of SQL statement preparation.
                              So since it was clean installation and I didn't set up much DCIs so I just used new initialized MySQL database without migration.
                              If you need/want this SQLite database for some additional testing I can send it to you.

                              1 Reply Last reply
                              0
                              • Dani@M3TU
                                Dani@M3TU
                                Dani@M3T
                                wrote on last edited by
                                #18

                                The package deploy problem with watchdog enabled (Windows) is fixed in V2.0-M2, I just tested. Thanks.

                                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