@craigweb said in Install Mango on DigitalOcean:
tail -f /opt/mango/logs/ma.log
Thank you for your reply. I always try localhost:8080. I also try your command and there is something wrong so the software was terminated.
mango@mango-alpha:~$ tail -f /opt/mango/logs/ma.log
INFO 2020-06-29T23:22:13,491 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'twilio', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-06-29T23:22:13,498 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'pointLinks', v3.7.1 by Infinite Automation Systems Inc.
INFO 2020-06-29T23:22:13,504 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'graphicalViews', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-06-29T23:22:13,509 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'mangoNoSqlDatabase', v3.7.1 by Infinite Automation Systems Inc.
INFO 2020-06-29T23:22:13,518 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'egauge', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-06-29T23:22:13,522 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'vmstat', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-06-29T23:22:13,527 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'Haystack', v3.7.0 by Infinite Automation Systems Inc.
INFO 2020-06-29T23:22:13,533 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'cloudConnect', v3.7.1 by Infinite Automation Systems Inc.
INFO 2020-06-29T23:22:13,535 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: /opt/mango/web/modules/cloudConnect/web/dox/manifest.xml
INFO 2020-06-29T23:22:13,539 (com.serotonin.m2m2.Main.loadModules:650) - Loading module 'internal', v3.7.0 by Infinite Automation Systems Inc.
ERROR 2020-06-29T23:22:15,747 (com.serotonin.m2m2.Main.main:162) - Error during initialization
java.io.IOException: Failed to bind to 0.0.0.0/0.0.0.0:443
at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:346) ~[jetty-server-9.4.23.v20191118.jar:9.4.23.v20191118]
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:307) ~[jetty-server-9.4.23.v20191118.jar:9.4.23.v20191118]
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) ~[jetty-server-9.4.23.v20191118.jar:9.4.23.v20191118]
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:231) ~[jetty-server-9.4.23.v20191118.jar:9.4.23.v20191118]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) ~[jetty-util-9.4.23.v20191118.jar:9.4.23.v20191118]
at org.eclipse.jetty.server.Server.doStart(Server.java:385) ~[jetty-server-9.4.23.v20191118.jar:9.4.23.v20191118]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) ~[jetty-util-9.4.23.v20191118.jar:9.4.23.v20191118]
at com.serotonin.m2m2.Lifecycle.webServerInitialize(Lifecycle.java:1042) ~[ma-priv-3.7.7.jar:?]
at com.serotonin.m2m2.Lifecycle.initialize(Lifecycle.java:221) ~[ma-priv-3.7.7.jar:?]
at com.serotonin.m2m2.Main.main(Main.java:159) ~[ma-priv-3.7.7.jar:?]
Caused by: java.net.BindException: Permission denied
at sun.nio.ch.Net.bind0(Native Method) ~[?:?]
at sun.nio.ch.Net.bind(Net.java:479) ~[?:?]
at sun.nio.ch.Net.bind(Net.java:468) ~[?:?]
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:220) ~[?:?]
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:88) ~[?:?]
at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:342) ~[jetty-server-9.4.23.v20191118.jar:9.4.23.v20191118]
... 9 more
INFO 2020-06-29T23:22:15,747 (com.serotonin.m2m2.Lifecycle.terminate:400) - Mango Lifecycle terminating...
ERROR 2020-06-29T23:22:15,782 (com.serotonin.m2m2.Lifecycle.terminate:478) - com.serotonin.provider.InputStreamEPollProvider
com.serotonin.provider.ProviderNotFoundException: com.serotonin.provider.InputStreamEPollProvider
at com.serotonin.provider.Providers.get(Providers.java:30) ~[mango-3.7.7.jar:?]
at com.serotonin.provider.Providers.get(Providers.java:20) ~[mango-3.7.7.jar:?]
at com.serotonin.m2m2.Lifecycle.terminate(Lifecycle.java:473) ~[ma-priv-3.7.7.jar:?]
at com.serotonin.m2m2.Main.main(Main.java:163) ~[ma-priv-3.7.7.jar:?]
ERROR 2020-06-29T23:22:15,782 (com.serotonin.m2m2.Lifecycle.terminate:486) - com.serotonin.provider.ProcessEPollProvider
com.serotonin.provider.ProviderNotFoundException: com.serotonin.provider.ProcessEPollProvider
at com.serotonin.provider.Providers.get(Providers.java:30) ~[mango-3.7.7.jar:?]
at com.serotonin.provider.Providers.get(Providers.java:20) ~[mango-3.7.7.jar:?]
at com.serotonin.m2m2.Lifecycle.terminate(Lifecycle.java:481) ~[ma-priv-3.7.7.jar:?]
at com.serotonin.m2m2.Main.main(Main.java:163) ~[ma-priv-3.7.7.jar:?]
INFO 2020-06-29T23:22:15,783 (com.serotonin.m2m2.Lifecycle.terminate:550) - Mango Lifecycle terminated.