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

  • when I run the ma-start it runs the code and the stops by showing the following error```
    Mango Lifecycle terminating...

    ![0_1535480035190_dos.PNG](Uploading 100%)

    what can i do for this
    this is the dos run summery..

    Microsoft Windows [Version 10.0.14393]
    (c) 2016 Microsoft Corporation. All rights reserved.

    C:\WINDOWS\system32>cd C:\Program Files\Mango Automation\3.2.1\bin

    C:\Program Files\Mango Automation\3.2.1\bin>ma-start.bat
    Using C:\Program Files\Mango Automation\3.2.1 as MA_HOME
    C:\Program Files\Mango Automation\3.2.1\overrides\classes;C:\Program Files\Mango Automation\3.2.1\classes;C:\Program Files\Mango Automation\3.2.1\overrides\properties;C:\Program Files\Mango Automation\3.2.1\overrides\lib*;C:\Program Files\Mango Automation\3.2.1\lib*
    Using Java at C:\Program Files\java\jdk1.8.0_144\bin\java
    INFO 2018-08-28T23:17:48,467 (com.serotonin.m2m2.Main.main:90) - Starting Mango 3.2.1+20170828224743 with Schema Version: 17
    INFO 2018-08-28T23:17:49,144 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'asciiFile', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,159 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'BACnet', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,165 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'controlcore', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,171 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'dashboardDesigner', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,174 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: C:\Program Files\Mango Automation\3.2.1\web\modules\dashboardDesigner\web\dox\manifest.xml
    INFO 2018-08-28T23:17:49,186 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'dataFile', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,206 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'dataImport', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,212 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'dataPointDetailsView', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,217 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'deviceConfig', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,219 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: C:\Program Files\Mango Automation\3.2.1\web\modules\deviceConfig\web\dox\manifest.xml
    INFO 2018-08-28T23:17:49,224 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'dnp3', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,229 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'egauge', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,242 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'envcands', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,247 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'excelReports', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,264 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'graphicalViews', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,288 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'http', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,296 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'jmxds', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,301 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'jsonFileImport', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,306 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'log4jDS', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,311 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'log4JReset', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,314 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'maintenanceEvents', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,319 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'mangoApi', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,325 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'mangoUI', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,329 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: C:\Program Files\Mango Automation\3.2.1\web\modules\mangoUI\web\dox\manifest.xml
    INFO 2018-08-28T23:17:49,533 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'mbus', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,542 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'measurlogicDTSCell', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,548 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'meta', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,553 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'modbus', v3.2.1 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,561 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'onewire', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,567 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'opcda', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,573 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'openv4j', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,575 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'pachube', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,582 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'pakbus', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,589 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'pid', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,597 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'pointLinks', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,604 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'pop3', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,612 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'reports', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,620 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'scheduledEvents', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,628 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'scripting', v3.2.1 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,633 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'serial', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,638 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'snmp', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,644 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'sqlConsole', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,652 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'sqlds', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,659 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'ssh', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,664 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'sstGlobalScripts', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,670 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'sstGraphics', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,693 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'sstTheme', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,696 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'TCPIP', v3.2.1 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,701 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'templateConfig', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,708 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'twilio', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,716 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'virtualDS', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,723 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'vmstat', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,729 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'watchlists', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:49,746 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'internal', v3.2.0 by Infinite Automation Systems Inc.
    INFO 2018-08-28T23:17:52,070 (com.serotonin.m2m2.Lifecycle.initialize:192) - Initializing Spring Object Mapper
    ERROR 2018-08-28T23:17:52,531 (com.serotonin.m2m2.Main.main:129) - Error during initialization
    java.lang.RuntimeException: java.net.BindException: Address already in use: bind
    at com.serotonin.m2m2.Lifecycle.webServerInitialize(Lifecycle.java:918) ~[ma-priv-3.2.1.jar:?]
    at com.serotonin.m2m2.Lifecycle.initialize(Lifecycle.java:199) ~[ma-priv-3.2.1.jar:?]
    at com.serotonin.m2m2.Main.main(Main.java:125) [ma-priv-3.2.1.jar:?]
    Caused by: java.net.BindException: Address already in use: bind
    at sun.nio.ch.Net.bind0(Native Method) ~[?:1.8.0_144]
    at sun.nio.ch.Net.bind(Net.java:433) ~[?:1.8.0_144]
    at sun.nio.ch.Net.bind(Net.java:425) ~[?:1.8.0_144]
    at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) ~[?:1.8.0_144]
    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) ~[?:1.8.0_144]
    at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:317) ~[jetty-server-9.3.11.v20160721.jar:9.3.11.v20160721]
    at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) ~[jetty-server-9.3.11.v20160721.jar:9.3.11.v20160721]
    at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:235) ~[jetty-server-9.3.11.v20160721.jar:9.3.11.v20160721]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.3.11.v20160721.jar:9.3.11.v20160721]
    at org.eclipse.jetty.server.Server.doStart(Server.java:390) ~[jetty-server-9.3.11.v20160721.jar:9.3.11.v20160721]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.3.11.v20160721.jar:9.3.11.v20160721]
    at com.serotonin.m2m2.Lifecycle.webServerInitialize(Lifecycle.java:915) ~[ma-priv-3.2.1.jar:?]
    ... 2 more
    INFO 2018-08-28T23:17:52,537 (com.serotonin.m2m2.Lifecycle.terminate:361) - Mango Lifecycle terminating...
    ERROR 2018-08-28T23:17:52,547 (com.serotonin.m2m2.Lifecycle.terminate:432) - com.serotonin.provider.InputStreamEPollProvider
    ERROR 2018-08-28T23:17:52,548 (com.serotonin.m2m2.Lifecycle.terminate:440) - com.serotonin.provider.ProcessEPollProvider
    INFO 2018-08-28T23:17:52,549 (com.serotonin.m2m2.Lifecycle.terminate:476) - Mango Lifecycle terminated.
    C:\Program Files\Mango Automation\3.2.1\bin>


  • Hi sls, welcome to the forum!

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

    Are you sure Mango isn't already running? This error means something has already bound the port Mango was going to run on. Often it means Mango is already running, but sometimes it means you have another application using the port (8080 by default) and so you need to edit your Mango/overrides/properties/env.properties (or copy it to there from Mango/classes/env.properties, then edit) to use a different web.port


  • thank you for your reply. but I already have set it to 8085. but i still gets the same error always


  • thanks a lot. I tried it again and now it works fine.. thank you for your guide..