Centos 7 + Nginx + PageSpeed

Josemar Odia josemar at dosul.digital
Fri Jun 19 19:13:17 UTC 2020


Hello,

I'm new to nginx. Forgive me if I'm sending the question in the wrong place.

I performed the compilation and installation of Nginx, following this 
tutorial: 
https://www.linode.com/docs/web-servers/nginx/build-nginx-with-pagespeed-from-source/

At first it seemed to be all right, but when checking the status of 
nginx I have the following problem:

$ sudo systemctl status nginx
● nginx.service - The NGINX HTTP and reverse proxy server
    Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; 
vendor preset: disabled)
   Drop-In: /etc/systemd/system/nginx.service.d
            └─override.conf
    Active: active (running) since Fri 2020-06-19 15:44:21 -03; 4s ago
   Process: 5717 ExecStop = / bin / kill -s QUIT $ MAINPID (code = 
exited, status = 0 / SUCCESS)
   Process: 5722 ExecStart = / usr / sbin / nginx (code = exited, status 
= 0 / SUCCESS)
   Process: 5721 ExecStartPre = / usr / sbin / nginx -t (code = exited, 
status = 0 / SUCCESS)
  Main PID: 5724 (nginx)
    CGroup: /system.slice/nginx.service
            57─5724 nginx: master process / usr / sbin / nginx
            └─5725 nginx: worker process

Jun 19 15:44:21 brain01.dosuldigital.com.br systemd [1]: Stopped The 
NGINX HTTP and reverse proxy server.
Jun 19 15:44:21 brain01.dosuldigital.com.br systemd [1]: Starting The 
NGINX HTTP and reverse proxy server ...
Jun 19 15:44:21 brain01.dosuldigital.com.br nginx [5721]: nginx: the 
configuration file /etc/nginx/nginx.conf syntax is ok
Jun 19 15:44:21 brain01.dosuldigital.com.br nginx [5721]: nginx: 
configuration file /etc/nginx/nginx.conf test is successful
Jun 19 15:44:21 brain01.dosuldigital.com.br systemd [1]: Failed to parse 
PID from file /run/nginx.pid: Invalid argument
Jun 19 15:44:21 brain01.dosuldigital.com.br systemd [1]: Started The 
NGINX HTTP and reverse proxy server.

Could you help me solve it?


More information about the nginx mailing list