質問編集履歴

4

発生している問題・エラーメッセージを修正

2017/04/04 08:03

投稿

dnnksk
dnnksk

スコア8

test CHANGED
File without changes
test CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  ###発生している問題・エラーメッセージ
10
10
 
11
- http://localhost:8080またはhttp://localhost:8065に接続すると,mattermostのログイン画面が表示されるの,nginx→Mattermostの接続はできていますがブラウザでhttp://localhost/mattermostにアクセスすると何も表示されません
11
+ http://localhost:8065にアクセスすると,http://localhost:8065/loginリダイレクトされ,mattermostのログイン画面が表示されます.http://localhost:8065も同様す.http://localhost/mattermostにアクセスすると空白ページ,http://localhost/mattermost/loginにアクセスすると,このアドレスへのリクエストに対するサーバーの自動転送設定がループしています。というエラーが表示されました
12
12
 
13
13
 
14
14
 

3

エラーログを修正

2017/04/04 08:03

投稿

dnnksk
dnnksk

スコア8

test CHANGED
File without changes
test CHANGED
@@ -158,19 +158,35 @@
158
158
 
159
159
  [Mon Apr 03 18:23:26.292102 2017] [proxy:debug] [pid 19622] mod_proxy.c(1117): [client XXX.XXX.XX.XXX:56324] AH01143: Running scheme http handler (attempt 0)
160
160
 
161
- [Mon Apr 03 18:23:26.292131 2017] [proxy_ajp:debug] [pid 19622] mod_proxy_ajp.c(713): [client XXX.XXX.XX.XXX:56324] AH00894: declining URL http://localhost:8080/mattermost/ [Mon Apr 03 18:23:26.292876 2017] [proxy_fcgi:debug] [pid 19622] mod_proxy_fcgi.c(963): [client XXX.XXX.XX.XXX:56324] AH01076: url: http://localhost:8080/mattermost/ proxyname: (null) proxyport: 0
162
-
163
- [Mon Apr 03 18:23:26.292889 2017] [proxy_fcgi:debug] [pid 19622] mod_proxy_fcgi.c(966): [client XXX.XXX.XX.XXX:56324] AH01077: declining URL http://localhost:8080/mattermost/ [Mon Apr 03 18:23:26.294088 2017] [proxy:debug] [pid 19622] proxy_util.c(2203): AH00942: HTTP: has acquired connection for (localhost)
161
+ [Mon Apr 03 18:23:26.292131 2017] [proxy_ajp:debug] [pid 19622] mod_proxy_ajp.c(713): [client XXX.XXX.XX.XXX:56324] AH00894: declining URL http://localhost:8080/mattermost/
162
+
163
+ [Mon Apr 03 18:23:26.292876 2017] [proxy_fcgi:debug] [pid 19622] mod_proxy_fcgi.c(963): [client XXX.XXX.XX.XXX:56324] AH01076: url: http://localhost:8080/mattermost/ proxyname: (null) proxyport: 0
164
+
165
+ [Mon Apr 03 18:23:26.292889 2017] [proxy_fcgi:debug] [pid 19622] mod_proxy_fcgi.c(966): [client XXX.XXX.XX.XXX:56324] AH01077: declining URL http://localhost:8080/mattermost/
166
+
167
+ [Mon Apr 03 18:23:26.294088 2017] [proxy:debug] [pid 19622] proxy_util.c(2203): AH00942: HTTP: has acquired connection for (localhost)
164
168
 
165
169
  [Mon Apr 03 18:23:26.294115 2017] [proxy:debug] [pid 19622] proxy_util.c(2256): [client XXX.XXX.XX.XXX:56324] AH00944: connecting http://localhost:8080/mattermost/ to localhost:8080
166
170
 
167
- [Mon Apr 03 18:23:26.298185 2017] [proxy:debug] [pid 19622] proxy_util.c(2422): [client XXX.XXX.XX.XXX:56324] AH00947: connected /mattermost/ to localhost:8080 [Mon Apr 03 18:23:26.298723 2017] [proxy:debug] [pid 19622] proxy_util.c(2798): AH02824: HTTP: connection established with XXX.XXX.XX.XXX:8080 (localhost)
171
+ [Mon Apr 03 18:23:26.298185 2017] [proxy:debug] [pid 19622] proxy_util.c(2422): [client XXX.XXX.XX.XXX:56324] AH00947: connected /mattermost/ to localhost:8080
172
+
173
+ [Mon Apr 03 18:23:26.298723 2017] [proxy:debug] [pid 19622] proxy_util.c(2798): AH02824: HTTP: connection established with XXX.XXX.XX.XXX:8080 (localhost)
168
174
 
