Skip to content

Instantly share code, notes, and snippets.

@akx
Created January 7, 2013 19:28
Show Gist options
  • Save akx/4477670 to your computer and use it in GitHub Desktop.
Save akx/4477670 to your computer and use it in GitHub Desktop.
akx@monolith:/tmp$ virtualenv django-venv
New python executable in django-venv/bin/python
Installing distribute..................................................................................................................................................................................done.
akx@monolith:/tmp$ . django-venv/bin/activate
(django-venv)akx@monolith:/tmp$ pip install django
Downloading/unpacking django
Downloading Django-1.4.3.tar.gz (7.7Mb): 7.7Mb downloaded
Running setup.py egg_info for package django
Installing collected packages: django
Running setup.py install for django
changing mode of build/scripts-2.6/django-admin.py from 644 to 755
changing mode of /tmp/django-venv/bin/django-admin.py to 755
Successfully installed django
Cleaning up...
(django-venv)akx@monolith:/tmp$ django-admin.py startproject djangoproj
(django-venv)akx@monolith:/tmp$
akx@monolith:~$ uwsgi-1.4.3 --plugin python --socket :12345 --chdir /tmp/djangoproj --virtualenv /tmp/django-venv --wsgi djangoproj.wsgi
open("./python_plugin.so"): No such file or directory [core/utils.c line 4731]
!!! UNABLE to load uWSGI plugin: ./python_plugin.so: cannot open shared object file: No such file or directory !!!
*** Starting uWSGI 1.4.3 (64bit) on [Mon Jan 7 21:30:31 2013] ***
compiled with version: 4.4.5 on 14 December 2012 01:23:56
os: Linux-3.2.0-0.bpo.4-amd64 #1 SMP Debian 3.2.32-1~bpo60+1
nodename: monolith
machine: x86_64
clock source: unix
detected number of CPU cores: 2
current working directory: /home/akx
detected binary path: /usr/local/bin/uwsgi-1.4.3
*** WARNING: you are running uWSGI without its master process manager ***
your memory page size is 4096 bytes
detected max file descriptor number: 1024
lock engine: pthread robust mutexes
uwsgi socket 0 bound to TCP address :12345 fd 3
Python version: 2.6.6 (r266:84292, Dec 26 2010, 22:48:11) [GCC 4.4.5]
Set PythonHome to /tmp/django-venv
*** Python threads support is disabled. You can enable it with --enable-threads ***
Python main interpreter initialized at 0x1a00f20
your server socket listen backlog is limited to 100 connections
mapped 72392 bytes (70 KB) for 1 cores
*** Operational MODE: single process ***
WSGI app 0 (mountpoint='') ready in 0 seconds on interpreter 0x1a00f20 pid: 13830 (default app)
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI worker 1 (and the only) (pid: 13830, cores: 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment