質問編集履歴

5

回答でご助言いただいた通り設定ファイルのスペースを全て半角に直したところ、エラーログが更新されたのでその内容を追記しました。

2023/09/13 04:27

投稿

numin
numin

スコア19

test CHANGED
File without changes
test CHANGED
@@ -144,4 +144,13 @@
144
144
  2023/09/13 09:29:35 [emerg] 1629515#1629515: unknown directive "    listen      " in /etc/nginx/conf.d/ssl.conf:2
145
145
  ```
146
146
 
147
+ #### 補足(2023/9/13 13:25)
148
+
149
+ 回答でご指摘いただいた空白文字を全て半角スペースに修正したところ、エラーログに下記の内容が出力されました。
150
+
151
+ ```
152
+ 2023/09/13 13:21:58 [emerg] 1630558#1630558: cannot load certificate key "/etc/nginx/ssl.key/server.key": PEM_read_bio_PrivateKey() failed (SSL: error:1400006B:UI routines::processing error:while reading strings error:0480006D:PEM routines::problems getting password error:07880109:common libcrypto routines::interrupted or cancelled error:07880109:common libcrypto routines::interrupted or cancelled error:1C80009F:Provider routines::unable to get passphrase error:1400006B:UI routines::processing error:while reading strings error:0480006D:PEM routines::problems getting password error:07880109:common libcrypto routines::interrupted or cancelled error:04800068:PEM routines::bad password read)
153
+ 24602,1 Bot
154
+ ```
155
+
147
156
  適切な情報を補足できておらずお手数をおかけしてしまうかもしれませんが、何卒よろしくお願いします。

4

コメント欄でご助言いただいた通り、再度nginxを再起動・アクセスした後のエラーログを追記しました。正しく再起動できていないせいか、大分短いログになっているようなのですが......。

2023/09/13 00:40

投稿

numin
numin

スコア19

test CHANGED
File without changes
test CHANGED
@@ -133,57 +133,15 @@
133
133
 
134
134
 
135
135
 
136
- #### 補足(2023/9/13 8:43)
136
+ #### 補足(2023/9/13 9:34)
137
137
 
138
- やはりエラーログとしては最新もののようです。日時は質問当日の9時代で、少し前のもの拾ってまっせいで一時的に「conf.d」内に作って参照しpemファイル情報が残ってしまっていようです
138
+ コメント欄でご助言いただいた通、nginxの再起動(前回と同様のエラーコードが出力されて正く起動できいませんが)・ブラウザからアクセスをした出力されエラーログ内容をコピーしまた。
139
+ なお、設定ファイルの内容は質問時から一切変更していません。
140
+
141
+ ※エラーログに新しく追記された内容:
139
142
 
140
143
  ```
