• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    How to upgrade core on MangoES?

    MangoES Hardware
    3
    14
    6.4k
    Loading More Posts
    • 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.
    • JoelHaggarJ
      JoelHaggar
      last edited by

      Is the new version of Mango still running in the /opt/mango folder? It looks like either the GUID has changed or the license file has been overwritten. You can contact our support at support@infiniteautomation.com and if you can provide remote access we will take a look and get the license issue resolved.

      I wonder if the error is a networking issue. It might be worth checking the /etc/resolv.conf file to make sure it has the right DNS server setting in it.

      1 Reply Last reply Reply Quote 0
      • J
        Jenny
        last edited by

        Hi Joel,

        I try to redo upgrade core to 2.6 version. But I'm not sure it's fineshed, cause I see message "sudo: unable to resolve host mango."
        Capture as below for your reference.
        MangoES update.JPG

        1 Reply Last reply Reply Quote 0
        • JoelHaggarJ
          JoelHaggar
          last edited by

          Can you check your: /etc/resolv.conf and make sure the DNS setting is correct for your network.

          1 Reply Last reply Reply Quote 0
          • J
            Jenny
            last edited by

            Hi Joel,

            I have checked /etc/resolv.conf and the DNS setting is correct.

            resolv.JPG

            1 Reply Last reply Reply Quote 0
            • JoelHaggarJ
              JoelHaggar
              last edited by

              ok thanks. Either way this error shouldn't cause any issues with mango strating. If Mango doesn't start as expected then stop the service and start it manualally by going to the /opt/mango/bin folder and running sudo ./ma.sh start

              This will start it manually and you will see in the terminal if there are any startup errors.

              On a side note, did you change the hostname of the MangoES? It should be something like mangoes2154

              1 Reply Last reply Reply Quote 0
              • JoelHaggarJ
                JoelHaggar
                last edited by

                I think I know why you are getting the error about unable to resolve the host mango.

                If you check your /etc/hosts file you will probably see something like mangoes1234. If you change that to just mango then I think your issue will be resolved.

                1 Reply Last reply Reply Quote 0
                • JoelHaggarJ
                  JoelHaggar @jeremyh
                  last edited by

                  @jeremyh You can put these two lines in your classes/log4j.xml file toward the bottom to turn on debug logging for snmp. In Mango on the system setting page there is an area where you can reload the Log4J configuration so you don't have to reboot Mango.

                  <category name="com.serotonin.m2m2.snmp"><level value="debug"/></category>
                  <category name="org.snmp4j"><level value="debug"/></category>
                  

                  See if you get any more specific error messages in the logs/ma.logs file.

                  1 Reply Last reply Reply Quote 0
                  • J
                    Jenny
                    last edited by

                    Joel,

                    Thank you for kindly help, it's work.
                    MA.JPG

                    1 Reply Last reply Reply Quote 0
                    • JoelHaggarJ
                      JoelHaggar
                      last edited by

                      @jeremyh @Jenny
                      In regards to the follow error I believe I know the solution:
                      upload-59dc2599-bc7a-41f4-8e50-70fa2338d5e8

                      The issue is in the /etc/hosts file.

                      On your MangoES SSH in and run "sudo nano /etc/hosts"

                      Your file should look like this:

                      upload-bb9e9cea-205f-48b4-a934-11c466cd5c67

                      The last line if the part to note. This needs to match what the host name is of your MangoES. There is a bug in the MangoES configuration module where if you change the Hostname there the hosts file does not get updated. In my tests getting the hostname correct in the hosts file will resolve this issue.

                      Please let me know if that works

                      1 Reply Last reply Reply Quote 0
                      • J
                        Jenny
                        last edited by

                        Hi Joel,

                        Thank you for kindly reply.

                        This is work, this solved SNMP issue.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post