質問編集履歴
3
apache error log 更新します。こちらが最新です。
test
CHANGED
File without changes
|
test
CHANGED
@@ -136,41 +136,19 @@
|
|
136
136
|
|
137
137
|
```
|
138
138
|
|
139
|
-
[Sun Jul 09 13:
|
139
|
+
[Sun Jul 09 13:58:11.082066 2017] [mpm_prefork:notice] [pid 27140] AH00170: caught SIGWINCH, shutting down gracefully
|
140
140
|
|
141
|
-
[Sun Jul 09 13:
|
141
|
+
[Sun Jul 09 13:58:12.198682 2017] [suexec:notice] [pid 27265] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
|
142
142
|
|
143
|
-
[Sun Jul 09 13:
|
143
|
+
[Sun Jul 09 13:58:12.218016 2017] [auth_digest:notice] [pid 27265] AH01757: generating secret for digest authentication ...
|
144
144
|
|
145
|
-
[Sun Jul 09 13:
|
145
|
+
[Sun Jul 09 13:58:12.218726 2017] [lbmethod_heartbeat:notice] [pid 27265] AH02282: No slotmem from mod_heartmonitor
|
146
146
|
|
147
|
-
[Sun Jul 09 13:
|
147
|
+
[Sun Jul 09 13:58:12.223378 2017] [mpm_prefork:notice] [pid 27265] AH00163: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations
|
148
148
|
|
149
|
-
[Sun Jul 09 13:
|
149
|
+
[Sun Jul 09 13:58:12.223404 2017] [core:notice] [pid 27265] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
|
150
150
|
|
151
|
-
[Sun Jul 09 13:33:05.155353 2017] [:error] [pid 27146] [client 111.104.38.104:60575] mod_wsgi (pid=27146): Target WSGI script '/var/www/site/hello.py' cannot be loaded as Python module.
|
152
|
-
|
153
|
-
[Sun Jul 09 13:
|
151
|
+
[Sun Jul 09 13:58:15.424388 2017] [:error] [pid 27271] [client 111.104.38.104:60837] No WSGI daemon process called 'yourapp' has been configured: /var/www/site/wsgi.py
|
154
|
-
|
155
|
-
[Sun Jul 09 13:33:05.155457 2017] [:error] [pid 27146] [client 111.104.38.104:60575] Traceback (most recent call last):
|
156
|
-
|
157
|
-
[Sun Jul 09 13:33:05.155489 2017] [:error] [pid 27146] [client 111.104.38.104:60575] File "/var/www/site/hello.py", line 1, in <module>
|
158
|
-
|
159
|
-
[Sun Jul 09 13:33:05.155558 2017] [:error] [pid 27146] [client 111.104.38.104:60575] from django.http import HttpResponse
|
160
|
-
|
161
|
-
[Sun Jul 09 13:33:05.155581 2017] [:error] [pid 27146] [client 111.104.38.104:60575] ImportError: No module named django.http
|
162
|
-
|
163
|
-
[Sun Jul 09 13:33:08.417393 2017] [:error] [pid 27143] [client 111.104.38.104:60576] mod_wsgi (pid=27143): Target WSGI script '/var/www/site/hello.py' cannot be loaded as Python module.
|
164
|
-
|
165
|
-
[Sun Jul 09 13:33:08.417445 2017] [:error] [pid 27143] [client 111.104.38.104:60576] mod_wsgi (pid=27143): Exception occurred processing WSGI script '/var/www/site/hello.py'.
|
166
|
-
|
167
|
-
[Sun Jul 09 13:33:08.417461 2017] [:error] [pid 27143] [client 111.104.38.104:60576] Traceback (most recent call last):
|
168
|
-
|
169
|
-
[Sun Jul 09 13:33:08.417494 2017] [:error] [pid 27143] [client 111.104.38.104:60576] File "/var/www/site/hello.py", line 1, in <module>
|
170
|
-
|
171
|
-
[Sun Jul 09 13:33:08.417559 2017] [:error] [pid 27143] [client 111.104.38.104:60576] from django.http import HttpResponse
|
172
|
-
|
173
|
-
[Sun Jul 09 13:33:08.417576 2017] [:error] [pid 27143] [client 111.104.38.104:60576] ImportError: No module named django.http
|
174
152
|
|
175
153
|
|
176
154
|
|
2
error log を追記しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -132,6 +132,50 @@
|
|
132
132
|
|
133
133
|
|
134
134
|
|
135
|
+
[apache error_log]
|
136
|
+
|
137
|
+
```
|
138
|
+
|
139
|
+
[Sun Jul 09 13:32:33.551987 2017] [mpm_prefork:notice] [pid 25040] AH00170: caught SIGWINCH, shutting down gracefully
|
140
|
+
|
141
|
+
[Sun Jul 09 13:32:34.745400 2017] [suexec:notice] [pid 27140] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
|
142
|
+
|
143
|
+
[Sun Jul 09 13:32:34.770069 2017] [auth_digest:notice] [pid 27140] AH01757: generating secret for digest authentication ...
|
144
|
+
|
145
|
+
[Sun Jul 09 13:32:34.771424 2017] [lbmethod_heartbeat:notice] [pid 27140] AH02282: No slotmem from mod_heartmonitor
|
146
|
+
|
147
|
+
[Sun Jul 09 13:32:34.777389 2017] [mpm_prefork:notice] [pid 27140] AH00163: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations
|
148
|
+
|
149
|
+
[Sun Jul 09 13:32:34.777439 2017] [core:notice] [pid 27140] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
|
150
|
+
|
151
|
+
[Sun Jul 09 13:33:05.155353 2017] [:error] [pid 27146] [client 111.104.38.104:60575] mod_wsgi (pid=27146): Target WSGI script '/var/www/site/hello.py' cannot be loaded as Python module.
|
152
|
+
|
153
|
+
[Sun Jul 09 13:33:05.155420 2017] [:error] [pid 27146] [client 111.104.38.104:60575] mod_wsgi (pid=27146): Exception occurred processing WSGI script '/var/www/site/hello.py'.
|
154
|
+
|
155
|
+
[Sun Jul 09 13:33:05.155457 2017] [:error] [pid 27146] [client 111.104.38.104:60575] Traceback (most recent call last):
|
156
|
+
|
157
|
+
[Sun Jul 09 13:33:05.155489 2017] [:error] [pid 27146] [client 111.104.38.104:60575] File "/var/www/site/hello.py", line 1, in <module>
|
158
|
+
|
159
|
+
[Sun Jul 09 13:33:05.155558 2017] [:error] [pid 27146] [client 111.104.38.104:60575] from django.http import HttpResponse
|
160
|
+
|
161
|
+
[Sun Jul 09 13:33:05.155581 2017] [:error] [pid 27146] [client 111.104.38.104:60575] ImportError: No module named django.http
|
162
|
+
|
163
|
+
[Sun Jul 09 13:33:08.417393 2017] [:error] [pid 27143] [client 111.104.38.104:60576] mod_wsgi (pid=27143): Target WSGI script '/var/www/site/hello.py' cannot be loaded as Python module.
|
164
|
+
|
165
|
+
[Sun Jul 09 13:33:08.417445 2017] [:error] [pid 27143] [client 111.104.38.104:60576] mod_wsgi (pid=27143): Exception occurred processing WSGI script '/var/www/site/hello.py'.
|
166
|
+
|
167
|
+
[Sun Jul 09 13:33:08.417461 2017] [:error] [pid 27143] [client 111.104.38.104:60576] Traceback (most recent call last):
|
168
|
+
|
169
|
+
[Sun Jul 09 13:33:08.417494 2017] [:error] [pid 27143] [client 111.104.38.104:60576] File "/var/www/site/hello.py", line 1, in <module>
|
170
|
+
|
171
|
+
[Sun Jul 09 13:33:08.417559 2017] [:error] [pid 27143] [client 111.104.38.104:60576] from django.http import HttpResponse
|
172
|
+
|
173
|
+
[Sun Jul 09 13:33:08.417576 2017] [:error] [pid 27143] [client 111.104.38.104:60576] ImportError: No module named django.http
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
```
|
178
|
+
|
135
179
|
参考にした資料
|
136
180
|
|
137
181
|
[https://teratail.com/questions/80949](https://teratail.com/questions/80949)
|
1
誤字訂正
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
```
|
16
16
|
|
17
|
-
具体的には
|
17
|
+
具体的には/var~~からの先のコードなのですが
|
18
18
|
|
19
19
|
1. mod_wsgiをインストールした際に作られたファイルのパスを指定?
|
20
20
|
|