141
- 2023/09/11 09:40:45 [notice] 1616626#1616626: signal 17 (SIGCHLD) received from 1616627
142
- 2023/09/11 09:40:45 [notice] 1616626#1616626: worker process 1616627 exited with code 0
143
- 2023/09/11 09:40:45 [notice] 1616626#1616626: exit
144
- 2023/09/11 09:40:45 [emerg] 1616776#1616776: cannot load certificate "/etc/nginx/conf.d/ssl.crt/ssl.pem": BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/nginx/conf.d/ssl.crt/ssl.pem, r) error:10000080:BIO routines::no such file)
145
- 2023/09/11 09:41:01 [emerg] 1616794#1616794: cannot load certificate "/etc/nginx/conf.d/ssl.crt/ssl.pem": BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/nginx/conf.d/ssl.crt/ssl.pem, r) error:10000080:BIO routines::no such file)
146
- 2023/09/11 09:41:18 [emerg] 1616801#1616801: cannot load certificate "/etc/nginx/conf.d/ssl.crt/ssl.pem": BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/nginx/conf.d/ssl.crt/ssl.pem, r) error:10000080:BIO routines::no such file)
147
- 2023/09/11 09:42:24 [emerg] 1616846#1616846: cannot load certificate "/etc/nginx/conf.d/ssl.crt/ssl.pem": BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/nginx/conf.d/ssl.crt/ssl.pem, r) error:10000080:BIO routines::no such file)
148
- 2023/09/11 12:36:57 [emerg] 1617418#1617418: cannot load certificate "/etc/nginx/conf.d/ssl.crt/ssl.pem": BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/nginx/conf.d/ssl.crt/ssl.pem, r) error:10000080:BIO routines::no such file)
149
- 2023/09/11 12:38:54 [warn] 1617436#1617436: conflicting server name "nikukyu.com" on 0.0.0.0:80, ignored
150
- 2023/09/11 12:38:54 [warn] 1617436#1617436: conflicting server name "www.nikukyu.com" on 0.0.0.0:80, ignored
151
- 2023/09/11 12:38:54 [warn] 1617437#1617437: conflicting server name "nikukyu.com" on 0.0.0.0:80, ignored
152
- 2023/09/11 12:38:54 [warn] 1617437#1617437: conflicting server name "www.nikukyu.com" on 0.0.0.0:80, ignored
153
- 2023/09/11 12:38:54 [notice] 1617437#1617437: using the "epoll" event method
154
- 2023/09/11 12:38:54 [notice] 1617437#1617437: nginx/1.22.1
155
- 2023/09/11 12:38:54 [notice] 1617437#1617437: built by gcc 11.3.1 20221121 (Red Hat 11.3.1-4) (GCC)
156
- 2023/09/11 12:38:54 [notice] 1617437#1617437: OS: Linux 5.14.0-22.el9.x86_64
157
- 2023/09/11 12:38:54 [notice] 1617437#1617437: getrlimit(RLIMIT_NOFILE): 1024:524288
158
- 2023/09/11 12:38:54 [notice] 1617438#1617438: start worker processes
159
- 2023/09/11 12:38:54 [notice] 1617438#1617438: start worker process 1617439
160
- 2023/09/11 12:38:54 [notice] 1617438#1617438: start worker process 1617440
161
- 2023/09/11 12:39:07 [error] 1617439#1617439: *1 open() "/var/www/html/class.js" failed (2: No such file or directory), client: 134.180.155.234, server: nikukyu.com, request: "GET /class.js HTTP/1.1", host: "nikukyu.com", referrer: "http://nikukyu.com/"
162
- 2023/09/11 12:39:08 [error] 1617440#1617440: *3 open() "/var/www/html/audio/pon.mp3" failed (2: No such file or directory), client: 134.180.155.234, server: nikukyu.com, request: "GET /audio/pon.mp3 HTTP/1.1", host: "nikukyu.com", referrer: "http://nikukyu.com/"
163
- 2023/09/11 12:39:08 [error] 1617440#1617440: *3 open() "/var/www/html/audio/pon.wav" failed (2: No such file or directory), client: 134.180.155.234, server: nikukyu.com, request: "GET /audio/pon.wav HTTP/1.1", host: "nikukyu.com", referrer: "http://nikukyu.com/"
164
- 2023/09/11 12:56:00 [notice] 1617438#1617438: signal 3 (SIGQUIT) received from 1, shutting down
165
- 2023/09/11 12:56:00 [notice] 1617439#1617439: gracefully shutting down
166
- 2023/09/11 12:56:00 [notice] 1617439#1617439: exiting
167
- 2023/09/11 12:56:00 [notice] 1617440#1617440: gracefully shutting down
168
- 2023/09/11 12:56:00 [notice] 1617440#1617440: exiting
169
- 2023/09/11 12:56:00 [notice] 1617440#1617440: exit
170
- 2023/09/11 12:56:00 [notice] 1617439#1617439: exit
171
- 2023/09/11 12:56:00 [notice] 1617438#1617438: signal 17 (SIGCHLD) received from 1617440
172
- 2023/09/11 12:56:00 [notice] 1617438#1617438: worker process 1617440 exited with code 0
173
- 2023/09/11 12:56:00 [notice] 1617438#1617438: signal 29 (SIGIO) received
174
- 2023/09/11 12:56:00 [notice] 1617438#1617438: signal 17 (SIGCHLD) received from 1617439
175
- 2023/09/11 12:56:00 [notice] 1617438#1617438: worker process 1617439 exited with code 0
176
- 2023/09/11 12:56:00 [notice] 1617438#1617438: exit
177
- 2023/09/11 12:56:00 [emerg] 1617547#1617547: unknown directive "    listen      " in /etc/nginx/conf.d/ssl.conf:2
178
- 2023/09/11 12:56:09 [emerg] 1617558#1617558: unknown directive "    listen      " in /etc/nginx/conf.d/ssl.conf:2
179
- 2023/09/11 13:41:48 [emerg] 1617647#1617647: unknown directive "    listen      " in /etc/nginx/conf.d/ssl.conf:2
180
- 2023/09/11 13:59:40 [emerg] 1617698#1617698: unknown directive "    listen      " in /etc/nginx/conf.d/ssl.conf:2
144
+ 2023/09/13 09:29:35 [emerg] 1629515#1629515: unknown directive "    listen      " in /etc/nginx/conf.d/ssl.conf:2
181
145
  ```
182
146
 
183
- #### 補足(2023/9/11 22:36)
184
-
185
- - エラーログについては、記載時の最新の7,000文字程度をコピーしたのですが、古いものだったのでしょうか。
186
- - 文字数制限のため、エラーログは一度コメント欄に移します。
187
- - vim・SCPで確認しても「ssl.pem」は存在していて、中身も確かに結合された証明書の情報が記載されているようです。
188
-
189
147
  適切な情報を補足できておらずお手数をおかけしてしまうかもしれませんが、何卒よろしくお願いします。

3

状況の補足説明を追加しましたが、あまり適切ン情報を載せられていないかもしれません。ご容赦ください。

2023/09/12 23:51

投稿

numin
numin

スコア19

test CHANGED
File without changes
test CHANGED
@@ -131,6 +131,12 @@
131
131
 
132
132
  知識不足のためどのあたりをコピーすればよいかわかりませんので、最近の7,000字ほどを記載します。
133
133
 
134
+
135
+
136
+ #### 補足(2023/9/13 8:43)
137
+
138
+ やはりエラーログとしては最新のもののようです。日時は質問当日の9時代で、少し前のものを拾ってしまったせいで、一時的に「conf.d」内に作って参照したpemファイルの情報が残ってしまっていたようです。
139
+
134
140
  ```
