サーバーソフト:Apache2.4
フレームワーク:Django3.0.1
Python 3.6.2
アプリ起動時に下記のようなエラーが発生します。
[wsgi:error] [pid 12952:tid 1488] Using selector: SelectSelector\r
解決方法が知りたいです。
Apache(×)だと
Using selector: SelectSelector\r
djangoのみ(〇)だと
Using selector: SelectSelector
違いなのですが...
実行コマンドは下記です。
c:\Apache24\bin\httpd.exe -d C:/Apache24
下記、Apacheのerrorログになります。【シャットダウンしてから~起動】
[Wed Apr 01 09:16:11.573881 2020] [mpm_winnt:notice] [pid 14804:tid 976] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Wed Apr 01 09:16:41.574530 2020] [mpm_winnt:notice] [pid 14804:tid 976] AH00431: Parent: Forcing termination of child process 15976
[Wed Apr 01 09:17:56.170620 2020] [mpm_winnt:notice] [pid 17836:tid 880] AH00455: Apache/2.4.41 (Win32) mod_wsgi/4.7.1 Python/3.6 configured -- resuming normal operations
[Wed Apr 01 09:17:56.173121 2020] [mpm_winnt:notice] [pid 17836:tid 880] AH00456: Apache Lounge VS16 Server built: Aug 9 2019 16:32:28
[Wed Apr 01 09:17:56.173121 2020] [core:notice] [pid 17836:tid 880] AH00094: Command line: 'c:\Apache24\bin\httpd.exe -d C:/Apache24'
[Wed Apr 01 09:17:56.286263 2020] [mpm_winnt:notice] [pid 17836:tid 880] AH00418: Parent: Created child process 12952
[Wed Apr 01 09:17:56.922791 2020] [mpm_winnt:notice] [pid 12952:tid 992] AH00354: Child: Starting 64 worker threads.
[Wed Apr 01 09:19:00.860115 2020] [wsgi:error] [pid 12952:tid 1488] **Using selector: SelectSelector\r
**
※補足
vsでdjangoのみで実行する際は、下記コマンドを実行しています。
python manage.py runserver
【Terminalに出力されたもの】
Using selector: SelectSelector
Using selector: SelectSelector
Watching for file changes with StatReloader
Watching for file changes with StatReloader
Performing system checks...
System check identified no issues (0 silenced).
(0.000)
SELECT name, type FROM sqlite_master
WHERE type in ('table', 'view') AND NOT name='sqlite_sequence'
ORDER BY name; args=None
(0.000) SELECT "django_migrations"."id", "django_migrations"."app", "django_migrations"."name", "django_migrations"."applied" FROM "django_migrations"; args=()
April 01, 2020 - 09:27:21
Django version 3.0.4, using settings 'connects.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK
あなたの回答
tips
プレビュー