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.
Error while installing Mango Automation
-
Hi, i need some help to install mango on Armbian (debian 8 based) system. Some information:
root@orangepiplus2:/opt/mango# java -version java version "1.7.0_95" OpenJDK Runtime Environment (IcedTea 2.6.4) (7u95-2.6.4-1~deb8u1) OpenJDK Zero VM (build 24.95-b01, mixed mode)
root@orangepiplus2:/opt/mango# javac -version javac 1.8.0_72-internal
Tomcat 8 is installed, but when i access http://localhost:8080 then i get the message "It Works" from tomcat7.
Only apt-get remove, and install not solved the problem.And the error by start of mango:
INFO 2016-05-10 08:34:48,551 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'http', v1.5.2 by Infinite Automation Systems Inc. INFO 2016-05-10 08:34:48,578 (com.serotonin.m2m2.Main.loadModules:417) - Loading module 'dnp3', v1.6.1 by Infinite Automation Systems Inc. ERROR 2016-05-10 08:34:53,405 (com.serotonin.m2m2.Main.main:120) - Error during initialization java.lang.RuntimeException: java.net.BindException: Address already in use at com.serotonin.m2m2.Lifecycle.webServerInitialize(Lifecycle.java:802) at com.serotonin.m2m2.Lifecycle.initialize(Lifecycle.java:216) at com.serotonin.m2m2.Main.main(Main.java:116) Caused by: java.net.BindException: Address already in use at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Net.java:463) at sun.nio.ch.Net.bind(Net.java:455) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:321) at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.server.Server.doStart(Server.java:366) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at com.serotonin.m2m2.Lifecycle.webServerInitialize(Lifecycle.java:799) ... 2 more INFO 2016-05-10 08:34:53,419 (com.serotonin.m2m2.Lifecycle.terminate:344) - Mango Lifecycle terminating... ERROR 2016-05-10 08:34:53,444 (com.serotonin.m2m2.Lifecycle.terminate:418) - com.serotonin.provider.InputStreamEPollProvider ERROR 2016-05-10 08:34:53,448 (com.serotonin.m2m2.Lifecycle.terminate:426) - com.serotonin.provider.ProcessEPollProvider INFO 2016-05-10 08:34:53,449 (com.serotonin.m2m2.Lifecycle.terminate:446) - Mango Lifecycle terminated. INFO 2016-05-10 08:34:53,452 (com.serotonin.m2m2.Lifecycle.terminate:344) - Mango Lifecycle terminating... ma-start: no restart flag found, not restarting MA ma-start: MA done
-
Hi,
Mango does not require tomcat. Please see our installation documentation here: https://help.infiniteautomation.com/support/solutions/folders/14000092094
Mango also uses port 8080 by default so there is a conflict with tomcat. You can either shut down tomcat or change Mango to run on a different port in the env.properties file:https://help.infiniteautomation.com/support/solutions/articles/14000020052-installation-configuration
Hope that helps.