• J
    JMandina

    @craigweb
    Hi Craig;

    Thank you for your assistance. that was exactly my issue. All are working fine now.

    posted in User help read more
  • J
    JMandina

    Hi;

    I've got a mango installed in a cloud server. Just recently all my point became unreliable, then after restarting the instance I cannot access the webpage anymore. I have tried to ssh to my server to stop and restart my mango, but still nothing. When I check the log file, I see an error stating that the life cycle is terminated. See attached my log file for more information.![alt text]

    INFO 2019-06-26T22:12:14,414 (com.serotonin.m2m2.Main.main:101) - Starting Mango 3.5.6 with Schema Version: 26
    INFO 2019-06-26T22:12:15,334 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'pop3', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,359 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'dataFile', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,372 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'excelReports', v3.5.3 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,383 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'loggingConsole', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,393 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'mangoApi', v3.5.2 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,397 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'watchlists', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,425 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'advancedScheduler', v3.5.1 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,429 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'ssh', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,435 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'sstGlobalScripts', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,439 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'asciiFile', v3.5.1 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,444 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'vmstat', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,448 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'virtualDS', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,453 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'snmp', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,464 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'dashboardDesigner', v3.5.1 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,467 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: /opt/mango/web/modules/dashboardDesigner/web/dox/manifest.xml
    INFO 2019-06-26T22:12:15,468 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'reports', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,483 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'egauge', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,488 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'sqlConsole', v3.5.1 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,493 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'BACnet', v3.5.3 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,497 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'log4JReset', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,498 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'templateConfig', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,501 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'jsonFileImport', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,503 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'dataImport', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,506 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'deviceConfig', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,508 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: /opt/mango/web/modules/deviceConfig/web/dox/manifest.xml
    INFO 2019-06-26T22:12:15,509 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'maintenanceEvents', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,512 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'modbus', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,515 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'mangoUI', v3.5.5 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,517 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: /opt/mango/web/modules/mangoUI/web/dox/manifest.xml
    INFO 2019-06-26T22:12:15,524 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'log4jDS', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,528 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'graphicalViews', v3.5.3 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,534 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'TCPIP', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,537 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'scripting', v3.5.1 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,540 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'mangoNoSqlDatabase', v3.5.1 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,543 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'pointLinks', v3.5.1 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,546 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'sstGraphics', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,553 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'controlcore', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,556 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'opcda', v3.5.1 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,558 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'mbus', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,563 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'dnp3', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,567 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'persistent', v3.5.6 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,570 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'advancedComponents', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,571 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: /opt/mango/web/modules/advancedComponents/web/dox/manifest.xml
    INFO 2019-06-26T22:12:15,573 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'twilio', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,577 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'envcands', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,579 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'mqttClientDataSource', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,582 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'sqlds', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,586 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'Haystack', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,589 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'onewire', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,592 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'scheduledEvents', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,596 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'meta', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,602 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'pakbus', v3.5.4 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,607 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'http', v3.5.1 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,613 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'dataPointDetailsView', v3.5.0 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,618 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'serial', v3.5.1 by Infinite Automation Systems Inc.
    INFO 2019-06-26T22:12:15,623 (com.serotonin.m2m2.Main.loadModules:588) - Loading module 'internal', v3.5.0 by Infinite Automation Systems Inc.
    WARN 2019-06-26T22:12:18,818 (com.serotonin.m2m2.Lifecycle.webServerInitialize:957) - ALPN is enabled in env.properties but couldn't be loaded
    java.lang.IllegalStateException: No Server ALPNProcessors!
    at org.eclipse.jetty.alpn.server.ALPNServerConnectionFactory.<init>(ALPNServerConnectionFactory.java:53) ~[jetty-alpn-server-9.4.12.v20180830.jar:9.4.12.v20180830]
    at com.serotonin.m2m2.Lifecycle.webServerInitialize(Lifecycle.java:955) ~[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:?]
    Suppressed: java.lang.IllegalStateException: org.eclipse.jetty.alpn.ALPN must be on JVM boot classpath
    at org.eclipse.jetty.alpn.openjdk8.server.OpenJDK8ServerALPNProcessor.init(OpenJDK8ServerALPNProcessor.java:45) ~[jetty-alpn-openjdk8-server-9.4.12.v20180830.jar:9.4.12.v20180830]
    at org.eclipse.jetty.alpn.server.ALPNServerConnectionFactory.<init>(ALPNServerConnectionFactory.java:73) ~[jetty-alpn-server-9.4.12.v20180830.jar:9.4.12.v20180830]
    at com.serotonin.m2m2.Lifecycle.webServerInitialize(Lifecycle.java:955) ~[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:?]
    Suppressed: java.lang.UnsupportedClassVersionError: org/eclipse/jetty/alpn/java/server/JDK9ServerALPNProcessor has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0
    at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_171]
    at java.lang.ClassLoader.defineClass(ClassLoader.java:763) ~[?:1.8.0_171]
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_171]
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) ~[?:1.8.0_171]
    at java.net.URLClassLoader.access$100(URLClassLoader.java:73) ~[?:1.8.0_171]
    at java.net.URLClassLoader$1.run(URLClassLoader.java:368) ~[?:1.8.0_171]
    at java.net.URLClassLoader$1.run(URLClassLoader.java:362) ~[?:1.8.0_171]
    at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_171]
    at java.net.URLClassLoader.findClass(URLClassLoader.java:361) ~[?:1.8.0_171]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_171]
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) ~[?:1.8.0_171]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:411) ~[?:1.8.0_171]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_171]
    at java.lang.Class.forName0(Native Method) ~[?:1.8.0_171]
    at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_171]
    at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:370) ~[?:1.8.0_171]
    at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404) ~[?:1.8.0_171]
    at java.util.ServiceLoader$1.next(ServiceLoader.java:480) ~[?:1.8.0_171]
    at org.eclipse.jetty.alpn.server.ALPNServerConnectionFactory.<init>(ALPNServerConnectionFactory.java:60) ~[jetty-alpn-server-9.4.12.v20180830.jar:9.4.12.v20180830]
    at com.serotonin.m2m2.Lifecycle.webServerInitialize(Lifecycle.java:955) ~[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:?]
    ERROR 2019-06-26T22:12:18,979 (com.serotonin.m2m2.Main.main:142) - Error during initialization
    java.lang.IllegalStateException: no valid keystore
    at org.eclipse.jetty.util.security.CertificateUtils.getKeyStore(CertificateUtils.java:50) ~[jetty-util-9.4.12.v20180830.jar:9.4.12.v20180830]
    at org.eclipse.jetty.util.ssl.SslContextFactory.loadKeyStore(SslContextFactory.java:1089) ~[jetty-util-9.4.12.v20180830.jar:9.4.12.v20180830]
    at org.eclipse.jetty.util.ssl.SslContextFactory.load(SslContextFactory.java:274) ~[jetty-util-9.4.12.v20180830.jar:9.4.12.v20180830]
    at org.eclipse.jetty.util.ssl.SslContextFactory.doStart(SslContextFactory.java:241) ~[jetty-util-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.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:138) ~[jetty-util-9.4.12.v20180830.jar:9.4.12.v20180830]
    at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117) ~[jetty-util-9.4.12.v20180830.jar:9.4.12.v20180830]
    at org.eclipse.jetty.server.SslConnectionFactory.doStart(SslConnectionFactory.java:94) ~[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.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:138) ~[jetty-util-9.4.12.v20180830.jar:9.4.12.v20180830]
    at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117) ~[jetty-util-9.4.12.v20180830.jar:9.4.12.v20180830]
    at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:282) ~[jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830]
    at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:81) ~[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 2019-06-26T22:12:18,980 (com.serotonin.m2m2.Lifecycle.terminate:422) - Mango Lifecycle terminating...
    ERROR 2019-06-26T22:12:19,021 (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 2019-06-26T22:12:19,023 (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 2019-06-26T22:12:19,041 (com.serotonin.m2m2.Lifecycle.terminate:571) - Mango Lifecycle terminated.

    posted in User help read more
  • J
    JMandina

    Hi;

    I've got a mango ES that I'm publishing to a cloud one using Mango persistent TCP. But I'm facing a problem when I trying to sync them to get historical data from my ES to my mango instance in the Cloud. The cloud one only goes back to yesterday while on my ES I can go back to 6 months of data. See picture below on the setting of my publisher.

    0_1560259524245_Persistent_TCP.png
    0_1560259440496_Sync_Issue.png

    posted in User help read more