We have been running Mango on Windows for a couple years now and want to get a Linux server up and going.
We have an Amazon Linux server with all the necessary software installed, and can start the instance using:
sudo ./ma-sh start
The problem is when we try to start the app using the mango user we get the following:
[ec2-user@ip-xxx-xxx-xxx-xxx bin]$ sudo -u mango ./ma.sh start MA_HOME is /opt/mango [ec2-user@ip-xxx-xxx-xxx-xxx bin]$ ma-start: MA started with Process ID: 21478 ma-start: no restart flag found, not restarting MA ma-start: MA done
Some times we get more info on the error and it says:
ERROR 2021-06-02T01:59:07,431 [main] - Error during initialization java.net.SocketException: Permission denied
This seems like a permissions issue, but we're not sure where. /opt/openjdk has been changed to be owned by mango:mango as well as the /opt/mango directory structure.
I've followed the steps in the Linux Install page: https://docs-v3.mango-os.com/linux-installation
I've also followed the advice in this post https://forum.mango-os.com/topic/3278/java-update-to-1-8-162-has-caused-mango-es-3-2-2-to-become-unreachable/13 but that didn't seem to do anything either.
Any help is appreciated.