Can't open ma-start.bat
-
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 MangoIf Mango fails to start there should be an error in the output.
-
@joelhaggar said in Can't open ma-start.bat:
ht clicking on it and running as Administrator.
Hey Joel, Here's the error:
-
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?
-
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). -
@joelhaggar So we set this up with my Enteliweb running on port 8080 and Mango running on port 80.
R -
I think your Mango is running on port 8090. You can check in your /overrides/properties/env.properties file
-
Joel, Here's what I see in the env.properties files
-
-
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.
-
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
-
@phildunlap Sorry I labelled them but it didn't show up. 1 is the Mango\classes folder
1 is Mango\override\properties folder -
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?
-
Hi Phil, So I changed the port 8090 and after a restart all is running again. Thanks!!
Cheers,
Rick