当我用django+;nginx+;uwsgi,我发现uwsgi无法启动

当我用django+;nginx+;uwsgi,我发现uwsgi无法启动,django,nginx,uwsgi,Django,Nginx,Uwsgi,我开始时没有报告错误,但只有一个,似乎不起作用,我需要帮助,非常感谢 root@localhost:/home/sscc/sscc2019# uwsgi --ini uwsgi.ini [uWSGI] getting INI configuration from uwsgi.ini root@localhost:/home/sscc/sscc2019# ps aux|grep uwsgi root 11018 0.0 0.0 14224 1032 pts/0 S+ 09

我开始时没有报告错误,但只有一个,似乎不起作用,我需要帮助,非常感谢

root@localhost:/home/sscc/sscc2019# uwsgi --ini uwsgi.ini
[uWSGI] getting INI configuration from uwsgi.ini
root@localhost:/home/sscc/sscc2019# ps aux|grep uwsgi
root     11018  0.0  0.0  14224  1032 pts/0    S+   09:03   0:00 grep --color=auto uwsgi
这是我的nginx,它好像在工作

root@localhost:/home/sscc/sscc2019# ps aux|grep nginx
root     10997  0.0  0.0 125120  1456 ?        Ss   08:55   0:00 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
www-data 10998  0.0  0.0 125444  3188 ?        S    08:55   0:00 nginx: worker process
www-data 10999  0.0  0.0 125444  3188 ?        S    08:55   0:00 nginx: worker process
root     11024  0.0  0.0  14224   932 pts/0    S+   09:04   0:00 grep --color=auto nginx
这是我的uwsgi.log:

*** Starting uWSGI 2.0.12-debian (64bit) on [Tue Mar 19 08:09:12 2019] ***
compiled with version: 5.4.0 20160609 on 28 September 2018 15:49:44
os: Linux-4.4.0-142-generic #168-Ubuntu SMP Wed Jan 16 21:00:45 UTC 2019
nodename: localhost
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 2
current working directory: /home/sscc/sscc2019
writing pidfile to uwsgi.pid
detected binary path: /usr/bin/uwsgi-core
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) *** 
chdir() to home/sscc/sscc2019
chdir(): No such file or directory [core/uwsgi.c line 2586]
*** Starting uWSGI 2.0.18 (64bit) on [Tue Mar 19 08:52:06 2019] ***
compiled with version: 5.4.0 20160609 on 15 March 2019 06:07:24
os: Linux-4.4.0-142-generic #168-Ubuntu SMP Wed Jan 16 21:00:45 UTC 2019
nodename: localhost
machine: x86_64
clock source: unix
detected number of CPU cores: 2
current working directory: /home/sscc/sscc2019
writing pidfile to /home/sscc/sscc2019/uwsgi.pid
detected binary path: /usr/local/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
uWSGI running as root, you can use --uid/--gid/--chroot options
setgid() to 2000
setuid() to 1000
chdir() to home/sscc/sscc2019
chdir(): No such file or directory [core/uwsgi.c line 2623]
/主页/sscc/sscc2019/uwsgi.ini:

[uwsgi]
socket=127.0.0.1:8000
chdir=home/sscc/sscc2019
wsgi-file=sscc2019/wsgi.py
processes=4
threads=2
master=True
pidfile=/home/sscc/sscc2019/uwsgi.pid
daemonize=/home/sscc/sscc2019/uswgi.log
module=sscc2019.wsgi:application
vacuum=true
chmod-socket=666
virtualenv=/root/.virtualenvs/ssccenv
harakiri=60
max-requests=5000
uid=1000
gid=2000
/etc/nginx/site available/sscc219.conf

root@localhost:/etc/nginx/sites-available# ls
default  sscc2019.conf
server{
    listen  80;
    charset utf-8;
    server_name IP;

    client_max_body_size 75M;
        location / {
                include /home/sscc/sscc2019/uwsgi_params;
                uwsgi_pass 127.0.0.1:8000;
        }
        location /static {
                alias /var/www/sscc2019/static;
        }
    location /media {
        alias /home/sscc/sscc2019/media;
    }
}
当我试图启动uwsgi时,我没有提示我启动失败,但当我使用命令查看它时,我似乎没有成功启动。我真的很想知道是什么原因造成的。我应该如何修改它

请:

*** Starting uWSGI 2.0.18 (64bit) on [Tue Mar 19 12:35:02 2019] ***
compiled with version: 5.4.0 20160609 on 19 March 2019 03:25:55
os: Linux-4.4.0-142-generic #168-Ubuntu SMP Wed Jan 16 21:00:45 UTC 2019
nodename: localhost
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 2
current working directory: /home/sscc/sscc2019
writing pidfile to /home/sscc/sscc2019/uwsgi.pid
detected binary path: /usr/local/bin/uwsgi
uWSGI running as root, you can use --uid/--gid/--chroot options
setgid() to 2000
setuid() to 1000
chdir() to /home/sscc/sscc2019
your processes number limit is 15655
your memory page size is 4096 bytes
detected max file descriptor number: 65535
lock engine: pthread robust mutexes
thunder lock: enabled
probably another instance of uWSGI is running on the same address (127.0.0.1:8000).
bind(): Address already in use [core/socket.c line 769]