Сбой конфигурации Ujerspace Django

Я пытаюсь запустить Django в Uberspace и использую эту документацию: Лаборатория Uberspace Я настроил все в соответствии с этим, но теперь, когда я вхожу

curl -I localhost:63207

Я получаю эту ошибку HTTP/1.1, 500 Внутренняя ошибка сервера, Соединение: закрыть Тип контента: текст / обычный

Я не знаю что делать. Я уже проверил все файлы, но не могу найти опечатку, и все было сделано точно так, как описано. Мой файл err.log показывает, что некоторые файлы не могут быть найдены, но я не знаю, что с ними делать

detected number of CPU cores: 20
current working directory: /home/hammers/uwsgi/apps-enabled
detected binary path: /home/hammers/.local/bin/uwsgi
your processes number limit is 79574
your memory page size is 4096 bytes
detected max file descriptor number: 1024
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
Python version: 3.6.5 (default, Apr 10 2018, 17:08:37)  [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)]
*** Python threads support is disabled. You can enable it with --enable-threads ***
Python main interpreter initialized at 0x25ce0d0
The -s/--socket option is missing and stdin is not a socket.
Fri Dec 28 15:28:30 2018 - [emperor] curse the uwsgi instance hammers.ini (pid: 5703)
Fri Dec 28 15:28:30 2018 - [emperor] removed uwsgi instance hammers.ini
*** has_emperor mode detected (fd: 6) ***
[uWSGI] getting INI configuration from hammers.ini
open("./python_plugin.so"): No such file or directory [core/utils.c line 3721]
!!! UNABLE to load uWSGI plugin: ./python_plugin.so: cannot open shared object file: No such file or directory !!!
*** Starting uWSGI 2.0.17.1 (64bit) on [Fri Dec 28 15:29:25 2018] ***
compiled with version: 4.8.5 20150623 (Red Hat 4.8.5-28) on 28 December 2018 13:37:19
os: Linux-3.10.0-862.3.2.el7.x86_64 #1 SMP Mon May 21 23:36:36 UTC 2018
nodename: ciffreo.uberspace.de
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 20
current working directory: /home/hammers/uwsgi/apps-enabled
detected binary path: /home/hammers/.local/bin/uwsgi
chdir() to /home/hammers/hammers
your processes number limit is 79574
your memory page size is 4096 bytes
detected max file descriptor number: 1024
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uWSGI http bound on :63207 fd 4
uwsgi socket 0 bound to TCP address 127.0.0.1:39097 (port auto-assigned) fd 3
Python version: 3.6.5 (default, Apr 10 2018, 17:08:37)  [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)]
*** Python threads support is disabled. You can enable it with --enable-threads ***
Python main interpreter initialized at 0x20d0b20
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 145840 bytes (142 KB) for 1 cores
*** Operational MODE: single process ***
failed to open python file $(base)/wsgi.py
unable to load app 0 (mountpoint='') (callable not found or import error)
*** no app loaded. going in full dynamic mode ***
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI master process (pid: 5883)
Fri Dec 28 15:29:25 2018 - [emperor] vassal hammers.ini has been spawned
spawned uWSGI worker 1 (pid: 5884, cores: 1)
spawned uWSGI http 1 (pid: 5885)
unable to stat() $(wsgi-file), events will be triggered as soon as the file is created
Fri Dec 28 15:29:25 2018 - [emperor] vassal hammers.ini is ready to accept requests
--- no python application found, check your startup logs for errors ---
...

0 ответов

Другие вопросы по тегам