• Recent
    • Tags
    • Popular
    • Register
    • Login

    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 Mango 5 Documentation Website

    Mango fails to start with java error

    Mango General
    2
    11
    3.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      agallo
      last edited by agallo

      Fresh install of Debian 8.9 and jdk1.8.0_144
      Mango fails to start with the following error:

      <snip>
      Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/local/java/jdk1.8.0_144/jre/lib/i386/libawt_xawt.so: libXext.so.6: cannot open shared object file: No such file or directory
      <snip>
      

      however, the file exists:

      0:/opt/mango/bin# file /usr/local/java/jdk1.8.0_144/jre/lib/i386/libawt_xawt.so
      
      /usr/local/java/jdk1.8.0_144/jre/lib/i386/libawt_xawt.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=d6e0fd635954c4e417d1e2b0a6aa2bcf7d6e8449, not stripped
      

      And libXext.so.6 exists:

      0:/opt/mango/bin# find / -name libXext.so.6
      /usr/lib/x86_64-linux-gnu/libXext.so.6
      0:/opt/mango/bin# file /usr/lib/x86_64-linux-gnu/libXext.so.6
      /usr/lib/x86_64-linux-gnu/libXext.so.6: symbolic link to libXext.so.6.4.0
      
      1 Reply Last reply Reply Quote 0
      • phildunlapP
        phildunlap
        last edited by

        Hi agallo,

        How did you install Java? Have you defined JAVA_HOME? Something like...

        JAVA_HOME=/usr/local/java/jdk1.8.0_144
        

        in /etc/environment then . /etc/environment and try to start it again.

        1 Reply Last reply Reply Quote 0
        • phildunlapP
          phildunlap
          last edited by

          I wonder if you can try web.openBrowserOnStartup=false in your Mango/overrides/properties/env.properties or Mango/classes/env.properties file. What's the full output from ./ma.sh start?

          A 1 Reply Last reply Reply Quote 0
          • A
            agallo
            last edited by

            Followed the instructions Linux Installation

            $JAVA_HOME is set

            0:/opt/mango/bin# echo $JAVA_HOME
            /usr/local/java/jdk1.8.0_144/
            

            One thing I'll note about the instructions at the above link, one of the commands seems to be in the wrong format:

            sudo update-alternatives --install java /usr/bin/java /usr/local/java/jdk1.8.0_144/bin/java
            update-alternatives: --install needs <link> <name> <path> <priority>
            
            Use 'update-alternatives --help' for program usage information.
            

            I don't think that is causing my problem.

            Java seems to be working

            0:~$ java -version
            java version "1.8.0_144"
            Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
            Java HotSpot(TM) Server VM (build 25.144-b01, mixed mode)
            
            0:~$ javac -version
            javac 1.8.0_144
            

            Thank you

            1 Reply Last reply Reply Quote 0
            • phildunlapP
              phildunlap
              last edited by phildunlap

              Try it with web.openBrowserOnStartup=false (I think you were writing your last post when I was writing mine)

              1 Reply Last reply Reply Quote 0
              • A
                agallo @phildunlap
                last edited by

                @phildunlap said in Mango fails to start with java error:

                I wonder if you can try web.openBrowserOnStartup=false in your Mango/overrides/properties/env.properties or Mango/classes/env.properties file. What's the full output from ./ma.sh start?

                I changed web.openBrowserOnStartup to false in /opt/mango/classes.env.properties. Same results. Below is the full output from the startup

                0:/opt/mango/bin# ./ma.sh start
                MA_HOME is /opt/mango
                root@MangoAutomation-0:/opt/mango/bin# ma-start: MA started with Process ID:  7475
                INFO  2017-08-24T15:27:24,701 (com.serotonin.m2m2.Main.main:90) - Starting Mango 3.2.0+20170807191436 with Schema Version: 17
                INFO  2017-08-24T15:27:24,915 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'sstGraphics', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:24,933 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'watchlists', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:24,957 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'dataImport', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:24,962 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'meta', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:24,969 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'excelReports', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:24,972 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'mangoApi', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:24,973 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'mbus', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:24,976 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'reports', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:24,978 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'log4JReset', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:24,979 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'ssh', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:24,980 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'sqlConsole', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:24,982 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'virtualDS', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:24,984 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'pakbus', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:24,986 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'vmstat', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:24,989 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'onewire', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:24,990 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'maintenanceEvents', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:24,992 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'egauge', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:24,994 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'loggingConsole', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:24,996 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'serial', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:24,997 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'deviceConfig', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:24,998 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: /opt/mango/web/modules/deviceConfig/web/dox/manifest.xml
                INFO  2017-08-24T15:27:24,999 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'mangoUI', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:25,000 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: /opt/mango/web/modules/mangoUI/web/dox/manifest.xml
                INFO  2017-08-24T15:27:25,019 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'dashboardDesigner', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:25,020 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: /opt/mango/web/modules/dashboardDesigner/web/dox/manifest.xml
                INFO  2017-08-24T15:27:25,021 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'jsonFileImport', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:25,023 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'dataFile', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:25,026 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'pop3', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:25,028 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'TCPIP', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:25,030 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'mqttClientDataSource', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:25,031 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'asciiFile', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:25,033 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'Haystack', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:25,035 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'snmp', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:25,043 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'envcands', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:25,044 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'controlcore', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:25,046 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'scheduledEvents', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:25,050 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'graphicalViews', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:25,061 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'dnp3', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:25,063 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'http', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:25,068 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'sstGlobalScripts', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:25,070 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'twilio', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:25,072 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'sqlds', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:25,073 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'templateConfig', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:25,075 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'log4jDS', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:25,076 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'modbus', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:25,078 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'BACnet', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:25,080 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'scripting', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:25,082 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'opcda', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:25,082 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'pointLinks', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:25,084 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'internal', v3.2.0 by Infinite Automation
                INFO  2017-08-24T15:27:26,083 (com.serotonin.m2m2.Lifecycle.initialize:192) - Initializing Spring Object Mapper
                INFO  2017-08-24T15:27:26,517 (com.serotonin.m2m2.Lifecycle.loadLic:508) - Checking license...
                INFO  2017-08-24T15:27:26,517 (com.serotonin.m2m2.Lifecycle.loadLic:594) - License file not found
                INFO  2017-08-24T15:27:26,620 (com.serotonin.m2m2.db.H2Proxy.initializeImpl:42) - Initializing H2 connection manager
                INFO  2017-08-24T15:27:27,489 (com.serotonin.m2m2.db.upgrade.DBUpgrade.checkUpgrade:36) - Starting instance with core version 3.2.0+20170807191436, db 17
                INFO  2017-08-24T15:27:27,573 (com.serotonin.m2m2.rt.RuntimeManager.initialize:160) - Starting 0 Publishers...
                INFO  2017-08-24T15:27:27,573 (com.serotonin.m2m2.rt.RuntimeManager.initialize:172) - 0 Publisher's started in 1ms
                Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/local/java/jdk1.8.0_144/jre/lib/i386/libawt_xawt.so: libXext.so.6: cannot open shared object file: No such file or directory
                        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
                        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
                        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
                        at java.lang.Runtime.load0(Runtime.java:809)
                        at java.lang.System.load(System.java:1086)
                        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
                        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
                        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1845)
                        at java.lang.Runtime.loadLibrary0(Runtime.java:870)
                        at java.lang.System.loadLibrary(System.java:1122)
                        at java.awt.Toolkit$3.run(Toolkit.java:1636)
                        at java.awt.Toolkit$3.run(Toolkit.java:1634)
                        at java.security.AccessController.doPrivileged(Native Method)
                        at java.awt.Toolkit.loadLibraries(Toolkit.java:1633)
                        at java.awt.Toolkit.<clinit>(Toolkit.java:1668)
                        at com.serotonin.m2m2.view.ViewGraphicLoader.loadDirectory(ViewGraphicLoader.java:109)
                        at com.serotonin.m2m2.view.ViewGraphicLoader.loadModuleGraphics(ViewGraphicLoader.java:56)
                        at com.serotonin.m2m2.view.ViewGraphicLoader.loadViewGraphics(ViewGraphicLoader.java:44)
                        at com.serotonin.m2m2.Lifecycle.imageSetInitialize(Lifecycle.java:1357)
                        at com.serotonin.m2m2.Lifecycle.initialize(Lifecycle.java:317)
                        at com.serotonin.m2m2.Main.main(Main.java:125)
                

                Thanks for your help

                1 Reply Last reply Reply Quote 0
                • phildunlapP
                  phildunlap
                  last edited by phildunlap

                  If you have an env.properties file in Mango/overrides/properties you will need to have changed that one (Edit: this is definitely not the problem). Can you get the full ouput again, but this time move Mango/classes/log4j2.xml to Mango/classes/normal-log4j2.xml and move Mango/classes/debug-log4j2.xml to Mango/classes/log4j2.xml and try starting again. That should give us more logging.

                  Edit: Nevermind, that stack trace will probably show me all I need... one moment please...

                  1 Reply Last reply Reply Quote 0
                  • phildunlapP
                    phildunlap
                    last edited by

                    Googling the link error suggests you may have the wrong 32 bit / 64 bit version of Java installed. Can you check that? What's the name of the .tar.gz file you used and what's your uname -a

                    1 Reply Last reply Reply Quote 1
                    • A
                      agallo
                      last edited by

                      I made the following changes:

                      mv log4j2.xml normal-log4j2.xml
                      mv debug-log4j2.xml log4j2.xml
                      

                      Also, I created a file /opt/mango/overrides/properties/env.properties with web.openBrowserOnStartup=false

                      The startup output is below. The web server does start, and reports 85% progress "Initializing Web Image Set" and displays the contents of logging/ma.log

                      INFO  2017-08-24T16:09:24,429 (com.serotonin.m2m2.Main.main:90) - Starting Mango 3.2.0+20170807191436 with Schema Version: 17
                      INFO  2017-08-24T16:09:24,659 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'sstGraphics', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,679 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'watchlists', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,694 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'dataImport', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,696 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'meta', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,699 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'excelReports', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,702 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'mangoApi', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,704 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'mbus', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,707 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'reports', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,709 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'log4JReset', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,710 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'ssh', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,712 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'sqlConsole', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,714 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'virtualDS', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,716 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'pakbus', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,718 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'vmstat', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,721 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'onewire', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,723 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'maintenanceEvents', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,725 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'egauge', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,727 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'loggingConsole', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,729 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'serial', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,730 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'deviceConfig', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,732 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: /opt/mango/web/modules/deviceConfig/web/dox/manifest.xml
                      INFO  2017-08-24T16:09:24,733 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'mangoUI', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,734 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: /opt/mango/web/modules/mangoUI/web/dox/manifest.xml
                      INFO  2017-08-24T16:09:24,752 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'dashboardDesigner', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,753 (com.serotonin.m2m2.util.DocumentationManifest.parseManifestFile:60) - Documentation manifest file not found: /opt/mango/web/modules/dashboardDesigner/web/dox/manifest.xml
                      INFO  2017-08-24T16:09:24,754 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'jsonFileImport', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,756 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'dataFile', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,760 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'pop3', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,762 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'TCPIP', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,764 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'mqttClientDataSource', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,766 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'asciiFile', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,768 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'Haystack', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,769 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'snmp', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,772 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'envcands', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,774 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'controlcore', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,775 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'scheduledEvents', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,777 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'graphicalViews', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,780 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'dnp3', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,782 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'http', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,785 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'sstGlobalScripts', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,786 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'twilio', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,788 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'sqlds', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,790 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'templateConfig', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,792 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'log4jDS', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,794 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'modbus', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,796 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'BACnet', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,798 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'scripting', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,800 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'opcda', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,800 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'pointLinks', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:24,802 (com.serotonin.m2m2.Main.loadModules:544) - Loading module 'internal', v3.2.0 by Infinite Automation
                      INFO  2017-08-24T16:09:25,766 (com.serotonin.m2m2.Lifecycle.initialize:192) - Initializing Spring Object Mapper
                      INFO  2017-08-24T16:09:25,935 (org.eclipse.jetty.util.log.Log.initialized:192) - Logging initialized @2588ms
                      INFO  2017-08-24T16:09:26,043 (org.eclipse.jetty.server.Server.doStart:345) - jetty-9.3.11.v20160721
                      INFO  2017-08-24T16:09:26,101 (org.eclipse.jetty.server.AbstractConnector.doStart:270) - Started ServerConnector@c58fd0{HTTP/1.1,[http/1.1, h2c, h2c-17, h2c-16, h2c-15, h2c-14]}{0.0.0.0:8080}
                      INFO  2017-08-24T16:09:26,103 (org.eclipse.jetty.server.Server.doStart:403) - Started @2757ms
                      INFO  2017-08-24T16:09:26,177 (org.eclipse.jetty.server.handler.ContextHandler.doStart:781) - Started o.e.j.s.h.ContextHandler@1162e7{/,null,AVAILABLE}
                      INFO  2017-08-24T16:09:26,236 (com.serotonin.m2m2.Lifecycle.loadLic:508) - Checking license...
                      INFO  2017-08-24T16:09:26,237 (com.serotonin.m2m2.Lifecycle.loadLic:594) - License file not found
                      INFO  2017-08-24T16:09:26,345 (com.serotonin.m2m2.db.H2Proxy.initializeImpl:42) - Initializing H2 connection manager
                      INFO  2017-08-24T16:09:27,276 (com.serotonin.m2m2.db.upgrade.DBUpgrade.checkUpgrade:36) - Starting instance with core version 3.2.0+20170807191436, db 17
                      INFO  2017-08-24T16:09:27,409 (com.serotonin.m2m2.rt.RuntimeManager.initialize:160) - Starting 0 Publishers...
                      INFO  2017-08-24T16:09:27,409 (com.serotonin.m2m2.rt.RuntimeManager.initialize:172) - 0 Publisher's started in 1ms
                      Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/local/java/jdk1.8.0_144/jre/lib/i386/libawt_xawt.so: libXext.so.6: cannot open shared object file: No such file or directory
                              at java.lang.ClassLoader$NativeLibrary.load(Native Method)
                              at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
                              at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
                              at java.lang.Runtime.load0(Runtime.java:809)
                              at java.lang.System.load(System.java:1086)
                              at java.lang.ClassLoader$NativeLibrary.load(Native Method)
                              at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
                              at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1845)
                              at java.lang.Runtime.loadLibrary0(Runtime.java:870)
                              at java.lang.System.loadLibrary(System.java:1122)
                              at java.awt.Toolkit$3.run(Toolkit.java:1636)
                              at java.awt.Toolkit$3.run(Toolkit.java:1634)
                              at java.security.AccessController.doPrivileged(Native Method)
                              at java.awt.Toolkit.loadLibraries(Toolkit.java:1633)
                              at java.awt.Toolkit.<clinit>(Toolkit.java:1668)
                              at com.serotonin.m2m2.view.ViewGraphicLoader.loadDirectory(ViewGraphicLoader.java:109)
                              at com.serotonin.m2m2.view.ViewGraphicLoader.loadModuleGraphics(ViewGraphicLoader.java:56)
                              at com.serotonin.m2m2.view.ViewGraphicLoader.loadViewGraphics(ViewGraphicLoader.java:44)
                              at com.serotonin.m2m2.Lifecycle.imageSetInitialize(Lifecycle.java:1357)
                              at com.serotonin.m2m2.Lifecycle.initialize(Lifecycle.java:317)
                              at com.serotonin.m2m2.Main.main(Main.java:125)
                      

                      Thank you.

                      1 Reply Last reply Reply Quote 0
                      • A
                        agallo
                        last edited by agallo

                        Java version was the problem. I had installed Linux x86: jdk-8u144-linux-i586.tar.gz instead of Linux x64: jdk-8u144-linux-x64.tar.gz

                        Thank you so much for your help.

                        And to provide a little more detail for anyone searching:
                        What is probably painfully obvious to most of you, but didn't have much meaning for me, x86 refers to 32-bit environments, with x64 is for 64-bit.

                        I can gripe about the naming convention being either confusing or inconsistent, but in talking to coworkers, this is reality.

                        Thank you, Phil!

                        1 Reply Last reply Reply Quote 0
                        • phildunlapP
                          phildunlap
                          last edited by

                          Certainly! Glad you got it resolved!

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post