• 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

    Unable to connect to MangoES

    MangoES Hardware
    4
    7
    3.0k
    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.
    • M
      Matt
      last edited by

      I have a MangoES that was running very sluggish so I power cycled the device. Since I've power cycled it, the web interface cannot be displayed/connection reset. I can, however, get into the operating system normally.

      I did notice before I reset it there were several thousand unacknowledged events. Could this be related?

      Thank you for your help.

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

        Hi Matt, If you have a lot of events it can cause the pages in Mango to be sluggish. Several thousand should not cause this though so you might have a lot more.

        You look at the logs so you know for sure but a solution would be to start the H2 web console and then manually purge your events table. See here for more help: https://help.infiniteautomation.com/support/solutions/articles/14000022661-about-the-h2-database

        You can run

        select count(*) from events
        

        to see how many events total you have.

        You can then run

        delete from events
        

        to delete all the events

        Try starting Mango again. Once it starts up look at the events to see what is generating so many events and resolve. You can also go to the system setting page under Purge settings click the Delete all events button.

        Let me know if that helps.

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

          Also, this is just a guess. You should really look at the log files and see if there are any errors during the startup sequence.

          1 Reply Last reply Reply Quote 0
          • S
            stensma
            last edited by stensma

            My MangoES was getting slow after big log files both in in the OS files /var/log and in Mango opt/mango/logs They where inGB size eventually the MangoES did not start up at all.
            So many alerts and errors could create problems like this,
            //Per

            1 Reply Last reply Reply Quote 0
            • M
              Matt
              last edited by

              Thank you for the responses. I finally got some time to work on it this morning. I edited the env.properties file to start the web interface for the database. After I restarted I couldn't get into the database, so I checked out the ma.log file. It looks unhappy. The log file is attached.

              0_1472483485201_mangolog.txt

              1 Reply Last reply Reply Quote 0
              • phildunlapP
                phildunlap
                last edited by

                Hi Matt,

                That looks like a corrupted database. You can find some steps to restore it here: http://help.infiniteautomation.com/support/solutions/articles/14000040833-how-to-restore-a-h2-database-backup

                1 Reply Last reply Reply Quote 0
                • M
                  Matt
                  last edited by

                  Thanks again, everyone. I ended up having to restore the database from a backup then clean out the events from the H2 console. It's back up and running.

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