質問編集履歴

1

エラー文の追加

2019/07/19 02:26

投稿

退会済みユーザー
test CHANGED
@@ -1 +1 @@
1
- unicorn 起動できない rails+nginx+unicorn
1
+ unicorn起動できない rails+nginx+unicorn
test CHANGED
@@ -1,4 +1,4 @@
1
- ## 前提
1
+ ## 背景
2
2
 
3
3
  EC2にてRailsアプリケーションをデプロイを行っている最中です。
4
4
 
@@ -209,3 +209,47 @@
209
209
  - /home/seiya/.rbenv/versions/2.5.3/bin/unicorn_railsが存在するか確認したが存在する。
210
210
 
211
211
  - unicorn 5.4.1バージョンで固定すると解消されるという記事を参考にunicornのバージョンを落としてインストールし直したがエラー内容に変化なし。
212
+
213
+ - 一応nginxでエラーが出ていないか確認したが問題はなさそうに見えた。
214
+
215
+
216
+
217
+ sudo service nginx status
218
+
219
+ ```
220
+
221
+ ● nginx.service - The nginx HTTP and reverse proxy server
222
+
223
+ Loaded: loaded (/usr/lib/systemd/system/nginx.service; disabled; vendor preset: disabled)
224
+
225
+ Active: active (running) since 木 2019-07-18 05:46:07 UTC; 20h ago
226
+
227
+ Process: 12313 ExecStart=/usr/sbin/nginx (code=exited, status=0/SUCCESS)
228
+
229
+ Process: 12310 ExecStartPre=/usr/sbin/nginx -t (code=exited, status=0/SUCCESS)
230
+
231
+ Process: 12309 ExecStartPre=/usr/bin/rm -f /run/nginx.pid (code=exited, status=0/SUCCESS)
232
+
233
+ Main PID: 12316 (nginx)
234
+
235
+ CGroup: /system.slice/nginx.service
236
+
237
+ ├─12316 nginx: master process /usr/sbin/nginx
238
+
239
+ └─12318 nginx: worker process
240
+
241
+
242
+
243
+ 7月 18 05:46:06 ip-10-0-0-134.us-east-2.compute.internal systemd[1]: Starting The nginx HTTP and reverse prox.....
244
+
245
+ 7月 18 05:46:06 ip-10-0-0-134.us-east-2.compute.internal nginx[12310]: nginx: the configuration file /etc/ngi...ok
246
+
247
+ 7月 18 05:46:06 ip-10-0-0-134.us-east-2.compute.internal nginx[12310]: nginx: configuration file /etc/nginx/n...ul
248
+
249
+ 7月 18 05:46:06 ip-10-0-0-134.us-east-2.compute.internal systemd[1]: Failed to read PID from file /run/nginx....nt
250
+
251
+ 7月 18 05:46:07 ip-10-0-0-134.us-east-2.compute.internal systemd[1]: Started The nginx HTTP and reverse proxy...r.
252
+
253
+ Hint: Some lines were ellipsized, use -l to show in full.
254
+
255
+ ```