135
141
  2023/09/11 09:40:45 [notice] 1616626#1616626: signal 17 (SIGCHLD) received from 1616627
136
142
  2023/09/11 09:40:45 [notice] 1616626#1616626: worker process 1616627 exited with code 0

2

「ssl.pem」やエラーログについて確認した結果やエラーコード内に書かれていたコマンドを入力した際の結果を追記しました。また見やすいよう、ディレクトリ構成を「```」で囲みました。

2023/09/11 13:47

投稿

numin
numin

スコア19

test CHANGED
File without changes
test CHANGED
@@ -14,23 +14,83 @@
14
14
  Job for nginx.service failed because the control process exited with error code.
15
15
  See "systemctl status nginx.service" and "journalctl -xeu nginx.service" for details.
16
16
  ```
17
+ また、上記の指示通りにコマンドを入力してみての結果は下記の通りです。
18
+
19
+ #### 「$sudo systemctl status nginx.service」の結果:
20
+
21
+ ```
22
+ × nginx.service - The nginx HTTP and reverse proxy server
23
+ Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; preset: disabled)
24
+ Drop-In: /usr/lib/systemd/system/nginx.service.d
25
+ └─php-fpm.conf
26
+ Active: failed (Result: exit-code) since Mon 2023-09-11 13:59:40 JST; 8h ago
27
+ Duration: 17min 6.195s
28
+ Process: 1617697 ExecStartPre=/usr/bin/rm -f /run/nginx.pid (code=exited, status=0/SUCCESS)
29
+ Process: 1617698 ExecStartPre=/usr/sbin/nginx -t (code=exited, status=1/FAILURE)
30
+ CPU: 14ms
31
+
32
+ Sep 11 13:59:40 naokilucaVPS systemd[1]: Starting The nginx HTTP and reverse proxy server...
33
+ Sep 11 13:59:40 naokilucaVPS nginx[1617698]: nginx: [emerg] unknown directive "    listen      " in /etc/nginx/conf.d/s>
34
+ Sep 11 13:59:40 naokilucaVPS nginx[1617698]: nginx: configuration file /etc/nginx/nginx.conf test failed
35
+ Sep 11 13:59:40 naokilucaVPS systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
36
+ Sep 11 13:59:40 naokilucaVPS systemd[1]: nginx.service: Failed with result 'exit-code'.
37
+ Sep 11 13:59:40 naokilucaVPS systemd[1]: Failed to start The nginx HTTP and reverse proxy server.
38
+ lines 1-16/16 (END)
39
+ ```
40
+
41
+ #### 「$sudo journalctl -xeu nginx.service」の結果
42
+
43
+ ```
44
+ ░░ Support: https://access.redhat.com/support
45
+ ░░
46
+ ░░ A start job for unit nginx.service has begun execution.
47
+ ░░
48
+ ░░ The job identifier is 162426.
49
+ Sep 11 13:59:40 naokilucaVPS nginx[1617698]: nginx: [emerg] unknown directive "    listen      " in /etc/nginx/conf.d/s>
50
+ Sep 11 13:59:40 naokilucaVPS nginx[1617698]: nginx: configuration file /etc/nginx/nginx.conf test failed
51
+ Sep 11 13:59:40 naokilucaVPS systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
52
+ ░░ Subject: Unit process exited
53
+ ░░ Defined-By: systemd
54
+ ░░ Support: https://access.redhat.com/support
55
+ ░░
56
+ ░░ An ExecStartPre= process belonging to unit nginx.service has exited.
57
+ ░░
58
+ ░░ The process' exit code is 'exited' and its exit status is 1.
59
+ Sep 11 13:59:40 naokilucaVPS systemd[1]: nginx.service: Failed with result 'exit-code'.
60
+ ░░ Subject: Unit failed
61
+ ░░ Defined-By: systemd
62
+ ░░ Support: https://access.redhat.com/support
63
+ ░░
64
+ ░░ The unit nginx.service has entered the 'failed' state with result 'exit-code'.
65
+ Sep 11 13:59:40 naokilucaVPS systemd[1]: Failed to start The nginx HTTP and reverse proxy server.
66
+ ░░ Subject: A start job for unit nginx.service has failed
67
+ ░░ Defined-By: systemd
68
+ ░░ Support: https://access.redhat.com/support
69
+ ░░
70
+ ░░ A start job for unit nginx.service has finished with a failure.
71
+ ░░
72
+ ░░ The job identifier is 162426 and the job result is failed.
73
+ lines 376-404/404 (END)
74
+ ```
17
75
 
