Каждый раз, когда я запускаю сервер Apache, он корректно отключается (IDK, почему ) и не может подключиться к странице django
cat var/log/apache2/error.log
Код: Выделить всё
ubuntu@ip-172-31-42-107:~/name/django_project$ cat /var/log/apache2/error.log
[Sun Oct 27 00:00:38.794707 2024] [mpm_event:notice] [pid 113219:tid 136273144756096] AH00489: Apache/2.4.58 (Ubuntu) mod_wsgi/5.0.0 Python/3.12 configured -- resuming normal operations
[Sun Oct 27 00:00:38.794727 2024] [core:notice] [pid 113219:tid 136273144756096] AH00094: Command line: '/usr/sbin/apache2'
[Sun Oct 27 04:33:43.996902 2024] [mpm_event:notice] [pid 113219:tid 136273144756096] AH00492: caught SIGWINCH, shutting down gracefully
[Sun Oct 27 04:33:44.125749 2024] [mpm_event:notice] [pid 115204:tid 125518384043904] AH00489: Apache/2.4.58 (Ubuntu) mod_wsgi/5.0.0 Python/3.12 configured -- resuming normal operations
[Sun Oct 27 04:33:44.125822 2024] [core:notice] [pid 115204:tid 125518384043904] AH00094: Command line: '/usr/sbin/apache2'
[Sun Oct 27 04:33:56.120287 2024] [mpm_event:notice] [pid 115204:tid 125518384043904] AH00492: caught SIGWINCH, shutting down gracefully
[Sun Oct 27 04:34:51.672826 2024] [mpm_event:notice] [pid 115450:tid 131757533009792] AH00489: Apache/2.4.58 (Ubuntu) mod_wsgi/5.0.0 Python/3.12 configured -- resuming normal operations
[Sun Oct 27 04:34:51.672907 2024] [core:notice] [pid 115450:tid 131757533009792] AH00094: Command line: '/usr/sbin/apache2'
Проект можно нормально запустить на сервере разработки django.
Я боролся с этой проблемой последнюю неделю, не могу найти подобной ситуации в Интернете.
Я не уверен, есть ли проблемы в файле конфигурации
Подробнее здесь: https://stackoverflow.com/questions/791 ... wn-gracefu
Мобильная версия