Difference between revisions of "Systemctl status nginx"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{lowercase}}
 +
 
<pre>
 
<pre>
 
systemctl status nginx
 
systemctl status nginx
Line 19: Line 21:
 
</pre>
 
</pre>
  
 +
 +
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 ==
 
== Related commands ==
* <code>[[systemctl status]]</code>
 
 
* <code>[[systemctl restart nginx]]</code>
 
* <code>[[systemctl restart nginx]]</code>
 +
* <code>[[systemctl start nginx]]</code>
 +
* <code>[[systemctl stop nginx]]</code>
 
* <code>[[systemctl status php7.2-fpm]]</code>
 
* <code>[[systemctl status php7.2-fpm]]</code>
 
* <code>[[systemctl status mariadb]]</code>
 
* <code>[[systemctl status mariadb]]</code>
  
 
* Apr 13 07:42:02 SERVER [[systemd]][1]: [[nginx.service]]: Failed to parse [[PID]] from file [[/run/]]nginx.pid: Invalid argument
 
* 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'.
+
* Apr 13 10:39:06 SERVER systemd[1]: [[nginx.service]]: Failed with result 'timeout'.
  
 
== See also ==
 
== See also ==

Latest revision as of 10:55, 17 September 2022

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]

See also[edit]

Advertising: