• 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

    Trouble shooting Installation

    Mango Automation Installation
    6
    12
    7.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.
    • JoelHaggarJ
      JoelHaggar
      last edited by

      If you are having trouble starting Mango Automation with the ma-start.bat or ma-start.sh script here are a few things to check:

      1. MA_HOME Environmental Variable is set to your Mango Install directory (usually not required)
      2. Make sure you have Java JDK 1.7 installed.
      3. JAVA_HOME is set to the Java JDK 1.7 install directory. On windows usually: C:\Program Files\Java\jdk1.7.0_XX
      4. Nothing else is using port 8080 or change Mango to run on a different port. See the /classes/env.properties file to set the new port number, read the instructions on how to use the overrides directory.

      If you still have trouble and you notice that script window briefly pops up and then the window closes: Open a command prompt and run mango from there so the window doesn't close. Make a post in this forum with the results of the script and we will help you diagnose the issue.

      Joel.

      1 Reply Last reply Reply Quote 0
      • J
        JackChad
        last edited by

        Trying to evaluate Mango.
        I am using Ubuntu. Installed JDK and Tomcat6. Tomcat6 works fine. Then extracted Mango to the Tomcat6/webapps/ROOT.
        Now browsing to localhost/8080 gives error 404.
        Looked in the Mango log. Got

        INFO 2013-03-01 10:27:45,244 (org.springframework.web.context.ContextLoader.initWebApplicationContext:209) - Root WebApplicationContext: initialization completed in 1351 ms
        INFO 2013-03-01 10:27:45,244 (com.serotonin.mango.MangoContextListener.contextInitialized:79) - Mango context starting
        INFO 2013-03-01 10:27:45,807 (com.serotonin.mango.db.DerbyAccess.initializeImpl:72) - Initializing derby connection manager
        INFO 2013-03-01 10:27:46,713 (com.serotonin.mango.MangoContextListener.contextDestroyed:120) - Mango context terminating
        INFO 2013-03-01 10:27:46,714 (com.serotonin.mango.db.DerbyAccess.terminate:93) - Stopping database
        INFO 2013-03-01 10:27:46,734 (com.serotonin.mango.MangoContextListener.contextDestroyed:142) - Mango context terminated

        I assume that derby is not installed or not working.

        Any ideas? Should I ignore derby and use MySQL?

        1 Reply Last reply Reply Quote 0
        • E
          elah
          last edited by

          Hi!
          I'm trying to install mango automation but I can't
          it appears on my window:

          Using C:\Program Files\Mango Automation\m2m2-core-2.0.6 as MA-HOME
          the system can not find the file specified.
          Using Java at java
          "java" is not recognized as an internal or external command,
          program or? batch file

          Thanks for your attention
          Elah

          1 Reply Last reply Reply Quote 0
          • JoelHaggarJ
            JoelHaggar
            last edited by

            Did you install the Java JDK and set the Environmental variable? Please provide more details.

            1 Reply Last reply Reply Quote 0
            • E
              elah
              last edited by

              thanks!
              the trouble was the variable for java

              1 Reply Last reply Reply Quote 0
              • hussamH
                hussam
                last edited by

                I use the java7, maybe is this problem, show error message error:missing 'server' jvm at "C:\Program Files\Java\jre7\bin\server\jvm.dll",but my java directory is "C:\Program Files\Java\jre7\bin\client \jvm.dll",if is this problem,if i need install java6,thanks.

                1 Reply Last reply Reply Quote 0
                • JoelHaggarJ
                  JoelHaggar
                  last edited by

                  Java 7 should be fine. Make sure your JAVA_HOME environmental variable is set to the Java JDK install directory. On windows usually: C:\Program Files\Java\jdk1.X.0_XX

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

                    Joel,

                    Do you have an example of an init script to automatically start mango on boot (i.e. something that would live in /etc/init.d/, that I could drop in and configure with chkconfig ), and stop it on command?

                    I have created one, and I can get the system to start, but I don't have a command to stop it. With a default tomcat install I get a startup.sh and a shutdown.sh which each do their respective jobs, why is there no ma-shutdown.sh?

                    1 Reply Last reply Reply Quote 0
                    • JoelHaggarJ
                      JoelHaggar
                      last edited by

                      Attached is a service that I know works on Ubuntu. Place it in the /etc/init folder and then you can run "service mango start or stop". You'll have to edit the path in the script to your ma-start.sh file.

                      Attachment: download link

                      1 Reply Last reply Reply Quote 0
                      • S
                        SESA
                        last edited by

                        I have got m2m2 installed and running. When I go to http://localhost:8080/system_settings.shtm I get the page with no values. When I start filling them in and click save I get an error...

                        dojo.html is undefined

                        What am I doing wrong? is there an env var I need to set? (ive set M2M2_HOME and JAVA_HOME)

                        1 Reply Last reply Reply Quote 0
                        • JoelHaggarJ
                          JoelHaggar
                          last edited by

                          Hard to know with out a bit more information. I would recommend starting over with fresh files, make sure you have the latest version. M2M2_HOME is not needed any more and was for an older version, just JAVA_HOME.

                          You can also call in for support if you need some live help.

                          Joel.

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