[Wed Jun 19 06:26:39.142106 2019] [mpm_prefork:notice] [pid 29571] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 2400:8902::f03c:91ff:fec5:994e. Set the 'ServerName' directive globally to suppress this message
[Wed Jun 19 06:26:39.660571 2019] [mpm_prefork:notice] [pid 29571] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.1a configured -- resuming normal operations
[Wed Jun 19 06:26:39.660595 2019] [core:notice] [pid 29571] AH00094: Command line: '/usr/sbin/apache2'
[Wed Jun 19 06:26:40.211092 2019] [mpm_prefork:notice] [pid 29571] AH00169: caught SIGTERM, shutting down
[Wed Jun 19 08:01:19.573647 2019] [mpm_prefork:notice] [pid 799] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.1a configured -- resuming normal operations
[Wed Jun 19 08:01:19.603284 2019] [core:notice] [pid 799] AH00094: Command line: '/usr/sbin/apache2'
為什麼我的 apache 會無預警關閉呢
ubuntu 18.04
php 7.3
主機使用 linode
我 reboot linode 就好了
只是 caught SIGTERM, shutting down
這是怎麼了嗎?
我安裝好 apache 只有啟用 rewrite 其他設置都是預設的
我是覺得重點不在那裏
重點應該是在
Graceful restart requested, doing restart
你說的那行直白的翻大概就是收到 SIGTERM 訊號
所以要關閉
至於為什麼會這樣
google到的給你參考
幾乎都說跟log轉換有關