systemctl status nginx
Jump to navigation
Jump to search
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.
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: inactive (dead) since Thu 2022-06-02 00:00:01 UTC; 11min ago Docs: man:nginx(8) Process: 16838 ExecStop=/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/nginx.pid (code=exited, status=0/SUCCESS) Main PID: 11859 (code=exited, status=0/SUCCESS) Jun 02 00:00:01 SERVER systemd[1]: Stopping A high performance web server and a reverse proxy server... Jun 02 00:00:01 SERVER systemd[1]: Stopped A high performance web server and a reverse proxy server.
Sep 17 10:54:43 SERVER nginx[5609]: nginx: [warn] conflicting server name ".../..."
Related commands[edit]
systemctl restart nginxsystemctl start nginxsystemctl stop nginxsystemctl status php7.2-fpmsystemctl status mariadb
- 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[edit]
- 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: