title: uWSGI is not creating socket in Ubuntu 16 server
body: <p>I am trying to run my website on ubuntu server. I have followed steps from digitalocean as I have their vps server. You can see the tutorial <a href="https://www.digitalocean.com/community/tutorials/how-to-serve-django-applications-with-uwsgi-and-nginx-on-ubuntu-16-04" rel="nofollow">here</a>. I need only one server so I have not done second site part. Please my <code>mkvirtualenv</code> command created 'Env' folder in <code>root</code> instead of home. I don't know how it did but I tried twice by destroying droplet and creating again. It did same both time.</p>
  
  <p>My <code>/etc/uwsgi/sites/app.ini</code> file has following codes,</p>
  
  <pre><code>[uwsgi]
  project = app
  uid = root
  base = /root
  plugins=python3
  pyhome=/root/app
  chdir = /root/app
  home = /root/app
  module = app.wsgi:application
  
  master = true
  processes = 5
  
  socket = /run/uwsgi/app.sock
  chown-socket = root:www-data
  chmod-socket = 660
  vacuum = true
  </code></pre>
  
  <p>So each time I try to run usgi server with <code>sudo uwsgi app.ini --thunder-lock</code> command I am getting following message with an error.</p>
  
  <pre><code>[uWSGI] getting INI configuration from app.ini
  open("./python3_plugin.so"): No such file or directory [core/utils.c line 3684]
  !!! UNABLE to load uWSGI plugin: ./python3_plugin.so: cannot open shared object file: No such file or directory !!!
  *** Starting uWSGI 2.0.13.1 (64bit) on [Mon Aug  8 04:48:51 2016] ***
  compiled with version: 5.4.0 20160609 on 08 August 2016 04:00:28
  os: Linux-4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016
  nodename: appserver
  machine: x86_64
  clock source: unix
  detected number of CPU cores: 1
  current working directory: /etc/uwsgi/sites
  detected binary path: /usr/local/bin/uwsgi
  !!! no internal routing support, rebuild with pcre support !!!
  chdir() to /root/app
  your processes number limit is 1896
  your memory page size is 4096 bytes
  detected max file descriptor number: 1024
  lock engine: pthread robust mutexes
  thunder lock: enabled
  uwsgi socket 0 bound to UNIX address /run/uwsgi/app.sock fd 3
  *** WARNING: you are running uWSGI as root !!! (use the --uid flag) *** 
  Python version: 3.5.2 (default, Jul  5 2016, 12:43:10)  [GCC 5.4.0 20160609]
  Set PythonHome to /root/app
  Fatal Python error: Py_Initialize: Unable to get the locale encoding
  ImportError: No module named 'encodings'
  
  Current thread 0x00007f74c576a700 (most recent call first):
  Aborted (core dumped)
  </code></pre>
  
  <p>so my root directory has <code>Env</code> folder and inside <code>Env</code> there is another folder <code>appdata</code> for which contains all virtualenv files. And <code>root</code> dir has my <code>app</code> folder which contains application files of Django. So can anyone tell me what is wrong in my config?</p>