18
76
  ### 該当のソースコード
19
77
 
20
78
  #### ディレクトリ構成
21
79
 
80
+ ```
22
- /etc/nginx/:
81
+ /etc/nginx/:
23
- - default.d
82
+ - default.d
24
- - conf.d:
83
+ - conf.d:
25
- ○ssl.conf(設定ファイル)
84
+ ○ssl.conf(設定ファイル)
26
- - ssl.key:
85
+ - ssl.key:
27
- ○server.key(秘密鍵)
86
+ ○server.key(秘密鍵)
28
- - ssl.csr:
87
+ - ssl.csr:
29
- ○server.csr
88
+ ○server.csr
30
- - ssl.ctr:
89
+ - ssl.ctr:
31
- ○server.crt
90
+ ○server.crt
32
- ○JPRS_DVCA_G4_PEM.cer
91
+ ○JPRS_DVCA_G4_PEM.cer
33
- ○ssl.pem(上記2つを結合したもの)
92
+ ○ssl.pem(上記2つを結合したもの)
93
+ ```
34
94
 
35
95
  #### 設定ファイル
36
96
 
@@ -72,43 +132,6 @@
72
132
  知識不足のためどのあたりをコピーすればよいかわかりませんので、最近の7,000字ほどを記載します。
73
133
 
