質問編集履歴
2
nginxログの追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -36,6 +36,21 @@
|
|
36
36
|
加えて、nginxのログをみようとすると、 sudo less /var/log/nginx/error.log,
|
37
37
|
|
38
38
|
何もデータが出てきませんでした。
|
39
|
+
```
|
40
|
+
[ec2-user@ip-172-31-45-207 text-31024]$ ps ax | grep nginx
|
41
|
+
10589 ? Ss 0:00 nginx: master process /usr/sbin/nginx
|
42
|
+
10616 ? S 0:00 nginx: worker process
|
43
|
+
10699 pts/0 S+ 0:00 grep --color=auto nginx
|
44
|
+
[ec2-user@ip-172-31-45-207 text-31024]$ ss -natu | grep LISTEN
|
45
|
+
tcp LISTEN 0 128 0.0.0.0:111 0.0.0.0:*
|
46
|
+
tcp LISTEN 0 128 0.0.0.0:80 0.0.0.0:*
|
47
|
+
tcp LISTEN 0 128 0.0.0.0:22 0.0.0.0:*
|
48
|
+
tcp LISTEN 0 100 127.0.0.1:25 0.0.0.0:*
|
49
|
+
tcp LISTEN 0 128 [::]:111 [::]:*
|
50
|
+
tcp LISTEN 0 128 [::]:80 [::]:*
|
51
|
+
tcp LISTEN 0 128 [::]:22 [::]:*
|
52
|
+
```
|
53
|
+
この状態であればnginx自体は稼働しているのでしょうか?
|
39
54
|
|
40
55
|
### 試したこと
|
41
56
|
|
1
nginxのログの確認を実施。
title
CHANGED
File without changes
|
body
CHANGED
@@ -33,6 +33,10 @@
|
|
33
33
|
|
34
34
|
のように多量のルーティングエラーが発生しております。
|
35
35
|
|
36
|
+
加えて、nginxのログをみようとすると、 sudo less /var/log/nginx/error.log,
|
37
|
+
|
38
|
+
何もデータが出てきませんでした。
|
39
|
+
|
36
40
|
### 試したこと
|
37
41
|
|
38
42
|
・EC2の再起動→解決せず。EC2自体は実行中、ステータスチェックも問題ありません。
|