> 2015-03-19 17:10 GMT+01:00 Roberto De Ioris <robe...@unbit.it>: > >> Sali piu' su', all'inizio uWSGI sputa fuori una marea di informazioni. A >> un certo punto ti dice anche che non e' riuscito a caricare qualcosa >> (magari qualche path e' sbagliato, la virtualenv e' rotta ecc. ecc.) >> > > a naso direi che possano essere le due righe che ho evidenzito con degli > asterschi alla fine > > compiled with version: 4.8.2 on 19 March 2015 16:39:32 > os: Linux-3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 > nodename: test001 > machine: x86_64 > clock source: unix > detected number of CPU cores: 1 > current working directory: /home/jester/public_html/globeX/globeX > detected binary path: /home/jester/public_html/globeX/bin/uwsgi > !!! no internal routing support, rebuild with pcre support !!! > *********************************************** > chdir() to /home/jester/public_html/globeX/ > your processes number limit is 7593 > your memory page size is 4096 bytes > detected max file descriptor number: 1024 > lock engine: pthread robust mutexes > thunder lock: disabled (you can enable it with --thunder-lock) > uWSGI http bound on :8000 fd 4 > uwsgi socket 0 bound to TCP address 127.0.0.1:42312 (port auto-assigned) > fd > 3 > Python version: 2.7.6 (default, Mar 22 2014, 23:03:41) [GCC 4.8.2] > Python main interpreter initialized at 0x124f970 > python threads support enabled > your server socket listen backlog is limited to 100 connections > your mercy for graceful operations on workers is 60 seconds > mapped 415280 bytes (405 KB) for 8 cores > *** Operational MODE: preforking+threaded *** > failed to open python file wsgi.py > *************************************************** > unable to load app 0 (mountpoint='') (callable not found or import error) > *** no app loaded. going in full dynamic mode *** > *** uWSGI is running in multiple interpreter mode *** > > adesso vedo se cosa sia il pcre support e come fare il rebuild > >
No non serve, non credo userai quelle funzionalita', il tuo problema e': failed to open python file wsgi.py pasta il file di configurazioen che stai usando e il path in cui risiede la tua app django. Di regola e': [uwsgi] chdir = <directory_progetto_django> wsgi-file = <nome_progetto>/wsgi.py -- Roberto De Ioris http://unbit.com _______________________________________________ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python