74
134
  ```
75
- 2023/09/11 08:59:53 [error] 208887#208887: *30367 open() "/var/www/html/.env" failed (2: No such file or directory), client: 149.102.235.76, server: nikukyu.com, request: "HEAD /.env HTTP/1.1", host: "160.16.68.34"
76
- 2023/09/11 09:20:54 [notice] 208886#208886: signal 3 (SIGQUIT) received from 1, shutting down
77
- 2023/09/11 09:20:54 [notice] 208887#208887: gracefully shutting down
78
- 2023/09/11 09:20:54 [notice] 208888#208888: gracefully shutting down
79
- 2023/09/11 09:20:54 [notice] 208887#208887: exiting
80
- 2023/09/11 09:20:54 [notice] 208888#208888: exiting
81
- 2023/09/11 09:20:54 [notice] 208888#208888: exit
82
- 2023/09/11 09:20:54 [notice] 208887#208887: exit
83
- 2023/09/11 09:20:55 [notice] 208886#208886: signal 17 (SIGCHLD) received from 208887
84
- 2023/09/11 09:20:55 [notice] 208886#208886: worker process 208887 exited with code 0
85
- 2023/09/11 09:20:55 [notice] 208886#208886: signal 29 (SIGIO) received
86
- 2023/09/11 09:20:55 [notice] 208886#208886: signal 17 (SIGCHLD) received from 208888
87
- 2023/09/11 09:20:55 [notice] 208886#208886: worker process 208888 exited with code 0
88
- 2023/09/11 09:20:55 [notice] 208886#208886: exit
89
- 2023/09/11 09:20:55 [warn] 1616623#1616623: conflicting server name "nikukyu.com" on 0.0.0.0:80, ignored
90
- 2023/09/11 09:20:55 [warn] 1616623#1616623: conflicting server name "www.nikukyu.com" on 0.0.0.0:80, ignored
91
- 2023/09/11 09:20:55 [warn] 1616625#1616625: conflicting server name "nikukyu.com" on 0.0.0.0:80, ignored
92
- 2023/09/11 09:20:55 [warn] 1616625#1616625: conflicting server name "www.nikukyu.com" on 0.0.0.0:80, ignored
93
- 2023/09/11 09:20:55 [notice] 1616625#1616625: using the "epoll" event method
94
- 2023/09/11 09:20:55 [notice] 1616625#1616625: nginx/1.22.1
95
- 2023/09/11 09:20:55 [notice] 1616625#1616625: built by gcc 11.3.1 20221121 (Red Hat 11.3.1-4) (GCC)
96
- 2023/09/11 09:20:55 [notice] 1616625#1616625: OS: Linux 5.14.0-22.el9.x86_64
97
- 2023/09/11 09:20:55 [notice] 1616625#1616625: getrlimit(RLIMIT_NOFILE): 1024:524288
98
- 2023/09/11 09:20:55 [notice] 1616626#1616626: start worker processes
99
- 2023/09/11 09:20:55 [notice] 1616626#1616626: start worker process 1616627
100
- 2023/09/11 09:20:55 [notice] 1616626#1616626: start worker process 1616628
101
- 2023/09/11 09:27:35 [error] 1616628#1616628: *1 open() "/var/www/html/actuator/gateway/routes" failed (2: No such file or directory), client: 83.97.73.87, server: nikukyu.com, request: "GET /actuator/gateway/routes HTTP/1.1", host: "160.16.68.34:80"
102
- 2023/09/11 09:40:45 [notice] 1616626#1616626: signal 3 (SIGQUIT) received from 1, shutting down
103
- 2023/09/11 09:40:45 [notice] 1616627#1616627: gracefully shutting down
104
- 2023/09/11 09:40:45 [notice] 1616628#1616628: gracefully shutting down
105
- 2023/09/11 09:40:45 [notice] 1616627#1616627: exiting
106
- 2023/09/11 09:40:45 [notice] 1616628#1616628: exiting
107
- 2023/09/11 09:40:45 [notice] 1616628#1616628: exit
108
- 2023/09/11 09:40:45 [notice] 1616627#1616627: exit
109
- 2023/09/11 09:40:45 [notice] 1616626#1616626: signal 17 (SIGCHLD) received from 1616628
110
- 2023/09/11 09:40:45 [notice] 1616626#1616626: worker process 1616628 exited with code 0
111
- 2023/09/11 09:40:45 [notice] 1616626#1616626: signal 29 (SIGIO) received
112
135
  2023/09/11 09:40:45 [notice] 1616626#1616626: signal 17 (SIGCHLD) received from 1616627
113
136
  2023/09/11 09:40:45 [notice] 1616626#1616626: worker process 1616627 exited with code 0
114
137
  2023/09/11 09:40:45 [notice] 1616626#1616626: exit
@@ -151,4 +174,10 @@
151
174
  2023/09/11 13:59:40 [emerg] 1617698#1617698: unknown directive "    listen      " in /etc/nginx/conf.d/ssl.conf:2
152
175
  ```
