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. Issue upgrading agent (1.1.10 -> 1.2.4)

Issue upgrading agent (1.1.10 -> 1.2.4)

Scheduled Pinned Locked Moved Support
10 Posts 3 Posters 72.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.
  • J
    J
    jdl
    wrote on last edited by
    #1

    Hi,

    I tried to install nxgentd package 1.2.4 on a CentOS 6.0 and I got the following errors:

    line 84: [: too many arguments
    line 93: [: too many arguments

    and failed. The system is currently running nxagentd 1.1.10 installed using the package as well. The agent is stopped while upgrade is attempted.

    Any idea?

    thanks
    Jdamien

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

      During which step did got this message?

      1 Reply Last reply
      0
      • J
        J
        jdl
        wrote on last edited by
        #3

        When executing the package installation (....apkg)
        Did only stop the old release of agent.

        Br,

        Jdamien

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

          Check "/tmp/nxagentupdate.log" for more details

          1 Reply Last reply
          0
          • J
            J
            jdl
            wrote on last edited by
            #5

            Hi Alex,

            sorry for the late reply. I did upgrade to 1.2.7 from 1.1.10 and here is the error I get - related to nxencpasswd.

            Any idea what I did wrong?
            Many thanks in advance

            Br,

            Jdamien


            nxagentd-1.2.7-log-nxencpasswd error.txt

            1 Reply Last reply
            0
            • J
              J
              jdl
              wrote on last edited by
              #6

              I got one install running ok.
              The only difference I see is that encyption is NOT enabled.

              How do I do to disable encryption?
              What are the possible arguments to the command line?

              Thx
              Jdamien

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

                Hi!

                It should not be related to encryption. I've found an error in Makefile for nxencpasswd - there are no reference to libtre library. Can you check on machine where upgrade was successful value of "Use internal libtre" in upgrade log?

                Best regards,
                Victor

                1 Reply Last reply
                0
                • J
                  J
                  jdl
                  wrote on last edited by
                  #8

                  I did parse the nxagentupdate.log and found:

                  Use internal libtre: YES
                  There are several messages of Making all in libtre and entering/leaving directory with libtre (gmake) but no error.

                  That's it
                  Jdamien

                  1 Reply Last reply
                  0
                  • J
                    J
                    jdl
                    wrote on last edited by
                    #9

                    The way I solved this issue for me is as follows:

                    a. download server sources
                    b. run ./configure --with-agent
                    c. then clean up the mess if you had a previous release

                    Did not manage any NetXMS agent installation for v1.2.7 using provided packages on Linux.

                    Br,

                    Jdamien

                    1 Reply Last reply
                    0
                    • J
                      J
                      jdl
                      wrote on last edited by
                      #10

                      While using the source, one could still face the issue already reported for release 1.2.3 at: [b]https://www.netxms.org/forum/installation/error-compiling-v1-2-3/[\b]

                      So as advised by Victor, deleting old NetXMS agent lib files solve the issue - at least in our scope.

                      Br,

                      Jdamien

                      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