Getting Nginx disabled message while trying to start Nginx service in Plesk

Sometimes we get the following error message, even if Nginx is enabled in plesk.

/etc/init.d/nginx start
Not starting nginx as it is disabled in config

To make sure the nginx service is enabled in the server use the following commands.

/usr/local/psa/admin/sbin/nginxmng -s
Enabled
chkconfig --list | grep nginx
nginx 0:off 1:off 2:on 3:on 4:on 5:on 6:off

If you Try to enable nginx as root from the terminal, It will fix the issue.

/usr/local/psa/admin/sbin/nginxmng -e
/etc/init.d/nginx status
nginx (pid 9873) is running...

The enable/disable operations for the Reverse Proxy Server (Nginx) listed above do not just start and stop the Nginx service. They will switch the web server configuration for all the domains in Plesk (Nginx and Apache combination or just an Apache web server).

That’s all to do to fix the issue. You also like to know to know the fix about Apache Error: Failed To Create Temporary File , Please check my previous article on this error and also give your opinion below if you experience any issues or to discuss your ideas and experiences.