• 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

    Mango ES wont boot up

    MangoES Hardware
    2
    7
    1.5k
    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.
    • CraigWebC
      CraigWeb
      last edited by CraigWeb

      My mango ES is stuck in a reboot cycle. It get stuck at 88% and then reboots. I get this error over and over. This happened yesterday and after about 10 restarts it sorted itself out. today the error has returned.

      ERROR 2018-04-26T15:26:46,239 (com.serotonin.m2m2.meta.JavaScriptPointLocatorRT.executeImpl:88) - Rim WTW Battery - Volts : ReferenceError: "raw" is not defined in at line number 7 in at line number 7 
      javax.script.ScriptException: ReferenceError: "raw" is not defined in at line number 7 in at line number 7
      at com.serotonin.m2m2.rt.script.ScriptExecutor.prettyScriptMessage(ScriptExecutor.java:181) ~[mango-3.3.4.jar:?]
      at com.serotonin.m2m2.rt.script.CompiledScriptExecutor.execute(CompiledScriptExecutor.java:92) ~[mango-3.3.4.jar:?]
      at com.serotonin.m2m2.meta.JavaScriptPointLocatorRT.executeImpl(JavaScriptPointLocatorRT.java:84) [meta-ds-3.3.2.jar:?]
      at com.serotonin.m2m2.meta.MetaPointLocatorRT.execute(MetaPointLocatorRT.java:310) [meta-ds-3.3.2.jar:?]
      at com.serotonin.m2m2.meta.MetaPointLocatorRT.contextPointUpdated(MetaPointLocatorRT.java:181) [meta-ds-3.3.2.jar:?]
      at com.serotonin.m2m2.meta.MetaPointLocatorRT.contextPointUpdated(MetaPointLocatorRT.java:166) [meta-ds-3.3.2.jar:?]
      at com.serotonin.m2m2.meta.MetaPointListener.pointUpdated(MetaPointListener.java:53) [meta-ds-3.3.2.jar:?]
      at com.serotonin.m2m2.rt.dataImage.DataPointRT$EventNotifyWorkItem.execute(DataPointRT.java:731) [mango-3.3.4.jar:?]
      at com.serotonin.m2m2.rt.maint.BackgroundProcessingImpl$RejectableWorkItemRunnable.run(BackgroundProcessingImpl.java:630) [mango-3.3.4.jar:?]
      at com.serotonin.timer.Task.runTask(Task.java:179) [mango-3.3.4.jar:?]
      at com.serotonin.timer.TaskWrapper.run(TaskWrapper.java:23) [mango-3.3.4.jar:?]
      at com.serotonin.timer.OrderedThreadPoolExecutor$OrderedTaskCollection.run(OrderedThreadPoolExecutor.java:317) [mango-3.3.4.jar:?]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_131]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_131]
      at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
      WARN 2018-04-26T15:26:47,013 (org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandlers:114) - Neither 'urlMap' nor 'mappings' set on SimpleUrlHandlerMapping 
      
      1 Reply Last reply Reply Quote 0
      • CraigWebC
        CraigWeb
        last edited by CraigWeb

        Mango ES is running 3.3.4
        i managed to disable the meta data source then rebooted the server.
        Still getting stuck on 88% and then rebooting.

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

          Hi CraigWeb,

          Taking it's time at 88% sounds like you probably have swagger.enabled=true in your env.properties. The error you have shared doesn't seem like it caused anything. Are there other messages of interest in there? I would start looking at things like dmesg or /var/log/ files to resolve why it is rebooting. Unless you have configured Mango to reboot the system, Mango does not reboot the system. Can you check that your power supply is adequate (from the MangoES FAQ: you can use any power supply that is 12-24 VDC with a minimum of 20 watts (12vdc @ 2 amps or 24vdc @ 1 amp minimum)) and not at fault?

          1 Reply Last reply Reply Quote 0
          • CraigWebC
            CraigWeb
            last edited by CraigWeb

            I will have a look at the power supply and let you know. It was running off a UPS for the last day. So there have been power issues.
            thank you

            These are the 2 errors that show when it hangs:

            WARN 2018-04-26T18:15:29,501 (org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandlers:114) - Neither 'urlMap' nor 'mappings' set on SimpleUrlHandlerMapping 
            ERROR 2018-04-26T18:15:37,698 (com.infiniteautomation.nosql.MangoNoSqlBatchWriteBehindManager$StatusProvider.scheduleTimeout:738) - 1 BWB Task Failures, first is: Task Queue Full
            
            1 Reply Last reply Reply Quote 0
            • CraigWebC
              CraigWeb
              last edited by

              Everything seems to be back to normal. Looks like when the UPS got its mains supply back. it sorted the problem out. Thank you it was very helpful to know that mango cant restart the unit.

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

                Certainly! Thanks for sharing the resolution. I always feel like I'm on a ledge when I tell people it's the other equipment or the wire. Nice to know when I'm [probably] right and wrong!

                Doesn't restart the unit* you mean. You can certainly have a process event handler reboot the system, if you've given the user that launches Mango sufficient privileges to do so.

                1 Reply Last reply Reply Quote 0
                • CraigWebC
                  CraigWeb
                  last edited by

                  Started getting this problem again. Replaced the power supply and it booted right up.

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