• 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

    cannot load database

    MangoES Hardware
    3
    39
    18.7k
    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.
    • phildunlapP
      phildunlap
      last edited by

      To the stack trace involving,

      Caused by: org.h2.jdbc.JdbcSQLException: File corrupted while reading record: "index not found 93". Possible solution: use the recovery tool [90030-180]

      I would advise restoring a database backup. See this these resources for ways of doing that:
      https://help.infiniteautomation.com/how-to-restore-a-h2-database-backup
      https://forum.infiniteautomation.com/topic/2748/how-to-restore-a-database-backup

      To the stack trace involving,

      Caused by: java.net.BindException: Address already in use

      This usually means that Mango is already running on that port, but it could also mean that another application is running and has bound that port. The solution if Mango is already running is to access the Mango that is running, and if another application has bound it you can change the port Mango binds to in the Mango/overrides/properties/env.properties file.

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

        My help is for MangoES hardware. I think you are talking about Mango software running on a System

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

          To add to the problems, I had installed a module MySQL Database server and now the MangoES refusing to connect through IP. any alternatives to retrirvr back the last change? i can ping, but no connection can be established through Webmin or through browser

          1 Reply Last reply Reply Quote 0
          • MattFoxM
            MattFox
            last edited by

            Do you have a copy of your env.properties on hand?
            If so can you please paste it between some code tags???
            Follow Phil's instructions as above, also run mango from the bash console.

            Secondly Phil also added that you may have an instance of mango already running in the background.

            try

            pas aux | grep mango > mangoinstances.txt
            

            Something should be outputted into that file to show something is running.

            I also suggest you stop making amendments and changes to your system, it's harder to follow and diagnose if you do that.

            Fox

            Do not follow where the path may lead; go instead where there is no path.
            And leave a trail - Muriel Strode

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

              Thanks Fox for responding. But now I don't have any access to the MangoES. As I said before i can ping, but can't use Webmin to get into MangoES hardware. Any alternatives to access webmin again?

              Connection refused through Network

              1 Reply Last reply Reply Quote 0
              • MattFoxM
                MattFox
                last edited by

                You mean you're unable to use putty and SSH into the unit?

                Just because webmin is out, SSH should still be running...

                Do not follow where the path may lead; go instead where there is no path.
                And leave a trail - Muriel Strode

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

                  Yes even putty cant get in. Connection refused

                  1 Reply Last reply Reply Quote 0
                  • MattFoxM
                    MattFox
                    last edited by

                    Assuming you're running a windows box, let's see if it's even on the network.
                    Get yourself angry ip scanner or similar to scan the network.
                    If there's nothing, I wonder if your network card gave up the ghost...

                    Do not follow where the path may lead; go instead where there is no path.
                    And leave a trail - Muriel Strode

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

                      I have the advanced IP scanner, and the MangoES is available. Only it refuses to accept any connection. Also before i could access the network foler of Mango, But now its invisible and there is nothing showing up in the network.

                      1 Reply Last reply Reply Quote 0
                      • MattFoxM
                        MattFox
                        last edited by

                        Sounds like a power cycle is in order. Give it a good ol' hard reset. It's an old unit so I wouldn't rule out hardware failing. I've had a few V2's die on me, and one of the traits they shared before dying completely was the networking part of the system calling it a day.

                        Do not follow where the path may lead; go instead where there is no path.
                        And leave a trail - Muriel Strode

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

                          Just switching off the power for long time and switch it back on?

                          MattFoxM 1 Reply Last reply Reply Quote 0
                          • MattFoxM
                            MattFox @Jay1089
                            last edited by

                            @jay1089 Yep, count to 30 then fire it back up, perhaps monitor the LED's on the case - I assume here it's similar to a V2 with an aluminium cast case with 4 LEDs on the front.

                            Do not follow where the path may lead; go instead where there is no path.
                            And leave a trail - Muriel Strode

                            1 Reply Last reply Reply Quote 1
                            • J
                              Jay1089
                              last edited by

                              Yes four LED up front. One green and other blinks when network connected. Other two doesn't lit up at all

                              1 Reply Last reply Reply Quote 0
                              • MattFoxM
                                MattFox
                                last edited by MattFox

                                Good, the blinking is the heartbeat for Mango, it should be starting then. Check your network again and let's see if the SSH is available.
                                https://help.infiniteautomation.com/mangoes-connections?rq=v2

                                Do not follow where the path may lead; go instead where there is no path.
                                And leave a trail - Muriel Strode

                                1 Reply Last reply Reply Quote 1
                                • J
                                  Jay1089
                                  last edited by

                                  Connection refused still after power cycle. In the LAN connection, The green LEd blinks whereas the orange stays lit all the time.

                                  1 Reply Last reply Reply Quote 0
                                  • MattFoxM
                                    MattFox
                                    last edited by MattFox

                                    Sounds like something is causing an issue or error of some sort, I thought you meant 2 of the four leds, not the lan socket. .
                                    Phil are the display ports on these old boards functioning? I know I had one on the old board, but never had a chance to check myself. It's just a last ditch idea I had.
                                    Sorry that's all I've got...

                                    Do not follow where the path may lead; go instead where there is no path.
                                    And leave a trail - Muriel Strode

                                    1 Reply Last reply Reply Quote 1
                                    • J
                                      Jay1089
                                      last edited by

                                      Display port works. But the problem is it cant complete the boot. It is booting for so long

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

                                        Somehow managed to revert back. Now webmin is working and back to the old issue. Database stuck at 40%. And in command shell, i cant execute bin/ma.sh start. it says permission denied.

                                        1 Reply Last reply Reply Quote 0
                                        • MattFoxM
                                          MattFox
                                          last edited by

                                          Nice!
                                          try

                                          sudo /opt/mango/bin/ma.sh start
                                          

                                          Let's see what you get!

                                          Do not follow where the path may lead; go instead where there is no path.
                                          And leave a trail - Muriel Strode

                                          1 Reply Last reply Reply Quote 1
                                          • J
                                            Jay1089
                                            last edited by

                                            sudo /opt/mango/bin/ma.sh start
                                            MA_HOME is /opt/mango
                                            /opt/mango/bin/ma-init.sh: line 29: unexpected EOF while looking for matching `"'
                                            /opt/mango/bin/ma-init.sh: line 34: syntax error: unexpected end of file
                                            /opt/mango/bin/ma.sh: line 28: /opt/mango/bin/ma-start.sh: Permission denied

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