I'm also experiencing issues with "bind(): Permission denied" after upgrading uwsgi to 1.9.17.1-5.
I've found http://osdir.com/ml/python-wsgi-uwsgi-general/2012-03/msg00218.html, which points to init/snippets, which is in /usr/share/uwsgi/init/snippets on my host. This file uses grep commands to find uid and gid for each applications (grep --max-count=1 "^\s*${KIND}\s*=" "$CONFFILE"). However this command fails to parse "uid = www-data" because -E is missing: $ echo 'uid = www-data' | grep --max-count=1 "^\s*uid\s*=" ; echo $? 1 $ echo 'uid = www-data' | grep -E --max-count=1 "^\s*uid\s*=" ; echo $? uid = www-data 0 Is it possible to add "-E" on line 69 of debian/uwsgi-files/init/snippets (http://anonscm.debian.org/gitweb/?p=collab-maint/uwsgi.git;a=blob;f=debian/uwsgi-files/init/snippets;h=1a2dda8b532158918a593d2e3fa8e6d9fc6d2897;hb=HEAD#l69) so that the grep command works? After this change the problem is solved on my system. Thanks ----------------- Here is /var/log/uwsgi/app/iosenag.log ("iosenag" is the name of my uwsgi app): Sun Nov 24 13:28:41 2013 - *** Starting uWSGI 1.9.17.1-debian (64bit) on [Sun Nov 24 13:28:41 2013] *** Sun Nov 24 13:28:41 2013 - compiled with version: 4.8.1 on 26 September 2013 23:59:28 Sun Nov 24 13:28:41 2013 - os: Linux-2.6.32-042stab078.27 #1 SMP Mon Jul 1 20:48:07 MSK 2013 Sun Nov 24 13:28:41 2013 - nodename: iphiclides Sun Nov 24 13:28:41 2013 - machine: x86_64 Sun Nov 24 13:28:41 2013 - clock source: unix Sun Nov 24 13:28:41 2013 - pcre jit disabled Sun Nov 24 13:28:41 2013 - detected number of CPU cores: 4 Sun Nov 24 13:28:41 2013 - current working directory: / Sun Nov 24 13:28:41 2013 - writing pidfile to /run/uwsgi/app/iosenag/pid Sun Nov 24 13:28:41 2013 - detected binary path: /usr/bin/uwsgi-core Sun Nov 24 13:28:41 2013 - setgid() to 33 Sun Nov 24 13:28:41 2013 - setuid() to 33 Sun Nov 24 13:28:41 2013 - your processes number limit is 126960 Sun Nov 24 13:28:41 2013 - your memory page size is 4096 bytes Sun Nov 24 13:28:41 2013 - detected max file descriptor number: 1024 Sun Nov 24 13:28:41 2013 - lock engine: pthread robust mutexes Sun Nov 24 13:28:41 2013 - thunder lock: disabled (you can enable it with --thunder-lock) Sun Nov 24 13:28:41 2013 - bind(): Permission denied [core/socket.c line 185] /etc/uwsgi/apps-enabled/iosenag.ini: [uwsgi] processes = 2 chdir = /home/nag/iosenag module = iosenag.wsgi vacuum = true plugins = python -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (990, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-042stab078.27 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages uwsgi depends on: ii initscripts 2.88dsf-43 ii lsb-base 4.1+Debian12 ii uwsgi-core 1.9.17.1-5 Versions of packages uwsgi recommends: ii sqlite3 3.8.1-1 uwsgi suggests no packages. -- no debconf information -- debsums errors found: debsums: changed file /usr/share/uwsgi/init/snippets (from uwsgi package) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org