Page 1 of 1

Nginx does't start [Someone help me, please!]

Posted: Fri Feb 08, 2019 6:13 pm
by maxmedeiros
Hi everyone!

After a try to install nginx_pagespeed module, my Nginx server doesn't start. I've run a Nginx reinstall but nothing.

The error message that come is this:
Redirecting to /bin/systemctl start nginx.service
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
The "systemctl status nginx.service" return this:
nginx.service - nginx - high performance web server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; disabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/nginx.service.d
└─limits.conf
Active: failed (Result: exit-code) since Fri 2019-02-08 18:09:58 UTC; 4min 56s ago
Docs: http://nginx.org/en/docs/
Process: 25011 ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf (code=exited, status=1/FAILURE)
Main PID: 3934 (code=exited, status=0/SUCCESS)

Feb 08 18:09:58 vestacp.camisassilviomaia.com.br systemd[1]: Starting nginx -...
Feb 08 18:09:58 vestacp.camisassilviomaia.com.br nginx[25011]: nginx: [emerg]...
Feb 08 18:09:58 vestacp.camisassilviomaia.com.br systemd[1]: nginx.service: c...
Feb 08 18:09:58 vestacp.camisassilviomaia.com.br systemd[1]: Failed to start ...
Feb 08 18:09:58 vestacp.camisassilviomaia.com.br systemd[1]: Unit nginx.servi...
Feb 08 18:09:58 vestacp.camisassilviomaia.com.br systemd[1]: nginx.service fa...
Hint: Some lines were ellipsized, use -l to show in full.
And "jornalctl -xe"
Feb 08 18:13:49 vestacp.camisassilviomaia.com.br postfix/qmgr[3224]: 680B21133D0
Feb 08 18:15:01 vestacp.camisassilviomaia.com.br systemd[1]: Started Session 168
-- Subject: Unit session-16899.scope has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit session-16899.scope has finished starting up.
--
-- The start-up result is done.
Feb 08 18:15:01 vestacp.camisassilviomaia.com.br systemd[1]: Started Session 168
-- Subject: Unit session-16898.scope has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit session-16898.scope has finished starting up.
--
-- The start-up result is done.
Feb 08 18:15:01 vestacp.camisassilviomaia.com.br CROND[25356]: (admin) CMD (sudo
Feb 08 18:15:01 vestacp.camisassilviomaia.com.br CROND[25357]: (admin) CMD (sudo
Feb 08 18:15:01 vestacp.camisassilviomaia.com.br sudo[25356]: pam_unix(sudo:sess
Feb 08 18:15:01 vestacp.camisassilviomaia.com.br sudo[25357]: pam_unix(sudo:sess
Feb 08 18:15:01 vestacp.camisassilviomaia.com.br sudo[25356]: pam_unix(sudo:sess
Feb 08 18:15:02 vestacp.camisassilviomaia.com.br sudo[25357]: pam_unix(sudo:sess
Can someone help me?

Thanks a lot!

Re: Nginx does't start [Someone help me, please!]

Posted: Fri Feb 08, 2019 6:55 pm
by grayfolk
See nginx log for details. And check nginx config first: nginx -t