• 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

    MangoES datasource's database error

    Mango General
    2
    5
    1.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.
    • derguangD
      derguang
      last edited by

      I getting the follow error while opening one of the BACnet/IP datasource, may I know what it means of by "recovery tool", how and where to get this tool? this is from MangoES v3.7.11 which got a uptime for FOUR years.

      Internal Server Error — org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is org.h2.jdbc.JdbcSQLNonTransientConnectionException: File corrupted while reading record: "111243 of 110631". Possible solution: use the recovery tool; SQL statement: SELECT BLOCK, HASH FROM INFORMATION_SCHEMA.LOB_MAP D WHERE D.LOB = ? AND NOT EXISTS(SELECT 1 FROM INFORMATION_SCHEMA.LOB_MAP O WHERE O.BLOCK = D.BLOCK AND O.LOB <> ?) [90030-199]

      derguang

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

        @derguang might be a corrupt h2 db.
        Are you able to restore from an older h2 db?
        See if you can replicate the issue on another instance using the backup.
        I don't know of a recovery tool, but I do know there is an H2 db server in the mango bin folder.
        This will allow you to connect to your h2 db and run the provided command, but it does mean your mango instance will need to be off before you can access it.
        Afraid I'm not much more help than 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
        • derguangD
          derguang
          last edited by

          Thanks for the reply.
          May I know the h2 dbase do backup the event history also, as previously connected to a BASgatewayLX from Comtemporary controls where convert the modbus rtu to BACnet IP.
          During the power shutdown service of the plant, the Mango OS pickup millions of comm loss alarm from the connected data points, after that the customer complaint that become sluggish. so i get into the h2 web interface, and delete the event history, The mango os perform well again, but some how I can't delete and connect the BACnet/IP datasource again. And I found this error in the log. Is there a way that I can force delete the datasource in ssh or h2 web interface.

          derguang

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

            @derguang your other option is setting events to 'do not log' this will prevent your system getting clogged up. Alternatively, given the steep drop in capability, you may need to upgrade your hardware. As four years is a pretty good run for an ES!
            I'm not a huge fan of h2 once you're going above a thousand points. I change to MySQL so I have a dedicated database service handling the configs.
            My only last resort of advice is raising a support ticket with radix to see if they are willing to provide some help to investigate the issue.

            Fox

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

            derguangD 1 Reply Last reply Reply Quote 0
            • derguangD
              derguang @MattFox
              last edited by

              @MattFox
              Thanks for your advice

              derguang

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