169
175
  [Mon Apr 03 18:23:26.298766 2017] [proxy:debug] [pid 19622] proxy_util.c(2923): AH00962: HTTP: connection complete to XXX.XXX.XX.XXX:8080 (localhost)
170
176
 
171
177
  [Mon Apr 03 18:23:26.314379 2017] [proxy:debug] [pid 19622] proxy_util.c(2218): AH00943: http: has released connection for (localhost)
172
178
 
173
- [Mon Apr 03 18:23:26.693932 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(809): [client XXX.XXX.XX.XXX:56324] AH01626: authorization result of Require all granted: granted [Mon Apr 03 18:23:26.693964 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(809): [client XXX.XXX.XX.XXX:56324] AH01626: authorization result of <RequireAny>: granted [Mon Apr 03 18:23:26.694016 2017] [core:info] [pid 19622] [client XXX.XXX.XX.XXX:56324] AH00128: File does not exist: /var/www/html/static/main.598ce99103ba6aaf3db4.js [Mon Apr 03 18:23:26.766116 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(809): [client XXX.XXX.XX.XXX:56324] AH01626: authorization result of Require all granted: granted [Mon Apr 03 18:23:26.766153 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(809): [client XXX.XXX.XX.XXX:56324] AH01626: authorization result of <RequireAny>: granted [Mon Apr 03 18:23:26.766205 2017] [core:info] [pid 19622] [client XXX.XXX.XX.XXX:56324] AH00128: File does not exist: /var/www/html/static/files/0d367a00a16bde58f7e87c4481516a68.png
179
+ [Mon Apr 03 18:23:26.693932 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(809): [client XXX.XXX.XX.XXX:56324] AH01626: authorization result of Require all granted: granted
180
+
181
+ [Mon Apr 03 18:23:26.693964 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(809): [client XXX.XXX.XX.XXX:56324] AH01626: authorization result of <RequireAny>: granted
182
+
183
+ [Mon Apr 03 18:23:26.694016 2017] [core:info] [pid 19622] [client XXX.XXX.XX.XXX:56324] AH00128: File does not exist: /var/www/html/static/main.598ce99103ba6aaf3db4.js
184
+
185
+ [Mon Apr 03 18:23:26.766116 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(809): [client XXX.XXX.XX.XXX:56324] AH01626: authorization result of Require all granted: granted
186
+
187
+ [Mon Apr 03 18:23:26.766153 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(809): [client XXX.XXX.XX.XXX:56324] AH01626: authorization result of <RequireAny>: granted
188
+
189
+ [Mon Apr 03 18:23:26.766205 2017] [core:info] [pid 19622] [client XXX.XXX.XX.XXX:56324] AH00128: File does not exist: /var/www/html/static/files/0d367a00a16bde58f7e87c4481516a68.png
174
190
 
175
191
  ```
176
192
 

2

エラーログを修正

2017/04/04 06:11

投稿

dnnksk
dnnksk

スコア8

test CHANGED
File without changes
test CHANGED
@@ -154,7 +154,23 @@
154
154
 
155
155
  ```
156
156
 
157
- [Mon Apr 03 18:23:26.280899 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(835): [client XXX.XXX.XX.XXX:56324] AH01628: authorization result: granted (no directives) [Mon Apr 03 18:23:26.292102 2017] [proxy:debug] [pid 19622] mod_proxy.c(1117): [client XXX.XXX.XX.XXX:56324] AH01143: Running scheme http handler (attempt 0) [Mon Apr 03 18:23:26.292131 2017] [proxy_ajp:debug] [pid 19622] mod_proxy_ajp.c(713): [client XXX.XXX.XX.XXX:56324] AH00894: declining URL http://localhost:8080/mattermost/ [Mon Apr 03 18:23:26.292876 2017] [proxy_fcgi:debug] [pid 19622] mod_proxy_fcgi.c(963): [client XXX.XXX.XX.XXX:56324] AH01076: url: http://localhost:8080/mattermost/ proxyname: (null) proxyport: 0 [Mon Apr 03 18:23:26.292889 2017] [proxy_fcgi:debug] [pid 19622] mod_proxy_fcgi.c(966): [client XXX.XXX.XX.XXX:56324] AH01077: declining URL http://localhost:8080/mattermost/ [Mon Apr 03 18:23:26.294088 2017] [proxy:debug] [pid 19622] proxy_util.c(2203): AH00942: HTTP: has acquired connection for (localhost) [Mon Apr 03 18:23:26.294115 2017] [proxy:debug] [pid 19622] proxy_util.c(2256): [client XXX.XXX.XX.XXX:56324] AH00944: connecting http://localhost:8080/mattermost/ to localhost:8080 [Mon Apr 03 18:23:26.298185 2017] [proxy:debug] [pid 19622] proxy_util.c(2422): [client XXX.XXX.XX.XXX:56324] AH00947: connected /mattermost/ to localhost:8080 [Mon Apr 03 18:23:26.298723 2017] [proxy:debug] [pid 19622] proxy_util.c(2798): AH02824: HTTP: connection established with XXX.XXX.XX.XXX:8080 (localhost) [Mon Apr 03 18:23:26.298766 2017] [proxy:debug] [pid 19622] proxy_util.c(2923): AH00962: HTTP: connection complete to XXX.XXX.XX.XXX:8080 (localhost) [Mon Apr 03 18:23:26.314379 2017] [proxy:debug] [pid 19622] proxy_util.c(2218): AH00943: http: has released connection for (localhost) [Mon Apr 03 18:23:26.693932 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(809): [client XXX.XXX.XX.XXX:56324] AH01626: authorization result of Require all granted: granted [Mon Apr 03 18:23:26.693964 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(809): [client XXX.XXX.XX.XXX:56324] AH01626: authorization result of <RequireAny>: granted [Mon Apr 03 18:23:26.694016 2017] [core:info] [pid 19622] [client XXX.XXX.XX.XXX:56324] AH00128: File does not exist: /var/www/html/static/main.598ce99103ba6aaf3db4.js [Mon Apr 03 18:23:26.766116 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(809): [client XXX.XXX.XX.XXX:56324] AH01626: authorization result of Require all granted: granted [Mon Apr 03 18:23:26.766153 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(809): [client XXX.XXX.XX.XXX:56324] AH01626: authorization result of <RequireAny>: granted [Mon Apr 03 18:23:26.766205 2017] [core:info] [pid 19622] [client XXX.XXX.XX.XXX:56324] AH00128: File does not exist: /var/www/html/static/files/0d367a00a16bde58f7e87c4481516a68.png
157
+ [Mon Apr 03 18:23:26.280899 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(835): [client XXX.XXX.XX.XXX:56324] AH01628: authorization result: granted (no directives)
158
+
159
+ [Mon Apr 03 18:23:26.292102 2017] [proxy:debug] [pid 19622] mod_proxy.c(1117): [client XXX.XXX.XX.XXX:56324] AH01143: Running scheme http handler (attempt 0)
160
+
161
+ [Mon Apr 03 18:23:26.292131 2017] [proxy_ajp:debug] [pid 19622] mod_proxy_ajp.c(713): [client XXX.XXX.XX.XXX:56324] AH00894: declining URL http://localhost:8080/mattermost/ [Mon Apr 03 18:23:26.292876 2017] [proxy_fcgi:debug] [pid 19622] mod_proxy_fcgi.c(963): [client XXX.XXX.XX.XXX:56324] AH01076: url: http://localhost:8080/mattermost/ proxyname: (null) proxyport: 0
162
+
163
+ [Mon Apr 03 18:23:26.292889 2017] [proxy_fcgi:debug] [pid 19622] mod_proxy_fcgi.c(966): [client XXX.XXX.XX.XXX:56324] AH01077: declining URL http://localhost:8080/mattermost/ [Mon Apr 03 18:23:26.294088 2017] [proxy:debug] [pid 19622] proxy_util.c(2203): AH00942: HTTP: has acquired connection for (localhost)
164
+
165
+ [Mon Apr 03 18:23:26.294115 2017] [proxy:debug] [pid 19622] proxy_util.c(2256): [client XXX.XXX.XX.XXX:56324] AH00944: connecting http://localhost:8080/mattermost/ to localhost:8080
166
+
167
+ [Mon Apr 03 18:23:26.298185 2017] [proxy:debug] [pid 19622] proxy_util.c(2422): [client XXX.XXX.XX.XXX:56324] AH00947: connected /mattermost/ to localhost:8080 [Mon Apr 03 18:23:26.298723 2017] [proxy:debug] [pid 19622] proxy_util.c(2798): AH02824: HTTP: connection established with XXX.XXX.XX.XXX:8080 (localhost)
168
+
169
+ [Mon Apr 03 18:23:26.298766 2017] [proxy:debug] [pid 19622] proxy_util.c(2923): AH00962: HTTP: connection complete to XXX.XXX.XX.XXX:8080 (localhost)
170
+
171
+ [Mon Apr 03 18:23:26.314379 2017] [proxy:debug] [pid 19622] proxy_util.c(2218): AH00943: http: has released connection for (localhost)
172
+
173
+ [Mon Apr 03 18:23:26.693932 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(809): [client XXX.XXX.XX.XXX:56324] AH01626: authorization result of Require all granted: granted [Mon Apr 03 18:23:26.693964 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(809): [client XXX.XXX.XX.XXX:56324] AH01626: authorization result of <RequireAny>: granted [Mon Apr 03 18:23:26.694016 2017] [core:info] [pid 19622] [client XXX.XXX.XX.XXX:56324] AH00128: File does not exist: /var/www/html/static/main.598ce99103ba6aaf3db4.js [Mon Apr 03 18:23:26.766116 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(809): [client XXX.XXX.XX.XXX:56324] AH01626: authorization result of Require all granted: granted [Mon Apr 03 18:23:26.766153 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(809): [client XXX.XXX.XX.XXX:56324] AH01626: authorization result of <RequireAny>: granted [Mon Apr 03 18:23:26.766205 2017] [core:info] [pid 19622] [client XXX.XXX.XX.XXX:56324] AH00128: File does not exist: /var/www/html/static/files/0d367a00a16bde58f7e87c4481516a68.png
158
174
 
159
175
  ```
160
176
 

1

エラーログの追加等

2017/04/04 06:10

投稿

dnnksk
dnnksk

スコア8

test CHANGED
File without changes
test CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  ###発生している問題・エラーメッセージ
10
10
 
11
- http://localhost:8080にアクセスすると,http://localhost:8065と同じ結果るので,nginx→Mattermostの接続はできていますが,ブラウザでhttp://localhost/mattermostにアクセスすると何も表示されません.
11
+ http://localhost:8080またはhttp://localhost:8065に接続すと,mattermostログイン画面が表示されるので,nginx→Mattermostの接続はできていますが,ブラウザでhttp://localhost/mattermostにアクセスすると何も表示されません.
12
12
 
13
13
 
14
14
 
@@ -142,7 +142,21 @@
142
142
 
143
143
  と同じ結果が返ってきます.
144
144
 
145
+ ```
145
146
 
147
+ <!DOCTYPE html> <html> <head> <meta http-equiv=X-UA-Compatible content="IE=edge"> <meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"> <meta name=robots content="noindex, nofollow"> <meta name=referrer content=no-referrer> <title>Mattermost</title> <meta name=apple-mobile-web-app-capable content=yes> <meta name=apple-mobile-web-app-status-bar-style content=default> <meta name=mobile-web-app-capable content=yes> <meta name=apple-mobile-web-app-title content=Mattermost> <meta name=application-name content=Mattermost> <meta name=format-detection content="telephone=no"> <link rel=apple-touch-icon sizes=57x57 href=/static/files/787db8d8b82538cc1d5e8bcb8c21722d.png> <link rel=apple-touch-icon sizes=60x60 href=/static/files/cd9987714f4d92336c3ab203ff150a9a.png> <link rel=apple-touch-icon sizes=72x72 href=/static/files/1728fd5a009aabc77654b1f958c6f596.png> <link rel=apple-touch-icon sizes=76x76 href=/static/files/17cb12b7fc37d8229a6e72f3d6da0949.png> <link rel=apple-touch-icon sizes=144x144 href=/static/files/fba6362db1d8b3e27c9fb02fd0695c85.png> <link rel=apple-touch-icon sizes=120x120 href=/static/files/08959a08dc2488dfeb8660fc4630b145.png> <link rel=apple-touch-icon sizes=152x152 href=/static/files/bca263be9acd1df84b988b02c621b8ca.png> <link rel=icon type=image/png sizes=16x16 href=/static/files/532142b052832f94ffc35860545a7e5c.png> <link rel=icon type=image/png sizes=32x32 href=/static/files/c220e89731c31367c0f4e86e3442bee0.png> <link rel=icon type=image/png sizes=96x96 href=/static/files/173682cef105829829a008f1fc97e980.png> <link rel=icon type=image/png sizes=192x192 href=/static/files/0d367a00a16bde58f7e87c4481516a68.png> <link rel=manifest href=/static/files/fee9721a6305a49662a40ffd052a7965.json> <link rel=stylesheet class=code_theme> <script type="text/javascript" src="/static/main.598ce99103ba6aaf3db4.js"></script></head> <body> <div id=root> <div class=loading-screen style=position:relative> <div class=loading__content> <div class="round round-1"></div> <div class="round round-2"></div> <div class="round round-3"></div> </div> </div> </div> <script>window.setup_root()</script> <noscript> To use Mattermost, please enable JavaScript. </noscript> </body> </html>
148
+
149
+ ```
150
+
151
+
152
+
153
+ http://localhost/mattermostに接続した際のエラーログです.
154
+
155
+ ```
156
+
157
+ [Mon Apr 03 18:23:26.280899 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(835): [client XXX.XXX.XX.XXX:56324] AH01628: authorization result: granted (no directives) [Mon Apr 03 18:23:26.292102 2017] [proxy:debug] [pid 19622] mod_proxy.c(1117): [client XXX.XXX.XX.XXX:56324] AH01143: Running scheme http handler (attempt 0) [Mon Apr 03 18:23:26.292131 2017] [proxy_ajp:debug] [pid 19622] mod_proxy_ajp.c(713): [client XXX.XXX.XX.XXX:56324] AH00894: declining URL http://localhost:8080/mattermost/ [Mon Apr 03 18:23:26.292876 2017] [proxy_fcgi:debug] [pid 19622] mod_proxy_fcgi.c(963): [client XXX.XXX.XX.XXX:56324] AH01076: url: http://localhost:8080/mattermost/ proxyname: (null) proxyport: 0 [Mon Apr 03 18:23:26.292889 2017] [proxy_fcgi:debug] [pid 19622] mod_proxy_fcgi.c(966): [client XXX.XXX.XX.XXX:56324] AH01077: declining URL http://localhost:8080/mattermost/ [Mon Apr 03 18:23:26.294088 2017] [proxy:debug] [pid 19622] proxy_util.c(2203): AH00942: HTTP: has acquired connection for (localhost) [Mon Apr 03 18:23:26.294115 2017] [proxy:debug] [pid 19622] proxy_util.c(2256): [client XXX.XXX.XX.XXX:56324] AH00944: connecting http://localhost:8080/mattermost/ to localhost:8080 [Mon Apr 03 18:23:26.298185 2017] [proxy:debug] [pid 19622] proxy_util.c(2422): [client XXX.XXX.XX.XXX:56324] AH00947: connected /mattermost/ to localhost:8080 [Mon Apr 03 18:23:26.298723 2017] [proxy:debug] [pid 19622] proxy_util.c(2798): AH02824: HTTP: connection established with XXX.XXX.XX.XXX:8080 (localhost) [Mon Apr 03 18:23:26.298766 2017] [proxy:debug] [pid 19622] proxy_util.c(2923): AH00962: HTTP: connection complete to XXX.XXX.XX.XXX:8080 (localhost) [Mon Apr 03 18:23:26.314379 2017] [proxy:debug] [pid 19622] proxy_util.c(2218): AH00943: http: has released connection for (localhost) [Mon Apr 03 18:23:26.693932 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(809): [client XXX.XXX.XX.XXX:56324] AH01626: authorization result of Require all granted: granted [Mon Apr 03 18:23:26.693964 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(809): [client XXX.XXX.XX.XXX:56324] AH01626: authorization result of <RequireAny>: granted [Mon Apr 03 18:23:26.694016 2017] [core:info] [pid 19622] [client XXX.XXX.XX.XXX:56324] AH00128: File does not exist: /var/www/html/static/main.598ce99103ba6aaf3db4.js [Mon Apr 03 18:23:26.766116 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(809): [client XXX.XXX.XX.XXX:56324] AH01626: authorization result of Require all granted: granted [Mon Apr 03 18:23:26.766153 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(809): [client XXX.XXX.XX.XXX:56324] AH01626: authorization result of <RequireAny>: granted [Mon Apr 03 18:23:26.766205 2017] [core:info] [pid 19622] [client XXX.XXX.XX.XXX:56324] AH00128: File does not exist: /var/www/html/static/files/0d367a00a16bde58f7e87c4481516a68.png
158
+
159
+ ```
146
160
 
147
161
 
148
162