Systemctl status nginx
systemctl status nginx ● nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled) Active: active (running) since Sun 2021-02-14 07:12:33 UTC; 1min 24s ago Docs: man:nginx(8) Process: 29993 ExecStop=/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/nginx.pid (code=exited, status=0/SUCCESS) Process: 30024 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS) Process: 30012 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS) Main PID: 30027 (nginx) Tasks: 2 (limit: 1151) CGroup: /system.slice/nginx.service ├─30027 nginx: master process /usr/sbin/nginx -g daemon on; master_process on; └─30032 nginx: worker process Feb 14 07:12:33 SERVER systemd[1]: Starting A high performance web server and a reverse proxy server... Feb 14 07:12:33 SERVER systemd[1]: nginx.service: Failed to parse PID from file /run/nginx.pid: Invalid argument Feb 14 07:12:33 SERVER systemd[1]: Started A high performance web server and a reverse proxy server.
Related commands
- Apr 13 07:42:02 SERVER systemd[1]: nginx.service: Failed to parse PID from file /run/nginx.pid: Invalid argument
- Apr 13 10:39:06 SERVER systemd[1]: nginx.service: Failed with result 'timeout'.
See also
- Web server: Nginx:
/etc/nginx/nginx.conf
,nginx -t
, Nginx logs, Nginx change log, PHP,php-fpm
, Let's encrypt, Nginx directives, Reverse Proxy, Configure HTTP redirection Nginx, Return,proxy_pass (Reverse proxy)
,ngx_http_rewrite_module
,/etc/nginx/sites-enabled/
,error.log
,access.log
,/nginx status
, AIO
Advertising: