简体   繁体   中英

Engintron: Nginx couldn't start

I have a Cpanel/WHM server with Nginx installed as reverse proxy (with default Nginx manager), so i tried to replace Nginx with Engintron. I installed Engintron and uninstalled Nginx via Cpanel Nginx manager. As a result i got website not working and Nginx couldn't start (status from WHM Engintron page), so i should reinstall Nginx? I don't know if Engintron contains already Nginx or not I tried to reinstall Nginx and website work again, but i don't know if Engintron is serving the website or Nginx

Engintron contains nginx installation within their script. So if you install only engintron, it will be default instead nginx in reverse proxy mode with apache.

You can check your nginx installed configuration file location by sudo nginx -t

(it will show location of configuration file along with testing the same).

See if the nginx configuration file matches the engintron configuration file or not. If you are confused here also then run $ sudo nginx -T

this will dump the output of configuration file which you may tally with Engintron config file.

Last option would be to uninstall both the nginx and make a clean installation of Engintron.

Try to run these commands first:

/usr/sbin/nginx -s stop
/usr/local/cpanel/scripts/restartsrv_nginx start

If the problem still exists, Uninstall Nginx and all Ruby packages from EasyApache via WHM and reinstall Nginx again.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM