Mango Lifecycle terminated.
-
Hi all; I came trough this issue where my mango wouldn't start. I'm running it on a windows and it has been working before. I checked my java_home and I'm still pointing to the right path. I have attached the log file for more info```
INFO 2020-01-07T10:16:58,963 (com.serotonin.m2m2.Main.main:101) - Starting Mango 3.5.6 with Schema Version: 26 INFO 2020-01-07T10:17:02,567 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'asciiFile', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:02,588 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'BACnet', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:02,716 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'controlcore', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:02,726 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'dashboardDesigner', v3.5.1 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:02,732 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: C:\Program Files (x86)\MangoAutomation\web\modules\dashboardDesigner\web\dox\manifest.xml INFO 2020-01-07T10:17:02,821 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'dataFile', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:02,935 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'dataImport', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:02,947 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'deviceConfig', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:02,953 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: C:\Program Files (x86)\MangoAutomation\web\modules\deviceConfig\web\dox\manifest.xml INFO 2020-01-07T10:17:03,060 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'dnp3', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:03,074 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'egauge', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:03,089 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'envcands', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:03,100 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'excelReports', v3.5.1 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:03,312 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'graphicalViews', v3.5.1 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:03,919 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'Haystack', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:04,088 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'http', v3.5.1 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:04,267 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'jsonFileImport', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:04,386 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'log4jDS', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:04,396 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'log4JReset', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:04,402 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'loggingConsole', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:04,413 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'maintenanceEvents', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:04,537 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'mangoApi', v3.5.2 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:04,654 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'mangoNoSqlDatabase', v3.5.1 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:04,694 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'mangoUI', v3.5.5 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:04,935 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: C:\Program Files (x86)\MangoAutomation\web\modules\mangoUI\web\dox\manifest.xml INFO 2020-01-07T10:17:06,354 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'mbus', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:06,427 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'meta', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:06,477 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'modbus', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:06,515 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'onewire', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:06,550 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'opcda', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:06,559 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'pakbus', v3.5.4 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:06,627 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'persistent', v3.5.5 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:06,701 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'pointLinks', v3.5.1 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:06,773 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'pop3', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:06,858 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'reports', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:07,062 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'scheduledEvents', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:07,196 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'scripting', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:07,207 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'serial', v3.5.1 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:07,220 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'snmp', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:07,498 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'sqlConsole', v3.5.1 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:07,694 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'sqlds', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:07,793 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'ssh', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:07,805 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'sstGlobalScripts', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:07,844 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'sstGraphics', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:08,888 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'TCPIP', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:08,927 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'templateConfig', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:08,939 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'twilio', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:08,954 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'virtualDS', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:08,993 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'vmstat', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:09,054 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'watchlists', v3.5.0 by Infinite Automation Systems Inc. INFO 2020-01-07T10:17:09,202 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'internal', v3.5.0 by Infinite Automation Systems Inc. ERROR 2020-01-07T10:17:21,483 (com.serotonin.m2m2.Main.main:142) - Error during initialization java.net.BindException: Address already in use: bind at sun.nio.ch.Net.bind0(Native Method) ~[?:1.8.0_201] at sun.nio.ch.Net.bind(Net.java:433) ~[?:1.8.0_201] at sun.nio.ch.Net.bind(Net.java:425) ~[?:1.8.0_201] at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) ~[?:1.8.0_201] at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) ~[?:1.8.0_201] at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:339) ~[jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830] at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:307) ~[jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830] at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) ~[jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830] at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:235) ~[jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.4.12.v20180830.jar:9.4.12.v20180830] at org.eclipse.jetty.server.Server.doStart(Server.java:395) ~[jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.4.12.v20180830.jar:9.4.12.v20180830] at com.serotonin.m2m2.Lifecycle.webServerInitialize(Lifecycle.java:999) ~[ma-priv-3.5.6.jar:?] at com.serotonin.m2m2.Lifecycle.initialize(Lifecycle.java:244) ~[ma-priv-3.5.6.jar:?] at com.serotonin.m2m2.Main.main(Main.java:138) ~[ma-priv-3.5.6.jar:?] INFO 2020-01-07T10:17:21,484 (com.serotonin.m2m2.Lifecycle.terminate:422) - Mango Lifecycle terminating... ERROR 2020-01-07T10:17:21,954 (com.serotonin.m2m2.Lifecycle.terminate:501) - com.serotonin.provider.InputStreamEPollProvider com.serotonin.provider.ProviderNotFoundException: com.serotonin.provider.InputStreamEPollProvider at com.serotonin.provider.Providers.get(Providers.java:30) ~[mango-3.5.6.jar:?] at com.serotonin.provider.Providers.get(Providers.java:20) ~[mango-3.5.6.jar:?] at com.serotonin.m2m2.Lifecycle.terminate(Lifecycle.java:496) ~[ma-priv-3.5.6.jar:?] at com.serotonin.m2m2.Main.main(Main.java:143) ~[ma-priv-3.5.6.jar:?] ERROR 2020-01-07T10:17:21,955 (com.serotonin.m2m2.Lifecycle.terminate:509) - com.serotonin.provider.ProcessEPollProvider com.serotonin.provider.ProviderNotFoundException: com.serotonin.provider.ProcessEPollProvider at com.serotonin.provider.Providers.get(Providers.java:30) ~[mango-3.5.6.jar:?] at com.serotonin.provider.Providers.get(Providers.java:20) ~[mango-3.5.6.jar:?] at com.serotonin.m2m2.Lifecycle.terminate(Lifecycle.java:504) ~[ma-priv-3.5.6.jar:?] at com.serotonin.m2m2.Main.main(Main.java:143) ~[ma-priv-3.5.6.jar:?] INFO 2020-01-07T10:17:22,338 (com.serotonin.m2m2.Lifecycle.terminate:571) - Mango Lifecycle terminated.
-
Hi Jerry
It looks like mango is trying to bind to a port that is already in use. Is there perhaps another instance of mango running as a service?
-
@craigweb Thank you; Port 8080 is being used and that was the isssue.