您好,欢迎来到[编程问答]网站首页   源码下载   电子书籍   软件下载   专题
当前位置:首页 >> 编程问答 >> Web开发 >> (django)uwsgi 启动报错bind: Permission denied

(django)uwsgi 启动报错bind: Permission denied

来源:网络整理     时间:2016/5/14 2:03:46     关键词:permission denied

关于网友提出的“(django)uwsgi 启动报错bind: Permission denied”问题疑问,本网通过在网上对“(django)uwsgi 启动报错bind: Permission denied”有关的相关答案进行了整理,供用户进行参考,详细问题解答如下:

问题:(django)uwsgi 启动报错bind: Permission denied
描述:

查了好久,没有找到解决方案
下边是nginx配置

 # mysite_nginx.conf

# the upstream component nginx needs to connect to
upstream django {
    # server unix:///path/to/your/mysite/mysite.sock; # for a file socket
    server 127.0.0.1:8001; # for a web port socket (we'll use this first)
}

这个是报错信息

zc@ubuntu:~/blogtest$  uwsgi u.ini
[uWSGI] getting INI configuration from u.ini
*** Starting uWSGI 2.0.12 (64bit) on [Sat Apr 16 23:01:54 2016] ***
compiled with version: 5.2.1 20151010 on 05 April 2016 19:35:26
os: Linux-4.2.0-16-generic #19-Ubuntu SMP Thu Oct 8 15:35:06 UTC 2015
nodename: ubuntu
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 1
current working directory: /home/zc/blogtest
detected binary path: /usr/local/bin/uwsgi
chdir() to /home/zc/blogtest
your processes number limit is 65535
your memory page size is 4096 bytes
detected max file descriptor number: 65535
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
bind(): Permission denied [core/socket.c line 769]

有些是说SELinux,但是ubuntu15上没有这个程序
还有说那个nginx配置用户,我注释掉了


解决方案1:

用超级用户试试


以上介绍了“(django)uwsgi 启动报错bind: Permission denied”的问题解答,希望对有需要的网友有所帮助。
本文网址链接:http://www.codes51.com/itwd/1059536.html

相关图片

相关文章