Auto Start Mango under Linux
-
I have deployed Mango onto a GoDaddy virtual server running CentOS 6 and I can log into the server via Putty and start mango.
If I then disconnect Putty, Mango continues to run but after a few days it stops.
How can I configure the system to auto run Mango on boot up?
There is no desktop on this system, only a command line interface and cpanel.
-
-
The usual way to have Mango automatically run when the server boots is to install a service. Probably your best bet is to contact GoDaddy tech support and have them assist you. Depending on your hosting GoDaddy may not allow you to install services. If allowed, the process will be similar to the one we describe in our wiki for installing services in Debian Linux. See Installation Services in our wiki.
-
You need to find out why Mango is terminating. Check the Mango in <mango_root_dir>/logs/ma.log. Most common cause is running a premium module in unlicensed mode. For example: NoSQL. If this is the case it will be noted in your logfile.
-
-
Thanks. That worked just fine.
The service is now running.
I'll now sort out the service starting on any reboot of the server and I will check the log if the system stops working.