153
176
 
177
+ #### 補足(2023/9/11 22:36)
178
+
179
+ - エラーログについては、記載時の最新の7,000文字程度をコピーしたのですが、古いものだったのでしょうか。
180
+ - 文字数制限のため、エラーログは一度コメント欄に移します。
181
+ - vim・SCPで確認しても「ssl.pem」は存在していて、中身も確かに結合された証明書の情報が記載されているようです。
182
+
154
- よろしくお願いします。
183
+ 適切な情報を補足できておらずお手数をおかけしてしまうかもしれませんが、何卒よろしくお願いします。

1

コメントでご指摘いただいた、エラーログの内容を一部記載しました。よろしくお願いします。

2023/09/11 06:28

投稿

numin
numin

スコア19

test CHANGED
File without changes
test CHANGED
@@ -65,4 +65,90 @@
65
65
 
66
66
  なお、confファイルを削除するか、SSLに関する記述をコメントアウトすればnginxそのものは正しく動作するようになります。
67
67
 
68
+ #### 補足(2023/9/11 15:24)
69
+
70
+ nginxのエラーログについてですが、数えきれないほど同様のエラーが発生していました。
71
+
72
+ 知識不足のためどのあたりをコピーすればよいかわかりませんので、最近の7,000字ほどを記載します。
73
+
74
+ ```
75
+ 2023/09/11 08:59:53 [error] 208887#208887: *30367 open() "/var/www/html/.env" failed (2: No such file or directory), client: 149.102.235.76, server: nikukyu.com, request: "HEAD /.env HTTP/1.1", host: "160.16.68.34"
76
+ 2023/09/11 09:20:54 [notice] 208886#208886: signal 3 (SIGQUIT) received from 1, shutting down
77
+ 2023/09/11 09:20:54 [notice] 208887#208887: gracefully shutting down
78
+ 2023/09/11 09:20:54 [notice] 208888#208888: gracefully shutting down
79
+ 2023/09/11 09:20:54 [notice] 208887#208887: exiting
80
+ 2023/09/11 09:20:54 [notice] 208888#208888: exiting
81
+ 2023/09/11 09:20:54 [notice] 208888#208888: exit
82
+ 2023/09/11 09:20:54 [notice] 208887#208887: exit
83
+ 2023/09/11 09:20:55 [notice] 208886#208886: signal 17 (SIGCHLD) received from 208887
84
+ 2023/09/11 09:20:55 [notice] 208886#208886: worker process 208887 exited with code 0
85
+ 2023/09/11 09:20:55 [notice] 208886#208886: signal 29 (SIGIO) received
86
+ 2023/09/11 09:20:55 [notice] 208886#208886: signal 17 (SIGCHLD) received from 208888
87
+ 2023/09/11 09:20:55 [notice] 208886#208886: worker process 208888 exited with code 0
88
+ 2023/09/11 09:20:55 [notice] 208886#208886: exit
89
+ 2023/09/11 09:20:55 [warn] 1616623#1616623: conflicting server name "nikukyu.com" on 0.0.0.0:80, ignored
90
+ 2023/09/11 09:20:55 [warn] 1616623#1616623: conflicting server name "www.nikukyu.com" on 0.0.0.0:80, ignored
91
+ 2023/09/11 09:20:55 [warn] 1616625#1616625: conflicting server name "nikukyu.com" on 0.0.0.0:80, ignored
92
+ 2023/09/11 09:20:55 [warn] 1616625#1616625: conflicting server name "www.nikukyu.com" on 0.0.0.0:80, ignored
93
+ 2023/09/11 09:20:55 [notice] 1616625#1616625: using the "epoll" event method
94
+ 2023/09/11 09:20:55 [notice] 1616625#1616625: nginx/1.22.1
95
+ 2023/09/11 09:20:55 [notice] 1616625#1616625: built by gcc 11.3.1 20221121 (Red Hat 11.3.1-4) (GCC)
96
+ 2023/09/11 09:20:55 [notice] 1616625#1616625: OS: Linux 5.14.0-22.el9.x86_64
97
+ 2023/09/11 09:20:55 [notice] 1616625#1616625: getrlimit(RLIMIT_NOFILE): 1024:524288
98
+ 2023/09/11 09:20:55 [notice] 1616626#1616626: start worker processes
99
+ 2023/09/11 09:20:55 [notice] 1616626#1616626: start worker process 1616627
100
+ 2023/09/11 09:20:55 [notice] 1616626#1616626: start worker process 1616628
101
+ 2023/09/11 09:27:35 [error] 1616628#1616628: *1 open() "/var/www/html/actuator/gateway/routes" failed (2: No such file or directory), client: 83.97.73.87, server: nikukyu.com, request: "GET /actuator/gateway/routes HTTP/1.1", host: "160.16.68.34:80"
102
+ 2023/09/11 09:40:45 [notice] 1616626#1616626: signal 3 (SIGQUIT) received from 1, shutting down
103
+ 2023/09/11 09:40:45 [notice] 1616627#1616627: gracefully shutting down
104
+ 2023/09/11 09:40:45 [notice] 1616628#1616628: gracefully shutting down
105
+ 2023/09/11 09:40:45 [notice] 1616627#1616627: exiting
106
+ 2023/09/11 09:40:45 [notice] 1616628#1616628: exiting
107
+ 2023/09/11 09:40:45 [notice] 1616628#1616628: exit
108
+ 2023/09/11 09:40:45 [notice] 1616627#1616627: exit
109
+ 2023/09/11 09:40:45 [notice] 1616626#1616626: signal 17 (SIGCHLD) received from 1616628
110
+ 2023/09/11 09:40:45 [notice] 1616626#1616626: worker process 1616628 exited with code 0
111
+ 2023/09/11 09:40:45 [notice] 1616626#1616626: signal 29 (SIGIO) received
112
+ 2023/09/11 09:40:45 [notice] 1616626#1616626: signal 17 (SIGCHLD) received from 1616627
113
+ 2023/09/11 09:40:45 [notice] 1616626#1616626: worker process 1616627 exited with code 0
114
+ 2023/09/11 09:40:45 [notice] 1616626#1616626: exit
115
+ 2023/09/11 09:40:45 [emerg] 1616776#1616776: cannot load certificate "/etc/nginx/conf.d/ssl.crt/ssl.pem": BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/nginx/conf.d/ssl.crt/ssl.pem, r) error:10000080:BIO routines::no such file)
116
+ 2023/09/11 09:41:01 [emerg] 1616794#1616794: cannot load certificate "/etc/nginx/conf.d/ssl.crt/ssl.pem": BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/nginx/conf.d/ssl.crt/ssl.pem, r) error:10000080:BIO routines::no such file)
117
+ 2023/09/11 09:41:18 [emerg] 1616801#1616801: cannot load certificate "/etc/nginx/conf.d/ssl.crt/ssl.pem": BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/nginx/conf.d/ssl.crt/ssl.pem, r) error:10000080:BIO routines::no such file)
118
+ 2023/09/11 09:42:24 [emerg] 1616846#1616846: cannot load certificate "/etc/nginx/conf.d/ssl.crt/ssl.pem": BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/nginx/conf.d/ssl.crt/ssl.pem, r) error:10000080:BIO routines::no such file)
119
+ 2023/09/11 12:36:57 [emerg] 1617418#1617418: cannot load certificate "/etc/nginx/conf.d/ssl.crt/ssl.pem": BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/nginx/conf.d/ssl.crt/ssl.pem, r) error:10000080:BIO routines::no such file)
120
+ 2023/09/11 12:38:54 [warn] 1617436#1617436: conflicting server name "nikukyu.com" on 0.0.0.0:80, ignored
121
+ 2023/09/11 12:38:54 [warn] 1617436#1617436: conflicting server name "www.nikukyu.com" on 0.0.0.0:80, ignored
122
+ 2023/09/11 12:38:54 [warn] 1617437#1617437: conflicting server name "nikukyu.com" on 0.0.0.0:80, ignored
123
+ 2023/09/11 12:38:54 [warn] 1617437#1617437: conflicting server name "www.nikukyu.com" on 0.0.0.0:80, ignored
124
+ 2023/09/11 12:38:54 [notice] 1617437#1617437: using the "epoll" event method
125
+ 2023/09/11 12:38:54 [notice] 1617437#1617437: nginx/1.22.1
126
+ 2023/09/11 12:38:54 [notice] 1617437#1617437: built by gcc 11.3.1 20221121 (Red Hat 11.3.1-4) (GCC)
127
+ 2023/09/11 12:38:54 [notice] 1617437#1617437: OS: Linux 5.14.0-22.el9.x86_64
128
+ 2023/09/11 12:38:54 [notice] 1617437#1617437: getrlimit(RLIMIT_NOFILE): 1024:524288
129
+ 2023/09/11 12:38:54 [notice] 1617438#1617438: start worker processes
130
+ 2023/09/11 12:38:54 [notice] 1617438#1617438: start worker process 1617439
131
+ 2023/09/11 12:38:54 [notice] 1617438#1617438: start worker process 1617440
132
+ 2023/09/11 12:39:07 [error] 1617439#1617439: *1 open() "/var/www/html/class.js" failed (2: No such file or directory), client: 134.180.155.234, server: nikukyu.com, request: "GET /class.js HTTP/1.1", host: "nikukyu.com", referrer: "http://nikukyu.com/"
133
+ 2023/09/11 12:39:08 [error] 1617440#1617440: *3 open() "/var/www/html/audio/pon.mp3" failed (2: No such file or directory), client: 134.180.155.234, server: nikukyu.com, request: "GET /audio/pon.mp3 HTTP/1.1", host: "nikukyu.com", referrer: "http://nikukyu.com/"
134
+ 2023/09/11 12:39:08 [error] 1617440#1617440: *3 open() "/var/www/html/audio/pon.wav" failed (2: No such file or directory), client: 134.180.155.234, server: nikukyu.com, request: "GET /audio/pon.wav HTTP/1.1", host: "nikukyu.com", referrer: "http://nikukyu.com/"
135
+ 2023/09/11 12:56:00 [notice] 1617438#1617438: signal 3 (SIGQUIT) received from 1, shutting down
136
+ 2023/09/11 12:56:00 [notice] 1617439#1617439: gracefully shutting down
137
+ 2023/09/11 12:56:00 [notice] 1617439#1617439: exiting
138
+ 2023/09/11 12:56:00 [notice] 1617440#1617440: gracefully shutting down
139
+ 2023/09/11 12:56:00 [notice] 1617440#1617440: exiting
140
+ 2023/09/11 12:56:00 [notice] 1617440#1617440: exit
141
+ 2023/09/11 12:56:00 [notice] 1617439#1617439: exit
142
+ 2023/09/11 12:56:00 [notice] 1617438#1617438: signal 17 (SIGCHLD) received from 1617440
143
+ 2023/09/11 12:56:00 [notice] 1617438#1617438: worker process 1617440 exited with code 0
144
+ 2023/09/11 12:56:00 [notice] 1617438#1617438: signal 29 (SIGIO) received
145
+ 2023/09/11 12:56:00 [notice] 1617438#1617438: signal 17 (SIGCHLD) received from 1617439
146
+ 2023/09/11 12:56:00 [notice] 1617438#1617438: worker process 1617439 exited with code 0
147
+ 2023/09/11 12:56:00 [notice] 1617438#1617438: exit
148
+ 2023/09/11 12:56:00 [emerg] 1617547#1617547: unknown directive "    listen      " in /etc/nginx/conf.d/ssl.conf:2
149
+ 2023/09/11 12:56:09 [emerg] 1617558#1617558: unknown directive "    listen      " in /etc/nginx/conf.d/ssl.conf:2
150
+ 2023/09/11 13:41:48 [emerg] 1617647#1617647: unknown directive "    listen      " in /etc/nginx/conf.d/ssl.conf:2
151
+ 2023/09/11 13:59:40 [emerg] 1617698#1617698: unknown directive "    listen      " in /etc/nginx/conf.d/ssl.conf:2
152
+ ```
153
+
68
154
  よろしくお願いします。