• 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

    Can't open ma-start.bat

    User help
    3
    16
    3.2k
    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.
    • R
      Rowen
      last edited by

      I can't open the ma-start.bat file on my server? It opens and runs about half way thru the setup and closes.
      It has been fine up until now, but windows did an automatic upgrade to my server last night and I assume this is the issue.

      Ideas?

      Cheers,

      Rick

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

        Try right clicking on it and running as Administrator.

        1 Reply Last reply Reply Quote 0
        • R
          Rowen
          last edited by

          No luck with that either?
          R

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

            You can get some tips here: https://help.infiniteautomation.com/windows-installation

            But this method will allow you to see the error:

            Open your start menu and search for “cmd”
            Right Click on cmd.exe and select Run As Administrator, this will open the Command Prompt
            Type“ “CD C:<your mango directory>/bin such as ”CD C:\Mango\bin”
            Type “ma-start.bat” to start Mango

            If Mango fails to start there should be an error in the output.

            1 Reply Last reply Reply Quote 0
            • R
              Rowen
              last edited by

              @joelhaggar said in Can't open ma-start.bat:

              ht clicking on it and running as Administrator.

              Hey Joel, Here's the error:
              0_1550079622236_Mango error.PNG

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

                The first error is your issue. "Address already in use" . this means something is using the port that you are trying to start Mango on. Is it possible Mango is already running?

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

                  Hi Rowen,

                  That would suggest Mango or another application is already using the web.port set in your Mango/overrides/properties/env.properties file. If it's not there copy it over from Mango/classes/env.properties

                  You can try tp navigate to http://localhost:8080 in your browser (8080 is the default port, but you may have changed it in the env.properties file).

                  1 Reply Last reply Reply Quote 0
                  • R
                    Rowen @JoelHaggar
                    last edited by

                    @joelhaggar So we set this up with my Enteliweb running on port 8080 and Mango running on port 80.
                    R

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

                      I think your Mango is running on port 8090. You can check in your /overrides/properties/env.properties file

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        Rowen
                        last edited by

                        Joel, Here's what I see in the env.properties files

                        1 Reply Last reply Reply Quote 0
                        • R
                          Rowen
                          last edited by

                          0_1550081465243_Mango Classes.PNG
                          1_1550081573564_Mango overrides.PNG 0_1550081573564_Mango Classes.PNG

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

                            Hi Rowen,

                            Why are there three copies of that property? There should only be one entry for any given property in an env.properties file.

                            R 1 Reply Last reply Reply Quote 0
                            • R
                              Rowen @JoelHaggar
                              last edited by

                              @joelhaggar 1_1550081648874_Mango overrides.PNG 0_1550081648874_Mango Classes.PNG

                              This is what's currently in the env.properties file.
                              My Enteliweb runs on port 8080, so I must change Mango to another port.

                              I assume.

                              Cheers,

                              R

                              1 Reply Last reply Reply Quote 0
                              • R
                                Rowen @phildunlap
                                last edited by

                                @phildunlap Sorry I labelled them but it didn't show up. 1 is the Mango\classes folder
                                1 is Mango\override\properties folder

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

                                  Mango\override\properties or Mango\overrides\properties ?

                                  If you change the port set in Mango/overrides/properties/env.properties does Mango start? Have you tried navigating to that port in your browser?

                                  1 Reply Last reply Reply Quote 0
                                  • R
                                    Rowen
                                    last edited by

                                    Hi Phil, So I changed the port 8090 and after a restart all is running again. Thanks!!

                                    Cheers,
                                    Rick

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