Nginx not running with no error message

前端 未结 8 1183
深忆病人
深忆病人 2021-01-30 06:15

I am trying to start my nginx server. When I type \"$> /etc/init.d/nginx start\", I have a message appearing \"Starting nginx:\", and then nothing happens. There is no error mes

8条回答
  •  滥情空心
    2021-01-30 07:04

    1. Check for your configuration files by running the aforementioned command: sudo nginx -t.

    2. Check for port conflicts. For instance, if apache2 (ps waux | grep apache2) or any other service is using the same ports configured for nginx (say port 80) the service will not start and will fail silently (err... the cousin of my friend had this problem...)

提交回复
热议问题